diff --git a/stage0/src/Init/Core.lean b/stage0/src/Init/Core.lean index 31c81513c6..6f01024bdc 100644 --- a/stage0/src/Init/Core.lean +++ b/stage0/src/Init/Core.lean @@ -16,22 +16,6 @@ def inline {α : Sort u} (a : α) : α := a @[inline] def flip {α : Sort u} {β : Sort v} {φ : Sort w} (f : α → β → φ) : β → α → φ := fun b a => f a b -/- -The kernel definitional equality test (t =?= s) has special support for idDelta applications. -It implements the following rules - - 1) (idDelta t) =?= t - 2) t =?= (idDelta t) - 3) (idDelta t) =?= s IF (unfoldOf t) =?= s - 4) t =?= idDelta s IF t =?= (unfoldOf s) - -This is mechanism for controlling the delta reduction (aka unfolding) used in the kernel. - -We use idDelta applications to address performance problems when Type checking -theorems generated by the equation Compiler. --/ -@[inline] def idDelta {α : Sort u} (a : α) : α := a - /- Remark: thunks have an efficient implementation in the runtime. -/ structure Thunk (α : Type u) : Type u := (fn : Unit → α) diff --git a/stage0/src/Init/Data/ToString/Macro.lean b/stage0/src/Init/Data/ToString/Macro.lean index e87f96b527..eb113feaf7 100644 --- a/stage0/src/Init/Data/ToString/Macro.lean +++ b/stage0/src/Init/Data/ToString/Macro.lean @@ -10,7 +10,4 @@ import Init.Data.ToString.Basic syntax:max "s!" interpolatedStr(term) : term macro_rules - | `(s! $interpStr) => do - let chunks := interpStr.getArgs - let r ← Lean.Syntax.expandInterpolatedStrChunks chunks (fun a b => `($a ++ $b)) (fun a => `(toString $a)) - `(($r : String)) + | `(s! $interpStr) => do interpStr.expandInterpolatedStr (← `(String)) (← `(toString)) diff --git a/stage0/src/Init/Meta.lean b/stage0/src/Init/Meta.lean index ce21990ce2..1670ed91a8 100644 --- a/stage0/src/Init/Meta.lean +++ b/stage0/src/Init/Meta.lean @@ -664,6 +664,11 @@ def expandInterpolatedStrChunks (chunks : Array Syntax) (mkAppend : Syntax → S i := i+1 return result +def expandInterpolatedStr (interpStr : Syntax) (type : Syntax) (toTypeFn : Syntax) : MacroM Syntax := do + let ref := interpStr + let r ← expandInterpolatedStrChunks interpStr.getArgs (fun a b => `($a ++ $b)) (fun a => `($toTypeFn $a)) + `(($r : $type)) + def getSepArgs (stx : Syntax) : Array Syntax := stx.getArgs.getSepElems diff --git a/stage0/src/Init/Notation.lean b/stage0/src/Init/Notation.lean index df03e4efea..f3d12b3f11 100644 --- a/stage0/src/Init/Notation.lean +++ b/stage0/src/Init/Notation.lean @@ -78,3 +78,9 @@ macro_rules | i+1, true => expandListLit i false result | i+1, false => expandListLit i true (← `(List.cons $(elems[i]) $result)) expandListLit elems.size false (← `(List.nil)) + +syntax "{ " ident (" : " term)? " // " term " }" : term + +macro_rules + | `({ $x : $type // $p }) => `(Subtype (fun ($x:ident : $type) => $p)) + | `({ $x // $p }) => `(Subtype (fun ($x:ident : _) => $p)) diff --git a/stage0/src/Init/Prelude.lean b/stage0/src/Init/Prelude.lean index 090f5f8464..fa68d87203 100644 --- a/stage0/src/Init/Prelude.lean +++ b/stage0/src/Init/Prelude.lean @@ -9,6 +9,25 @@ universes u v w @[inline] def id {α : Sort u} (a : α) : α := a +/- +The kernel definitional equality test (t =?= s) has special support for idDelta applications. +It implements the following rules + + 1) (idDelta t) =?= t + 2) t =?= (idDelta t) + 3) (idDelta t) =?= s IF (unfoldOf t) =?= s + 4) t =?= idDelta s IF t =?= (unfoldOf s) + +This is mechanism for controlling the delta reduction (aka unfolding) used in the kernel. + +We use idDelta applications to address performance problems when Type checking +theorems generated by the equation Compiler. +-/ +@[inline] def idDelta {α : Sort u} (a : α) : α := a + +/- `idRhs` is an auxiliary declaration used to implement "smart unfolding". It is used as a marker. -/ +@[macroInline, reducible] def idRhs (α : Sort u) (a : α) : α := a + abbrev Function.comp {α : Sort u} {β : Sort v} {δ : Sort w} (f : β → δ) (g : α → β) : α → δ := fun x => f (g x) @@ -559,7 +578,7 @@ theorem Nat.leOfSuccLeSucc {n m : Nat} : LessEq (succ n) (succ m) → LessEq n m theorem Nat.leOfLtSucc {m n : Nat} : Less m (succ n) → LessEq m n := leOfSuccLeSucc -@[extern "lean_system_platform_nbits"] constant System.Platform.getNumBits : Unit → { n : Nat // Or (Eq n 32) (Eq n 64) } := +@[extern "lean_system_platform_nbits"] constant System.Platform.getNumBits : Unit → Subtype fun (n : Nat) => Or (Eq n 32) (Eq n 64) := fun _ => ⟨64, Or.inr rfl⟩ -- inhabitant def System.Platform.numBits : Nat := @@ -600,6 +619,9 @@ def UInt8.size : Nat := 256 structure UInt8 := (val : Fin UInt8.size) +attribute [extern "lean_uint8_of_nat"] UInt8.mk +attribute [extern "lean_uint8_to_nat"] UInt8.val + @[extern "lean_uint8_of_nat"] def UInt8.ofNatCore (n : @& Nat) (h : Less n UInt8.size) : UInt8 := { val := { val := n, isLt := h } @@ -622,6 +644,9 @@ def UInt16.size : Nat := 65536 structure UInt16 := (val : Fin UInt16.size) +attribute [extern "lean_uint16_of_nat"] UInt16.mk +attribute [extern "lean_uint16_to_nat"] UInt16.val + @[extern "lean_uint16_of_nat"] def UInt16.ofNatCore (n : @& Nat) (h : Less n UInt16.size) : UInt16 := { val := { val := n, isLt := h } @@ -644,6 +669,9 @@ def UInt32.size : Nat := 4294967296 structure UInt32 := (val : Fin UInt32.size) +attribute [extern "lean_uint32_of_nat"] UInt32.mk +attribute [extern "lean_uint32_to_nat"] UInt32.val + @[extern "lean_uint32_of_nat"] def UInt32.ofNatCore (n : @& Nat) (h : Less n UInt32.size) : UInt32 := { val := { val := n, isLt := h } @@ -690,6 +718,9 @@ def UInt64.size : Nat := 18446744073709551616 structure UInt64 := (val : Fin UInt64.size) +attribute [extern "lean_uint64_of_nat"] UInt64.mk +attribute [extern "lean_uint64_to_nat"] UInt64.val + @[extern "lean_uint64_of_nat"] def UInt64.ofNatCore (n : @& Nat) (h : Less n UInt64.size) : UInt64 := { val := { val := n, isLt := h } @@ -719,6 +750,9 @@ theorem usizeSzEq : Or (Eq USize.size 4294967296) (Eq USize.size 184467440737095 structure USize := (val : Fin USize.size) +attribute [extern "lean_usize_of_nat"] USize.mk +attribute [extern "lean_usize_to_nat"] USize.val + @[extern "lean_usize_of_nat"] def USize.ofNatCore (n : @& Nat) (h : Less n USize.size) : USize := { val := { val := n, isLt := h } diff --git a/stage0/src/Lean/Data/FormatMacro.lean b/stage0/src/Lean/Data/FormatMacro.lean index cc1b1473a1..bd30c8ba6c 100644 --- a/stage0/src/Lean/Data/FormatMacro.lean +++ b/stage0/src/Lean/Data/FormatMacro.lean @@ -9,9 +9,6 @@ namespace Lean syntax:max "f!" interpolatedStr(term) : term macro_rules - | `(f! $interpStr) => do - let chunks := interpStr.getArgs - let r ← Lean.Syntax.expandInterpolatedStrChunks chunks (fun a b => `($a ++ $b)) (fun a => `(fmt $a)) - `(($r : Format)) + | `(f! $interpStr) => do interpStr.expandInterpolatedStr (← `(Format)) (← `(fmt)) end Lean diff --git a/stage0/src/Lean/Elab/App.lean b/stage0/src/Lean/Elab/App.lean index b914811980..d8b889c766 100644 --- a/stage0/src/Lean/Elab/App.lean +++ b/stage0/src/Lean/Elab/App.lean @@ -492,7 +492,7 @@ private def resolveLValAux (e : Expr) (eType : Expr) (lval : LVal) : TermElabM L So, we don't projection functions for it. Thus, we use `Expr.proj` -/ pure $ LValResolution.projIdx structName (idx - 1) else - throwLValError e eType msg!"invalid projection, structure has only {fieldNames.size} field(s)" + throwLValError e eType m!"invalid projection, structure has only {fieldNames.size} field(s)" | Expr.const structName _ _, LVal.fieldName fieldName => let env ← getEnv let searchEnv : Unit → TermElabM LValResolution := fun _ => do @@ -500,7 +500,7 @@ private def resolveLValAux (e : Expr) (eType : Expr) (lval : LVal) : TermElabM L | some (baseStructName, fullName) => pure $ LValResolution.const baseStructName structName fullName | none => throwLValError e eType - msg!"invalid field notation, '{fieldName}' is not a valid \"field\" because environment does not contain '{Name.mkStr structName fieldName}'" + m!"invalid field notation, '{fieldName}' is not a valid \"field\" because environment does not contain '{Name.mkStr structName fieldName}'" -- search local context first, then environment let searchCtx : Unit → TermElabM LValResolution := fun _ => do let fullName := Name.mkStr structName fieldName @@ -526,7 +526,7 @@ private def resolveLValAux (e : Expr) (eType : Expr) (lval : LVal) : TermElabM L let fullName := Name.mkStr structName "getOp" match env.find? fullName with | some _ => pure $ LValResolution.getOp fullName idx - | none => throwLValError e eType msg!"invalid [..] notation because environment does not contain '{fullName}'" + | none => throwLValError e eType m!"invalid [..] notation because environment does not contain '{fullName}'" | _, LVal.getOp idx => throwLValError e eType "invalid [..] notation, type is not of the form (C ...) where C is a constant" | _, _ => @@ -791,7 +791,7 @@ private def toMessageData (ex : Exception) : TermElabM MessageData := do else let fileMap ← MonadLog.getFileMap -- Remove `MonadLog.` it is a workaround for old frontend let exPosition := fileMap.toPosition exPos - pure msg!"{exPosition.line}:{exPosition.column} {ex.toMessageData}" + pure m!"{exPosition.line}:{exPosition.column} {ex.toMessageData}" private def toMessageList (msgs : Array MessageData) : MessageData := indentD (MessageData.joinSep msgs.toList (Format.line ++ Format.line)) diff --git a/stage0/src/Lean/Elab/Command.lean b/stage0/src/Lean/Elab/Command.lean index 46542a97b0..88658c853b 100644 --- a/stage0/src/Lean/Elab/Command.lean +++ b/stage0/src/Lean/Elab/Command.lean @@ -211,7 +211,7 @@ instance : MonadRecDepth CommandElabM := { pure () else let idName ← liftIO $ id.getName; - logError msg!"internal exception {idName}" + logError m!"internal exception {idName}" builtin_initialize registerTraceClass `Elab.command @@ -412,7 +412,7 @@ partial def elabChoiceAux (cmds : Array Syntax) (i : Nat) : CommandElabM Unit := throwError (ex.toMessageData opts) def logUnknownDecl (declName : Name) : CommandElabM Unit := - logError msg!"unknown declaration '{declName}'" + logError m!"unknown declaration '{declName}'" @[builtinCommandElab «export»] def elabExport : CommandElab := fun stx => do -- `stx` is of the form (Command.export "export" "(" (null *) ")") @@ -522,7 +522,7 @@ open Meta let e ← Term.elabTerm term none Term.synthesizeSyntheticMVarsNoPostponing let type ← inferType e - logInfo msg!"{e} : {type}" + logInfo m!"{e} : {type}" def hasNoErrorMessages : CommandElabM Bool := do return !(← get).messages.hasErrors @@ -630,7 +630,7 @@ def setOption (optionName : Name) (val : DataValue) : CommandElabM Unit := do match val with | Syntax.atom _ "true" => setOption optionName (DataValue.ofBool true) | Syntax.atom _ "false" => setOption optionName (DataValue.ofBool false) - | _ => logErrorAt val msg!"unexpected set_option value {val}" + | _ => logErrorAt val m!"unexpected set_option value {val}" @[builtinMacro Lean.Parser.Command.«in»] def expandInCmd : Macro := fun stx => do let cmd₁ := stx[0] diff --git a/stage0/src/Lean/Elab/Do.lean b/stage0/src/Lean/Elab/Do.lean index 5dd8a6deb6..e7017f1e33 100644 --- a/stage0/src/Lean/Elab/Do.lean +++ b/stage0/src/Lean/Elab/Do.lean @@ -163,19 +163,19 @@ private def varsToMessageData (vars : Array Name) : MessageData := partial def CodeBlocl.toMessageData (codeBlock : CodeBlock) : MessageData := let us := MessageData.ofList $ (nameSetToArray codeBlock.uvars).toList.map MessageData.ofName let rec loop : Code → MessageData - | Code.decl xs _ k => msg!"let {varsToMessageData xs} := ...\n{loop k}" - | Code.reassign xs _ k => msg!"{varsToMessageData xs} := ...\n{loop k}" - | Code.joinpoint n ps body k => msg!"let {n.simpMacroScopes} {varsToMessageData (ps.map Prod.fst)} := {indentD (loop body)}\n{loop k}" - | Code.seq e k => msg!"{e}\n{loop k}" + | Code.decl xs _ k => m!"let {varsToMessageData xs} := ...\n{loop k}" + | Code.reassign xs _ k => m!"{varsToMessageData xs} := ...\n{loop k}" + | Code.joinpoint n ps body k => m!"let {n.simpMacroScopes} {varsToMessageData (ps.map Prod.fst)} := {indentD (loop body)}\n{loop k}" + | Code.seq e k => m!"{e}\n{loop k}" | Code.action e => e - | Code.ite _ _ _ c t e => msg!"if {c} then {indentD (loop t)}\nelse{loop e}" - | Code.jmp _ j xs => msg!"jmp {j.simpMacroScopes} {xs.toList}" - | Code.«break» _ => msg!"break {us}" - | Code.«continue» _ => msg!"continue {us}" - | Code.«return» _ v => msg!"return {v} {us}" + | Code.ite _ _ _ c t e => m!"if {c} then {indentD (loop t)}\nelse{loop e}" + | Code.jmp _ j xs => m!"jmp {j.simpMacroScopes} {xs.toList}" + | Code.«break» _ => m!"break {us}" + | Code.«continue» _ => m!"continue {us}" + | Code.«return» _ v => m!"return {v} {us}" | Code.«match» _ ds t alts => - msg!"match {ds} with" - ++ alts.foldl (init := "") fun acc alt => acc ++ msg!"\n| {alt.patterns} => {loop alt.rhs}" + m!"match {ds} with" + ++ alts.foldl (init := "") fun acc alt => acc ++ m!"\n| {alt.patterns} => {loop alt.rhs}" loop codeBlock.code /- Return true if the give code contains an exit point that satisfies `p` -/ diff --git a/stage0/src/Lean/Elab/Inductive.lean b/stage0/src/Lean/Elab/Inductive.lean index 0061ee5aa4..7eb53ed12b 100644 --- a/stage0/src/Lean/Elab/Inductive.lean +++ b/stage0/src/Lean/Elab/Inductive.lean @@ -138,7 +138,7 @@ private partial def checkParamsAndResultType (type firstType : Expr) (numParams | _ => throwError "unexpected inductive resulting type" catch - | Exception.error ref msg => throw (Exception.error ref msg!"invalid mutually inductive types, {msg}") + | Exception.error ref msg => throw (Exception.error ref m!"invalid mutually inductive types, {msg}") | ex => throw ex -- Auxiliary function for checking whether the types in mutually inductive declaration are compatible. diff --git a/stage0/src/Lean/Elab/MutualDef.lean b/stage0/src/Lean/Elab/MutualDef.lean index 33d9613cfe..caa22cbfaa 100644 --- a/stage0/src/Lean/Elab/MutualDef.lean +++ b/stage0/src/Lean/Elab/MutualDef.lean @@ -65,7 +65,7 @@ private def check (prevHeaders : Array DefViewElabHeader) (newHeader : DefViewEl checkModifiers newHeader.modifiers firstHeader.modifiers checkKinds newHeader.kind firstHeader.kind catch - | Exception.error ref msg => throw (Exception.error ref msg!"invalid mutually recursive definitions, {msg}") + | Exception.error ref msg => throw (Exception.error ref m!"invalid mutually recursive definitions, {msg}") | ex => throw ex else pure () diff --git a/stage0/src/Lean/Elab/PreDefinition/Main.lean b/stage0/src/Lean/Elab/PreDefinition/Main.lean index 2577f3fd4d..3b7429851c 100644 --- a/stage0/src/Lean/Elab/PreDefinition/Main.lean +++ b/stage0/src/Lean/Elab/PreDefinition/Main.lean @@ -75,6 +75,6 @@ def addPreDefinitions (preDefs : Array PreDefinition) : TermElabM Unit := do (WFRecursion preDefs)) (fun msg => let preDefMsgs := preDefs.toList.map (MessageData.ofExpr $ mkConst ·.declName) - msg!"fail to show termination for{indentD (MessageData.joinSep preDefMsgs Format.line)}\nwith errors\n{msg}") + m!"fail to show termination for{indentD (MessageData.joinSep preDefMsgs Format.line)}\nwith errors\n{msg}") end Lean.Elab diff --git a/stage0/src/Lean/Elab/PreDefinition/Structural.lean b/stage0/src/Lean/Elab/PreDefinition/Structural.lean index 6bcdc4ce30..5fb23debb1 100644 --- a/stage0/src/Lean/Elab/PreDefinition/Structural.lean +++ b/stage0/src/Lean/Elab/PreDefinition/Structural.lean @@ -117,7 +117,7 @@ private partial def findRecArg {α} (numFixed : Nat) (xs : Array Expr) (k : RecA indParams := indParams, indIndices := indIndices, reflexive := indInfo.isReflexive }) - (fun msg => msg!"argument #{i+1} was not used for structural recursion{indentD msg}")) + (fun msg => m!"argument #{i+1} was not used for structural recursion{indentD msg}")) (loop (i+1)) else throwStructuralFailed @@ -243,6 +243,8 @@ private partial def replaceRecApps (recFnName : Name) (recArgInfo : RecArgInfo) if recArgPos >= args.size then throwError! "insufficient number of parameters at recursive application {indentExpr e}" let recArg := args[recArgPos] + -- For reflexive type, we may have nested recursive applications in recArg + let recArg ← replaceRecApps recFnName recArgInfo below recArg let f ← try toBelow below recArgInfo.indParams.size recArg catch _ => throwError! "failed to eliminate recursive application{indentExpr e}" -- Recall that the fixed parameters are not in the scope of the `brecOn`. So, we skip them. let argsNonFixed := args.extract numFixed args.size @@ -352,7 +354,7 @@ def structuralRecursion (preDefs : Array PreDefinition) : TermElabM Unit := throwError "structural recursion does not handle mutually recursive functions" else do let preDefNonRec ← elimRecursion preDefs[0] - mapError (addNonRec preDefNonRec) (fun msg => msg!"structural recursion failed, produced type incorrect term{indentD msg}") + mapError (addNonRec preDefNonRec) (fun msg => m!"structural recursion failed, produced type incorrect term{indentD msg}") addAndCompileUnsafeRec preDefs builtin_initialize diff --git a/stage0/src/Lean/Elab/Print.lean b/stage0/src/Lean/Elab/Print.lean index 72a82c060e..9b52a32e0b 100644 --- a/stage0/src/Lean/Elab/Print.lean +++ b/stage0/src/Lean/Elab/Print.lean @@ -109,9 +109,9 @@ private def printAxiomsOf (constName : Name) : CommandElabM Unit := do let env ← getEnv let (_, s) := ((CollectAxioms.collect constName).run env).run {} if s.axioms.isEmpty then - logInfo msg!"'{constName}' does not depend on any axioms" + logInfo m!"'{constName}' does not depend on any axioms" else - logInfo msg!"'{constName}' depends on axioms: {s.axioms.toList}" + logInfo m!"'{constName}' depends on axioms: {s.axioms.toList}" @[builtinCommandElab «printAxioms»] def elabPrintAxioms : CommandElab := fun stx => do let id := stx[2].getId diff --git a/stage0/src/Lean/Elab/StructInst.lean b/stage0/src/Lean/Elab/StructInst.lean index 292bd23cbc..68ad597ba2 100644 --- a/stage0/src/Lean/Elab/StructInst.lean +++ b/stage0/src/Lean/Elab/StructInst.lean @@ -531,7 +531,7 @@ private partial def elabStruct (s : Struct) (expectedType? : Option Expr) : Term | some val => cont val { field with val := FieldVal.term (mkHole field.ref) } | none => do let (val, sNew) ← elabStruct s (some d); let val ← ensureHasType d val; cont val { field with val := FieldVal.nested sNew } | FieldVal.default => do let val ← withRef field.ref $ mkFreshExprMVar (some d); cont (markDefaultMissing val) field - | _ => withRef field.ref $ throwFailedToElabField fieldName s.structName msg!"unexpected constructor type{indentExpr type}" + | _ => withRef field.ref $ throwFailedToElabField fieldName s.structName m!"unexpected constructor type{indentExpr type}" | _ => throwErrorAt field.ref "unexpected unexpanded structure field" pure (e, s.setFields fields.reverse) diff --git a/stage0/src/Lean/Elab/SyntheticMVars.lean b/stage0/src/Lean/Elab/SyntheticMVars.lean index 6ec7d8da81..157620f057 100644 --- a/stage0/src/Lean/Elab/SyntheticMVars.lean +++ b/stage0/src/Lean/Elab/SyntheticMVars.lean @@ -129,7 +129,7 @@ private def synthesizeSyntheticMVarsStep (postponeOnError : Bool) (runTactics : -- It would not be incorrect to use `filterM`. let remainingSyntheticMVars ← syntheticMVars.filterRevM fun mvarDecl => do -- We use `traceM` because we want to make sure the metavar local context is used to trace the message - traceM `Elab.postpone (withMVarContext mvarDecl.mvarId do addMessageContext msg!"resuming {mkMVar mvarDecl.mvarId}") + traceM `Elab.postpone (withMVarContext mvarDecl.mvarId do addMessageContext m!"resuming {mkMVar mvarDecl.mvarId}") let succeeded ← synthesizeSyntheticMVar mvarDecl postponeOnError runTactics trace[Elab.postpone]! if succeeded then fmt "succeeded" else fmt "not ready yet" pure !succeeded diff --git a/stage0/src/Lean/Elab/Tactic/Induction.lean b/stage0/src/Lean/Elab/Tactic/Induction.lean index 9bb076bbce..c374496ed9 100644 --- a/stage0/src/Lean/Elab/Tactic/Induction.lean +++ b/stage0/src/Lean/Elab/Tactic/Induction.lean @@ -279,7 +279,7 @@ def getInductiveValFromMajor (major : Expr) : TacticM InductiveVal := let majorType ← inferType major let majorType ← whnf majorType matchConstInduct majorType.getAppFn - (fun _ => Meta.throwTacticEx `induction mvarId msg!"major premise type is not an inductive type {indentExpr majorType}") + (fun _ => Meta.throwTacticEx `induction mvarId m!"major premise type is not an inductive type {indentExpr majorType}") (fun val _ => pure val) private partial def getRecFromUsingLoop (baseRecName : Name) (majorType : Expr) : TacticM (Option Meta.RecursorInfo) := do diff --git a/stage0/src/Lean/Elab/Tactic/Injection.lean b/stage0/src/Lean/Elab/Tactic/Injection.lean index 92c28c240b..5e60eb6a05 100644 --- a/stage0/src/Lean/Elab/Tactic/Injection.lean +++ b/stage0/src/Lean/Elab/Tactic/Injection.lean @@ -16,7 +16,7 @@ private def getInjectionNewIds (stx : Syntax) : List Name := private def checkUnusedIds (mvarId : MVarId) (unusedIds : List Name) : MetaM Unit := unless unusedIds.isEmpty do - Meta.throwTacticEx `injection mvarId msg!"too many identifiers provided, unused: {unusedIds}" + Meta.throwTacticEx `injection mvarId m!"too many identifiers provided, unused: {unusedIds}" @[builtinTactic «injection»] def evalInjection : Tactic := fun stx => do -- parser! nonReservedSymbol "injection " >> termParser >> withIds diff --git a/stage0/src/Lean/Elab/Term.lean b/stage0/src/Lean/Elab/Term.lean index 768ae6fa4e..6c7f7b10c2 100644 --- a/stage0/src/Lean/Elab/Term.lean +++ b/stage0/src/Lean/Elab/Term.lean @@ -364,7 +364,7 @@ def MVarErrorInfo.logError (mvarErrorInfo : MVarErrorInfo) : TermElabM Unit := d msg ++ " " ++ arg.getAppFn else msg ++ " …" - let msg : MessageData := msg!"don't know how to synthesize implicit argument{indentD msg}" + let msg : MessageData := m!"don't know how to synthesize implicit argument{indentD msg}" let msg := msg ++ Format.line ++ "context:" ++ Format.line ++ MessageData.ofGoal mvarErrorInfo.mvarId logErrorAt mvarErrorInfo.ref msg | MVarErrorKind.hole => do @@ -480,9 +480,9 @@ def applyAttributes (declName : Name) (attrs : Array Attribute) (persistent : Bo def mkTypeMismatchError (header? : Option String) (e : Expr) (eType : Expr) (expectedType : Expr) : MessageData := let header : MessageData := match header? with - | some header => msg!"{header} has type" - | none => msg!"type mismatch{indentExpr e}\nhas type" - msg!"{header}{indentExpr eType}\nbut is expected to have type{indentExpr expectedType}" + | some header => m!"{header} has type" + | none => m!"type mismatch{indentExpr e}\nhas type" + m!"{header}{indentExpr eType}\nbut is expected to have type{indentExpr expectedType}" def throwTypeMismatchError {α} (header? : Option String) (expectedType : Expr) (eType : Expr) (e : Expr) (f? : Option Expr := none) (extraMsg? : Option MessageData := none) : TermElabM α := diff --git a/stage0/src/Lean/Exception.lean b/stage0/src/Lean/Exception.lean index 5e146b4915..a9d2d5934e 100644 --- a/stage0/src/Lean/Exception.lean +++ b/stage0/src/Lean/Exception.lean @@ -47,7 +47,7 @@ def throwError {α} (msg : MessageData) : m α := do throw $ Exception.error ref msg def throwUnknownConstant {α} (constName : Name) : m α := - throwError msg!"unknown constant '{mkConst constName}'" + throwError m!"unknown constant '{mkConst constName}'" def throwErrorAt {α} (ref : Syntax) (msg : MessageData) : m α := do withRef ref $ throwError msg @@ -89,14 +89,14 @@ syntax "throwErrorAt! " term:max (interpolatedStr(term) <|> term) : term macro_rules | `(throwError! $msg) => if msg.getKind == interpolatedStrKind then - `(throwError (msg! $msg)) + `(throwError (m! $msg)) else `(throwError $msg) macro_rules | `(throwErrorAt! $ref $msg) => if msg.getKind == interpolatedStrKind then - `(throwErrorAt $ref (msg! $msg)) + `(throwErrorAt $ref (m! $msg)) else `(throwErrorAt $ref $msg) diff --git a/stage0/src/Lean/Message.lean b/stage0/src/Lean/Message.lean index 062edb8fcc..22935b8399 100644 --- a/stage0/src/Lean/Message.lean +++ b/stage0/src/Lean/Message.lean @@ -290,12 +290,9 @@ instance {α} [ToMessageData α] : ToMessageData (Array α) := ⟨fun as => toMe instance {α} [ToMessageData α] : ToMessageData (Option α) := ⟨fun | none => "none" | some e => "some (" ++ toMessageData e ++ ")"⟩ instance : ToMessageData (Option Expr) := ⟨fun | none => "" | some e => toMessageData e⟩ -syntax:max "msg!" interpolatedStr(term) : term +syntax:max "m!" interpolatedStr(term) : term macro_rules - | `(msg! $interpStr) => do - let chunks := interpStr.getArgs - let r ← Lean.Syntax.expandInterpolatedStrChunks chunks (fun a b => `($a ++ $b)) (fun a => `(toMessageData $a)) - `(($r : MessageData)) + | `(m! $interpStr) => do interpStr.expandInterpolatedStr (← `(MessageData)) (← `(toMessageData)) end Lean diff --git a/stage0/src/Lean/Meta/AppBuilder.lean b/stage0/src/Lean/Meta/AppBuilder.lean index a3fb5aaf1e..cd766b2e5f 100644 --- a/stage0/src/Lean/Meta/AppBuilder.lean +++ b/stage0/src/Lean/Meta/AppBuilder.lean @@ -62,7 +62,7 @@ private def infer (h : Expr) : MetaM Expr := do whnfD hType private def hasTypeMsg (e type : Expr) : MessageData := - msg!"{indentExpr e}\nhas type{indentExpr type}" + m!"{indentExpr e}\nhas type{indentExpr type}" private def throwAppBuilderException {α} (op : Name) (msg : MessageData) : MetaM α := throwError! "AppBuilder for '{op}', {msg}" @@ -121,11 +121,11 @@ private def mkEqOfHEqImp (h : Expr) : MetaM Expr := do match hType.heq? with | some (α, a, β, b) => unless (← isDefEq α β) do - throwAppBuilderException `eqOfHEq msg!"heterogeneous equality types are not definitionally equal{indentExpr α}\nis not definitionally equal to{indentExpr β}" + throwAppBuilderException `eqOfHEq m!"heterogeneous equality types are not definitionally equal{indentExpr α}\nis not definitionally equal to{indentExpr β}" let u ← getLevel α pure $ mkApp4 (mkConst `eqOfHEq [u]) α a b h | _ => - throwAppBuilderException `HEq.trans msg!"heterogeneous equality proof expected{indentExpr h}" + throwAppBuilderException `HEq.trans m!"heterogeneous equality proof expected{indentExpr h}" def mkEqOfHEq (h : Expr) : m Expr := liftMetaM $ mkEqOfHEqImp h @@ -209,7 +209,7 @@ private partial def mkAppMArgs (f : Expr) (fType : Expr) (xs : Array Expr) : Met if type.isForall then loop type i args.size args instMVars else - throwAppBuilderException `mkAppM msg!"too many explicit arguments provided to{indentExpr f}\narguments{indentD xs}" + throwAppBuilderException `mkAppM m!"too many explicit arguments provided to{indentExpr f}\narguments{indentD xs}" loop fType 0 0 #[] #[] private def mkFun (constName : Name) : MetaM (Expr × Expr) := do diff --git a/stage0/src/Lean/Meta/ExprDefEq.lean b/stage0/src/Lean/Meta/ExprDefEq.lean index 55c7dbff38..cc3f6ed03f 100644 --- a/stage0/src/Lean/Meta/ExprDefEq.lean +++ b/stage0/src/Lean/Meta/ExprDefEq.lean @@ -437,7 +437,7 @@ instance : MonadCache Expr Expr CheckAssignmentM := { private def addAssignmentInfo (msg : MessageData) : CheckAssignmentM MessageData := do let ctx ← read - return msg!" @ {mkMVar ctx.mvarId} {ctx.fvars} := {ctx.rhs}" + return m!" @ {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/LevelDefEq.lean b/stage0/src/Lean/Meta/LevelDefEq.lean index 3e03e5ca10..7f4ccab8a6 100644 --- a/stage0/src/Lean/Meta/LevelDefEq.lean +++ b/stage0/src/Lean/Meta/LevelDefEq.lean @@ -227,7 +227,7 @@ private def restore (env : Environment) (mctx : MetavarContext) (postponed : Per private def postponedToMessageData (ps : PersistentArray PostponedEntry) : MessageData := do let mut r := MessageData.nil for p in ps do - r := msg!"{r}\n{p.lhs} =?= {p.rhs}" + r := m!"{r}\n{p.lhs} =?= {p.rhs}" pure r @[specialize] def withoutPostponingUniverseConstraintsImp {α} (x : MetaM α) : MetaM α := do diff --git a/stage0/src/Lean/Meta/Match/Match.lean b/stage0/src/Lean/Meta/Match/Match.lean index b91a7939b6..7d15d62f0a 100644 --- a/stage0/src/Lean/Meta/Match/Match.lean +++ b/stage0/src/Lean/Meta/Match/Match.lean @@ -10,6 +10,7 @@ import Lean.Meta.Check import Lean.Meta.Closure import Lean.Meta.Tactic.Cases import Lean.Meta.GeneralizeTelescope +import Lean.Meta.Match.MatcherInfo import Lean.Meta.Match.MVarRenaming import Lean.Meta.Match.CaseValues import Lean.Meta.Match.CaseArraySizes @@ -29,13 +30,13 @@ namespace Pattern instance : Inhabited Pattern := ⟨Pattern.inaccessible (arbitrary _)⟩ partial def toMessageData : Pattern → MessageData - | inaccessible e => msg!".({e})" + | inaccessible e => m!".({e})" | var varId => mkFVar varId | ctor ctorName _ _ [] => ctorName - | ctor ctorName _ _ pats => msg!"({ctorName}{pats.foldl (fun (msg : MessageData) pat => msg ++ " " ++ toMessageData pat) Format.nil})" + | ctor ctorName _ _ pats => m!"({ctorName}{pats.foldl (fun (msg : MessageData) pat => msg ++ " " ++ toMessageData pat) Format.nil})" | val e => e - | arrayLit _ pats => msg!"#[{MessageData.joinSep (pats.map toMessageData) ", "}]" - | as varId p => msg!"{mkFVar varId}@{toMessageData p}" + | arrayLit _ pats => m!"#[{MessageData.joinSep (pats.map toMessageData) ", "}]" + | as varId p => m!"{mkFVar varId}@{toMessageData p}" partial def toExpr : Pattern → MetaM Expr | inaccessible e => pure e @@ -176,7 +177,7 @@ def checkAndReplaceFVarId (fvarId : FVarId) (v : Expr) (alt : Alt) : MetaM Alt : unless (← isDefEqGuarded fvarDecl.type vType) do withExistingLocalDecls alt.fvarDecls do throwErrorAt alt.ref $ - msg!"type mismatch during dependent match-elimination at pattern variable '{mkFVar fvarDecl.fvarId}' with type{indentExpr fvarDecl.type}\nexpected type{indentExpr vType}" + m!"type mismatch during dependent match-elimination at pattern variable '{mkFVar fvarDecl.fvarId}' with type{indentExpr fvarDecl.type}\nexpected type{indentExpr vType}" pure $ replaceFVarId fvarId v alt end Alt @@ -767,56 +768,6 @@ private partial def process (p : Problem) : StateRefT State MetaM Unit := withIn else liftM $ throwNonSupported p -/-- -A "matcher" auxiliary declaration has the following structure: -- `numParams` parameters -- motive -- `numDiscrs` discriminators (aka major premises) -- `altNumParams.size` alternatives (aka minor premises) where alternative `i` has `altNumParams[i]` parameters -- `uElimPos?` is `some pos` when the matcher can eliminate in different universe levels, and - `pos` is the position of the universe level parameter that specifies the elimination universe. - It is `none` if the matcher only eliminates into `Prop`. -/ -structure MatcherInfo := - (numParams : Nat) - (numDiscrs : Nat) - (altNumParams : Array Nat) - (uElimPos? : Option Nat) - -def MatcherInfo.numAlts (matcherInfo : MatcherInfo) : Nat := - matcherInfo.altNumParams.size - -namespace Extension - -structure Entry := - (name : Name) - (info : MatcherInfo) - -structure State := - (map : SMap Name MatcherInfo := {}) - -instance : Inhabited State := ⟨{}⟩ - -def State.addEntry (s : State) (e : Entry) : State := { s with map := s.map.insert e.name e.info } -def State.switch (s : State) : State := { s with map := s.map.switch } - -builtin_initialize extension : SimplePersistentEnvExtension Entry State ← - registerSimplePersistentEnvExtension { - name := `matcher, - addEntryFn := State.addEntry, - addImportedFn := fun es => (mkStateFromImportedEntries State.addEntry {} es).switch - } - -def addMatcherInfo (env : Environment) (matcherName : Name) (info : MatcherInfo) : Environment := - extension.addEntry env { name := matcherName, info := info } - -def getMatcherInfo? (env : Environment) (declName : Name) : Option MatcherInfo := - (extension.getState env).map.find? declName - -end Extension - -def addMatcherInfo (matcherName : Name) (info : MatcherInfo) : MetaM Unit := - modifyEnv fun env => Extension.addMatcherInfo env matcherName info - private def getUElimPos? (matcherLevels : List Level) (uElim : Level) : MetaM (Option Nat) := if uElim == levelZero then pure none @@ -887,54 +838,6 @@ def mkMatcher (matcherName : Name) (matchType : Expr) (numDiscrs : Nat) (lhss : end Match -export Match (MatcherInfo) - -def getMatcherInfo? (declName : Name) : MetaM (Option MatcherInfo) := do - let env ← getEnv - pure $ Match.Extension.getMatcherInfo? env declName - -def isMatcher (declName : Name) : MetaM Bool := do - let info? ← getMatcherInfo? declName - pure info?.isSome - -structure MatcherApp := - (matcherName : Name) - (matcherLevels : Array Level) - (uElimPos? : Option Nat) - (params : Array Expr) - (motive : Expr) - (discrs : Array Expr) - (altNumParams : Array Nat) - (alts : Array Expr) - (remaining : Array Expr) - -def matchMatcherApp? (e : Expr) : MetaM (Option MatcherApp) := - match e.getAppFn with - | Expr.const declName declLevels _ => do - let some info ← getMatcherInfo? declName | pure none - let args := e.getAppArgs - if args.size < info.numParams + 1 + info.numDiscrs + info.numAlts then pure none - else - pure $ some { - matcherName := declName, - matcherLevels := declLevels.toArray, - uElimPos? := info.uElimPos?, - params := args.extract 0 info.numParams, - motive := args.get! info.numParams, - discrs := args.extract (info.numParams + 1) (info.numParams + 1 + info.numDiscrs), - altNumParams := info.altNumParams, - alts := args.extract (info.numParams + 1 + info.numDiscrs) (info.numParams + 1 + info.numDiscrs + info.numAlts), - remaining := args.extract (info.numParams + 1 + info.numDiscrs + info.numAlts) args.size - } - | _ => pure none - -def MatcherApp.toExpr (matcherApp : MatcherApp) : Expr := - let result := mkAppN (mkConst matcherApp.matcherName matcherApp.matcherLevels.toList) matcherApp.params - let result := mkApp result matcherApp.motive - let result := mkAppN result matcherApp.discrs - let result := mkAppN result matcherApp.alts - mkAppN result matcherApp.remaining - /- Auxiliary function for MatcherApp.addArg -/ private partial def updateAlts (typeNew : Expr) (altNumParams : Array Nat) (alts : Array Expr) (i : Nat) : MetaM (Array Nat × Array Expr) := do if h : i < alts.size then diff --git a/stage0/src/Lean/Meta/Match/MatcherInfo.lean b/stage0/src/Lean/Meta/Match/MatcherInfo.lean new file mode 100644 index 0000000000..48bb230b7f --- /dev/null +++ b/stage0/src/Lean/Meta/Match/MatcherInfo.lean @@ -0,0 +1,111 @@ +/- +Copyright (c) 2020 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +import Lean.Meta.Basic + +namespace Lean.Meta +namespace Match + +/-- +A "matcher" auxiliary declaration has the following structure: +- `numParams` parameters +- motive +- `numDiscrs` discriminators (aka major premises) +- `altNumParams.size` alternatives (aka minor premises) where alternative `i` has `altNumParams[i]` parameters +- `uElimPos?` is `some pos` when the matcher can eliminate in different universe levels, and + `pos` is the position of the universe level parameter that specifies the elimination universe. + It is `none` if the matcher only eliminates into `Prop`. -/ +structure MatcherInfo := + (numParams : Nat) + (numDiscrs : Nat) + (altNumParams : Array Nat) + (uElimPos? : Option Nat) + +def MatcherInfo.numAlts (matcherInfo : MatcherInfo) : Nat := + matcherInfo.altNumParams.size + +namespace Extension + +structure Entry := + (name : Name) + (info : MatcherInfo) + +structure State := + (map : SMap Name MatcherInfo := {}) + +instance : Inhabited State := ⟨{}⟩ + +def State.addEntry (s : State) (e : Entry) : State := { s with map := s.map.insert e.name e.info } +def State.switch (s : State) : State := { s with map := s.map.switch } + +builtin_initialize extension : SimplePersistentEnvExtension Entry State ← + registerSimplePersistentEnvExtension { + name := `matcher, + addEntryFn := State.addEntry, + addImportedFn := fun es => (mkStateFromImportedEntries State.addEntry {} es).switch + } + +def addMatcherInfo (env : Environment) (matcherName : Name) (info : MatcherInfo) : Environment := + extension.addEntry env { name := matcherName, info := info } + +def getMatcherInfo? (env : Environment) (declName : Name) : Option MatcherInfo := + (extension.getState env).map.find? declName + +end Extension + +def addMatcherInfo (matcherName : Name) (info : MatcherInfo) : MetaM Unit := + modifyEnv fun env => Extension.addMatcherInfo env matcherName info + +end Match + +export Match (MatcherInfo) + +def getMatcherInfo? (declName : Name) : MetaM (Option MatcherInfo) := do + let env ← getEnv + pure $ Match.Extension.getMatcherInfo? env declName + +def isMatcher (declName : Name) : MetaM Bool := do + let info? ← getMatcherInfo? declName + pure info?.isSome + +structure MatcherApp := + (matcherName : Name) + (matcherLevels : Array Level) + (uElimPos? : Option Nat) + (params : Array Expr) + (motive : Expr) + (discrs : Array Expr) + (altNumParams : Array Nat) + (alts : Array Expr) + (remaining : Array Expr) + +def matchMatcherApp? (e : Expr) : MetaM (Option MatcherApp) := + match e.getAppFn with + | Expr.const declName declLevels _ => do + let some info ← getMatcherInfo? declName | pure none + let args := e.getAppArgs + if args.size < info.numParams + 1 + info.numDiscrs + info.numAlts then pure none + else + pure $ some { + matcherName := declName, + matcherLevels := declLevels.toArray, + uElimPos? := info.uElimPos?, + params := args.extract 0 info.numParams, + motive := args.get! info.numParams, + discrs := args.extract (info.numParams + 1) (info.numParams + 1 + info.numDiscrs), + altNumParams := info.altNumParams, + alts := args.extract (info.numParams + 1 + info.numDiscrs) (info.numParams + 1 + info.numDiscrs + info.numAlts), + remaining := args.extract (info.numParams + 1 + info.numDiscrs + info.numAlts) args.size + } + | _ => pure none + +def MatcherApp.toExpr (matcherApp : MatcherApp) : Expr := + let result := mkAppN (mkConst matcherApp.matcherName matcherApp.matcherLevels.toList) matcherApp.params + let result := mkApp result matcherApp.motive + let result := mkAppN result matcherApp.discrs + let result := mkAppN result matcherApp.alts + mkAppN result matcherApp.remaining + +end Lean.Meta diff --git a/stage0/src/Lean/Meta/Tactic/Apply.lean b/stage0/src/Lean/Meta/Tactic/Apply.lean index 3a037737c9..ba8bd84275 100644 --- a/stage0/src/Lean/Meta/Tactic/Apply.lean +++ b/stage0/src/Lean/Meta/Tactic/Apply.lean @@ -24,7 +24,7 @@ private def getExpectedNumArgs (e : Expr) : MetaM Nat := do pure numArgs private def throwApplyError {α} (mvarId : MVarId) (eType : Expr) (targetType : Expr) : MetaM α := - throwTacticEx `apply mvarId msg!"failed to unify{indentExpr eType}\nwith{indentExpr targetType}" + throwTacticEx `apply mvarId m!"failed to unify{indentExpr eType}\nwith{indentExpr targetType}" def synthAppInstances (tacticName : Name) (mvarId : MVarId) (newMVars : Array Expr) (binderInfos : Array BinderInfo) : MetaM Unit := newMVars.size.forM fun i => do diff --git a/stage0/src/Lean/Meta/Tactic/Clear.lean b/stage0/src/Lean/Meta/Tactic/Clear.lean index 4fa0f7e3c7..fcb972baf8 100644 --- a/stage0/src/Lean/Meta/Tactic/Clear.lean +++ b/stage0/src/Lean/Meta/Tactic/Clear.lean @@ -12,16 +12,16 @@ def clear (mvarId : MVarId) (fvarId : FVarId) : MetaM MVarId := checkNotAssigned mvarId `clear let lctx ← getLCtx unless lctx.contains fvarId do - throwTacticEx `clear mvarId msg!"unknown variable '{mkFVar fvarId}'" + throwTacticEx `clear mvarId m!"unknown variable '{mkFVar fvarId}'" let tag ← getMVarTag mvarId let mctx ← getMCtx lctx.forM fun localDecl => do unless localDecl.fvarId == fvarId do if mctx.localDeclDependsOn localDecl fvarId then - throwTacticEx `clear mvarId msg!"variable '{localDecl.toExpr}' depends on '{mkFVar fvarId}'" + throwTacticEx `clear mvarId m!"variable '{localDecl.toExpr}' depends on '{mkFVar fvarId}'" let mvarDecl ← getMVarDecl mvarId if mctx.exprDependsOn mvarDecl.type fvarId then - throwTacticEx `clear mvarId msg!"taget depends on '{mkFVar fvarId}'" + throwTacticEx `clear mvarId m!"taget depends on '{mkFVar fvarId}'" let lctx := lctx.erase fvarId let localInsts ← getLocalInstances let localInsts := match localInsts.findIdx? $ fun localInst => localInst.fvar.fvarId! == fvarId with diff --git a/stage0/src/Lean/Meta/Tactic/Induction.lean b/stage0/src/Lean/Meta/Tactic/Induction.lean index e3182050c1..32ac1b3134 100644 --- a/stage0/src/Lean/Meta/Tactic/Induction.lean +++ b/stage0/src/Lean/Meta/Tactic/Induction.lean @@ -116,7 +116,7 @@ private partial def finalize loop (recursorInfo.paramsPos.length + 1) 0 recursor recursorType false #[] private def throwUnexpectedMajorType {α} (mvarId : MVarId) (majorType : Expr) : MetaM α := - throwTacticEx `induction mvarId msg!"unexpected major premise type{indentExpr majorType}" + throwTacticEx `induction mvarId m!"unexpected major premise type{indentExpr majorType}" def induction (mvarId : MVarId) (majorFVarId : FVarId) (recursorName : Name) (givenNames : Array (List Name) := #[]) (useUnusedNames := false) : MetaM (Array InductionSubgoal) := @@ -129,28 +129,28 @@ def induction (mvarId : MVarId) (majorFVarId : FVarId) (recursorName : Name) (gi recursorInfo.paramsPos.forM fun paramPos? => do match paramPos? with | none => pure () - | some paramPos => if paramPos ≥ majorTypeArgs.size then throwTacticEx `induction mvarId msg!"major premise type is ill-formed{indentExpr majorType}" + | some paramPos => if paramPos ≥ majorTypeArgs.size then throwTacticEx `induction mvarId m!"major premise type is ill-formed{indentExpr majorType}" let mctx ← getMCtx let indices ← recursorInfo.indicesPos.toArray.mapM fun idxPos => do - if idxPos ≥ majorTypeArgs.size then throwTacticEx `induction mvarId msg!"major premise type is ill-formed{indentExpr majorType}" + if idxPos ≥ majorTypeArgs.size then throwTacticEx `induction mvarId m!"major premise type is ill-formed{indentExpr majorType}" let idx := majorTypeArgs.get! idxPos - unless idx.isFVar do throwTacticEx `induction mvarId msg!"major premise type index {idx} is not a variable{indentExpr majorType}" + unless idx.isFVar do throwTacticEx `induction mvarId m!"major premise type index {idx} is not a variable{indentExpr majorType}" majorTypeArgs.size.forM fun i => do let arg := majorTypeArgs[i] if i != idxPos && arg == idx then - throwTacticEx `induction mvarId msg!"'{idx}' is an index in major premise, but it occurs more than once{indentExpr majorType}" + throwTacticEx `induction mvarId m!"'{idx}' is an index in major premise, but it occurs more than once{indentExpr majorType}" if i < idxPos && mctx.exprDependsOn arg idx.fvarId! then - throwTacticEx `induction mvarId msg!"'{idx}' is an index in major premise, but it occurs in previous arguments{indentExpr majorType}" + throwTacticEx `induction mvarId m!"'{idx}' is an index in major premise, but it occurs in previous arguments{indentExpr majorType}" -- If arg is also and index and a variable occurring after `idx`, we need to make sure it doesn't depend on `idx`. -- Note that if `arg` is not a variable, we will fail anyway when we visit it. if i > idxPos && recursorInfo.indicesPos.contains i && arg.isFVar then let idxDecl ← getLocalDecl idx.fvarId! if mctx.localDeclDependsOn idxDecl arg.fvarId! then - throwTacticEx `induction mvarId msg!"'{idx}' is an index in major premise, but it depends on index occurring at position #{i+1}" + throwTacticEx `induction mvarId m!"'{idx}' is an index in major premise, but it depends on index occurring at position #{i+1}" pure idx let target ← getMVarType mvarId if !recursorInfo.depElim && mctx.exprDependsOn target majorFVarId then - throwTacticEx `induction mvarId msg!"recursor '{recursorName}' does not support dependent elimination, but conclusion depends on major premise" + throwTacticEx `induction mvarId m!"recursor '{recursorName}' does not support dependent elimination, but conclusion depends on major premise" -- Revert indices and major premise preserving variable order let (reverted, mvarId) ← revert mvarId ((indices.map Expr.fvarId!).push majorFVarId) true -- Re-introduce indices and major @@ -187,7 +187,7 @@ def induction (mvarId : MVarId) (majorFVarId : FVarId) (recursorName : Name) (gi if idx ≥ majorTypeFnLevels.size then throwTacticEx `induction mvarId "ill-formed recursor" pure (recursorLevels.push (majorTypeFnLevels.get! idx), foundTargetLevel) if !foundTargetLevel && !targetLevel.isZero then - throwTacticEx `induction mvarId msg!"recursor '{recursorName}' can only eliminate into Prop" + throwTacticEx `induction mvarId m!"recursor '{recursorName}' can only eliminate into Prop" let recursor := mkConst recursorName recursorLevels.toList let recursor ← addRecParams mvarId majorTypeArgs recursorInfo.paramsPos recursor -- Compute motive diff --git a/stage0/src/Lean/Meta/Tactic/Replace.lean b/stage0/src/Lean/Meta/Tactic/Replace.lean index 41a58315bc..79cc44b127 100644 --- a/stage0/src/Lean/Meta/Tactic/Replace.lean +++ b/stage0/src/Lean/Meta/Tactic/Replace.lean @@ -66,7 +66,7 @@ def replaceLocalDecl (mvarId : MVarId) (fvarId : FVarId) (typeNew : Expr) (eqPro def change (mvarId : MVarId) (targetNew : Expr) : MetaM MVarId := withMVarContext mvarId do let target ← getMVarType mvarId unless (← isDefEq target targetNew) do - throwTacticEx `change mvarId msg!"given type{indentExpr targetNew}\nis not definitionally equal to{indentExpr target}" + throwTacticEx `change mvarId m!"given type{indentExpr targetNew}\nis not definitionally equal to{indentExpr target}" replaceTargetDefEq mvarId targetNew def changeLocalDecl (mvarId : MVarId) (fvarId : FVarId) (typeNew : Expr) : MetaM MVarId := do @@ -77,7 +77,7 @@ def changeLocalDecl (mvarId : MVarId) (fvarId : FVarId) (typeNew : Expr) : MetaM let target ← getMVarType mvarId let checkDefEq (typeOld : Expr) : MetaM Unit := do unless (← isDefEq typeNew typeOld) do - throwTacticEx `changeHypothesis mvarId msg!"given type{indentExpr typeNew}\nis not definitionally equal to{indentExpr typeOld}" + throwTacticEx `changeHypothesis mvarId m!"given type{indentExpr typeNew}\nis not definitionally equal to{indentExpr typeOld}" let finalize (targetNew : Expr) : MetaM MVarId := do let mvarId ← replaceTargetDefEq mvarId targetNew let (_, mvarId) ← introNP mvarId (numReverted-1) diff --git a/stage0/src/Lean/Meta/Tactic/Rewrite.lean b/stage0/src/Lean/Meta/Tactic/Rewrite.lean index dd9b2d68aa..3d23dce63a 100644 --- a/stage0/src/Lean/Meta/Tactic/Rewrite.lean +++ b/stage0/src/Lean/Meta/Tactic/Rewrite.lean @@ -24,15 +24,15 @@ def rewrite (mvarId : MVarId) (e : Expr) (heq : Expr) (symm : Bool := false) (oc let heq := mkAppN heq newMVars let cont (heq heqType : Expr) : MetaM RewriteResult := do match (← matchEq? heqType) with - | none => throwTacticEx `rewrite mvarId msg!"equality or iff proof expected{indentExpr heqType}" + | none => throwTacticEx `rewrite mvarId m!"equality or iff proof expected{indentExpr heqType}" | some (α, lhs, rhs) => let cont (heq heqType lhs rhs : Expr) : MetaM RewriteResult := do if lhs.getAppFn.isMVar then - throwTacticEx `rewrite mvarId msg!"pattern is a metavariable{indentExpr lhs}\nfrom equation{indentExpr heqType}" + throwTacticEx `rewrite mvarId m!"pattern is a metavariable{indentExpr lhs}\nfrom equation{indentExpr heqType}" let e ← instantiateMVars e let eAbst ← kabstract e lhs occs unless eAbst.hasLooseBVars do - throwTacticEx `rewrite mvarId msg!"did not find instance of the pattern in the target expression{indentExpr lhs}" + throwTacticEx `rewrite mvarId m!"did not find instance of the pattern in the target expression{indentExpr lhs}" -- construct rewrite proof let eNew := eAbst.instantiate1 rhs let eNew ← instantiateMVars eNew diff --git a/stage0/src/Lean/Meta/Tactic/Subst.lean b/stage0/src/Lean/Meta/Tactic/Subst.lean index 950fb439f2..715843dddc 100644 --- a/stage0/src/Lean/Meta/Tactic/Subst.lean +++ b/stage0/src/Lean/Meta/Tactic/Subst.lean @@ -31,7 +31,7 @@ def substCore (mvarId : MVarId) (hFVarId : FVarId) (symm := false) (fvarSubst : trace[Meta.Tactic.subst]! "substituting {a} (id: {aFVarId} with {b}" let mctx ← getMCtx if mctx.exprDependsOn b aFVarId then - throwTacticEx `subst mvarId msg!"'{a}' occurs at{indentExpr b}" + throwTacticEx `subst mvarId m!"'{a}' occurs at{indentExpr b}" let aLocalDecl ← getLocalDecl aFVarId let (vars, mvarId) ← revert mvarId #[aFVarId, hFVarId] true let (twoVars, mvarId) ← introNP mvarId 2 @@ -98,7 +98,7 @@ def substCore (mvarId : MVarId) (hFVarId : FVarId) (symm := false) (fvarSubst : | _ => let eqMsg := if symm then "(t = x)" else "(x = t)" throwTacticEx `subst mvarId - msg!"invalid equality proof, it is not of the form {eqMsg}{indentExpr hLocalDecl.type}\nafter WHNF, variable expected, but obtained{indentExpr a}" + m!"invalid equality proof, it is not of the form {eqMsg}{indentExpr hLocalDecl.type}\nafter WHNF, variable expected, but obtained{indentExpr a}" def subst (mvarId : MVarId) (hFVarId : FVarId) : MetaM MVarId := withMVarContext mvarId do @@ -113,7 +113,7 @@ def subst (mvarId : MVarId) (hFVarId : FVarId) : MetaM MVarId := if lhs.isFVar then (·.2) <$> substCore mvarId hFVarId else do - throwTacticEx `subst mvarId msg!"invalid equality proof, it is not of the form (x = t) or (t = x){indentExpr hLocalDecl.type}" + throwTacticEx `subst mvarId m!"invalid equality proof, it is not of the form (x = t) or (t = x){indentExpr hLocalDecl.type}" | none => let mctx ← getMCtx let lctx ← getLCtx @@ -130,7 +130,7 @@ def subst (mvarId : MVarId) (hFVarId : FVarId) : MetaM MVarId := else pure none | _ => pure none - | throwTacticEx `subst mvarId msg!"did not find equation for eliminating '{mkFVar hFVarId}'" + | throwTacticEx `subst mvarId m!"did not find equation for eliminating '{mkFVar hFVarId}'" (·.2) <$> substCore mvarId fvarId symm builtin_initialize registerTraceClass `Meta.Tactic.subst diff --git a/stage0/src/Lean/Meta/WHNF.lean b/stage0/src/Lean/Meta/WHNF.lean index 119f9c8c66..449fe4d3b1 100644 --- a/stage0/src/Lean/Meta/WHNF.lean +++ b/stage0/src/Lean/Meta/WHNF.lean @@ -7,6 +7,7 @@ import Lean.ToExpr import Lean.AuxRecursor import Lean.Meta.Basic import Lean.Meta.LevelDefEq +import Lean.Meta.Match.MatcherInfo namespace Lean.Meta @@ -250,6 +251,39 @@ private def extractIdRhs (e : Expr) : Expr := let val := val.betaRev revArgs successK (extractIdRhs val) +inductive ReduceMatcherResult + | reduced (val : Expr) + | stuck (val : Expr) + | notMatcher + | partialApp + +def reduceMatcher? (e : Expr) : MetaM ReduceMatcherResult := do + match e.getAppFn with + | Expr.const declName declLevels _ => do + let some info ← getMatcherInfo? declName | pure ReduceMatcherResult.notMatcher + let args := e.getAppArgs + let prefixSz := info.numParams + 1 + info.numDiscrs + if args.size < prefixSz + info.numAlts then + pure ReduceMatcherResult.partialApp + else + let constInfo ← getConstInfo declName + let f := constInfo.instantiateValueLevelParams declLevels + let auxApp := mkAppN f args[0:prefixSz] + let auxAppType ← inferType auxApp + forallBoundedTelescope auxAppType info.numAlts fun hs _ => do + let auxApp := mkAppN auxApp hs + let auxApp ← whnf auxApp + let auxAppFn := auxApp.getAppFn + let mut i := prefixSz + for h in hs do + if auxAppFn == h then + let result := mkAppN args[i] auxApp.getAppArgs + let result := mkAppN result args[prefixSz + info.numAlts:args.size] + return ReduceMatcherResult.reduced result.headBeta + i := i + 1 + return ReduceMatcherResult.stuck auxApp + | _ => pure ReduceMatcherResult.notMatcher + /-- Apply beta-reduction, zeta-reduction (i.e., unfold let local-decls), iota-reduction, expand let-expressions, expand assigned meta-variables. -/ @@ -265,20 +299,24 @@ private partial def whnfCoreImp (e : Expr) : MetaM Expr := if f'.isLambda then let revArgs := e.getAppRevArgs whnfCoreImp $ f'.betaRev revArgs - else - let done : Unit → MetaM Expr := fun _ => - if f == f' then pure e else pure $ e.updateFn f' - matchConstAux f' done fun cinfo lvls => - match cinfo with - | ConstantInfo.recInfo rec => reduceRec rec lvls e.getAppArgs done whnfCoreImp - | ConstantInfo.quotInfo rec => reduceQuotRec rec lvls e.getAppArgs done whnfCoreImp - | c@(ConstantInfo.defnInfo _) => do - let unfold? ← isAuxDef? c.name - if unfold? then - deltaBetaDefinition c lvls e.getAppRevArgs done whnfCoreImp - else - done () - | _ => done () + else match (← reduceMatcher? e) with + | ReduceMatcherResult.reduced eNew => whnfCoreImp eNew + | ReduceMatcherResult.partialApp => pure e + | ReduceMatcherResult.stuck _ => pure e + | ReduceMatcherResult.notMatcher => + let done : Unit → MetaM Expr := fun _ => + if f == f' then pure e else pure $ e.updateFn f' + matchConstAux f' done fun cinfo lvls => + match cinfo with + | ConstantInfo.recInfo rec => reduceRec rec lvls e.getAppArgs done whnfCoreImp + | ConstantInfo.quotInfo rec => reduceQuotRec rec lvls e.getAppArgs done whnfCoreImp + | c@(ConstantInfo.defnInfo _) => do + let unfold? ← isAuxDef? c.name + if unfold? then + deltaBetaDefinition c lvls e.getAppRevArgs done whnfCoreImp + else + done () + | _ => done () | e@(Expr.proj _ i c _) => let c ← whnf c matchConstAux c.getAppFn (fun _ => pure e) fun cinfo lvls => diff --git a/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean b/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean index 5aab893d4c..dc2d956bfc 100644 --- a/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean +++ b/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean @@ -212,7 +212,7 @@ def maybeParenthesize (cat : Name) (canJuxtapose : Bool) (mkParen : Syntax → S x let { minPrec := some minPrec, trailPrec := trailPrec, trailCat := trailCat, .. } ← get | panic! "maybeParenthesize: visited a syntax tree without precedences?!" - trace[PrettyPrinter.parenthesize]! ("...precedences are {prec} >? {minPrec}" ++ if canJuxtapose then msg!", {(trailPrec, trailCat)} <=? {(st.contPrec, st.contCat)}" else "") + trace[PrettyPrinter.parenthesize]! ("...precedences are {prec} >? {minPrec}" ++ if canJuxtapose then m!", {(trailPrec, trailCat)} <=? {(st.contPrec, st.contCat)}" else "") -- Should we parenthesize? if (prec > minPrec || canJuxtapose && match trailPrec, st.contPrec with some trailPrec, some contPrec => trailCat == st.contCat && trailPrec <= contPrec | _, _ => false) then -- The recursive `visit` call, by the invariant, has moved to the preceding node. In order to parenthesize diff --git a/stage0/src/Lean/Util/Trace.lean b/stage0/src/Lean/Util/Trace.lean index 4556b5e6a9..f678dc7fe0 100644 --- a/stage0/src/Lean/Util/Trace.lean +++ b/stage0/src/Lean/Util/Trace.lean @@ -146,7 +146,7 @@ syntax "trace[" ident "]!" (interpolatedStr(term) <|> term) : term macro_rules | `(trace[$id]! $s) => if s.getKind == interpolatedStrKind then - `(Lean.trace $(quote id.getId) fun _ => msg! $s) + `(Lean.trace $(quote id.getId) fun _ => m! $s) else `(Lean.trace $(quote id.getId) fun _ => ($s : MessageData)) @@ -170,7 +170,7 @@ def withNestedTraces [MonadFinally m] (x : m α) : m α := do currTraces ++ traces -- No nest of nest else let d := traces.foldl (init := MessageData.nil) fun d elem => - if d.isNil then elem.msg else msg!"{d}\n{elem.msg}" + if d.isNil then elem.msg else m!"{d}\n{elem.msg}" currTraces.push { ref := ref, msg := MessageData.nestD d } end Lean diff --git a/stage0/stdlib/CMakeLists.txt b/stage0/stdlib/CMakeLists.txt index e0019da4e5..0fe04b200b 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/Macros.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/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/Option.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Instances.c ./Init/Data/Random.c ./Init/Data/Range.c ./Init/Data/Repr.c ./Init/Data/String.c ./Init/Data/String/Basic.c ./Init/Data/String/Extra.c ./Init/Data/ToString.c ./Init/Data/ToString/Basic.c ./Init/Data/ToString/Macro.c ./Init/Data/UInt.c ./Init/Fix.c ./Init/Meta.c ./Init/Notation.c ./Init/NotationExtra.c ./Init/Prelude.c ./Init/SizeOf.c ./Init/System.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/IOError.c ./Init/System/Platform.c ./Init/System/ST.c ./Init/Tactics.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/Format.c ./Lean/Data/FormatMacro.c ./Lean/Data/Json.c ./Lean/Data/Json/Basic.c ./Lean/Data/Json/FromToJson.c ./Lean/Data/Json/Parser.c ./Lean/Data/Json/Printer.c ./Lean/Data/Json/Stream.c ./Lean/Data/JsonRpc.c ./Lean/Data/KVMap.c ./Lean/Data/LBool.c ./Lean/Data/LOption.c ./Lean/Data/Lsp.c ./Lean/Data/Lsp/Basic.c ./Lean/Data/Lsp/Capabilities.c ./Lean/Data/Lsp/Communication.c ./Lean/Data/Lsp/Diagnostics.c ./Lean/Data/Lsp/Hover.c ./Lean/Data/Lsp/InitShutdown.c ./Lean/Data/Lsp/TextSync.c ./Lean/Data/Lsp/Utf16.c ./Lean/Data/Lsp/Workspace.c ./Lean/Data/Name.c ./Lean/Data/Occurrences.c ./Lean/Data/OpenDecl.c ./Lean/Data/Options.c ./Lean/Data/Position.c ./Lean/Data/SMap.c ./Lean/Data/Trie.c ./Lean/Declaration.c ./Lean/Delaborator.c ./Lean/Elab.c ./Lean/Elab/App.c ./Lean/Elab/Attributes.c ./Lean/Elab/Binders.c ./Lean/Elab/BuiltinNotation.c ./Lean/Elab/CollectFVars.c ./Lean/Elab/Command.c ./Lean/Elab/DeclModifiers.c ./Lean/Elab/DeclUtil.c ./Lean/Elab/Declaration.c ./Lean/Elab/DefView.c ./Lean/Elab/Do.c ./Lean/Elab/Exception.c ./Lean/Elab/Frontend.c ./Lean/Elab/Import.c ./Lean/Elab/Inductive.c ./Lean/Elab/LetRec.c ./Lean/Elab/Level.c ./Lean/Elab/Log.c ./Lean/Elab/Match.c ./Lean/Elab/MutualDef.c ./Lean/Elab/PreDefinition.c ./Lean/Elab/PreDefinition/Basic.c ./Lean/Elab/PreDefinition/Main.c ./Lean/Elab/PreDefinition/MkInhabitant.c ./Lean/Elab/PreDefinition/Structural.c ./Lean/Elab/PreDefinition/WF.c ./Lean/Elab/Print.c ./Lean/Elab/Quotation.c ./Lean/Elab/StructInst.c ./Lean/Elab/Structure.c ./Lean/Elab/Syntax.c ./Lean/Elab/SyntheticMVars.c ./Lean/Elab/Tactic.c ./Lean/Elab/Tactic/Basic.c ./Lean/Elab/Tactic/Binders.c ./Lean/Elab/Tactic/ElabTerm.c ./Lean/Elab/Tactic/Generalize.c ./Lean/Elab/Tactic/Induction.c ./Lean/Elab/Tactic/Injection.c ./Lean/Elab/Tactic/Location.c ./Lean/Elab/Tactic/Match.c ./Lean/Elab/Tactic/Rewrite.c ./Lean/Elab/Term.c ./Lean/Elab/Util.c ./Lean/Environment.c ./Lean/Eval.c ./Lean/Exception.c ./Lean/Expr.c ./Lean/HeadIndex.c ./Lean/Hygiene.c ./Lean/InternalExceptionId.c ./Lean/KeyedDeclsAttribute.c ./Lean/Level.c ./Lean/LocalContext.c ./Lean/Message.c ./Lean/Meta.c ./Lean/Meta/AbstractMVars.c ./Lean/Meta/AbstractNestedProofs.c ./Lean/Meta/AppBuilder.c ./Lean/Meta/Basic.c ./Lean/Meta/Check.c ./Lean/Meta/Closure.c ./Lean/Meta/CollectMVars.c ./Lean/Meta/DiscrTree.c ./Lean/Meta/DiscrTreeTypes.c ./Lean/Meta/ExprDefEq.c ./Lean/Meta/ForEachExpr.c ./Lean/Meta/FunInfo.c ./Lean/Meta/GeneralizeTelescope.c ./Lean/Meta/InferType.c ./Lean/Meta/Instances.c ./Lean/Meta/KAbstract.c ./Lean/Meta/LevelDefEq.c ./Lean/Meta/Match.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/MatchUtil.c ./Lean/Meta/Offset.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/ElimInfo.c ./Lean/Meta/Tactic/FVarSubst.c ./Lean/Meta/Tactic/Generalize.c ./Lean/Meta/Tactic/Induction.c ./Lean/Meta/Tactic/Injection.c ./Lean/Meta/Tactic/Intro.c ./Lean/Meta/Tactic/Replace.c ./Lean/Meta/Tactic/Revert.c ./Lean/Meta/Tactic/Rewrite.c ./Lean/Meta/Tactic/Subst.c ./Lean/Meta/Tactic/Util.c ./Lean/Meta/TransparencyMode.c ./Lean/Meta/WHNF.c ./Lean/MetavarContext.c ./Lean/Modifiers.c ./Lean/MonadEnv.c ./Lean/Parser.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/Formatter.c ./Lean/PrettyPrinter/Parenthesizer.c ./Lean/ProjFns.c ./Lean/ReducibilityAttrs.c ./Lean/ResolveName.c ./Lean/Runtime.c ./Lean/Server.c ./Lean/Server/ServerBin.c ./Lean/Server/Snapshots.c ./Lean/Structure.c ./Lean/Syntax.c ./Lean/ToExpr.c ./Lean/Util.c ./Lean/Util/CollectFVars.c ./Lean/Util/CollectLevelParams.c ./Lean/Util/CollectMVars.c ./Lean/Util/Constructions.c ./Lean/Util/FindExpr.c ./Lean/Util/FindMVar.c ./Lean/Util/FoldConsts.c ./Lean/Util/ForEachExpr.c ./Lean/Util/MonadCache.c ./Lean/Util/PPExt.c ./Lean/Util/PPGoal.c ./Lean/Util/Path.c ./Lean/Util/Profile.c ./Lean/Util/RecDepth.c ./Lean/Util/Recognizers.c ./Lean/Util/ReplaceExpr.c ./Lean/Util/ReplaceLevel.c ./Lean/Util/SCC.c ./Lean/Util/Sorry.c ./Lean/Util/Trace.c ./Std.c ./Std/Data.c ./Std/Data/AssocList.c ./Std/Data/BinomialHeap.c ./Std/Data/DList.c ./Std/Data/HashMap.c ./Std/Data/HashSet.c ./Std/Data/PersistentArray.c ./Std/Data/PersistentHashMap.c ./Std/Data/PersistentHashSet.c ./Std/Data/Queue.c ./Std/Data/RBMap.c ./Std/Data/RBTree.c ./Std/Data/Stack.c ./Std/ShareCommon.c ) +add_library (stage0 OBJECT ./Init.c ./Init/Classical.c ./Init/Coe.c ./Init/Control.c ./Init/Control/Basic.c ./Init/Control/EState.c ./Init/Control/Except.c ./Init/Control/Id.c ./Init/Control/Option.c ./Init/Control/Reader.c ./Init/Control/State.c ./Init/Control/StateRef.c ./Init/Core.c ./Init/Data.c ./Init/Data/Array.c ./Init/Data/Array/Basic.c ./Init/Data/Array/BinSearch.c ./Init/Data/Array/Macros.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/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/Option.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Instances.c ./Init/Data/Random.c ./Init/Data/Range.c ./Init/Data/Repr.c ./Init/Data/String.c ./Init/Data/String/Basic.c ./Init/Data/String/Extra.c ./Init/Data/ToString.c ./Init/Data/ToString/Basic.c ./Init/Data/ToString/Macro.c ./Init/Data/UInt.c ./Init/Fix.c ./Init/Meta.c ./Init/Notation.c ./Init/NotationExtra.c ./Init/Prelude.c ./Init/SizeOf.c ./Init/System.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/IOError.c ./Init/System/Platform.c ./Init/System/ST.c ./Init/Tactics.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/Format.c ./Lean/Data/FormatMacro.c ./Lean/Data/Json.c ./Lean/Data/Json/Basic.c ./Lean/Data/Json/FromToJson.c ./Lean/Data/Json/Parser.c ./Lean/Data/Json/Printer.c ./Lean/Data/Json/Stream.c ./Lean/Data/JsonRpc.c ./Lean/Data/KVMap.c ./Lean/Data/LBool.c ./Lean/Data/LOption.c ./Lean/Data/Lsp.c ./Lean/Data/Lsp/Basic.c ./Lean/Data/Lsp/Capabilities.c ./Lean/Data/Lsp/Communication.c ./Lean/Data/Lsp/Diagnostics.c ./Lean/Data/Lsp/Hover.c ./Lean/Data/Lsp/InitShutdown.c ./Lean/Data/Lsp/TextSync.c ./Lean/Data/Lsp/Utf16.c ./Lean/Data/Lsp/Workspace.c ./Lean/Data/Name.c ./Lean/Data/Occurrences.c ./Lean/Data/OpenDecl.c ./Lean/Data/Options.c ./Lean/Data/Position.c ./Lean/Data/SMap.c ./Lean/Data/Trie.c ./Lean/Declaration.c ./Lean/Delaborator.c ./Lean/Elab.c ./Lean/Elab/App.c ./Lean/Elab/Attributes.c ./Lean/Elab/Binders.c ./Lean/Elab/BuiltinNotation.c ./Lean/Elab/CollectFVars.c ./Lean/Elab/Command.c ./Lean/Elab/DeclModifiers.c ./Lean/Elab/DeclUtil.c ./Lean/Elab/Declaration.c ./Lean/Elab/DefView.c ./Lean/Elab/Do.c ./Lean/Elab/Exception.c ./Lean/Elab/Frontend.c ./Lean/Elab/Import.c ./Lean/Elab/Inductive.c ./Lean/Elab/LetRec.c ./Lean/Elab/Level.c ./Lean/Elab/Log.c ./Lean/Elab/Match.c ./Lean/Elab/MutualDef.c ./Lean/Elab/PreDefinition.c ./Lean/Elab/PreDefinition/Basic.c ./Lean/Elab/PreDefinition/Main.c ./Lean/Elab/PreDefinition/MkInhabitant.c ./Lean/Elab/PreDefinition/Structural.c ./Lean/Elab/PreDefinition/WF.c ./Lean/Elab/Print.c ./Lean/Elab/Quotation.c ./Lean/Elab/StructInst.c ./Lean/Elab/Structure.c ./Lean/Elab/Syntax.c ./Lean/Elab/SyntheticMVars.c ./Lean/Elab/Tactic.c ./Lean/Elab/Tactic/Basic.c ./Lean/Elab/Tactic/Binders.c ./Lean/Elab/Tactic/ElabTerm.c ./Lean/Elab/Tactic/Generalize.c ./Lean/Elab/Tactic/Induction.c ./Lean/Elab/Tactic/Injection.c ./Lean/Elab/Tactic/Location.c ./Lean/Elab/Tactic/Match.c ./Lean/Elab/Tactic/Rewrite.c ./Lean/Elab/Term.c ./Lean/Elab/Util.c ./Lean/Environment.c ./Lean/Eval.c ./Lean/Exception.c ./Lean/Expr.c ./Lean/HeadIndex.c ./Lean/Hygiene.c ./Lean/InternalExceptionId.c ./Lean/KeyedDeclsAttribute.c ./Lean/Level.c ./Lean/LocalContext.c ./Lean/Message.c ./Lean/Meta.c ./Lean/Meta/AbstractMVars.c ./Lean/Meta/AbstractNestedProofs.c ./Lean/Meta/AppBuilder.c ./Lean/Meta/Basic.c ./Lean/Meta/Check.c ./Lean/Meta/Closure.c ./Lean/Meta/CollectMVars.c ./Lean/Meta/DiscrTree.c ./Lean/Meta/DiscrTreeTypes.c ./Lean/Meta/ExprDefEq.c ./Lean/Meta/ForEachExpr.c ./Lean/Meta/FunInfo.c ./Lean/Meta/GeneralizeTelescope.c ./Lean/Meta/InferType.c ./Lean/Meta/Instances.c ./Lean/Meta/KAbstract.c ./Lean/Meta/LevelDefEq.c ./Lean/Meta/Match.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/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/ElimInfo.c ./Lean/Meta/Tactic/FVarSubst.c ./Lean/Meta/Tactic/Generalize.c ./Lean/Meta/Tactic/Induction.c ./Lean/Meta/Tactic/Injection.c ./Lean/Meta/Tactic/Intro.c ./Lean/Meta/Tactic/Replace.c ./Lean/Meta/Tactic/Revert.c ./Lean/Meta/Tactic/Rewrite.c ./Lean/Meta/Tactic/Subst.c ./Lean/Meta/Tactic/Util.c ./Lean/Meta/TransparencyMode.c ./Lean/Meta/WHNF.c ./Lean/MetavarContext.c ./Lean/Modifiers.c ./Lean/MonadEnv.c ./Lean/Parser.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/Formatter.c ./Lean/PrettyPrinter/Parenthesizer.c ./Lean/ProjFns.c ./Lean/ReducibilityAttrs.c ./Lean/ResolveName.c ./Lean/Runtime.c ./Lean/Server.c ./Lean/Server/ServerBin.c ./Lean/Server/Snapshots.c ./Lean/Structure.c ./Lean/Syntax.c ./Lean/ToExpr.c ./Lean/Util.c ./Lean/Util/CollectFVars.c ./Lean/Util/CollectLevelParams.c ./Lean/Util/CollectMVars.c ./Lean/Util/Constructions.c ./Lean/Util/FindExpr.c ./Lean/Util/FindMVar.c ./Lean/Util/FoldConsts.c ./Lean/Util/ForEachExpr.c ./Lean/Util/MonadCache.c ./Lean/Util/PPExt.c ./Lean/Util/PPGoal.c ./Lean/Util/Path.c ./Lean/Util/Profile.c ./Lean/Util/RecDepth.c ./Lean/Util/Recognizers.c ./Lean/Util/ReplaceExpr.c ./Lean/Util/ReplaceLevel.c ./Lean/Util/SCC.c ./Lean/Util/Sorry.c ./Lean/Util/Trace.c ./Std.c ./Std/Data.c ./Std/Data/AssocList.c ./Std/Data/BinomialHeap.c ./Std/Data/DList.c ./Std/Data/HashMap.c ./Std/Data/HashSet.c ./Std/Data/PersistentArray.c ./Std/Data/PersistentHashMap.c ./Std/Data/PersistentHashSet.c ./Std/Data/Queue.c ./Std/Data/RBMap.c ./Std/Data/RBTree.c ./Std/Data/Stack.c ./Std/ShareCommon.c ) diff --git a/stage0/stdlib/Init/Core.c b/stage0/stdlib/Init/Core.c index 9eaf2dac29..f7aa1b7790 100644 --- a/stage0/stdlib/Init/Core.c +++ b/stage0/stdlib/Init/Core.c @@ -15,55 +15,52 @@ extern "C" { #endif lean_object* l_strictAnd___boxed(lean_object*, lean_object*); lean_object* lean_thunk_map(lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_680____closed__3; lean_object* l_Quotient_hrecOn___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_lift(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Core___instance__18_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_reduceBool(uint8_t); -lean_object* l___kind_term____x40_Init_Core___hyg_685____closed__3; lean_object* l_inline(lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_1002____closed__3; lean_object* l_Init_Core___instance__20_match__1___rarg(uint8_t, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_155____closed__7; lean_object* l_Quotient_lift_u2082(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Init_Core___instance__25(lean_object*, lean_object*); lean_object* l_Subtype_Init_Core___instance__17_match__1(lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_rec___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Core___instance__6_match__1(lean_object*, lean_object*); lean_object* l_bne(lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_190____closed__3; -lean_object* l___kind_term____x40_Init_Core___hyg_155____closed__3; lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_997____closed__3; lean_object* l_Quotient_liftOn(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Core___instance__27_match__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_1430____closed__5; lean_object* l_Quotient_recOn(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_315____closed__1; lean_object* l_Thunk_map___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_recOn___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_150____closed__6; lean_object* l_bne___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_lift___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Squash_mk___rarg___boxed(lean_object*); lean_object* l_Lean_reduceBool___boxed(lean_object*); lean_object* l_Init_Core___instance__6(lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_320____closed__1; lean_object* l_Init_Core___instance__20_match__2___rarg(uint8_t, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__13; -lean_object* l___kind_term____x40_Init_Core___hyg_1002____closed__5; +lean_object* l___kind_term____x40_Init_Core___hyg_315____closed__2; uint8_t l_decidableOfDecidableOfEq___rarg(uint8_t, lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_320____closed__2; lean_object* l_Init_Core___instance__21(lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__4; lean_object* l_Quot_indep(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_720____closed__4; extern lean_object* l_Array_empty___closed__1; lean_object* l_Eq_ndrecOn___rarg(lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_315____closed__4; lean_object* l_Init_Core___instance__5_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Init_Core___instance__27_match__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_idDelta___rarg(lean_object*); lean_object* l_Quot_liftOn___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Core___instance__9; lean_object* l_Eq_mpr___rarg___boxed(lean_object*); lean_object* l_Init_Core___instance__4___rarg___boxed(lean_object*, lean_object*); lean_object* l_Quotient_recOnSubsingleton___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_320____closed__4; +lean_object* l___kind_term____x40_Init_Core___hyg_997____closed__5; +lean_object* l_myMacro____x40_Init_Core___hyg_185____closed__3; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* lean_task_spawn(lean_object*, lean_object*); @@ -85,161 +82,155 @@ lean_object* l_Quotient_liftOn___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Quot_rec___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_lift_u2082___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Task_bind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_150____closed__8; +lean_object* l___kind_term____x40_Init_Core___hyg_997____closed__2; lean_object* lean_thunk_pure(lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_1002____closed__1; lean_object* l_Init_Core___instance__7; lean_object* l_decidableOfDecidableOfEq___rarg___boxed(lean_object*, lean_object*); lean_object* l_toBoolUsing___rarg___boxed(lean_object*); -lean_object* l_idDelta(lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_1395____closed__3; lean_object* l_strictOr___boxed(lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_680____closed__1; lean_object* l_Init_Core___instance__4(lean_object*, lean_object*); lean_object* l_Quotient_recOnSubsingleton_u2082___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_mk___boxed(lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_155____closed__2; +lean_object* l___kind_term____x40_Init_Core___hyg_150____closed__4; lean_object* l_Init_Core___instance__11; lean_object* l_Eq_mpr(lean_object*, lean_object*, lean_object*); lean_object* l_Quot_recOn___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Thunk_get___boxed(lean_object*, lean_object*); lean_object* l_Init_Core___instance__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_150____closed__9; lean_object* l_Quot_recOnSubsingleton(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_720____closed__5; +lean_object* l___kind_term____x40_Init_Core___hyg_680____closed__2; lean_object* l_Lean_reduceNat(lean_object*); lean_object* l_Init_Core___instance__22(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__5; lean_object* l_Squash_lift___rarg(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Init_Core___instance__26___boxed(lean_object*, lean_object*); lean_object* l_Sum_inhabitedLeft___rarg(lean_object*); lean_object* l_Quotient_lift_u2082___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Quot_hrecOn(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_720_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_355_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_1430_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_190_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_1037_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_715_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_350_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_1425_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_185_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_1032_(lean_object*, lean_object*, lean_object*); lean_object* l_Task_Priority_dedicated; -lean_object* l___kind_term____x40_Init_Core___hyg_685____closed__2; -lean_object* l___kind_term____x40_Init_Core___hyg_1002____closed__2; -lean_object* l_myMacro____x40_Init_Core___hyg_720____closed__3; +lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__3; lean_object* l_Subtype_Init_Core___instance__17(lean_object*, lean_object*); lean_object* l_Init_Core___instance__5_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_997____closed__1; lean_object* l_Sum_inhabitedRight___rarg(lean_object*); lean_object* l_Subtype_Init_Core___instance__17_match__2___rarg(lean_object*, lean_object*); lean_object* l_Quotient_lift___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Subtype_Init_Core___instance__17___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Core___instance__20_match__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_recOnSubsingleton_u2082___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_155____closed__5; -lean_object* l___kind_term____x40_Init_Core___hyg_685____closed__4; +lean_object* l___kind_term____x40_Init_Core___hyg_680____closed__4; lean_object* l_Init_Core___instance__25___boxed(lean_object*, lean_object*); lean_object* lean_task_map(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Core___instance__6___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Core___instance__20_match__3(lean_object*, lean_object*, lean_object*); lean_object* l_flip___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_680____closed__5; lean_object* l_Quotient_hrecOn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Core___instance__27_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_rec(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Core___instance__10; +lean_object* l___kind_term____x40_Init_Core___hyg_1390____closed__3; +lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__7; extern lean_object* l_Lean_Init_Prelude___instance__72___closed__1; -lean_object* l_myMacro____x40_Init_Core___hyg_720____closed__7; lean_object* l_Init_Core___instance__21_match__1(lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_liftOn_u2082___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_685____closed__5; lean_object* l_Init_Core___instance__26(lean_object*, lean_object*); lean_object* l_Init_Core___instance__27(lean_object*, lean_object*); lean_object* l_Init_Core___instance__12(lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_685____closed__1; -lean_object* l_myMacro____x40_Init_Core___hyg_190____closed__2; +lean_object* l_myMacro____x40_Init_Core___hyg_1032____closed__3; lean_object* l_Init_Core___instance__20_match__4___rarg(lean_object*, lean_object*); lean_object* l_Init_Core___instance__21_match__2___rarg(lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_190____closed__1; uint8_t l_Init_Core___instance__4___rarg(uint8_t, uint8_t); uint8_t l_strictOr(uint8_t, uint8_t); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; -lean_object* l___kind_term____x40_Init_Core___hyg_1395____closed__4; -lean_object* l_myMacro____x40_Init_Core___hyg_1037____closed__6; lean_object* l_Eq_mpr___rarg(lean_object*); lean_object* l_decidableOfDecidableOfEq(lean_object*, lean_object*); lean_object* l_Init_Core___instance__21___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_1390____closed__2; lean_object* l_Squash_mk(lean_object*); lean_object* l_Subtype_Init_Core___instance__16(lean_object*, lean_object*); lean_object* lean_mk_thunk(lean_object*); lean_object* l_Thunk_bind___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_1390____closed__1; lean_object* l_Task_Priority_default; lean_object* l_Thunk_mk___boxed(lean_object*, lean_object*); lean_object* l_Prod_map_match__1___rarg(lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_185____closed__4; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_155____closed__9; lean_object* l_Init_Core___instance__21_match__1___rarg(lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_1425____closed__1; +lean_object* l___kind_term____x40_Init_Core___hyg_1390____closed__5; extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Squash_lift(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_1430____closed__2; lean_object* l_Eq_mp(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_185____closed__6; lean_object* l_Init_Core___instance__6_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Init_Core___instance__20_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_1430____closed__1; -lean_object* l_myMacro____x40_Init_Core___hyg_1037____closed__3; +lean_object* l_myMacro____x40_Init_Core___hyg_1425____closed__2; +lean_object* l_myMacro____x40_Init_Core___hyg_1032____closed__6; lean_object* l_toBoolUsing(lean_object*); -lean_object* l_idDelta___rarg___boxed(lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_190____closed__6; lean_object* l_Decidable_byCases_match__1___rarg(uint8_t, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_155____closed__1; +lean_object* l_myMacro____x40_Init_Core___hyg_1032____closed__5; lean_object* l_Init_Core___instance__20_match__4(lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_1002____closed__4; lean_object* l_prodHasDecidableLt___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_1395____closed__5; lean_object* l_Quotient_mk___rarg(lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_1037____closed__2; lean_object* l_Prod_map___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_task_bind(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Core___instance__20___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Init_Core___instance__5___rarg___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_bne___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_190____closed__4; lean_object* l_Subtype_Init_Core___instance__17_match__2(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_997____closed__4; lean_object* l_Lean_Syntax_getArgs(lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_1395____closed__2; extern lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__4; -lean_object* l_myMacro____x40_Init_Core___hyg_1430____closed__4; -lean_object* l_myMacro____x40_Init_Core___hyg_1037____closed__5; +lean_object* l_myMacro____x40_Init_Core___hyg_1425____closed__4; +lean_object* l_myMacro____x40_Init_Core___hyg_1032____closed__2; lean_object* l_Subtype_Init_Core___instance__16___rarg___boxed(lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_155____closed__4; lean_object* l_Quot_recOnSubsingleton___rarg(lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_1395____closed__1; lean_object* l_Init_Core___instance__20_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_1425____closed__6; lean_object* l_Sum_inhabitedLeft(lean_object*, lean_object*); lean_object* l_Quotient_mk___rarg___boxed(lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_720____closed__6; +lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__6; lean_object* l_Eq_mp___rarg(lean_object*); lean_object* l_Quotient_liftOn___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_150____closed__2; lean_object* l_inline___rarg___boxed(lean_object*); lean_object* l_Quotient_recOnSubsingleton(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_1430____closed__6; lean_object* l_Quot_liftOn(lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_155____closed__8; +lean_object* l___kind_term____x40_Init_Core___hyg_150____closed__1; +lean_object* l_myMacro____x40_Init_Core___hyg_185____closed__1; lean_object* l_Init_Core___instance__27_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Init_Core___instance__3___rarg___boxed(lean_object*, lean_object*); lean_object* l_Init_Core___instance__20(lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_1390____closed__4; extern lean_object* l_Lean_Name_hasMacroScopes___closed__1; +lean_object* l_myMacro____x40_Init_Core___hyg_185____closed__2; lean_object* l_Init_Core___instance__18_match__1(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_1037____closed__1; lean_object* l_prodHasDecidableLt___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Quot_rec(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Core___instance__6___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Decidable_byCases_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_315____closed__3; +lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__1; lean_object* l_Init_Core___instance__27___boxed(lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_720____closed__1; lean_object* l_Task_Priority_max; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_Init_Core___instance__27___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Decidable_byCases_match__1(lean_object*, lean_object*); lean_object* l_Lean_reduceNat___boxed(lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_155____closed__6; +lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__2; lean_object* l_Eq_ndrecOn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_720____closed__2; -lean_object* l_myMacro____x40_Init_Core___hyg_1037____closed__4; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__7; -lean_object* l___kind_term____x40_Init_Core___hyg_320____closed__3; lean_object* l_Quotient_rec___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Task_pure___boxed(lean_object*, lean_object*); @@ -248,12 +239,16 @@ lean_object* l_Prod_map(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Init_Core___instance__3___rarg(uint8_t, uint8_t); lean_object* l_Quot_indep___rarg(lean_object*, lean_object*); lean_object* l_Init_Core___instance__5_match__1(lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_320____closed__5; +lean_object* l_myMacro____x40_Init_Core___hyg_1032____closed__4; +lean_object* l_myMacro____x40_Init_Core___hyg_185____closed__5; uint8_t l_Init_Core___instance__8; lean_object* l_Eq_mp___rarg___boxed(lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_150____closed__7; lean_object* l_Decidable_byCases___rarg(uint8_t, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_1032____closed__1; lean_object* l_prodHasDecidableLt(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Init_Core___instance__20_match__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_315____closed__5; lean_object* l_decidableOfDecidableOfIff___rarg___boxed(lean_object*, lean_object*); lean_object* l_Init_Core___instance__21_match__2(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Core___instance__20_match__3___rarg(lean_object*, lean_object*); @@ -264,18 +259,19 @@ lean_object* l_Quotient_recOnSubsingleton_u2082(lean_object*, lean_object*, lean lean_object* l_Decidable_byCases(lean_object*, lean_object*); lean_object* l_inline___rarg(lean_object*); lean_object* l_Init_Core___instance__24; +lean_object* l_myMacro____x40_Init_Core___hyg_1425____closed__3; lean_object* l_Init_Core___instance__12___rarg(lean_object*); lean_object* l___private_Init_Core_0__funSetoid(lean_object*, lean_object*); lean_object* l_Sum_inhabitedRight(lean_object*, lean_object*); uint8_t l_strictAnd(uint8_t, uint8_t); lean_object* l_Quotient_liftOn_u2082___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Core___hyg_1425____closed__5; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__16; lean_object* l_Subtype_Init_Core___instance__16___rarg(lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Core___hyg_150____closed__3; lean_object* l_Squash_mk___rarg(lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_190____closed__5; lean_object* l_Thunk_pure___boxed(lean_object*, lean_object*); lean_object* l_decidableOfDecidableOfIff(lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_1430____closed__3; lean_object* l___private_Init_Core_0__extfunApp(lean_object*, lean_object*); lean_object* l_Prod_map_match__1(lean_object*, lean_object*, lean_object*); lean_object* l_Task_spawn___boxed(lean_object*, lean_object*, lean_object*); @@ -285,10 +281,11 @@ lean_object* l_Quotient_hrecOn(lean_object*, lean_object*, lean_object*); lean_object* lean_task_pure(lean_object*); lean_object* l_Init_Core___instance__18(lean_object*, lean_object*); lean_object* l_Init_Core___instance__5(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_720____closed__8; +lean_object* l___kind_term____x40_Init_Core___hyg_150____closed__5; +lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__8; lean_object* l___private_Init_Core_0__extfunApp___rarg(lean_object*, lean_object*); lean_object* l_Eq_ndrecOn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Core___hyg_720____closed__9; +lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__9; lean_object* lean_task_get_own(lean_object*); uint8_t l_decidableOfDecidableOfIff___rarg(uint8_t, lean_object*); lean_object* lean_thunk_bind(lean_object*, lean_object*); @@ -296,11 +293,11 @@ lean_object* l_Quotient_recOn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Core___instance__20_match__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Quot_recOn(lean_object*, lean_object*, lean_object*); lean_object* l_Subtype_Init_Core___instance__17_match__1___rarg(lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Core___hyg_685_; -lean_object* l___kind_term____x40_Init_Core___hyg_1002_; -lean_object* l___kind_term____x40_Init_Core___hyg_320_; -lean_object* l___kind_term____x40_Init_Core___hyg_155_; -lean_object* l___kind_term____x40_Init_Core___hyg_1395_; +lean_object* l___kind_term____x40_Init_Core___hyg_680_; +lean_object* l___kind_term____x40_Init_Core___hyg_997_; +lean_object* l___kind_term____x40_Init_Core___hyg_315_; +lean_object* l___kind_term____x40_Init_Core___hyg_150_; +lean_object* l___kind_term____x40_Init_Core___hyg_1390_; lean_object* l_Init_Core___instance__20_match__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Quot_hrecOn___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Core___instance__18___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -344,30 +341,6 @@ x_4 = lean_alloc_closure((void*)(l_flip___rarg), 3, 0); return x_4; } } -lean_object* l_idDelta___rarg(lean_object* x_1) { -_start: -{ -lean_inc(x_1); -return x_1; -} -} -lean_object* l_idDelta(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_idDelta___rarg___boxed), 1, 0); -return x_2; -} -} -lean_object* l_idDelta___rarg___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_idDelta___rarg(x_1); -lean_dec(x_1); -return x_2; -} -} lean_object* l_Thunk_mk___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -443,7 +416,7 @@ lean_dec(x_2); return x_6; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_155____closed__1() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_150____closed__1() { _start: { lean_object* x_1; @@ -451,37 +424,37 @@ x_1 = lean_mk_string("Core"); return x_1; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_155____closed__2() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_150____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__7; -x_2 = l___kind_term____x40_Init_Core___hyg_155____closed__1; +x_2 = l___kind_term____x40_Init_Core___hyg_150____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_155____closed__3() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_150____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_Core___hyg_155____closed__2; +x_1 = l___kind_term____x40_Init_Core___hyg_150____closed__2; x_2 = l_Lean_Name_hasMacroScopes___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_155____closed__4() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_150____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_Core___hyg_155____closed__3; -x_2 = lean_unsigned_to_nat(155u); +x_1 = l___kind_term____x40_Init_Core___hyg_150____closed__3; +x_2 = lean_unsigned_to_nat(150u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_155____closed__5() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_150____closed__5() { _start: { lean_object* x_1; @@ -489,17 +462,17 @@ x_1 = lean_mk_string(" <-> "); return x_1; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_155____closed__6() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_150____closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___kind_term____x40_Init_Core___hyg_155____closed__5; +x_1 = l___kind_term____x40_Init_Core___hyg_150____closed__5; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_155____closed__7() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_150____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -511,13 +484,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_155____closed__8() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_150____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_Core___hyg_155____closed__6; -x_3 = l___kind_term____x40_Init_Core___hyg_155____closed__7; +x_2 = l___kind_term____x40_Init_Core___hyg_150____closed__6; +x_3 = l___kind_term____x40_Init_Core___hyg_150____closed__7; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -525,13 +498,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_155____closed__9() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_150____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___kind_term____x40_Init_Core___hyg_155____closed__4; +x_1 = l___kind_term____x40_Init_Core___hyg_150____closed__4; x_2 = lean_unsigned_to_nat(20u); -x_3 = l___kind_term____x40_Init_Core___hyg_155____closed__8; +x_3 = l___kind_term____x40_Init_Core___hyg_150____closed__8; x_4 = lean_alloc_ctor(4, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -539,15 +512,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_155_() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_150_() { _start: { lean_object* x_1; -x_1 = l___kind_term____x40_Init_Core___hyg_155____closed__9; +x_1 = l___kind_term____x40_Init_Core___hyg_150____closed__9; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_190____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_185____closed__1() { _start: { lean_object* x_1; @@ -555,22 +528,22 @@ x_1 = lean_mk_string("Iff"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_190____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_185____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Core___hyg_190____closed__1; +x_1 = l_myMacro____x40_Init_Core___hyg_185____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_190____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_185____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Core___hyg_190____closed__1; +x_1 = l_myMacro____x40_Init_Core___hyg_185____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Core___hyg_190____closed__2; +x_3 = l_myMacro____x40_Init_Core___hyg_185____closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -578,45 +551,45 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_190____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_185____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_190____closed__1; +x_2 = l_myMacro____x40_Init_Core___hyg_185____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_190____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_185____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_190____closed__4; +x_2 = l_myMacro____x40_Init_Core___hyg_185____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_myMacro____x40_Init_Core___hyg_190____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_185____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_190____closed__5; +x_2 = l_myMacro____x40_Init_Core___hyg_185____closed__5; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_myMacro____x40_Init_Core___hyg_190_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Core___hyg_185_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l___kind_term____x40_Init_Core___hyg_155____closed__4; +x_4 = l___kind_term____x40_Init_Core___hyg_150____closed__4; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -663,11 +636,11 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_2, 1); lean_inc(x_19); lean_dec(x_2); -x_20 = l_myMacro____x40_Init_Core___hyg_190____closed__4; +x_20 = l_myMacro____x40_Init_Core___hyg_185____closed__4; x_21 = l_Lean_addMacroScope(x_19, x_20, x_18); x_22 = l_Lean_Init_Prelude___instance__72___closed__1; -x_23 = l_myMacro____x40_Init_Core___hyg_190____closed__3; -x_24 = l_myMacro____x40_Init_Core___hyg_190____closed__6; +x_23 = l_myMacro____x40_Init_Core___hyg_185____closed__3; +x_24 = l_myMacro____x40_Init_Core___hyg_185____closed__6; x_25 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_25, 0, x_22); lean_ctor_set(x_25, 1, x_23); @@ -694,17 +667,17 @@ return x_35; } } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_320____closed__1() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_315____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_Core___hyg_155____closed__3; -x_2 = lean_unsigned_to_nat(320u); +x_1 = l___kind_term____x40_Init_Core___hyg_150____closed__3; +x_2 = lean_unsigned_to_nat(315u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_320____closed__2() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_315____closed__2() { _start: { lean_object* x_1; @@ -712,23 +685,23 @@ x_1 = lean_mk_string(" ↔ "); return x_1; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_320____closed__3() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_315____closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___kind_term____x40_Init_Core___hyg_320____closed__2; +x_1 = l___kind_term____x40_Init_Core___hyg_315____closed__2; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_320____closed__4() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_315____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_Core___hyg_320____closed__3; -x_3 = l___kind_term____x40_Init_Core___hyg_155____closed__7; +x_2 = l___kind_term____x40_Init_Core___hyg_315____closed__3; +x_3 = l___kind_term____x40_Init_Core___hyg_150____closed__7; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -736,13 +709,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_320____closed__5() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_315____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___kind_term____x40_Init_Core___hyg_320____closed__1; +x_1 = l___kind_term____x40_Init_Core___hyg_315____closed__1; x_2 = lean_unsigned_to_nat(20u); -x_3 = l___kind_term____x40_Init_Core___hyg_320____closed__4; +x_3 = l___kind_term____x40_Init_Core___hyg_315____closed__4; x_4 = lean_alloc_ctor(4, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -750,19 +723,19 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_320_() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_315_() { _start: { lean_object* x_1; -x_1 = l___kind_term____x40_Init_Core___hyg_320____closed__5; +x_1 = l___kind_term____x40_Init_Core___hyg_315____closed__5; return x_1; } } -lean_object* l_myMacro____x40_Init_Core___hyg_355_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Core___hyg_350_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l___kind_term____x40_Init_Core___hyg_320____closed__1; +x_4 = l___kind_term____x40_Init_Core___hyg_315____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -809,11 +782,11 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_2, 1); lean_inc(x_19); lean_dec(x_2); -x_20 = l_myMacro____x40_Init_Core___hyg_190____closed__4; +x_20 = l_myMacro____x40_Init_Core___hyg_185____closed__4; x_21 = l_Lean_addMacroScope(x_19, x_20, x_18); x_22 = l_Lean_Init_Prelude___instance__72___closed__1; -x_23 = l_myMacro____x40_Init_Core___hyg_190____closed__3; -x_24 = l_myMacro____x40_Init_Core___hyg_190____closed__6; +x_23 = l_myMacro____x40_Init_Core___hyg_185____closed__3; +x_24 = l_myMacro____x40_Init_Core___hyg_185____closed__6; x_25 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_25, 0, x_22); lean_ctor_set(x_25, 1, x_23); @@ -840,17 +813,17 @@ return x_35; } } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_685____closed__1() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_680____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_Core___hyg_155____closed__3; -x_2 = lean_unsigned_to_nat(685u); +x_1 = l___kind_term____x40_Init_Core___hyg_150____closed__3; +x_2 = lean_unsigned_to_nat(680u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_685____closed__2() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_680____closed__2() { _start: { lean_object* x_1; @@ -858,22 +831,22 @@ x_1 = lean_mk_string(" ≈ "); return x_1; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_685____closed__3() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_680____closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___kind_term____x40_Init_Core___hyg_685____closed__2; +x_1 = l___kind_term____x40_Init_Core___hyg_680____closed__2; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_685____closed__4() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_680____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_Core___hyg_685____closed__3; +x_2 = l___kind_term____x40_Init_Core___hyg_680____closed__3; x_3 = l___kind_term____x40_Init_Notation___hyg_1512____closed__4; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -882,13 +855,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_685____closed__5() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_680____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___kind_term____x40_Init_Core___hyg_685____closed__1; +x_1 = l___kind_term____x40_Init_Core___hyg_680____closed__1; x_2 = lean_unsigned_to_nat(50u); -x_3 = l___kind_term____x40_Init_Core___hyg_685____closed__4; +x_3 = l___kind_term____x40_Init_Core___hyg_680____closed__4; x_4 = lean_alloc_ctor(4, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -896,15 +869,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_685_() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_680_() { _start: { lean_object* x_1; -x_1 = l___kind_term____x40_Init_Core___hyg_685____closed__5; +x_1 = l___kind_term____x40_Init_Core___hyg_680____closed__5; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_720____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_715____closed__1() { _start: { lean_object* x_1; @@ -912,22 +885,22 @@ x_1 = lean_mk_string("HasEquiv.Equiv"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_720____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_715____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Core___hyg_720____closed__1; +x_1 = l_myMacro____x40_Init_Core___hyg_715____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_720____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_715____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Core___hyg_720____closed__1; +x_1 = l_myMacro____x40_Init_Core___hyg_715____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Core___hyg_720____closed__2; +x_3 = l_myMacro____x40_Init_Core___hyg_715____closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -935,7 +908,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_720____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_715____closed__4() { _start: { lean_object* x_1; @@ -943,17 +916,17 @@ x_1 = lean_mk_string("HasEquiv"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_720____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_715____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_720____closed__4; +x_2 = l_myMacro____x40_Init_Core___hyg_715____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_720____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_715____closed__6() { _start: { lean_object* x_1; @@ -961,45 +934,45 @@ x_1 = lean_mk_string("Equiv"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_720____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_715____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Core___hyg_720____closed__5; -x_2 = l_myMacro____x40_Init_Core___hyg_720____closed__6; +x_1 = l_myMacro____x40_Init_Core___hyg_715____closed__5; +x_2 = l_myMacro____x40_Init_Core___hyg_715____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_720____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_715____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_720____closed__7; +x_2 = l_myMacro____x40_Init_Core___hyg_715____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_myMacro____x40_Init_Core___hyg_720____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_715____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_720____closed__8; +x_2 = l_myMacro____x40_Init_Core___hyg_715____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; } } -lean_object* l_myMacro____x40_Init_Core___hyg_720_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Core___hyg_715_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l___kind_term____x40_Init_Core___hyg_685____closed__1; +x_4 = l___kind_term____x40_Init_Core___hyg_680____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -1046,11 +1019,11 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_2, 1); lean_inc(x_19); lean_dec(x_2); -x_20 = l_myMacro____x40_Init_Core___hyg_720____closed__7; +x_20 = l_myMacro____x40_Init_Core___hyg_715____closed__7; x_21 = l_Lean_addMacroScope(x_19, x_20, x_18); x_22 = l_Lean_Init_Prelude___instance__72___closed__1; -x_23 = l_myMacro____x40_Init_Core___hyg_720____closed__3; -x_24 = l_myMacro____x40_Init_Core___hyg_720____closed__9; +x_23 = l_myMacro____x40_Init_Core___hyg_715____closed__3; +x_24 = l_myMacro____x40_Init_Core___hyg_715____closed__9; x_25 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_25, 0, x_22); lean_ctor_set(x_25, 1, x_23); @@ -1205,17 +1178,17 @@ x_5 = lean_box(x_4); return x_5; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1002____closed__1() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_997____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_Core___hyg_155____closed__3; -x_2 = lean_unsigned_to_nat(1002u); +x_1 = l___kind_term____x40_Init_Core___hyg_150____closed__3; +x_2 = lean_unsigned_to_nat(997u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1002____closed__2() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_997____closed__2() { _start: { lean_object* x_1; @@ -1223,22 +1196,22 @@ x_1 = lean_mk_string(" != "); return x_1; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1002____closed__3() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_997____closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___kind_term____x40_Init_Core___hyg_1002____closed__2; +x_1 = l___kind_term____x40_Init_Core___hyg_997____closed__2; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1002____closed__4() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_997____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_Core___hyg_1002____closed__3; +x_2 = l___kind_term____x40_Init_Core___hyg_997____closed__3; x_3 = l___kind_term____x40_Init_Notation___hyg_1512____closed__4; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -1247,13 +1220,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1002____closed__5() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_997____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___kind_term____x40_Init_Core___hyg_1002____closed__1; +x_1 = l___kind_term____x40_Init_Core___hyg_997____closed__1; x_2 = lean_unsigned_to_nat(50u); -x_3 = l___kind_term____x40_Init_Core___hyg_1002____closed__4; +x_3 = l___kind_term____x40_Init_Core___hyg_997____closed__4; x_4 = lean_alloc_ctor(4, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1261,15 +1234,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1002_() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_997_() { _start: { lean_object* x_1; -x_1 = l___kind_term____x40_Init_Core___hyg_1002____closed__5; +x_1 = l___kind_term____x40_Init_Core___hyg_997____closed__5; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1037____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1032____closed__1() { _start: { lean_object* x_1; @@ -1277,22 +1250,22 @@ x_1 = lean_mk_string("bne"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1037____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1032____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Core___hyg_1037____closed__1; +x_1 = l_myMacro____x40_Init_Core___hyg_1032____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1037____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1032____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Core___hyg_1037____closed__1; +x_1 = l_myMacro____x40_Init_Core___hyg_1032____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Core___hyg_1037____closed__2; +x_3 = l_myMacro____x40_Init_Core___hyg_1032____closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1300,45 +1273,45 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1037____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1032____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_1037____closed__1; +x_2 = l_myMacro____x40_Init_Core___hyg_1032____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1037____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1032____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_1037____closed__4; +x_2 = l_myMacro____x40_Init_Core___hyg_1032____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_myMacro____x40_Init_Core___hyg_1037____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1032____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_1037____closed__5; +x_2 = l_myMacro____x40_Init_Core___hyg_1032____closed__5; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_myMacro____x40_Init_Core___hyg_1037_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Core___hyg_1032_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l___kind_term____x40_Init_Core___hyg_1002____closed__1; +x_4 = l___kind_term____x40_Init_Core___hyg_997____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -1385,11 +1358,11 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_2, 1); lean_inc(x_19); lean_dec(x_2); -x_20 = l_myMacro____x40_Init_Core___hyg_1037____closed__4; +x_20 = l_myMacro____x40_Init_Core___hyg_1032____closed__4; x_21 = l_Lean_addMacroScope(x_19, x_20, x_18); x_22 = l_Lean_Init_Prelude___instance__72___closed__1; -x_23 = l_myMacro____x40_Init_Core___hyg_1037____closed__3; -x_24 = l_myMacro____x40_Init_Core___hyg_1037____closed__6; +x_23 = l_myMacro____x40_Init_Core___hyg_1032____closed__3; +x_24 = l_myMacro____x40_Init_Core___hyg_1032____closed__6; x_25 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_25, 0, x_22); lean_ctor_set(x_25, 1, x_23); @@ -1464,17 +1437,17 @@ lean_dec(x_1); return x_2; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1395____closed__1() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1390____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_Core___hyg_155____closed__3; -x_2 = lean_unsigned_to_nat(1395u); +x_1 = l___kind_term____x40_Init_Core___hyg_150____closed__3; +x_2 = lean_unsigned_to_nat(1390u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1395____closed__2() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1390____closed__2() { _start: { lean_object* x_1; @@ -1482,22 +1455,22 @@ x_1 = lean_mk_string(" ≠ "); return x_1; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1395____closed__3() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1390____closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___kind_term____x40_Init_Core___hyg_1395____closed__2; +x_1 = l___kind_term____x40_Init_Core___hyg_1390____closed__2; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1395____closed__4() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1390____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_Core___hyg_1395____closed__3; +x_2 = l___kind_term____x40_Init_Core___hyg_1390____closed__3; x_3 = l___kind_term____x40_Init_Notation___hyg_1512____closed__4; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -1506,13 +1479,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1395____closed__5() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1390____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___kind_term____x40_Init_Core___hyg_1395____closed__1; +x_1 = l___kind_term____x40_Init_Core___hyg_1390____closed__1; x_2 = lean_unsigned_to_nat(50u); -x_3 = l___kind_term____x40_Init_Core___hyg_1395____closed__4; +x_3 = l___kind_term____x40_Init_Core___hyg_1390____closed__4; x_4 = lean_alloc_ctor(4, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1520,15 +1493,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1395_() { +static lean_object* _init_l___kind_term____x40_Init_Core___hyg_1390_() { _start: { lean_object* x_1; -x_1 = l___kind_term____x40_Init_Core___hyg_1395____closed__5; +x_1 = l___kind_term____x40_Init_Core___hyg_1390____closed__5; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1430____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1425____closed__1() { _start: { lean_object* x_1; @@ -1536,22 +1509,22 @@ x_1 = lean_mk_string("Ne"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1430____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1425____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Core___hyg_1430____closed__1; +x_1 = l_myMacro____x40_Init_Core___hyg_1425____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1430____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1425____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Core___hyg_1430____closed__1; +x_1 = l_myMacro____x40_Init_Core___hyg_1425____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Core___hyg_1430____closed__2; +x_3 = l_myMacro____x40_Init_Core___hyg_1425____closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1559,45 +1532,45 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1430____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1425____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_1430____closed__1; +x_2 = l_myMacro____x40_Init_Core___hyg_1425____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1430____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1425____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_1430____closed__4; +x_2 = l_myMacro____x40_Init_Core___hyg_1425____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_myMacro____x40_Init_Core___hyg_1430____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Core___hyg_1425____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Core___hyg_1430____closed__5; +x_2 = l_myMacro____x40_Init_Core___hyg_1425____closed__5; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_myMacro____x40_Init_Core___hyg_1430_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Core___hyg_1425_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l___kind_term____x40_Init_Core___hyg_1395____closed__1; +x_4 = l___kind_term____x40_Init_Core___hyg_1390____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -1644,11 +1617,11 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_2, 1); lean_inc(x_19); lean_dec(x_2); -x_20 = l_myMacro____x40_Init_Core___hyg_1430____closed__4; +x_20 = l_myMacro____x40_Init_Core___hyg_1425____closed__4; x_21 = l_Lean_addMacroScope(x_19, x_20, x_18); x_22 = l_Lean_Init_Prelude___instance__72___closed__1; -x_23 = l_myMacro____x40_Init_Core___hyg_1430____closed__3; -x_24 = l_myMacro____x40_Init_Core___hyg_1430____closed__6; +x_23 = l_myMacro____x40_Init_Core___hyg_1425____closed__3; +x_24 = l_myMacro____x40_Init_Core___hyg_1425____closed__6; x_25 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_25, 0, x_22); lean_ctor_set(x_25, 1, x_23); @@ -3401,134 +3374,134 @@ lean_dec_ref(res); res = initialize_Init_Notation(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___kind_term____x40_Init_Core___hyg_155____closed__1 = _init_l___kind_term____x40_Init_Core___hyg_155____closed__1(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_155____closed__1); -l___kind_term____x40_Init_Core___hyg_155____closed__2 = _init_l___kind_term____x40_Init_Core___hyg_155____closed__2(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_155____closed__2); -l___kind_term____x40_Init_Core___hyg_155____closed__3 = _init_l___kind_term____x40_Init_Core___hyg_155____closed__3(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_155____closed__3); -l___kind_term____x40_Init_Core___hyg_155____closed__4 = _init_l___kind_term____x40_Init_Core___hyg_155____closed__4(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_155____closed__4); -l___kind_term____x40_Init_Core___hyg_155____closed__5 = _init_l___kind_term____x40_Init_Core___hyg_155____closed__5(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_155____closed__5); -l___kind_term____x40_Init_Core___hyg_155____closed__6 = _init_l___kind_term____x40_Init_Core___hyg_155____closed__6(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_155____closed__6); -l___kind_term____x40_Init_Core___hyg_155____closed__7 = _init_l___kind_term____x40_Init_Core___hyg_155____closed__7(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_155____closed__7); -l___kind_term____x40_Init_Core___hyg_155____closed__8 = _init_l___kind_term____x40_Init_Core___hyg_155____closed__8(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_155____closed__8); -l___kind_term____x40_Init_Core___hyg_155____closed__9 = _init_l___kind_term____x40_Init_Core___hyg_155____closed__9(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_155____closed__9); -l___kind_term____x40_Init_Core___hyg_155_ = _init_l___kind_term____x40_Init_Core___hyg_155_(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_155_); -l_myMacro____x40_Init_Core___hyg_190____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_190____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_190____closed__1); -l_myMacro____x40_Init_Core___hyg_190____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_190____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_190____closed__2); -l_myMacro____x40_Init_Core___hyg_190____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_190____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_190____closed__3); -l_myMacro____x40_Init_Core___hyg_190____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_190____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_190____closed__4); -l_myMacro____x40_Init_Core___hyg_190____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_190____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_190____closed__5); -l_myMacro____x40_Init_Core___hyg_190____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_190____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_190____closed__6); -l___kind_term____x40_Init_Core___hyg_320____closed__1 = _init_l___kind_term____x40_Init_Core___hyg_320____closed__1(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_320____closed__1); -l___kind_term____x40_Init_Core___hyg_320____closed__2 = _init_l___kind_term____x40_Init_Core___hyg_320____closed__2(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_320____closed__2); -l___kind_term____x40_Init_Core___hyg_320____closed__3 = _init_l___kind_term____x40_Init_Core___hyg_320____closed__3(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_320____closed__3); -l___kind_term____x40_Init_Core___hyg_320____closed__4 = _init_l___kind_term____x40_Init_Core___hyg_320____closed__4(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_320____closed__4); -l___kind_term____x40_Init_Core___hyg_320____closed__5 = _init_l___kind_term____x40_Init_Core___hyg_320____closed__5(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_320____closed__5); -l___kind_term____x40_Init_Core___hyg_320_ = _init_l___kind_term____x40_Init_Core___hyg_320_(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_320_); -l___kind_term____x40_Init_Core___hyg_685____closed__1 = _init_l___kind_term____x40_Init_Core___hyg_685____closed__1(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_685____closed__1); -l___kind_term____x40_Init_Core___hyg_685____closed__2 = _init_l___kind_term____x40_Init_Core___hyg_685____closed__2(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_685____closed__2); -l___kind_term____x40_Init_Core___hyg_685____closed__3 = _init_l___kind_term____x40_Init_Core___hyg_685____closed__3(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_685____closed__3); -l___kind_term____x40_Init_Core___hyg_685____closed__4 = _init_l___kind_term____x40_Init_Core___hyg_685____closed__4(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_685____closed__4); -l___kind_term____x40_Init_Core___hyg_685____closed__5 = _init_l___kind_term____x40_Init_Core___hyg_685____closed__5(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_685____closed__5); -l___kind_term____x40_Init_Core___hyg_685_ = _init_l___kind_term____x40_Init_Core___hyg_685_(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_685_); -l_myMacro____x40_Init_Core___hyg_720____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_720____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_720____closed__1); -l_myMacro____x40_Init_Core___hyg_720____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_720____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_720____closed__2); -l_myMacro____x40_Init_Core___hyg_720____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_720____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_720____closed__3); -l_myMacro____x40_Init_Core___hyg_720____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_720____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_720____closed__4); -l_myMacro____x40_Init_Core___hyg_720____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_720____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_720____closed__5); -l_myMacro____x40_Init_Core___hyg_720____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_720____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_720____closed__6); -l_myMacro____x40_Init_Core___hyg_720____closed__7 = _init_l_myMacro____x40_Init_Core___hyg_720____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_720____closed__7); -l_myMacro____x40_Init_Core___hyg_720____closed__8 = _init_l_myMacro____x40_Init_Core___hyg_720____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_720____closed__8); -l_myMacro____x40_Init_Core___hyg_720____closed__9 = _init_l_myMacro____x40_Init_Core___hyg_720____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_720____closed__9); +l___kind_term____x40_Init_Core___hyg_150____closed__1 = _init_l___kind_term____x40_Init_Core___hyg_150____closed__1(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_150____closed__1); +l___kind_term____x40_Init_Core___hyg_150____closed__2 = _init_l___kind_term____x40_Init_Core___hyg_150____closed__2(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_150____closed__2); +l___kind_term____x40_Init_Core___hyg_150____closed__3 = _init_l___kind_term____x40_Init_Core___hyg_150____closed__3(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_150____closed__3); +l___kind_term____x40_Init_Core___hyg_150____closed__4 = _init_l___kind_term____x40_Init_Core___hyg_150____closed__4(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_150____closed__4); +l___kind_term____x40_Init_Core___hyg_150____closed__5 = _init_l___kind_term____x40_Init_Core___hyg_150____closed__5(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_150____closed__5); +l___kind_term____x40_Init_Core___hyg_150____closed__6 = _init_l___kind_term____x40_Init_Core___hyg_150____closed__6(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_150____closed__6); +l___kind_term____x40_Init_Core___hyg_150____closed__7 = _init_l___kind_term____x40_Init_Core___hyg_150____closed__7(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_150____closed__7); +l___kind_term____x40_Init_Core___hyg_150____closed__8 = _init_l___kind_term____x40_Init_Core___hyg_150____closed__8(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_150____closed__8); +l___kind_term____x40_Init_Core___hyg_150____closed__9 = _init_l___kind_term____x40_Init_Core___hyg_150____closed__9(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_150____closed__9); +l___kind_term____x40_Init_Core___hyg_150_ = _init_l___kind_term____x40_Init_Core___hyg_150_(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_150_); +l_myMacro____x40_Init_Core___hyg_185____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_185____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_185____closed__1); +l_myMacro____x40_Init_Core___hyg_185____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_185____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_185____closed__2); +l_myMacro____x40_Init_Core___hyg_185____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_185____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_185____closed__3); +l_myMacro____x40_Init_Core___hyg_185____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_185____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_185____closed__4); +l_myMacro____x40_Init_Core___hyg_185____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_185____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_185____closed__5); +l_myMacro____x40_Init_Core___hyg_185____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_185____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_185____closed__6); +l___kind_term____x40_Init_Core___hyg_315____closed__1 = _init_l___kind_term____x40_Init_Core___hyg_315____closed__1(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_315____closed__1); +l___kind_term____x40_Init_Core___hyg_315____closed__2 = _init_l___kind_term____x40_Init_Core___hyg_315____closed__2(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_315____closed__2); +l___kind_term____x40_Init_Core___hyg_315____closed__3 = _init_l___kind_term____x40_Init_Core___hyg_315____closed__3(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_315____closed__3); +l___kind_term____x40_Init_Core___hyg_315____closed__4 = _init_l___kind_term____x40_Init_Core___hyg_315____closed__4(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_315____closed__4); +l___kind_term____x40_Init_Core___hyg_315____closed__5 = _init_l___kind_term____x40_Init_Core___hyg_315____closed__5(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_315____closed__5); +l___kind_term____x40_Init_Core___hyg_315_ = _init_l___kind_term____x40_Init_Core___hyg_315_(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_315_); +l___kind_term____x40_Init_Core___hyg_680____closed__1 = _init_l___kind_term____x40_Init_Core___hyg_680____closed__1(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_680____closed__1); +l___kind_term____x40_Init_Core___hyg_680____closed__2 = _init_l___kind_term____x40_Init_Core___hyg_680____closed__2(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_680____closed__2); +l___kind_term____x40_Init_Core___hyg_680____closed__3 = _init_l___kind_term____x40_Init_Core___hyg_680____closed__3(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_680____closed__3); +l___kind_term____x40_Init_Core___hyg_680____closed__4 = _init_l___kind_term____x40_Init_Core___hyg_680____closed__4(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_680____closed__4); +l___kind_term____x40_Init_Core___hyg_680____closed__5 = _init_l___kind_term____x40_Init_Core___hyg_680____closed__5(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_680____closed__5); +l___kind_term____x40_Init_Core___hyg_680_ = _init_l___kind_term____x40_Init_Core___hyg_680_(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_680_); +l_myMacro____x40_Init_Core___hyg_715____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_715____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_715____closed__1); +l_myMacro____x40_Init_Core___hyg_715____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_715____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_715____closed__2); +l_myMacro____x40_Init_Core___hyg_715____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_715____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_715____closed__3); +l_myMacro____x40_Init_Core___hyg_715____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_715____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_715____closed__4); +l_myMacro____x40_Init_Core___hyg_715____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_715____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_715____closed__5); +l_myMacro____x40_Init_Core___hyg_715____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_715____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_715____closed__6); +l_myMacro____x40_Init_Core___hyg_715____closed__7 = _init_l_myMacro____x40_Init_Core___hyg_715____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_715____closed__7); +l_myMacro____x40_Init_Core___hyg_715____closed__8 = _init_l_myMacro____x40_Init_Core___hyg_715____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_715____closed__8); +l_myMacro____x40_Init_Core___hyg_715____closed__9 = _init_l_myMacro____x40_Init_Core___hyg_715____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_715____closed__9); l_Task_Priority_default = _init_l_Task_Priority_default(); lean_mark_persistent(l_Task_Priority_default); l_Task_Priority_max = _init_l_Task_Priority_max(); lean_mark_persistent(l_Task_Priority_max); l_Task_Priority_dedicated = _init_l_Task_Priority_dedicated(); lean_mark_persistent(l_Task_Priority_dedicated); -l___kind_term____x40_Init_Core___hyg_1002____closed__1 = _init_l___kind_term____x40_Init_Core___hyg_1002____closed__1(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1002____closed__1); -l___kind_term____x40_Init_Core___hyg_1002____closed__2 = _init_l___kind_term____x40_Init_Core___hyg_1002____closed__2(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1002____closed__2); -l___kind_term____x40_Init_Core___hyg_1002____closed__3 = _init_l___kind_term____x40_Init_Core___hyg_1002____closed__3(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1002____closed__3); -l___kind_term____x40_Init_Core___hyg_1002____closed__4 = _init_l___kind_term____x40_Init_Core___hyg_1002____closed__4(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1002____closed__4); -l___kind_term____x40_Init_Core___hyg_1002____closed__5 = _init_l___kind_term____x40_Init_Core___hyg_1002____closed__5(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1002____closed__5); -l___kind_term____x40_Init_Core___hyg_1002_ = _init_l___kind_term____x40_Init_Core___hyg_1002_(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1002_); -l_myMacro____x40_Init_Core___hyg_1037____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_1037____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1037____closed__1); -l_myMacro____x40_Init_Core___hyg_1037____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_1037____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1037____closed__2); -l_myMacro____x40_Init_Core___hyg_1037____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_1037____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1037____closed__3); -l_myMacro____x40_Init_Core___hyg_1037____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_1037____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1037____closed__4); -l_myMacro____x40_Init_Core___hyg_1037____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_1037____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1037____closed__5); -l_myMacro____x40_Init_Core___hyg_1037____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_1037____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1037____closed__6); -l___kind_term____x40_Init_Core___hyg_1395____closed__1 = _init_l___kind_term____x40_Init_Core___hyg_1395____closed__1(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1395____closed__1); -l___kind_term____x40_Init_Core___hyg_1395____closed__2 = _init_l___kind_term____x40_Init_Core___hyg_1395____closed__2(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1395____closed__2); -l___kind_term____x40_Init_Core___hyg_1395____closed__3 = _init_l___kind_term____x40_Init_Core___hyg_1395____closed__3(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1395____closed__3); -l___kind_term____x40_Init_Core___hyg_1395____closed__4 = _init_l___kind_term____x40_Init_Core___hyg_1395____closed__4(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1395____closed__4); -l___kind_term____x40_Init_Core___hyg_1395____closed__5 = _init_l___kind_term____x40_Init_Core___hyg_1395____closed__5(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1395____closed__5); -l___kind_term____x40_Init_Core___hyg_1395_ = _init_l___kind_term____x40_Init_Core___hyg_1395_(); -lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1395_); -l_myMacro____x40_Init_Core___hyg_1430____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_1430____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1430____closed__1); -l_myMacro____x40_Init_Core___hyg_1430____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_1430____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1430____closed__2); -l_myMacro____x40_Init_Core___hyg_1430____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_1430____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1430____closed__3); -l_myMacro____x40_Init_Core___hyg_1430____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_1430____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1430____closed__4); -l_myMacro____x40_Init_Core___hyg_1430____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_1430____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1430____closed__5); -l_myMacro____x40_Init_Core___hyg_1430____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_1430____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1430____closed__6); +l___kind_term____x40_Init_Core___hyg_997____closed__1 = _init_l___kind_term____x40_Init_Core___hyg_997____closed__1(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_997____closed__1); +l___kind_term____x40_Init_Core___hyg_997____closed__2 = _init_l___kind_term____x40_Init_Core___hyg_997____closed__2(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_997____closed__2); +l___kind_term____x40_Init_Core___hyg_997____closed__3 = _init_l___kind_term____x40_Init_Core___hyg_997____closed__3(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_997____closed__3); +l___kind_term____x40_Init_Core___hyg_997____closed__4 = _init_l___kind_term____x40_Init_Core___hyg_997____closed__4(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_997____closed__4); +l___kind_term____x40_Init_Core___hyg_997____closed__5 = _init_l___kind_term____x40_Init_Core___hyg_997____closed__5(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_997____closed__5); +l___kind_term____x40_Init_Core___hyg_997_ = _init_l___kind_term____x40_Init_Core___hyg_997_(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_997_); +l_myMacro____x40_Init_Core___hyg_1032____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_1032____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1032____closed__1); +l_myMacro____x40_Init_Core___hyg_1032____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_1032____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1032____closed__2); +l_myMacro____x40_Init_Core___hyg_1032____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_1032____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1032____closed__3); +l_myMacro____x40_Init_Core___hyg_1032____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_1032____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1032____closed__4); +l_myMacro____x40_Init_Core___hyg_1032____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_1032____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1032____closed__5); +l_myMacro____x40_Init_Core___hyg_1032____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_1032____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1032____closed__6); +l___kind_term____x40_Init_Core___hyg_1390____closed__1 = _init_l___kind_term____x40_Init_Core___hyg_1390____closed__1(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1390____closed__1); +l___kind_term____x40_Init_Core___hyg_1390____closed__2 = _init_l___kind_term____x40_Init_Core___hyg_1390____closed__2(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1390____closed__2); +l___kind_term____x40_Init_Core___hyg_1390____closed__3 = _init_l___kind_term____x40_Init_Core___hyg_1390____closed__3(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1390____closed__3); +l___kind_term____x40_Init_Core___hyg_1390____closed__4 = _init_l___kind_term____x40_Init_Core___hyg_1390____closed__4(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1390____closed__4); +l___kind_term____x40_Init_Core___hyg_1390____closed__5 = _init_l___kind_term____x40_Init_Core___hyg_1390____closed__5(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1390____closed__5); +l___kind_term____x40_Init_Core___hyg_1390_ = _init_l___kind_term____x40_Init_Core___hyg_1390_(); +lean_mark_persistent(l___kind_term____x40_Init_Core___hyg_1390_); +l_myMacro____x40_Init_Core___hyg_1425____closed__1 = _init_l_myMacro____x40_Init_Core___hyg_1425____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1425____closed__1); +l_myMacro____x40_Init_Core___hyg_1425____closed__2 = _init_l_myMacro____x40_Init_Core___hyg_1425____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1425____closed__2); +l_myMacro____x40_Init_Core___hyg_1425____closed__3 = _init_l_myMacro____x40_Init_Core___hyg_1425____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1425____closed__3); +l_myMacro____x40_Init_Core___hyg_1425____closed__4 = _init_l_myMacro____x40_Init_Core___hyg_1425____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1425____closed__4); +l_myMacro____x40_Init_Core___hyg_1425____closed__5 = _init_l_myMacro____x40_Init_Core___hyg_1425____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1425____closed__5); +l_myMacro____x40_Init_Core___hyg_1425____closed__6 = _init_l_myMacro____x40_Init_Core___hyg_1425____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Core___hyg_1425____closed__6); l_Init_Core___instance__1 = _init_l_Init_Core___instance__1(); l_Init_Core___instance__2 = _init_l_Init_Core___instance__2(); l_Init_Core___instance__7 = _init_l_Init_Core___instance__7(); diff --git a/stage0/stdlib/Init/Data/Array/Macros.c b/stage0/stdlib/Init/Data/Array/Macros.c index d3bb8b1d63..4b662d5147 100644 --- a/stage0/stdlib/Init/Data/Array/Macros.c +++ b/stage0/stdlib/Init/Data/Array/Macros.c @@ -54,7 +54,6 @@ lean_object* l_Array___kind_term____x40_Init_Data_Array_Macros___hyg_3____closed lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__13; lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__21; extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3372____closed__3; -extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; lean_object* l_Array___kind_term____x40_Init_Data_Array_Macros___hyg_3____closed__9; lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__9; extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__18; @@ -89,6 +88,7 @@ extern lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__11; lean_object* l_Array___kind_term____x40_Init_Data_Array_Macros___hyg_3____closed__21; extern lean_object* l_Lean_Name_hasMacroScopes___closed__1; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__3; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__16; lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__24; @@ -281,7 +281,7 @@ static lean_object* _init_l_Array___kind_term____x40_Init_Data_Array_Macros___hy _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; diff --git a/stage0/stdlib/Init/Data/Range.c b/stage0/stdlib/Init/Data/Range.c index 8c800271a3..b2dba3faa8 100644 --- a/stage0/stdlib/Init/Data/Range.c +++ b/stage0/stdlib/Init/Data/Range.c @@ -57,7 +57,6 @@ lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_869____closed__1; lean_object* l_Std_Range_forIn_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_869____closed__2; -extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_1252_(lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_869_(lean_object*, lean_object*, lean_object*); @@ -90,6 +89,7 @@ lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_208____closed_ lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_154____closed__4; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__13; lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_208____closed__3; lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed__7; @@ -104,10 +104,10 @@ lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__11; extern lean_object* l_Lean_Name_hasMacroScopes___closed__1; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__3; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_564____closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9; lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed__11; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_869____closed__7; -lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed__4; lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_266____closed__1; extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3372____closed__1; @@ -119,7 +119,6 @@ lean_object* l_Std_Range_forIn_loop_match__1(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__3; lean_object* l_Std_Range_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_564____closed__8; lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed__6; @@ -499,7 +498,7 @@ static lean_object* _init_l_Std_Range___kind_term____x40_Init_Data_Range___hyg_1 _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -971,41 +970,19 @@ return x_3; static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__17() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Init_Prelude___instance__72___closed__1; -x_2 = l___private_Init_Util_0__mkPanicMessage___closed__2; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__17; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19() { -_start: -{ lean_object* x_1; lean_object* x_2; x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed__3; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19; +x_3 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__17; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1013,7 +990,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1023,7 +1000,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1035,19 +1012,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22() { _start: { lean_object* x_1; @@ -1055,12 +1032,12 @@ x_1 = lean_mk_string("}"); return x_1; } } -static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25() { +static lean_object* _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Init_Prelude___instance__72___closed__1; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -1147,22 +1124,22 @@ lean_ctor_set(x_35, 1, x_33); x_36 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__5; x_37 = lean_array_push(x_36, x_35); x_38 = lean_array_push(x_37, x_26); -x_39 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; +x_39 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19; x_40 = l_Lean_addMacroScope(x_17, x_39, x_16); -x_41 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20; -x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; +x_41 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18; +x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; x_43 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_43, 0, x_20); lean_ctor_set(x_43, 1, x_41); lean_ctor_set(x_43, 2, x_40); lean_ctor_set(x_43, 3, x_42); -x_44 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18; +x_44 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_45 = lean_array_push(x_44, x_43); x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_34); lean_ctor_set(x_46, 1, x_45); x_47 = lean_array_push(x_38, x_46); -x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_48 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_49 = lean_array_push(x_47, x_48); x_50 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; x_51 = lean_alloc_ctor(1, 2, 0); @@ -1378,22 +1355,22 @@ lean_ctor_set(x_50, 1, x_48); x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__5; x_52 = lean_array_push(x_51, x_50); x_53 = lean_array_push(x_52, x_28); -x_54 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; +x_54 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19; x_55 = l_Lean_addMacroScope(x_19, x_54, x_18); -x_56 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20; -x_57 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; +x_56 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18; +x_57 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; x_58 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_58, 0, x_22); 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 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18; +x_59 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_60 = lean_array_push(x_59, x_58); x_61 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_61, 0, x_49); lean_ctor_set(x_61, 1, x_60); x_62 = lean_array_push(x_53, x_61); -x_63 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_63 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_64 = lean_array_push(x_62, x_63); x_65 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; x_66 = lean_alloc_ctor(1, 2, 0); @@ -1607,22 +1584,22 @@ lean_ctor_set(x_64, 1, x_62); x_65 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__5; x_66 = lean_array_push(x_65, x_64); x_67 = lean_array_push(x_66, x_30); -x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; +x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19; x_69 = l_Lean_addMacroScope(x_21, x_68, x_20); -x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20; -x_71 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; +x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18; +x_71 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; x_72 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_72, 0, x_24); 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 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18; +x_73 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_74 = lean_array_push(x_73, x_72); x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_63); lean_ctor_set(x_75, 1, x_74); x_76 = lean_array_push(x_67, x_75); -x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_78 = lean_array_push(x_76, x_77); x_79 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; x_80 = lean_alloc_ctor(1, 2, 0); @@ -1739,22 +1716,22 @@ lean_ctor_set(x_50, 1, x_48); x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__5; x_52 = lean_array_push(x_51, x_50); x_53 = lean_array_push(x_52, x_28); -x_54 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; +x_54 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19; x_55 = l_Lean_addMacroScope(x_19, x_54, x_18); -x_56 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20; -x_57 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; +x_56 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18; +x_57 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; x_58 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_58, 0, x_22); 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 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__18; +x_59 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_60 = lean_array_push(x_59, x_58); x_61 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_61, 0, x_49); lean_ctor_set(x_61, 1, x_60); x_62 = lean_array_push(x_53, x_61); -x_63 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_63 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_64 = lean_array_push(x_62, x_63); x_65 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; x_66 = lean_alloc_ctor(1, 2, 0); @@ -1901,10 +1878,6 @@ l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22 = _init_l_Std lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22); l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23(); lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24); -l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25(); -lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25); l_Std_Range_myMacro____x40_Init_Data_Range___hyg_564____closed__1 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_564____closed__1(); lean_mark_persistent(l_Std_Range_myMacro____x40_Init_Data_Range___hyg_564____closed__1); l_Std_Range_myMacro____x40_Init_Data_Range___hyg_564____closed__2 = _init_l_Std_Range_myMacro____x40_Init_Data_Range___hyg_564____closed__2(); diff --git a/stage0/stdlib/Init/Data/ToString/Macro.c b/stage0/stdlib/Init/Data/ToString/Macro.c index 9d5ad07c76..6388f628b7 100644 --- a/stage0/stdlib/Init/Data/ToString/Macro.c +++ b/stage0/stdlib/Init/Data/ToString/Macro.c @@ -14,71 +14,49 @@ extern "C" { #endif lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__7; -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2; lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__10; -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__1; -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__3; lean_object* lean_name_mk_string(lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__8; lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_expandInterpolatedStrChunks(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__9; lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2_; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__13; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__12; -extern lean_object* l_Array_empty___closed__1; lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10; lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__12; -lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__4; -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__8; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__6; extern lean_object* l_Lean_Init_Meta___instance__7___closed__1; -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__11; -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__5; +lean_object* l_Lean_Syntax_expandInterpolatedStr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__4; extern lean_object* l_Lean_Init_Meta___instance__7___closed__2; -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__6; lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__8; lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5; -extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__1; lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__2; extern lean_object* l_Lean_Init_Prelude___instance__72___closed__1; -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__2; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__8; lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__9; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__3; lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__13; lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__9; lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__8; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6; -extern lean_object* l_Lean_nullKind___closed__2; lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__6; lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__2; -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__7; lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__1; extern lean_object* l_Lean_Name_hasMacroScopes___closed__1; lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__3; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__7; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3372____closed__2; extern lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__9; lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__7; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__5; -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__11; +lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__12; static lean_object* _init_l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__1() { _start: { @@ -219,246 +197,22 @@ x_1 = l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__13; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("++"); -return x_1; -} -} -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Init_Prelude___instance__72___closed__1; -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_6 = l___kind_term____x40_Init_Notation___hyg_3____closed__8; -x_7 = lean_name_mk_string(x_1, x_6); -x_8 = l_Lean_Name_hasMacroScopes___closed__1; -x_9 = lean_name_mk_string(x_7, x_8); -x_10 = lean_unsigned_to_nat(4161u); -x_11 = lean_name_mk_numeral(x_9, x_10); -x_12 = l_Array_empty___closed__1; -x_13 = lean_array_push(x_12, x_2); -x_14 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2; -x_15 = lean_array_push(x_13, x_14); -x_16 = lean_array_push(x_15, x_3); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_11); -lean_ctor_set(x_17, 1, x_16); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_5); -return x_18; -} -} -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("toString"); -return x_1; -} -} -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__2; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__5; -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__6; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__7; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_4 = lean_ctor_get(x_2, 2); -lean_inc(x_4); -x_5 = lean_ctor_get(x_2, 1); -lean_inc(x_5); -lean_dec(x_2); -x_6 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__4; -x_7 = l_Lean_addMacroScope(x_5, x_6, x_4); -x_8 = l_Lean_Init_Prelude___instance__72___closed__1; -x_9 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__3; -x_10 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__8; -x_11 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_11, 0, x_8); -lean_ctor_set(x_11, 1, x_9); -lean_ctor_set(x_11, 2, x_7); -lean_ctor_set(x_11, 3, x_10); -x_12 = l_Array_empty___closed__1; -x_13 = lean_array_push(x_12, x_11); -x_14 = lean_array_push(x_12, x_1); -x_15 = l_Lean_nullKind___closed__2; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_array_push(x_13, x_16); -x_18 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_3); -return x_20; -} -} static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__7; -x_2 = lean_alloc_closure((void*)(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___boxed), 5, 1); -lean_closure_set(x_2, 0, x_1); +x_1 = l_Lean_Init_Meta___instance__7___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__2() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2), 3, 0); -return x_1; -} -} -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("typeAscription"); -return x_1; -} -} -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Init_Prelude___instance__72___closed__1; -x_2 = l___private_Init_Util_0__mkPanicMessage___closed__2; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Init_Meta___instance__7___closed__1; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__8() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Init_Meta___instance__7___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__7; +x_3 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____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); @@ -466,7 +220,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -478,12 +232,97 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__9; +x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____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_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("toString"); +return x_1; +} +} +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__6; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__9; +x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10; +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_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__11; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -530,156 +369,40 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_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; x_14 = lean_unsigned_to_nat(1u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); lean_dec(x_1); -x_16 = l_Lean_Syntax_getArgs(x_15); +x_16 = lean_ctor_get(x_2, 2); +lean_inc(x_16); +x_17 = lean_ctor_get(x_2, 1); +lean_inc(x_17); +x_18 = l_Lean_Init_Meta___instance__7___closed__2; +lean_inc(x_16); +lean_inc(x_17); +x_19 = l_Lean_addMacroScope(x_17, x_18, x_16); +x_20 = l_Lean_Init_Prelude___instance__72___closed__1; +x_21 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__2; +x_22 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +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_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__8; +x_25 = l_Lean_addMacroScope(x_17, x_24, x_16); +x_26 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__7; +x_27 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__12; +x_28 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_28, 0, x_20); +lean_ctor_set(x_28, 1, x_26); +lean_ctor_set(x_28, 2, x_25); +lean_ctor_set(x_28, 3, x_27); +x_29 = l_Lean_Syntax_expandInterpolatedStr(x_15, x_23, x_28, x_2, x_3); lean_dec(x_15); -x_17 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__1; -x_18 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__2; -lean_inc(x_2); -x_19 = l_Lean_Syntax_expandInterpolatedStrChunks(x_16, x_17, x_18, x_2, x_3); -lean_dec(x_16); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 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; -x_21 = lean_ctor_get(x_19, 0); -x_22 = lean_ctor_get(x_2, 2); -lean_inc(x_22); -x_23 = lean_ctor_get(x_2, 1); -lean_inc(x_23); -lean_dec(x_2); -x_24 = l_Array_empty___closed__1; -x_25 = lean_array_push(x_24, x_21); -x_26 = l_Lean_Init_Meta___instance__7___closed__2; -x_27 = l_Lean_addMacroScope(x_23, x_26, x_22); -x_28 = l_Lean_Init_Prelude___instance__72___closed__1; -x_29 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__8; -x_30 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10; -x_31 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_31, 0, x_28); -lean_ctor_set(x_31, 1, x_29); -lean_ctor_set(x_31, 2, x_27); -lean_ctor_set(x_31, 3, x_30); -x_32 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__6; -x_33 = lean_array_push(x_32, x_31); -x_34 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = lean_array_push(x_24, x_35); -x_37 = l_Lean_nullKind___closed__2; -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_36); -x_39 = lean_array_push(x_25, x_38); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_37); -lean_ctor_set(x_40, 1, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9; -x_42 = lean_array_push(x_41, x_40); -x_43 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12; -x_44 = lean_array_push(x_42, x_43); -x_45 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8; -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -lean_ctor_set(x_19, 0, x_46); -return x_19; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; 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; -x_47 = lean_ctor_get(x_19, 0); -x_48 = lean_ctor_get(x_19, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_19); -x_49 = lean_ctor_get(x_2, 2); -lean_inc(x_49); -x_50 = lean_ctor_get(x_2, 1); -lean_inc(x_50); -lean_dec(x_2); -x_51 = l_Array_empty___closed__1; -x_52 = lean_array_push(x_51, x_47); -x_53 = l_Lean_Init_Meta___instance__7___closed__2; -x_54 = l_Lean_addMacroScope(x_50, x_53, x_49); -x_55 = l_Lean_Init_Prelude___instance__72___closed__1; -x_56 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__8; -x_57 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10; -x_58 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_58, 0, x_55); -lean_ctor_set(x_58, 1, x_56); -lean_ctor_set(x_58, 2, x_54); -lean_ctor_set(x_58, 3, x_57); -x_59 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__6; -x_60 = lean_array_push(x_59, x_58); -x_61 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -x_63 = lean_array_push(x_51, x_62); -x_64 = l_Lean_nullKind___closed__2; -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_63); -x_66 = lean_array_push(x_52, x_65); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_64); -lean_ctor_set(x_67, 1, x_66); -x_68 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9; -x_69 = lean_array_push(x_68, x_67); -x_70 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12; -x_71 = lean_array_push(x_69, x_70); -x_72 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_48); -return x_74; +return x_29; } } -else -{ -uint8_t x_75; -lean_dec(x_2); -x_75 = !lean_is_exclusive(x_19); -if (x_75 == 0) -{ -return x_19; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_19, 0); -x_77 = lean_ctor_get(x_19, 1); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_19); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -return x_78; -} -} -} -} -} -} -lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -return x_6; } } lean_object* initialize_Init_Meta(lean_object*); @@ -723,26 +446,6 @@ l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__13 = _init_l___ lean_mark_persistent(l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__13); l___kind_term____x40_Init_Data_ToString_Macro___hyg_2_ = _init_l___kind_term____x40_Init_Data_ToString_Macro___hyg_2_(); lean_mark_persistent(l___kind_term____x40_Init_Data_ToString_Macro___hyg_2_); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__1 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__1); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__1); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__2 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__2); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__3 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__3); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__4 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__4); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__5 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__5); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__6 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__6); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__7 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__7); -l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__8 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__8); l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__1 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__1(); lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__1); l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__2 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__2(); @@ -763,6 +466,10 @@ l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__9 = _init_l_myMacr lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__9); l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10(); lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__10); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__11 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__11); +l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__12 = _init_l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__12); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Meta.c b/stage0/stdlib/Init/Meta.c index 2c18216f0d..22e403fe1e 100644 --- a/stage0/stdlib/Init/Meta.c +++ b/stage0/stdlib/Init/Meta.c @@ -39,10 +39,12 @@ lean_object* l_Lean_Syntax_isNatLitAux(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*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_206____closed__4; +lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst___at_Lean_Syntax_setHeadInfoAux___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Syntax_getSepArgs___boxed(lean_object*); lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexDigit(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); @@ -51,6 +53,7 @@ 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); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__8; uint32_t l_Lean_idBeginEscape; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar_match__1(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -62,6 +65,7 @@ lean_object* l_Lean_Syntax_decodeStrLitAux_match__1(lean_object*); lean_object* l_ReaderT_Init_Prelude___instance__51___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkSep(lean_object*, lean_object*); lean_object* l_Lean_Init_Meta___instance__9_match__1(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__9; lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst_match__1(lean_object*, lean_object*); lean_object* l_Array_filterSepElemsM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_capitalize(lean_object*); @@ -78,6 +82,7 @@ lean_object* l_Lean_Syntax_toNat___boxed(lean_object*); lean_object* l_Lean_Init_Meta___instance__10(lean_object*); lean_object* l_Lean_Init_Meta___instance__11___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_identToAtom_match__1___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__12; 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; @@ -93,6 +98,7 @@ lean_object* l_Lean_Syntax_isInterpolatedStrLit_x3f_match__1___rarg(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*); uint8_t l_Char_isDigit(uint32_t); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14; lean_object* l_Lean_Syntax_setTailInfo_match__1(lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_isGreek___boxed(lean_object*); @@ -128,6 +134,7 @@ lean_object* l_Array_filterSepElemsM___at_Array_filterSepElems___spec__1(lean_ob lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_mkAtom(lean_object*); lean_object* l_Lean_NameGenerator_namePrefix___default; +lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterSepElems___boxed(lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_setHeadInfo(lean_object*, lean_object*); @@ -174,9 +181,9 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); uint8_t l_Init_Prelude___instance__8___rarg(uint8_t); lean_object* l_Lean_Syntax_setHeadInfoAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Init_Meta___instance__9___rarg___closed__2; -lean_object* l_Lean_Name_appendIndexAfter___closed__1; 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*); extern lean_object* l_Lean_numLitKind; lean_object* l_Lean_Syntax_expandInterpolatedStrChunks_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeDecimalLitAux(lean_object*, lean_object*, lean_object*); @@ -307,13 +314,13 @@ 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_decodeCharLit(lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6; 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*); 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*); +extern lean_object* l_Lean_nullKind___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_6957____closed__5; lean_object* l_Lean_Init_Meta___instance__6(lean_object*); uint8_t l_Lean_isLetterLike(uint32_t); @@ -338,10 +345,12 @@ lean_object* l_Lean_Syntax_mkApp___closed__1; uint8_t l_UInt32_decEq(uint32_t, uint32_t); lean_object* l_Lean_Syntax_decodeQuotedChar_match__6(lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteName_match__1(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11; lean_object* l_Lean_Name_appendAfter(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); lean_object* l_Lean_Syntax_isIdent_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkHole(lean_object*); +lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); 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_Syntax_expandInterpolatedStrChunks___closed__1; lean_object* l_Lean_Syntax_expandInterpolatedStrChunks_match__3___rarg(lean_object*, lean_object*); @@ -385,10 +394,11 @@ lean_object* l_Lean_Syntax_isNameLit_x3f___boxed(lean_object*); lean_object* l_Lean_Syntax_isCharLit_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Init_Meta___instance__8; -lean_object* l_Lean_mkHole___closed__1; lean_object* l_Lean_isIdBeginEscape___boxed(lean_object*); lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__1; lean_object* lean_nat_mul(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__4; lean_object* l_Lean_Init_Meta___instance__3; lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexLitAux_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -427,10 +437,10 @@ lean_object* l_Lean_Syntax_decodeStrLit(lean_object*); uint8_t l_Lean_isIdFirst(uint32_t); lean_object* l_Lean_Syntax_findAux_match__1(lean_object*); lean_object* l_Lean_Syntax_isNone___boxed(lean_object*); +lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2; 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_Lean_mkHole___closed__2; lean_object* l_Lean_mkCIdentFrom___closed__1; lean_object* l_Lean_Syntax_getTailInfo___boxed(lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__3; @@ -459,6 +469,7 @@ lean_object* l_Lean_Syntax_decodeQuotedChar_match__1(lean_object*); lean_object* l_Lean_mkCIdentFrom___closed__2; lean_object* lean_nat_mod(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteName___closed__3; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13; lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___at_Array_filterSepElems___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteOption_match__1(lean_object*, lean_object*); lean_object* l_Lean_Init_Meta___instance__4___boxed(lean_object*); @@ -472,11 +483,14 @@ lean_object* l_Lean_mkAtomFrom___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeNatLitVal___boxed(lean_object*); lean_object* l_Array_filterSepElemsM___at_Array_filterSepElems___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteOption_match__1___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__1; lean_object* l_Lean_monadNameGeneratorLift___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeNatLitVal___closed__1; lean_object* l_Lean_Init_Meta___instance__10___rarg(lean_object*); lean_object* l_Lean_Init_Meta___instance__4___closed__1; +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; 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); @@ -1704,14 +1718,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Name_appendIndexAfter_match__1___rarg), return x_2; } } -static lean_object* _init_l_Lean_Name_appendIndexAfter___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("_"); -return x_1; -} -} lean_object* l_Lean_Name_appendIndexAfter(lean_object* x_1, lean_object* x_2) { _start: { @@ -1723,7 +1729,7 @@ lean_inc(x_3); x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); lean_dec(x_1); -x_5 = l_Lean_Name_appendIndexAfter___closed__1; +x_5 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14; x_6 = lean_string_append(x_4, x_5); x_7 = l_Nat_repr(x_2); x_8 = lean_string_append(x_6, x_7); @@ -1735,7 +1741,7 @@ else { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_10 = l_Nat_repr(x_2); -x_11 = l_Lean_Name_appendIndexAfter___closed__1; +x_11 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14; x_12 = lean_string_append(x_11, x_10); lean_dec(x_10); x_13 = lean_name_mk_string(x_1, x_12); @@ -4912,33 +4918,15 @@ return x_7; } } } -static lean_object* _init_l_Lean_mkHole___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("hole"); -return x_1; -} -} -static lean_object* _init_l_Lean_mkHole___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_mkHole___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* l_Lean_mkHole(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; -x_2 = l_Lean_Name_appendIndexAfter___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14; x_3 = l_Lean_mkAtomFrom(x_1, x_2); x_4 = l_Lean_mkOptionalNode___closed__2; x_5 = lean_array_push(x_4, x_3); -x_6 = l_Lean_mkHole___closed__2; +x_6 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_7 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -10643,6 +10631,212 @@ lean_dec(x_1); return x_6; } } +static lean_object* _init_l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("++"); +return x_1; +} +} +static lean_object* _init_l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Init_Prelude___instance__72___closed__1; +x_2 = l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_5 = l_Array_empty___closed__1; +x_6 = lean_array_push(x_5, x_1); +x_7 = l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2; +x_8 = lean_array_push(x_6, x_7); +x_9 = lean_array_push(x_8, x_2); +x_10 = l___kind_term____x40_Init_Notation___hyg_4161____closed__1; +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_4); +return x_12; +} +} +lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_5 = l_Array_empty___closed__1; +x_6 = lean_array_push(x_5, x_1); +x_7 = lean_array_push(x_5, x_2); +x_8 = l_Lean_nullKind___closed__2; +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +x_10 = lean_array_push(x_6, x_9); +x_11 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_4); +return x_13; +} +} +static lean_object* _init_l_Lean_Syntax_expandInterpolatedStr___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Syntax_expandInterpolatedStr___lambda__1___boxed), 4, 0); +return x_1; +} +} +lean_object* l_Lean_Syntax_expandInterpolatedStr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = l_Lean_Syntax_getArgs(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Syntax_expandInterpolatedStr___lambda__2___boxed), 4, 1); +lean_closure_set(x_7, 0, x_3); +x_8 = l_Lean_Syntax_expandInterpolatedStr___closed__1; +x_9 = l_Lean_Syntax_expandInterpolatedStrChunks(x_6, x_8, x_7, x_4, x_5); +lean_dec(x_6); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; 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; +x_11 = lean_ctor_get(x_9, 0); +x_12 = l_Array_empty___closed__1; +x_13 = lean_array_push(x_12, x_11); +x_14 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; +x_15 = lean_array_push(x_14, x_2); +x_16 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_array_push(x_12, x_17); +x_19 = l_Lean_nullKind___closed__2; +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = lean_array_push(x_13, x_20); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9; +x_24 = lean_array_push(x_23, x_22); +x_25 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12; +x_26 = lean_array_push(x_24, x_25); +x_27 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +lean_ctor_set(x_9, 0, x_28); +return x_9; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_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; +x_29 = lean_ctor_get(x_9, 0); +x_30 = lean_ctor_get(x_9, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_9); +x_31 = l_Array_empty___closed__1; +x_32 = lean_array_push(x_31, x_29); +x_33 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; +x_34 = lean_array_push(x_33, x_2); +x_35 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = lean_array_push(x_31, x_36); +x_38 = l_Lean_nullKind___closed__2; +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = lean_array_push(x_32, x_39); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9; +x_43 = lean_array_push(x_42, x_41); +x_44 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12; +x_45 = lean_array_push(x_43, x_44); +x_46 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8; +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_30); +return x_48; +} +} +else +{ +uint8_t x_49; +lean_dec(x_2); +x_49 = !lean_is_exclusive(x_9); +if (x_49 == 0) +{ +return x_9; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_9, 0); +x_51 = lean_ctor_get(x_9, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_9); +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; +} +} +} +} +lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Syntax_expandInterpolatedStr___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Syntax_expandInterpolatedStr___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Lean_Syntax_expandInterpolatedStr___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_Syntax_expandInterpolatedStr(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_getSepArgs___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { @@ -10818,8 +11012,6 @@ l_Lean_Name_Init_Meta___instance__1___closed__1 = _init_l_Lean_Name_Init_Meta___ lean_mark_persistent(l_Lean_Name_Init_Meta___instance__1___closed__1); l_Lean_Name_Init_Meta___instance__1 = _init_l_Lean_Name_Init_Meta___instance__1(); lean_mark_persistent(l_Lean_Name_Init_Meta___instance__1); -l_Lean_Name_appendIndexAfter___closed__1 = _init_l_Lean_Name_appendIndexAfter___closed__1(); -lean_mark_persistent(l_Lean_Name_appendIndexAfter___closed__1); l_Lean_NameGenerator_namePrefix___default___closed__1 = _init_l_Lean_NameGenerator_namePrefix___default___closed__1(); lean_mark_persistent(l_Lean_NameGenerator_namePrefix___default___closed__1); l_Lean_NameGenerator_namePrefix___default___closed__2 = _init_l_Lean_NameGenerator_namePrefix___default___closed__2(); @@ -10846,10 +11038,6 @@ l_Lean_mkOptionalNode___closed__1 = _init_l_Lean_mkOptionalNode___closed__1(); lean_mark_persistent(l_Lean_mkOptionalNode___closed__1); l_Lean_mkOptionalNode___closed__2 = _init_l_Lean_mkOptionalNode___closed__2(); lean_mark_persistent(l_Lean_mkOptionalNode___closed__2); -l_Lean_mkHole___closed__1 = _init_l_Lean_mkHole___closed__1(); -lean_mark_persistent(l_Lean_mkHole___closed__1); -l_Lean_mkHole___closed__2 = _init_l_Lean_mkHole___closed__2(); -lean_mark_persistent(l_Lean_mkHole___closed__2); l_Lean_Syntax_mkApp___closed__1 = _init_l_Lean_Syntax_mkApp___closed__1(); lean_mark_persistent(l_Lean_Syntax_mkApp___closed__1); l_Lean_Syntax_decodeNatLitVal___closed__1 = _init_l_Lean_Syntax_decodeNatLitVal___closed__1(); @@ -10942,6 +11130,12 @@ l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1_ lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Syntax_expandInterpolatedStrChunks___spec__1___lambda__2___closed__1); l_Lean_Syntax_expandInterpolatedStrChunks___closed__1 = _init_l_Lean_Syntax_expandInterpolatedStrChunks___closed__1(); lean_mark_persistent(l_Lean_Syntax_expandInterpolatedStrChunks___closed__1); +l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__1 = _init_l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__1); +l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2 = _init_l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2); +l_Lean_Syntax_expandInterpolatedStr___closed__1 = _init_l_Lean_Syntax_expandInterpolatedStr___closed__1(); +lean_mark_persistent(l_Lean_Syntax_expandInterpolatedStr___closed__1); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Notation.c b/stage0/stdlib/Init/Notation.c index 19b691527f..3a1351d4b0 100644 --- a/stage0/stdlib/Init/Notation.c +++ b/stage0/stdlib/Init/Notation.c @@ -44,8 +44,11 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_6957__expandListLit___boxed(le lean_object* l_myMacro____x40_Init_Notation___hyg_6031____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_2848____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__8; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__3; +lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__4; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_839____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__4; @@ -53,6 +56,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__12; lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__5; lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_206____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__8; @@ -66,6 +70,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_4196_(lean_object*, lean_objec lean_object* l_myMacro____x40_Init_Notation___hyg_4532_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_6759_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_6957_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_7262_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_5787_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_6153_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_6031_(lean_object*, lean_object*, lean_object*); @@ -103,6 +108,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__1; +lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__14; lean_object* l_myMacro____x40_Init_Notation___hyg_5909____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_6031____closed__1; @@ -140,6 +146,8 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__6; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__5; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__3; @@ -150,6 +158,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_3505____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_335____closed__6; +lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__15; lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__7; @@ -186,6 +195,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__13; lean_object* l___kind_stx____x40_Init_Notation___hyg_5672____closed__1; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_6910_; +lean_object* l___kind_term____x40_Init_Notation___hyg_7200_; lean_object* l___kind_term____x40_Init_Notation___hyg_2349_; lean_object* l___kind_term____x40_Init_Notation___hyg_2514_; lean_object* l___kind_term____x40_Init_Notation___hyg_6702_; @@ -228,18 +238,22 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__9; lean_object* l___kind_term____x40_Init_Notation___hyg_503____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_4497____closed__1; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__19; lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__1; +lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_4497____closed__3; lean_object* l___kind_stx____x40_Init_Notation___hyg_5672____closed__9; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__9; lean_object* l___kind_term____x40_Init_Notation___hyg_1681____closed__2; +lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__9; @@ -260,6 +274,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_5505____closed__4; lean_object* l___kind_stx____x40_Init_Notation___hyg_5672____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_1007____closed__3; +lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__4; lean_object* l___kind_stx____x40_Init_Notation___hyg_5699____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__2; @@ -291,7 +306,10 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__12; lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__3; +lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__1; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__15; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__18; lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__5; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__5; @@ -300,6 +318,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_6153____closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__1; lean_object* l___kind_stx____x40_Init_Notation___hyg_5753____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__1; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__16; lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__16; lean_object* l___kind_stx____x40_Init_Notation___hyg_5699____closed__4; @@ -328,6 +347,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_1175____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__19; lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__5; +lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__13; lean_object* l_myMacro____x40_Init_Notation___hyg_6153____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_6759____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__5; @@ -380,6 +400,8 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__9; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__8; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__1; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__14; lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__8; @@ -402,6 +424,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__17; lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__4; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__7; @@ -418,9 +441,12 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_5337____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_6153____closed__7; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__10; lean_object* l_myMacro____x40_Init_Notation___hyg_5909____closed__1; +lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__12; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__1; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__20; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__13; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__5; @@ -437,12 +463,14 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__1; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_3341____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_2679____closed__5; +lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__11; lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_2019____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__7; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__21; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__10; lean_object* l___kind_term____x40_Init_Notation___hyg_5001____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__5; @@ -475,11 +503,13 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_2349____closed__5; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11; lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_4833____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__8; +lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_3833____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_3997____closed__6; @@ -505,6 +535,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__11; lean_object* l___kind_term____x40_Init_Notation___hyg_1007____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__2; +lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_171____closed__5; @@ -514,6 +545,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__6; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__12; lean_object* l___kind_term____x40_Init_Notation___hyg_5169____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_1681____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__6; @@ -521,6 +553,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_2019____closed__4; lean_object* l___kind_stx____x40_Init_Notation___hyg_5672____closed__3; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_3833____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__6; @@ -542,6 +575,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_5001____closed__2; lean_object* l___kind_stx____x40_Init_Notation___hyg_5699____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__1; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_6759____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__4; @@ -564,6 +598,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_2679____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_4833____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__5; lean_object* l___kind_stx____x40_Init_Notation___hyg_5672____closed__10; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__22; lean_object* l___kind_term____x40_Init_Notation___hyg_3013____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__5; @@ -614,13 +649,16 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_3540____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__1; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17; lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__1; +lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__10; lean_object* l___kind_term____x40_Init_Notation___hyg_3341____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_335____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_3341____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__2; +lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13; lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__10; lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__9; @@ -655,6 +693,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_839____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_2349____closed__1; +lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_2349____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_839____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_6957____closed__6; @@ -10535,6 +10574,682 @@ return x_27; } } } +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__10; +x_2 = lean_unsigned_to_nat(7200u); +x_3 = lean_name_mk_numeral(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("{ "); +return x_1; +} +} +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___kind_term____x40_Init_Notation___hyg_7200____closed__2; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; +x_2 = l___kind_term____x40_Init_Notation___hyg_7200____closed__3; +x_3 = l___kind_term____x40_Init_Notation___hyg_6293____closed__4; +x_4 = lean_alloc_ctor(2, 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___kind_term____x40_Init_Notation___hyg_7200____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; +x_2 = l___kind_term____x40_Init_Notation___hyg_6293____closed__7; +x_3 = l___kind_term____x40_Init_Notation___hyg_6293____closed__9; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_6031____closed__4; +x_2 = l___kind_term____x40_Init_Notation___hyg_7200____closed__5; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; +x_2 = l___kind_term____x40_Init_Notation___hyg_7200____closed__4; +x_3 = l___kind_term____x40_Init_Notation___hyg_7200____closed__6; +x_4 = lean_alloc_ctor(2, 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___kind_term____x40_Init_Notation___hyg_7200____closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" // "); +return x_1; +} +} +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___kind_term____x40_Init_Notation___hyg_7200____closed__8; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; +x_2 = l___kind_term____x40_Init_Notation___hyg_7200____closed__7; +x_3 = l___kind_term____x40_Init_Notation___hyg_7200____closed__9; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; +x_2 = l___kind_term____x40_Init_Notation___hyg_7200____closed__10; +x_3 = l___kind_term____x40_Init_Notation___hyg_6293____closed__9; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" }"); +return x_1; +} +} +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___kind_term____x40_Init_Notation___hyg_7200____closed__12; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; +x_2 = l___kind_term____x40_Init_Notation___hyg_7200____closed__11; +x_3 = l___kind_term____x40_Init_Notation___hyg_7200____closed__13; +x_4 = lean_alloc_ctor(2, 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___kind_term____x40_Init_Notation___hyg_7200____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_7200____closed__1; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l___kind_term____x40_Init_Notation___hyg_7200____closed__14; +x_4 = lean_alloc_ctor(3, 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___kind_term____x40_Init_Notation___hyg_7200_() { +_start: +{ +lean_object* x_1; +x_1 = l___kind_term____x40_Init_Notation___hyg_7200____closed__15; +return x_1; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Subtype"); +return x_1; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_myMacro____x40_Init_Notation___hyg_7262____closed__2; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__4() { +_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_7262____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__5() { +_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_7262____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_myMacro____x40_Init_Notation___hyg_7262____closed__6() { +_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_7262____closed__5; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("typeAscription"); +return x_1; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":"); +return x_1; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Init_Prelude___instance__72___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("hole"); +return x_1; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_"); +return x_1; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Init_Prelude___instance__72___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__15; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__16; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__18; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__19; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_nullKind___closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__20; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_nullKind___closed__2; +x_2 = l_Array_empty___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_myMacro____x40_Init_Notation___hyg_7262_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l___kind_term____x40_Init_Notation___hyg_7200____closed__1; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = l_Lean_Syntax_getArgs(x_1); +x_9 = lean_array_get_size(x_8); +lean_dec(x_8); +x_10 = lean_unsigned_to_nat(6u); +x_11 = lean_nat_dec_eq(x_9, x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_box(1); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = lean_unsigned_to_nat(2u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); +x_18 = l_Lean_nullKind___closed__2; +lean_inc(x_17); +x_19 = l_Lean_Syntax_isOfKind(x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +x_20 = lean_box(1); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_3); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = l_Lean_Syntax_getArgs(x_17); +x_23 = lean_array_get_size(x_22); +lean_dec(x_22); +x_24 = lean_nat_dec_eq(x_23, x_16); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +lean_dec(x_17); +x_25 = lean_unsigned_to_nat(0u); +x_26 = lean_nat_dec_eq(x_23, x_25); +lean_dec(x_23); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_15); +lean_dec(x_2); +lean_dec(x_1); +x_27 = lean_box(1); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_3); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_29 = lean_unsigned_to_nat(4u); +x_30 = l_Lean_Syntax_getArg(x_1, x_29); +lean_dec(x_1); +x_31 = lean_ctor_get(x_2, 2); +lean_inc(x_31); +x_32 = lean_ctor_get(x_2, 1); +lean_inc(x_32); +lean_dec(x_2); +x_33 = l_myMacro____x40_Init_Notation___hyg_7262____closed__4; +x_34 = l_Lean_addMacroScope(x_32, x_33, x_31); +x_35 = l_Lean_Init_Prelude___instance__72___closed__1; +x_36 = l_myMacro____x40_Init_Notation___hyg_7262____closed__3; +x_37 = l_myMacro____x40_Init_Notation___hyg_7262____closed__6; +x_38 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_38, 0, x_35); +lean_ctor_set(x_38, 1, x_36); +lean_ctor_set(x_38, 2, x_34); +lean_ctor_set(x_38, 3, x_37); +x_39 = l_Array_empty___closed__1; +x_40 = lean_array_push(x_39, x_38); +x_41 = lean_array_push(x_39, x_15); +x_42 = l_myMacro____x40_Init_Notation___hyg_7262____closed__21; +x_43 = lean_array_push(x_41, x_42); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_18); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9; +x_46 = lean_array_push(x_45, x_44); +x_47 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12; +x_48 = lean_array_push(x_46, x_47); +x_49 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8; +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = lean_array_push(x_39, x_50); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_18); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_array_push(x_39, x_52); +x_54 = l_myMacro____x40_Init_Notation___hyg_6360____closed__17; +x_55 = lean_array_push(x_53, x_54); +x_56 = lean_array_push(x_55, x_30); +x_57 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +x_59 = l_myMacro____x40_Init_Notation___hyg_6360____closed__13; +x_60 = lean_array_push(x_59, x_58); +x_61 = l_myMacro____x40_Init_Notation___hyg_6360____closed__11; +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = lean_array_push(x_39, x_62); +x_64 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; +x_65 = lean_array_push(x_63, x_64); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_18); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_array_push(x_45, x_66); +x_68 = lean_array_push(x_67, x_47); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_49); +lean_ctor_set(x_69, 1, x_68); +x_70 = lean_array_push(x_39, x_69); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_18); +lean_ctor_set(x_71, 1, x_70); +x_72 = lean_array_push(x_40, x_71); +x_73 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_3); +return x_75; +} +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; 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_dec(x_23); +x_76 = l_Lean_Syntax_getArg(x_17, x_14); +lean_dec(x_17); +x_77 = lean_unsigned_to_nat(4u); +x_78 = l_Lean_Syntax_getArg(x_1, x_77); +lean_dec(x_1); +x_79 = lean_ctor_get(x_2, 2); +lean_inc(x_79); +x_80 = lean_ctor_get(x_2, 1); +lean_inc(x_80); +lean_dec(x_2); +x_81 = l_myMacro____x40_Init_Notation___hyg_7262____closed__4; +x_82 = l_Lean_addMacroScope(x_80, x_81, x_79); +x_83 = l_Lean_Init_Prelude___instance__72___closed__1; +x_84 = l_myMacro____x40_Init_Notation___hyg_7262____closed__3; +x_85 = l_myMacro____x40_Init_Notation___hyg_7262____closed__6; +x_86 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_86, 0, x_83); +lean_ctor_set(x_86, 1, x_84); +lean_ctor_set(x_86, 2, x_82); +lean_ctor_set(x_86, 3, x_85); +x_87 = l_Array_empty___closed__1; +x_88 = lean_array_push(x_87, x_86); +x_89 = lean_array_push(x_87, x_15); +x_90 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; +x_91 = lean_array_push(x_90, x_76); +x_92 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; +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_87, x_93); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_18); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_array_push(x_89, x_95); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_18); +lean_ctor_set(x_97, 1, x_96); +x_98 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9; +x_99 = lean_array_push(x_98, x_97); +x_100 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12; +x_101 = lean_array_push(x_99, x_100); +x_102 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8; +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_101); +x_104 = lean_array_push(x_87, x_103); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_18); +lean_ctor_set(x_105, 1, x_104); +x_106 = lean_array_push(x_87, x_105); +x_107 = l_myMacro____x40_Init_Notation___hyg_6360____closed__17; +x_108 = lean_array_push(x_106, x_107); +x_109 = lean_array_push(x_108, x_78); +x_110 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15; +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_109); +x_112 = l_myMacro____x40_Init_Notation___hyg_6360____closed__13; +x_113 = lean_array_push(x_112, x_111); +x_114 = l_myMacro____x40_Init_Notation___hyg_6360____closed__11; +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_113); +x_116 = lean_array_push(x_87, x_115); +x_117 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; +x_118 = lean_array_push(x_116, x_117); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_18); +lean_ctor_set(x_119, 1, x_118); +x_120 = lean_array_push(x_98, x_119); +x_121 = lean_array_push(x_120, x_100); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_102); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_array_push(x_87, x_122); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_18); +lean_ctor_set(x_124, 1, x_123); +x_125 = lean_array_push(x_88, x_124); +x_126 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_125); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_3); +return x_128; +} +} +} +} +} +} lean_object* initialize_Init_Prelude(lean_object*); static bool _G_initialized = false; lean_object* initialize_Init_Notation(lean_object* w) { @@ -11750,6 +12465,82 @@ l_myMacro____x40_Init_Notation___hyg_6957____closed__6 = _init_l_myMacro____x40_ lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6957____closed__6); l_myMacro____x40_Init_Notation___hyg_6957____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_6957____closed__7(); lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_6957____closed__7); +l___kind_term____x40_Init_Notation___hyg_7200____closed__1 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__1(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__1); +l___kind_term____x40_Init_Notation___hyg_7200____closed__2 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__2(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__2); +l___kind_term____x40_Init_Notation___hyg_7200____closed__3 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__3(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__3); +l___kind_term____x40_Init_Notation___hyg_7200____closed__4 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__4(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__4); +l___kind_term____x40_Init_Notation___hyg_7200____closed__5 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__5(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__5); +l___kind_term____x40_Init_Notation___hyg_7200____closed__6 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__6(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__6); +l___kind_term____x40_Init_Notation___hyg_7200____closed__7 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__7(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__7); +l___kind_term____x40_Init_Notation___hyg_7200____closed__8 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__8(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__8); +l___kind_term____x40_Init_Notation___hyg_7200____closed__9 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__9(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__9); +l___kind_term____x40_Init_Notation___hyg_7200____closed__10 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__10(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__10); +l___kind_term____x40_Init_Notation___hyg_7200____closed__11 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__11(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__11); +l___kind_term____x40_Init_Notation___hyg_7200____closed__12 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__12(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__12); +l___kind_term____x40_Init_Notation___hyg_7200____closed__13 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__13(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__13); +l___kind_term____x40_Init_Notation___hyg_7200____closed__14 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__14(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__14); +l___kind_term____x40_Init_Notation___hyg_7200____closed__15 = _init_l___kind_term____x40_Init_Notation___hyg_7200____closed__15(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200____closed__15); +l___kind_term____x40_Init_Notation___hyg_7200_ = _init_l___kind_term____x40_Init_Notation___hyg_7200_(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_7200_); +l_myMacro____x40_Init_Notation___hyg_7262____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__1); +l_myMacro____x40_Init_Notation___hyg_7262____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__2); +l_myMacro____x40_Init_Notation___hyg_7262____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__3); +l_myMacro____x40_Init_Notation___hyg_7262____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__4); +l_myMacro____x40_Init_Notation___hyg_7262____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__5); +l_myMacro____x40_Init_Notation___hyg_7262____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__6); +l_myMacro____x40_Init_Notation___hyg_7262____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__7); +l_myMacro____x40_Init_Notation___hyg_7262____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__8); +l_myMacro____x40_Init_Notation___hyg_7262____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__9); +l_myMacro____x40_Init_Notation___hyg_7262____closed__10 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__10); +l_myMacro____x40_Init_Notation___hyg_7262____closed__11 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__11); +l_myMacro____x40_Init_Notation___hyg_7262____closed__12 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__12); +l_myMacro____x40_Init_Notation___hyg_7262____closed__13 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__13(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__13); +l_myMacro____x40_Init_Notation___hyg_7262____closed__14 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__14(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__14); +l_myMacro____x40_Init_Notation___hyg_7262____closed__15 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__15(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__15); +l_myMacro____x40_Init_Notation___hyg_7262____closed__16 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__16(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__16); +l_myMacro____x40_Init_Notation___hyg_7262____closed__17 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__17(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__17); +l_myMacro____x40_Init_Notation___hyg_7262____closed__18 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__18(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__18); +l_myMacro____x40_Init_Notation___hyg_7262____closed__19 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__19(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__19); +l_myMacro____x40_Init_Notation___hyg_7262____closed__20 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__20(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__20); +l_myMacro____x40_Init_Notation___hyg_7262____closed__21 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__21(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__21); +l_myMacro____x40_Init_Notation___hyg_7262____closed__22 = _init_l_myMacro____x40_Init_Notation___hyg_7262____closed__22(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_7262____closed__22); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/NotationExtra.c b/stage0/stdlib/Init/NotationExtra.c index 16d47ca9b9..be3e9b46c2 100644 --- a/stage0/stdlib/Init/NotationExtra.c +++ b/stage0/stdlib/Init/NotationExtra.c @@ -33,11 +33,11 @@ lean_object* l_myMacro____x40_Init_NotationExtra___hyg_901____boxed(lean_object* extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__13; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1355____closed__6; extern lean_object* l_Array_empty___closed__1; -lean_object* l_Lean_expandExplicitBindersAux_loop___closed__12; lean_object* l_Lean_explicitBinders___closed__2; lean_object* l_Lean_expandExplicitBindersAux_loop_match__1(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__11; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1469____closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14; lean_object* l_Lean_bracketedExplicitBinders___closed__7; lean_object* l_Lean_unbracktedExplicitBinders___closed__4; uint8_t lean_name_eq(lean_object*, lean_object*); @@ -45,7 +45,6 @@ lean_object* l_Lean_binderIdent___closed__3; lean_object* l_Lean_binderIdent___closed__5; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1107____closed__2; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_6031____closed__4; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_859____closed__5; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -57,7 +56,6 @@ lean_object* l_Lean_expandExplicitBindersAux___boxed(lean_object*, lean_object*, lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1393____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_bracketedExplicitBinders___closed__5; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1107____closed__3; -lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13; lean_object* l_Lean_expandExplicitBindersAux_loop___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1469____closed__6; lean_object* l_Lean_expandExplicitBindersAux_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -66,12 +64,10 @@ lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1231____closed__7; lean_object* l_Lean_expandBrackedBindersAux_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandBrackedBindersAux_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandBrackedBindersAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_expandExplicitBindersAux_loop___closed__10; extern lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__7; lean_object* l_Lean_binderIdent; lean_object* l_Lean_expandBrackedBinders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -extern lean_object* l_Lean_Name_appendIndexAfter___closed__1; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1469____closed__3; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1231____closed__5; @@ -89,19 +85,15 @@ lean_object* l_Lean_expandExplicitBinders(lean_object*, lean_object*, lean_objec lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1273____closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__17; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1273____boxed(lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__15; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1273____closed__2; lean_object* l_Lean_expandBrackedBindersAux_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Init_Prelude___instance__72___closed__1; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1469____closed__4; lean_object* l_Lean_bracketedExplicitBinders; -lean_object* l_Lean_unbracktedExplicitBinders___closed__6; lean_object* l_Lean_bracketedExplicitBinders___closed__2; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1025____boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_983____closed__4; -lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1231____closed__6; uint8_t l_Array_anyMUnsafe_any___at_Lean_expandExplicitBinders___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* l___kind_term____x40_Init_NotationExtra___hyg_859____closed__6; @@ -123,6 +115,7 @@ lean_object* l_Lean_expandBrackedBindersAux_loop_match__1(lean_object*); lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1107____closed__7; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_983____closed__3; lean_object* l_Lean_Macro_throwError___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11; lean_object* l_Lean_expandExplicitBindersAux_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandExplicitBindersAux_loop___closed__6; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_983____closed__6; @@ -138,7 +131,6 @@ lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__2; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_983____closed__5; -lean_object* l_Lean_unbracktedExplicitBinders___closed__7; extern lean_object* l_Lean_Name_hasMacroScopes___closed__1; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1393_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1507_(lean_object*, lean_object*, lean_object*); @@ -165,11 +157,9 @@ lean_object* l_Lean_expandExplicitBindersAux_loop___closed__1; extern lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__7; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1355____closed__5; lean_object* l_Lean_expandExplicitBindersAux_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_mkHole___closed__2; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1107____closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_6153____closed__6; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__9; -lean_object* l_Lean_expandExplicitBindersAux_loop___closed__9; extern lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__9; lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; lean_object* l_Lean_binderIdent___closed__2; @@ -177,6 +167,7 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_binderIdent___closed__1; extern lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__4; extern lean_object* l_Lean_mkOptionalNode___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17; lean_object* l_Lean_expandExplicitBindersAux_loop___closed__2; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1107____closed__6; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_983____closed__2; @@ -188,6 +179,7 @@ lean_object* l_Lean_unbracktedExplicitBinders___closed__3; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1149____closed__2; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1149____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_NotationExtra___hyg_901____closed__2; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__6; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1355____closed__4; lean_object* l_Lean_unbracktedExplicitBinders___closed__2; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1355____closed__2; @@ -221,7 +213,7 @@ static lean_object* _init_l_Lean_binderIdent___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Name_appendIndexAfter___closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -298,8 +290,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_Notation___hyg_6293____closed__7; -x_3 = l___kind_term____x40_Init_Notation___hyg_6293____closed__9; +x_2 = l_Lean_unbracktedExplicitBinders___closed__3; +x_3 = l___kind_term____x40_Init_Notation___hyg_7200____closed__6; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -310,36 +302,10 @@ return x_4; static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_6031____closed__4; -x_2 = l_Lean_unbracktedExplicitBinders___closed__4; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l_Lean_unbracktedExplicitBinders___closed__3; -x_3 = l_Lean_unbracktedExplicitBinders___closed__5; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_unbracktedExplicitBinders___closed__7() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_unbracktedExplicitBinders___closed__1; x_2 = l_Lean_unbracktedExplicitBinders___closed__2; -x_3 = l_Lean_unbracktedExplicitBinders___closed__6; +x_3 = l_Lean_unbracktedExplicitBinders___closed__4; x_4 = lean_alloc_ctor(9, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -351,7 +317,7 @@ static lean_object* _init_l_Lean_unbracktedExplicitBinders() { _start: { lean_object* x_1; -x_1 = l_Lean_unbracktedExplicitBinders___closed__7; +x_1 = l_Lean_unbracktedExplicitBinders___closed__5; return x_1; } } @@ -662,11 +628,9 @@ static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Init_Prelude___instance__72___closed__1; -x_2 = l_Lean_Name_appendIndexAfter___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); +x_1 = l_Array_empty___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17; +x_3 = lean_array_push(x_1, x_2); return x_3; } } @@ -674,9 +638,11 @@ static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; +x_1 = l_Lean_nullKind___closed__2; x_2 = l_Lean_expandExplicitBindersAux_loop___closed__1; -x_3 = lean_array_push(x_1, x_2); +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); return x_3; } } @@ -684,11 +650,9 @@ static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_mkHole___closed__2; +x_1 = l_Array_empty___closed__1; x_2 = l_Lean_expandExplicitBindersAux_loop___closed__2; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); +x_3 = lean_array_push(x_1, x_2); return x_3; } } @@ -696,8 +660,8 @@ static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_expandExplicitBindersAux_loop___closed__3; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__3; +x_2 = l_myMacro____x40_Init_Notation___hyg_6360____closed__17; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -705,54 +669,22 @@ return x_3; static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_nullKind___closed__2; -x_2 = l_Lean_expandExplicitBindersAux_loop___closed__4; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("simpleBinder"); +return x_1; } } static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_expandExplicitBindersAux_loop___closed__5; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__6; -x_2 = l_myMacro____x40_Init_Notation___hyg_6360____closed__17; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("simpleBinder"); -return x_1; -} -} -static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_2 = l_Lean_expandExplicitBindersAux_loop___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__10() { +static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__7() { _start: { lean_object* x_1; @@ -760,38 +692,16 @@ x_1 = lean_mk_string("typeSpec"); return x_1; } } -static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__11() { +static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_expandExplicitBindersAux_loop___closed__10; +x_2 = l_Lean_expandExplicitBindersAux_loop___closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Init_Prelude___instance__72___closed__1; -x_2 = l___private_Init_Util_0__mkPanicMessage___closed__2; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_expandExplicitBindersAux_loop___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_expandExplicitBindersAux_loop___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} lean_object* l_Lean_expandExplicitBindersAux_loop(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { @@ -817,7 +727,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean x_16 = l_Array_empty___closed__1; lean_inc(x_1); x_17 = lean_array_push(x_16, x_1); -x_18 = l_Lean_expandExplicitBindersAux_loop___closed__7; +x_18 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_19 = lean_array_push(x_18, x_5); x_20 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15; x_21 = lean_alloc_ctor(1, 2, 0); @@ -851,9 +761,9 @@ lean_inc(x_33); x_34 = l_Array_empty___closed__1; lean_inc(x_1); x_35 = lean_array_push(x_34, x_1); -x_36 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_36 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_37 = lean_array_push(x_36, x_33); -x_38 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_38 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_39 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_37); @@ -862,9 +772,9 @@ x_41 = l_Lean_nullKind___closed__2; x_42 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); -x_43 = l_Lean_expandExplicitBindersAux_loop___closed__6; +x_43 = l_Lean_expandExplicitBindersAux_loop___closed__3; x_44 = lean_array_push(x_43, x_42); -x_45 = l_Lean_expandExplicitBindersAux_loop___closed__9; +x_45 = l_Lean_expandExplicitBindersAux_loop___closed__6; x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); @@ -954,9 +864,9 @@ x_91 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_91, 0, x_90); lean_ctor_set(x_91, 1, x_89); x_92 = lean_array_push(x_87, x_91); -x_93 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_93 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_94 = lean_array_push(x_93, x_86); -x_95 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_95 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_95); lean_ctor_set(x_96, 1, x_94); @@ -965,7 +875,7 @@ x_98 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_98, 0, x_90); lean_ctor_set(x_98, 1, x_97); x_99 = lean_array_push(x_92, x_98); -x_100 = l_Lean_expandExplicitBindersAux_loop___closed__9; +x_100 = l_Lean_expandExplicitBindersAux_loop___closed__6; x_101 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_101, 0, x_100); lean_ctor_set(x_101, 1, x_99); @@ -2371,10 +2281,6 @@ l_Lean_unbracktedExplicitBinders___closed__4 = _init_l_Lean_unbracktedExplicitBi lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__4); l_Lean_unbracktedExplicitBinders___closed__5 = _init_l_Lean_unbracktedExplicitBinders___closed__5(); lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__5); -l_Lean_unbracktedExplicitBinders___closed__6 = _init_l_Lean_unbracktedExplicitBinders___closed__6(); -lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__6); -l_Lean_unbracktedExplicitBinders___closed__7 = _init_l_Lean_unbracktedExplicitBinders___closed__7(); -lean_mark_persistent(l_Lean_unbracktedExplicitBinders___closed__7); l_Lean_unbracktedExplicitBinders = _init_l_Lean_unbracktedExplicitBinders(); lean_mark_persistent(l_Lean_unbracktedExplicitBinders); l_Lean_bracketedExplicitBinders___closed__1 = _init_l_Lean_bracketedExplicitBinders___closed__1(); @@ -2425,16 +2331,6 @@ l_Lean_expandExplicitBindersAux_loop___closed__7 = _init_l_Lean_expandExplicitBi lean_mark_persistent(l_Lean_expandExplicitBindersAux_loop___closed__7); l_Lean_expandExplicitBindersAux_loop___closed__8 = _init_l_Lean_expandExplicitBindersAux_loop___closed__8(); lean_mark_persistent(l_Lean_expandExplicitBindersAux_loop___closed__8); -l_Lean_expandExplicitBindersAux_loop___closed__9 = _init_l_Lean_expandExplicitBindersAux_loop___closed__9(); -lean_mark_persistent(l_Lean_expandExplicitBindersAux_loop___closed__9); -l_Lean_expandExplicitBindersAux_loop___closed__10 = _init_l_Lean_expandExplicitBindersAux_loop___closed__10(); -lean_mark_persistent(l_Lean_expandExplicitBindersAux_loop___closed__10); -l_Lean_expandExplicitBindersAux_loop___closed__11 = _init_l_Lean_expandExplicitBindersAux_loop___closed__11(); -lean_mark_persistent(l_Lean_expandExplicitBindersAux_loop___closed__11); -l_Lean_expandExplicitBindersAux_loop___closed__12 = _init_l_Lean_expandExplicitBindersAux_loop___closed__12(); -lean_mark_persistent(l_Lean_expandExplicitBindersAux_loop___closed__12); -l_Lean_expandExplicitBindersAux_loop___closed__13 = _init_l_Lean_expandExplicitBindersAux_loop___closed__13(); -lean_mark_persistent(l_Lean_expandExplicitBindersAux_loop___closed__13); l_Lean_expandExplicitBinders___closed__1 = _init_l_Lean_expandExplicitBinders___closed__1(); lean_mark_persistent(l_Lean_expandExplicitBinders___closed__1); l___kind_term____x40_Init_NotationExtra___hyg_859____closed__1 = _init_l___kind_term____x40_Init_NotationExtra___hyg_859____closed__1(); diff --git a/stage0/stdlib/Init/Prelude.c b/stage0/stdlib/Init/Prelude.c index facdd5dd02..3c3a69740c 100644 --- a/stage0/stdlib/Init/Prelude.c +++ b/stage0/stdlib/Init/Prelude.c @@ -14,6 +14,7 @@ extern "C" { #endif lean_object* lean_string_data(lean_object*); +lean_object* l_idRhs(lean_object*); lean_object* l_EStateM_run___rarg(lean_object*, lean_object*); lean_object* l_Init_Prelude___instance__58___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_csize(uint32_t); @@ -22,6 +23,7 @@ lean_object* l_Init_Prelude___instance__57___rarg___lambda__1(lean_object*, lean lean_object* l_Init_Prelude___instance__20___boxed(lean_object*); lean_object* l_getThe(lean_object*, lean_object*); lean_object* l_EStateM_Init_Prelude___instance__63___closed__8; +lean_object* l_UInt64_val___boxed(lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); lean_object* l_Lean_Macro_Init_Prelude___instance__79___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_Init_Prelude___instance__80; @@ -35,9 +37,12 @@ lean_object* l_UInt32_decLe___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Prelude_0__String_utf8ByteSizeAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); uint64_t l_Init_Prelude___instance__32; +lean_object* l_USize_mk___boxed(lean_object*); lean_object* l_withTheReader(lean_object*, lean_object*); lean_object* l_Nat_sub___boxed(lean_object*, lean_object*); +uint64_t lean_uint64_of_nat(lean_object*); lean_object* l_Functor_mapConst___default(lean_object*); +size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Init_Prelude___instance__69; lean_object* l_EStateM_Init_Prelude___instance__65___closed__3; lean_object* l_Fin_decLe___boxed(lean_object*); @@ -93,6 +98,7 @@ lean_object* l_ReaderT_Init_Prelude___instance__49___closed__1; lean_object* l_Init_Prelude___instance__6(lean_object*, lean_object*); lean_object* l_UInt64_size___closed__1; uint64_t l_Init_Prelude___instance__32___closed__1; +lean_object* l_idRhs___rarg___boxed(lean_object*); lean_object* l_ReaderT_map___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_Init_Prelude___instance__51___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_withRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -125,6 +131,7 @@ lean_object* l_getModify___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_namedPattern(lean_object*, lean_object*); lean_object* l_EStateM_seqRight_match__1(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Prelude___instance__38___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_idDelta___rarg(lean_object*); lean_object* l_Lean_Syntax_isOfKind___boxed(lean_object*, lean_object*); lean_object* l_EStateM_dummyRestore___rarg(lean_object*, lean_object*); lean_object* l_Lean_fieldIdxKind___closed__1; @@ -154,6 +161,7 @@ lean_object* l_EStateM_bind_match__1___rarg(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Name_simpMacroScopes_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_Init_Prelude___instance__79___closed__2; lean_object* l_Nat_decLt___boxed(lean_object*, lean_object*); +lean_object* l_USize_val___boxed(lean_object*); lean_object* l_Lean_addMacroScope_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Init_Prelude___instance__72; lean_object* l_Init_Prelude___instance__8(lean_object*); @@ -185,6 +193,7 @@ lean_object* l_Init_Prelude___instance__48(lean_object*, lean_object*, lean_obje uint8_t l_Init_Prelude___instance__25(uint32_t, uint32_t); lean_object* l___private_Init_Prelude_0__String_utf8ByteSizeAux_match__1(lean_object*); lean_object* l_namedPattern___rarg___boxed(lean_object*); +lean_object* lean_uint64_to_nat(uint64_t); lean_object* l_Applicative_seqRight___default___rarg___closed__1; lean_object* l_cond_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_readThe___rarg___boxed(lean_object*); @@ -221,6 +230,7 @@ lean_object* l_Lean_Init_Prelude___instance__77(lean_object*, lean_object*); lean_object* l___private_Init_Prelude_0__Lean_extractMainModule(lean_object*, lean_object*, lean_object*); lean_object* l_System_Platform_getNumBits___boxed(lean_object*); lean_object* l_Array_mkEmpty_match__1(lean_object*); +uint32_t lean_uint32_of_nat(lean_object*); lean_object* l_Init_Prelude___instance__9___closed__1; lean_object* l_Lean_extractMacroScopes_match__1(lean_object*); lean_object* l_String_decEq_match__1(lean_object*); @@ -241,6 +251,7 @@ lean_object* l_or_match__1___rarg___boxed(lean_object*, lean_object*, lean_objec lean_object* l_Array_get_x21___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Function_const___rarg(lean_object*, lean_object*); lean_object* l_EStateM_adaptExcept_match__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_idDelta(lean_object*); lean_object* l_cast___rarg___boxed(lean_object*); lean_object* l_Lean_Macro_mkMacroEnv___boxed(lean_object*); lean_object* l_inferInstance___rarg(lean_object*); @@ -307,6 +318,7 @@ lean_object* l_Lean_Macro_mkMacroEnvSimple___closed__1; lean_object* l_Lean_choiceKind___closed__2; lean_object* l_withTheReader___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_Init_Prelude___instance__50___rarg___lambda__2(lean_object*, lean_object*, lean_object*); +lean_object* l_UInt16_val___boxed(lean_object*); lean_object* l_Lean_strLitKind; uint32_t l_Char_utf8Size___closed__5; lean_object* l_Lean_Macro_expandMacro_x3f___boxed(lean_object*, lean_object*); @@ -325,6 +337,7 @@ lean_object* l_EStateM_Init_Prelude___instance__63___closed__3; lean_object* l_Init_Prelude___instance__12___closed__1; lean_object* l_modify(lean_object*, lean_object*); lean_object* l_Lean_Init_Prelude___instance__69___closed__1; +lean_object* l_UInt8_val___boxed(lean_object*); lean_object* l_Lean_Macro_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); lean_object* l_String_decEq_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -341,6 +354,7 @@ lean_object* l_Lean_numLitKind___closed__1; lean_object* l_List_hasDecEq_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Prelude___instance__46___rarg(lean_object*); lean_object* l_Lean_strLitKind___closed__1; +lean_object* l_UInt64_mk___boxed(lean_object*); lean_object* l_inferInstanceAs___rarg___boxed(lean_object*); lean_object* l_Lean_Syntax_getArgs___boxed(lean_object*); lean_object* l_Lean_Syntax_setKind(lean_object*, lean_object*); @@ -355,6 +369,7 @@ lean_object* l_String_bsize___boxed(lean_object*); lean_object* l_typedExpr___rarg___boxed(lean_object*); lean_object* l_Init_Prelude___instance__8_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_throwError(lean_object*); +uint8_t lean_uint8_of_nat(lean_object*); lean_object* l_Lean_Syntax_getPos___boxed(lean_object*); lean_object* l_Init_Prelude___instance__58(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -441,6 +456,7 @@ lean_object* l_Init_Prelude___instance__1(lean_object*, lean_object*); lean_object* l_or_match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*); lean_object* l_Monad_seqLeft___default___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Init_Prelude___instance__7_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*); +uint16_t lean_uint16_of_nat(lean_object*); lean_object* l_Init_Prelude___instance__19(lean_object*); lean_object* l___private_Init_Prelude_0__Lean_assembleParts_match__1(lean_object*); lean_object* l_Lean_Syntax_setKind_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -459,6 +475,7 @@ lean_object* l_ReaderT_bind___at_Lean_Macro_Init_Prelude___instance__79___spec__ lean_object* l_Nat_add___boxed(lean_object*, lean_object*); lean_object* l_UInt64_ofNatCore___boxed(lean_object*, lean_object*); lean_object* l_Lean_nullKind___closed__1; +lean_object* l_UInt8_mk___boxed(lean_object*); lean_object* l_Lean_SourceInfo_pos___default; lean_object* l_Init_Prelude___instance__57___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Decidable_decide___rarg(uint8_t); @@ -470,12 +487,14 @@ lean_object* l_List_foldl_match__1___rarg(lean_object*, lean_object*, lean_objec lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_String_decEq___boxed(lean_object*, lean_object*); lean_object* l_Fin_decLe(lean_object*); +lean_object* l_UInt16_mk___boxed(lean_object*); lean_object* l_ReaderT_Init_Prelude___instance__49(lean_object*, lean_object*); lean_object* l_Nat_decEq_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs_match__1(lean_object*); lean_object* l_Lean_SourceInfo_leading___default; lean_object* l_UInt16_decEq___boxed(lean_object*, lean_object*); lean_object* l_typedExpr___rarg(lean_object*); +lean_object* l_idRhs___rarg(lean_object*); lean_object* l_Init_Prelude___instance__15; lean_object* l_Lean_nullKind___closed__2; lean_object* l_Array_getOp___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -521,6 +540,7 @@ lean_object* l_EStateM_Init_Prelude___instance__64(lean_object*, lean_object*, l lean_object* l_MonadExcept_Init_Prelude___instance__47___rarg(lean_object*, lean_object*); lean_object* l_EStateM_map___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_throwError___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_idDelta___rarg___boxed(lean_object*); lean_object* l_Monad_seqLeft___default___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg_match__1(lean_object*); lean_object* l_Fin_decLt(lean_object*); @@ -620,6 +640,7 @@ lean_object* l_List_foldl___at_Lean_MacroScopesView_review___spec__1(lean_object lean_object* l_ReaderT_pure___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Decidable_decide___rarg___boxed(lean_object*); lean_object* l_USize_size; +lean_object* l_UInt32_mk___boxed(lean_object*); lean_object* l_Lean_Name_hasMacroScopes_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_orElse(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_cond___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -700,6 +721,7 @@ lean_object* l_Init_Prelude___instance__18_match__1___rarg___boxed(lean_object*, lean_object* lean_simp_macro_scopes(lean_object*); lean_object* l_Init_Prelude___instance__33___boxed(lean_object*, lean_object*); lean_object* l_EStateM_bind(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_UInt32_val___boxed(lean_object*); lean_object* l_dite___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Init_Prelude___instance__40___rarg(lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); @@ -710,8 +732,10 @@ lean_object* l_Lean_Init_Prelude___instance__74___closed__1; lean_object* l_Init_Prelude___instance__20(lean_object*); lean_object* l_EStateM_throw(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Prelude_0__Lean_eraseMacroScopesAux_match__1___rarg(uint8_t, lean_object*, lean_object*); +lean_object* lean_usize_to_nat(size_t); lean_object* l_ReaderT_Init_Prelude___instance__51___rarg___lambda__7(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure(lean_object*, lean_object*); +lean_object* lean_uint16_to_nat(uint16_t); lean_object* l_Lean_Syntax_getHeadInfo_loop___boxed(lean_object*, lean_object*); uint16_t lean_uint16_of_nat(lean_object*); lean_object* l_Array_sz___boxed(lean_object*, lean_object*); @@ -751,6 +775,7 @@ lean_object* l_Init_Prelude___instance__18_match__1(lean_object*, lean_object*, lean_object* lean_uint32_to_nat(uint32_t); lean_object* l_EStateM_run_x27_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_Init_Prelude___instance__80___lambda__1(lean_object*, lean_object*); +lean_object* lean_uint32_to_nat(uint32_t); lean_object* l_List_hasDecEq_match__1(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Init_Prelude___instance__44___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -787,6 +812,7 @@ lean_object* l_Decidable_decide(lean_object*); lean_object* l_Monad_map___default___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Init_Prelude___instance__9; lean_object* l_List_foldl(lean_object*, lean_object*); +lean_object* lean_uint8_to_nat(uint8_t); lean_object* l_Nat_decEq___boxed(lean_object*, lean_object*); lean_object* l_Lean_nameLitKind___closed__1; uint8_t lean_string_dec_eq(lean_object*, lean_object*); @@ -824,6 +850,54 @@ lean_dec(x_1); return x_2; } } +lean_object* l_idDelta___rarg(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +lean_object* l_idDelta(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_idDelta___rarg___boxed), 1, 0); +return x_2; +} +} +lean_object* l_idDelta___rarg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_idDelta___rarg(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_idRhs___rarg(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +lean_object* l_idRhs(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_idRhs___rarg___boxed), 1, 0); +return x_2; +} +} +lean_object* l_idRhs___rarg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_idRhs___rarg(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l_Function_comp___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -2427,6 +2501,25 @@ x_1 = lean_unsigned_to_nat(256u); return x_1; } } +lean_object* l_UInt8_mk___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_uint8_of_nat(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +lean_object* l_UInt8_val___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = lean_uint8_to_nat(x_2); +return x_3; +} +} lean_object* l_UInt8_ofNatCore___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -2496,6 +2589,25 @@ x_1 = lean_unsigned_to_nat(65536u); return x_1; } } +lean_object* l_UInt16_mk___boxed(lean_object* x_1) { +_start: +{ +uint16_t x_2; lean_object* x_3; +x_2 = lean_uint16_of_nat(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +lean_object* l_UInt16_val___boxed(lean_object* x_1) { +_start: +{ +uint16_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = lean_uint16_to_nat(x_2); +return x_3; +} +} lean_object* l_UInt16_ofNatCore___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -2565,6 +2677,25 @@ x_1 = lean_cstr_to_nat("4294967296"); return x_1; } } +lean_object* l_UInt32_mk___boxed(lean_object* x_1) { +_start: +{ +uint32_t x_2; lean_object* x_3; +x_2 = lean_uint32_of_nat(x_1); +x_3 = lean_box_uint32(x_2); +return x_3; +} +} +lean_object* l_UInt32_val___boxed(lean_object* x_1) { +_start: +{ +uint32_t x_2; lean_object* x_3; +x_2 = lean_unbox_uint32(x_1); +lean_dec(x_1); +x_3 = lean_uint32_to_nat(x_2); +return x_3; +} +} lean_object* l_UInt32_ofNatCore___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -2736,6 +2867,25 @@ x_1 = l_UInt64_size___closed__1; return x_1; } } +lean_object* l_UInt64_mk___boxed(lean_object* x_1) { +_start: +{ +uint64_t x_2; lean_object* x_3; +x_2 = lean_uint64_of_nat(x_1); +x_3 = lean_box_uint64(x_2); +return x_3; +} +} +lean_object* l_UInt64_val___boxed(lean_object* x_1) { +_start: +{ +uint64_t x_2; lean_object* x_3; +x_2 = lean_unbox_uint64(x_1); +lean_dec(x_1); +x_3 = lean_uint64_to_nat(x_2); +return x_3; +} +} lean_object* l_UInt64_ofNatCore___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -2815,6 +2965,25 @@ x_1 = l_USize_size___closed__1; return x_1; } } +lean_object* l_USize_mk___boxed(lean_object* x_1) { +_start: +{ +size_t x_2; lean_object* x_3; +x_2 = lean_usize_of_nat(x_1); +x_3 = lean_box_usize(x_2); +return x_3; +} +} +lean_object* l_USize_val___boxed(lean_object* x_1) { +_start: +{ +size_t x_2; lean_object* x_3; +x_2 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_3 = lean_usize_to_nat(x_2); +return x_3; +} +} lean_object* l_USize_ofNatCore___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -2898,11 +3067,11 @@ return x_4; static lean_object* _init_l_Char_ofNat___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; +lean_object* x_1; uint32_t x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +x_2 = lean_uint32_of_nat(x_1); +x_3 = lean_box_uint32(x_2); +return x_3; } } lean_object* l_Char_ofNat(lean_object* x_1) { diff --git a/stage0/stdlib/Init/Tactics.c b/stage0/stdlib/Init/Tactics.c index b7095ebeb1..4722602493 100644 --- a/stage0/stdlib/Init/Tactics.c +++ b/stage0/stdlib/Init/Tactics.c @@ -42,14 +42,11 @@ lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__4; lean_object* l_myMacro____x40_Init_Tactics___hyg_726____closed__7; lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__1; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_1261____closed__6; -lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__9; lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__8; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__18; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__8; -lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__7; lean_object* l_myMacro____x40_Init_Tactics___hyg_1305____closed__1; lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__10; lean_object* lean_string_utf8_byte_size(lean_object*); @@ -77,7 +74,6 @@ lean_object* l_myMacro____x40_Init_Tactics___hyg_1305_(lean_object*, lean_object uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__12; lean_object* l_myMacro____x40_Init_Tactics___hyg_726____closed__12; -extern lean_object* l_Lean_Name_appendIndexAfter___closed__1; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_693____closed__7; lean_object* l_myMacro____x40_Init_Tactics___hyg_186____closed__5; lean_object* l_myMacro____x40_Init_Tactics___hyg_1305____closed__8; @@ -91,7 +87,6 @@ lean_object* l___kind_tactic____x40_Init_Tactics___hyg_157____closed__2; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__1; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__13; lean_object* l_myMacro____x40_Init_Tactics___hyg_1305____closed__6; -extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__8; extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__18; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__4; @@ -108,11 +103,11 @@ lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__8; lean_object* l_myMacro____x40_Init_Tactics___hyg_726____closed__4; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__8; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_1261____closed__4; -lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__10; lean_object* l_myMacro____x40_Init_Tactics___hyg_726____closed__1; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_1052____closed__1; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_1261____closed__9; lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__4; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__10; lean_object* l_myMacro____x40_Init_Tactics___hyg_1305____closed__2; lean_object* l_myMacro____x40_Init_Tactics___hyg_726____closed__8; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_1261____closed__2; @@ -175,7 +170,6 @@ lean_object* l___kind_tactic____x40_Init_Tactics___hyg_693____closed__4; extern lean_object* l___kind_term____x40_Init_Coe___hyg_141____closed__7; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_309____closed__1; lean_object* l_myMacro____x40_Init_Tactics___hyg_726____closed__6; -extern lean_object* l_Lean_mkHole___closed__2; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_693____closed__1; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_693____closed__2; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_693____closed__8; @@ -183,6 +177,7 @@ extern lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__9; lean_object* l_myMacro____x40_Init_Tactics___hyg_1305____closed__16; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_6293____closed__4; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_1261____closed__3; lean_object* l_myMacro____x40_Init_Tactics___hyg_186____closed__11; lean_object* l___kind_tactic____x40_Init_Tactics___hyg_1052____closed__3; @@ -1126,68 +1121,22 @@ return x_3; static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Init_Prelude___instance__72___closed__1; -x_2 = l___private_Init_Util_0__mkPanicMessage___closed__2; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("haveAssign"); +return x_1; } } static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Init_Prelude___instance__72___closed__1; -x_2 = l_Lean_Name_appendIndexAfter___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_mkHole___closed__2; -x_2 = l_myMacro____x40_Init_Tactics___hyg_508____closed__6; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("haveAssign"); -return x_1; -} -} -static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_myMacro____x40_Init_Tactics___hyg_508____closed__8; +x_2 = l_myMacro____x40_Init_Tactics___hyg_508____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1243,7 +1192,7 @@ x_17 = l_Lean_Syntax_getArg(x_1, x_16); lean_dec(x_1); x_18 = l_Array_empty___closed__1; x_19 = lean_array_push(x_18, x_15); -x_20 = l_myMacro____x40_Init_Tactics___hyg_508____closed__4; +x_20 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_21 = lean_array_push(x_19, x_20); x_22 = l_Lean_nullKind___closed__2; x_23 = lean_alloc_ctor(1, 2, 0); @@ -1251,11 +1200,11 @@ lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); x_24 = l_myMacro____x40_Init_Tactics___hyg_508____closed__3; x_25 = lean_array_push(x_24, x_23); -x_26 = l_myMacro____x40_Init_Tactics___hyg_508____closed__7; +x_26 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17; x_27 = lean_array_push(x_25, x_26); -x_28 = l_myMacro____x40_Init_Tactics___hyg_508____closed__10; +x_28 = l_myMacro____x40_Init_Tactics___hyg_508____closed__6; x_29 = lean_array_push(x_28, x_17); -x_30 = l_myMacro____x40_Init_Tactics___hyg_508____closed__9; +x_30 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5; x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); @@ -2476,14 +2425,6 @@ l_myMacro____x40_Init_Tactics___hyg_508____closed__5 = _init_l_myMacro____x40_In lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_508____closed__5); l_myMacro____x40_Init_Tactics___hyg_508____closed__6 = _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__6(); lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_508____closed__6); -l_myMacro____x40_Init_Tactics___hyg_508____closed__7 = _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_508____closed__7); -l_myMacro____x40_Init_Tactics___hyg_508____closed__8 = _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_508____closed__8); -l_myMacro____x40_Init_Tactics___hyg_508____closed__9 = _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_508____closed__9); -l_myMacro____x40_Init_Tactics___hyg_508____closed__10 = _init_l_myMacro____x40_Init_Tactics___hyg_508____closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_Tactics___hyg_508____closed__10); l___kind_tactic____x40_Init_Tactics___hyg_693____closed__1 = _init_l___kind_tactic____x40_Init_Tactics___hyg_693____closed__1(); lean_mark_persistent(l___kind_tactic____x40_Init_Tactics___hyg_693____closed__1); l___kind_tactic____x40_Init_Tactics___hyg_693____closed__2 = _init_l___kind_tactic____x40_Init_Tactics___hyg_693____closed__2(); diff --git a/stage0/stdlib/Init/Util.c b/stage0/stdlib/Init/Util.c index d74e0635f2..745028ae0b 100644 --- a/stage0/stdlib/Init/Util.c +++ b/stage0/stdlib/Init/Util.c @@ -31,7 +31,6 @@ lean_object* l_withPtrEqDecEq_match__1___rarg___boxed(lean_object*, lean_object* lean_object* l_withPtrEqDecEq_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_withPtrEqDecEq(lean_object*); -lean_object* l___private_Init_Util_0__mkPanicMessage___closed__3; extern lean_object* l_Init_Data_Repr___instance__18___closed__2; lean_object* l_dbgTraceVal___rarg(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessage(lean_object*, lean_object*, lean_object*, lean_object*); @@ -56,6 +55,7 @@ lean_object* l_panicWithPos(lean_object*); lean_object* l_panicWithPosWithDecl(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_panicWithPosWithDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9; lean_object* l_withPtrAddr___rarg___boxed__const__1; lean_object* l_withPtrAddr___rarg(lean_object*, lean_object*); lean_object* l_dbgSleep___boxed(lean_object*, lean_object*, lean_object*); @@ -120,14 +120,6 @@ static lean_object* _init_l___private_Init_Util_0__mkPanicMessage___closed__2() _start: { lean_object* x_1; -x_1 = lean_mk_string(":"); -return x_1; -} -} -static lean_object* _init_l___private_Init_Util_0__mkPanicMessage___closed__3() { -_start: -{ -lean_object* x_1; x_1 = lean_mk_string(": "); return x_1; } @@ -138,7 +130,7 @@ _start: lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_5 = l___private_Init_Util_0__mkPanicMessage___closed__1; x_6 = lean_string_append(x_5, x_1); -x_7 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_7 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; x_8 = lean_string_append(x_6, x_7); x_9 = l_Nat_repr(x_2); x_10 = lean_string_append(x_8, x_9); @@ -147,7 +139,7 @@ x_11 = lean_string_append(x_10, x_7); x_12 = l_Nat_repr(x_3); x_13 = lean_string_append(x_11, x_12); lean_dec(x_12); -x_14 = l___private_Init_Util_0__mkPanicMessage___closed__3; +x_14 = l___private_Init_Util_0__mkPanicMessage___closed__2; x_15 = lean_string_append(x_13, x_14); x_16 = lean_string_append(x_15, x_4); return x_16; @@ -199,7 +191,7 @@ x_7 = lean_string_append(x_6, x_2); x_8 = l_Init_Data_Repr___instance__18___closed__2; x_9 = lean_string_append(x_7, x_8); x_10 = lean_string_append(x_9, x_1); -x_11 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_11 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; x_12 = lean_string_append(x_10, x_11); x_13 = l_Nat_repr(x_3); x_14 = lean_string_append(x_12, x_13); @@ -208,7 +200,7 @@ x_15 = lean_string_append(x_14, x_11); x_16 = l_Nat_repr(x_4); x_17 = lean_string_append(x_15, x_16); lean_dec(x_16); -x_18 = l___private_Init_Util_0__mkPanicMessage___closed__3; +x_18 = l___private_Init_Util_0__mkPanicMessage___closed__2; x_19 = lean_string_append(x_17, x_18); x_20 = lean_string_append(x_19, x_5); return x_20; @@ -500,8 +492,6 @@ l___private_Init_Util_0__mkPanicMessage___closed__1 = _init_l___private_Init_Uti lean_mark_persistent(l___private_Init_Util_0__mkPanicMessage___closed__1); l___private_Init_Util_0__mkPanicMessage___closed__2 = _init_l___private_Init_Util_0__mkPanicMessage___closed__2(); lean_mark_persistent(l___private_Init_Util_0__mkPanicMessage___closed__2); -l___private_Init_Util_0__mkPanicMessage___closed__3 = _init_l___private_Init_Util_0__mkPanicMessage___closed__3(); -lean_mark_persistent(l___private_Init_Util_0__mkPanicMessage___closed__3); l_withPtrAddr___rarg___boxed__const__1 = _init_l_withPtrAddr___rarg___boxed__const__1(); lean_mark_persistent(l_withPtrAddr___rarg___boxed__const__1); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Compiler/IR/EmitC.c b/stage0/stdlib/Lean/Compiler/IR/EmitC.c index 794d4f9be1..3cb3116451 100644 --- a/stage0/stdlib/Lean/Compiler/IR/EmitC.c +++ b/stage0/stdlib/Lean/Compiler/IR/EmitC.c @@ -142,6 +142,7 @@ lean_object* l_Lean_IR_EmitC_Context_mainFn___default; lean_object* l_Lean_IR_EmitC_emitUnbox___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_EmitC_emitReset___closed__4; lean_object* l_Lean_IR_EmitC_emitFileHeader___closed__19; +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; lean_object* l_Lean_IR_EmitC_emitSProj___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_EmitC_emitLn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -295,7 +296,6 @@ lean_object* l_Lean_IR_EmitC_emitArgs(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_EmitC_declareVars_match__1(lean_object*); extern lean_object* l_Lean_IR_formatDecl___closed__3; lean_object* l_Lean_IR_EmitC_argToCString_match__1___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; lean_object* l_Lean_IR_EmitC_emitPartialApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_EmitC_emitBox___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_IR_EmitC_emitLns___spec__1(lean_object*); @@ -503,6 +503,7 @@ lean_object* l_Lean_IR_EmitC_emitTag(lean_object*, lean_object*, lean_object*, l lean_object* l_Lean_IR_EmitC_emitDecl(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_EmitC_throwUnknownVar(lean_object*); lean_object* l_Lean_IR_EmitC_isIf(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9; lean_object* l_Lean_IR_EmitC_emitTailCall___closed__2; lean_object* l_Lean_IR_EmitC_emitBlock(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_EmitC_emitSSet___closed__3; @@ -575,7 +576,6 @@ lean_object* l_Lean_IR_EmitC_emitSSet(lean_object*, lean_object*, lean_object*, lean_object* lean_nat_mod(lean_object*, lean_object*); lean_object* l_Lean_IR_EmitC_emitFileFooter(lean_object*, lean_object*); lean_object* l_Lean_IR_EmitC_declareVars_match__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; lean_object* l_Lean_IR_EmitC_toCType___closed__10; lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__2___closed__22; lean_object* l_Lean_IR_EmitC_getJPParams___boxed(lean_object*, lean_object*, lean_object*); @@ -3168,7 +3168,7 @@ lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__1(lean_object* x_1, lean_objec _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_5 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_5 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_6 = lean_string_append(x_4, x_5); x_7 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_8 = lean_string_append(x_6, x_7); @@ -3351,7 +3351,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -4511,7 +4511,7 @@ static lean_object* _init_l_Lean_IR_EmitC_emitFileFooter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_2 = l_Lean_IR_EmitC_emitFileHeader___closed__3; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7016,7 +7016,7 @@ lean_dec(x_39); x_40 = l_Lean_IR_EmitC_emitReset___closed__4; x_41 = lean_string_append(x_38, x_40); x_42 = lean_string_append(x_41, x_14); -x_43 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_43 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_44 = lean_string_append(x_42, x_43); x_45 = lean_string_append(x_44, x_14); x_46 = lean_box(0); @@ -7033,7 +7033,7 @@ lean_dec(x_36); x_48 = l_Lean_IR_EmitC_emitReset___closed__4; x_49 = lean_string_append(x_47, x_48); x_50 = lean_string_append(x_49, x_14); -x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_52 = lean_string_append(x_50, x_51); x_53 = lean_string_append(x_52, x_14); x_54 = lean_box(0); @@ -7068,7 +7068,7 @@ lean_object* l_Lean_IR_EmitC_emitReuse___lambda__1(lean_object* x_1, lean_object _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_6 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_6 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_7 = lean_string_append(x_5, x_6); x_8 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_9 = lean_string_append(x_7, x_8); @@ -10857,7 +10857,7 @@ lean_dec(x_17); x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); -x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_22 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_23 = lean_string_append(x_21, x_22); x_24 = lean_string_append(x_23, x_15); x_25 = lean_box(0); @@ -11590,7 +11590,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_ x_9 = lean_ctor_get(x_7, 1); x_10 = lean_ctor_get(x_7, 0); lean_dec(x_10); -x_11 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_11 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_12 = lean_string_append(x_9, x_11); x_13 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_14 = lean_string_append(x_12, x_13); @@ -11605,7 +11605,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean x_16 = lean_ctor_get(x_7, 1); lean_inc(x_16); lean_dec(x_7); -x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_17 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_18 = lean_string_append(x_16, x_17); x_19 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_20 = lean_string_append(x_18, x_19); @@ -11724,7 +11724,7 @@ x_9 = lean_string_append(x_8, x_7); lean_dec(x_7); x_10 = lean_string_append(x_3, x_9); lean_dec(x_9); -x_11 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_11 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; x_12 = lean_string_append(x_10, x_11); x_13 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_14 = lean_string_append(x_12, x_13); @@ -12277,7 +12277,7 @@ lean_dec(x_9); x_14 = l_Nat_repr(x_13); x_15 = lean_string_append(x_12, x_14); lean_dec(x_14); -x_16 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_16 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; x_17 = lean_string_append(x_15, x_16); x_18 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_19 = lean_string_append(x_17, x_18); @@ -12433,7 +12433,7 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_dec(x_18); lean_dec(x_17); lean_dec(x_4); -x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_22 = lean_string_append(x_16, x_21); x_23 = lean_string_append(x_22, x_15); x_24 = lean_box(0); @@ -12451,7 +12451,7 @@ lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_dec(x_18); lean_dec(x_17); lean_dec(x_4); -x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_26 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_27 = lean_string_append(x_16, x_26); x_28 = lean_string_append(x_27, x_15); x_29 = lean_box(0); @@ -12479,7 +12479,7 @@ lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean x_35 = lean_ctor_get(x_33, 1); x_36 = lean_ctor_get(x_33, 0); lean_dec(x_36); -x_37 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_37 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_38 = lean_string_append(x_35, x_37); x_39 = lean_string_append(x_38, x_15); lean_ctor_set(x_33, 1, x_39); @@ -12492,7 +12492,7 @@ lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean x_40 = lean_ctor_get(x_33, 1); lean_inc(x_40); lean_dec(x_33); -x_41 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_41 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_42 = lean_string_append(x_40, x_41); x_43 = lean_string_append(x_42, x_15); x_44 = lean_alloc_ctor(0, 2, 0); @@ -12546,7 +12546,7 @@ lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean lean_dec(x_55); lean_dec(x_54); lean_dec(x_4); -x_58 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_58 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_59 = lean_string_append(x_53, x_58); x_60 = lean_string_append(x_59, x_52); x_61 = lean_box(0); @@ -12565,7 +12565,7 @@ lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean lean_dec(x_55); lean_dec(x_54); lean_dec(x_4); -x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_65 = lean_string_append(x_53, x_64); x_66 = lean_string_append(x_65, x_52); x_67 = lean_box(0); @@ -12596,7 +12596,7 @@ if (lean_is_exclusive(x_72)) { lean_dec_ref(x_72); x_74 = lean_box(0); } -x_75 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_75 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_76 = lean_string_append(x_73, x_75); x_77 = lean_string_append(x_76, x_52); if (lean_is_scalar(x_74)) { @@ -13022,7 +13022,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean x_16 = lean_ctor_get(x_14, 1); x_17 = lean_ctor_get(x_14, 0); lean_dec(x_17); -x_18 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_18 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_19 = lean_string_append(x_16, x_18); x_20 = lean_string_append(x_19, x_9); x_21 = lean_box(0); @@ -13036,7 +13036,7 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean x_22 = lean_ctor_get(x_14, 1); lean_inc(x_22); lean_dec(x_14); -x_23 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_23 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_24 = lean_string_append(x_22, x_23); x_25 = lean_string_append(x_24, x_9); x_26 = lean_box(0); @@ -13099,7 +13099,7 @@ if (lean_is_exclusive(x_36)) { lean_dec_ref(x_36); x_38 = lean_box(0); } -x_39 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_39 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_40 = lean_string_append(x_37, x_39); x_41 = lean_string_append(x_40, x_9); x_42 = lean_box(0); diff --git a/stage0/stdlib/Lean/Compiler/IR/Format.c b/stage0/stdlib/Lean/Compiler/IR/Format.c index f8da75f97d..7ab4c5faac 100644 --- a/stage0/stdlib/Lean/Compiler/IR/Format.c +++ b/stage0/stdlib/Lean/Compiler/IR/Format.c @@ -52,6 +52,7 @@ extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____c lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__5; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__28; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14; +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; 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*); @@ -211,7 +212,6 @@ lean_object* l_Lean_IR_formatFnBodyHead_match__1(lean_object*); lean_object* l_Lean_IR_formatFnBodyHead___closed__12; extern lean_object* l_Lean_Format_paren___closed__3; lean_object* l_Lean_IR_Lean_Compiler_IR_Format___instance__5(lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__32; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10; lean_object* l_Lean_IR_formatFnBodyHead___closed__4; @@ -2313,7 +2313,7 @@ static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatI _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; diff --git a/stage0/stdlib/Lean/Compiler/NameMangling.c b/stage0/stdlib/Lean/Compiler/NameMangling.c index 05c48e8b5d..f7378c92e8 100644 --- a/stage0/stdlib/Lean/Compiler/NameMangling.c +++ b/stage0/stdlib/Lean/Compiler/NameMangling.c @@ -18,11 +18,11 @@ lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux(lean_object*, lean_object*, lean_object*); uint8_t l_Char_isDigit(uint32_t); lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14; lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_String_mangleAux_match__1(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -extern lean_object* l_Lean_Name_appendIndexAfter___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_mkModuleInitializationFunctionName___closed__1; @@ -363,7 +363,7 @@ else { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_6 = l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux(x_3); -x_7 = l_Lean_Name_appendIndexAfter___closed__1; +x_7 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14; x_8 = lean_string_append(x_6, x_7); x_9 = lean_string_append(x_8, x_5); lean_dec(x_5); @@ -379,7 +379,7 @@ x_11 = lean_ctor_get(x_1, 1); lean_inc(x_11); lean_dec(x_1); x_12 = l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux(x_10); -x_13 = l_Lean_Name_appendIndexAfter___closed__1; +x_13 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14; x_14 = lean_string_append(x_12, x_13); x_15 = l_Nat_repr(x_11); x_16 = lean_string_append(x_14, x_15); diff --git a/stage0/stdlib/Lean/Data/FormatMacro.c b/stage0/stdlib/Lean/Data/FormatMacro.c index 344473746c..778c75fcdc 100644 --- a/stage0/stdlib/Lean/Data/FormatMacro.c +++ b/stage0/stdlib/Lean/Data/FormatMacro.c @@ -16,67 +16,52 @@ extern "C" { lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__12; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__2; -extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__14; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__5; lean_object* lean_name_mk_string(lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__8; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__4; -lean_object* l_Lean_Syntax_expandInterpolatedStrChunks(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__9; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__13; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__12; -extern lean_object* l_Array_empty___closed__1; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__3; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__6; -lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__1; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3; lean_object* lean_string_utf8_byte_size(lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13; -lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__7; extern lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__11; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3_; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__10; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__7; -lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__3; +lean_object* l_Lean_Syntax_expandInterpolatedStr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__3; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__5; extern lean_object* l_Lean_Init_Prelude___instance__72___closed__1; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__5; +lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__10; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__6; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__7; +lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__11; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_nullKind___closed__2; -lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__4; -extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__2; lean_object* l_Lean_Syntax_getArgs(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__2; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__13; -lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Name_hasMacroScopes___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__1; -lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__2; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__9; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__3; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1; extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3372____closed__1; +lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__12; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__8; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__4; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__1; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__11; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9; extern lean_object* l___private_Init_Prelude_0__Lean_eraseMacroScopesAux___closed__1; -lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__13; static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__1() { _start: { @@ -219,159 +204,30 @@ x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__13; return x_1; } } -lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_5 = l_Array_empty___closed__1; -x_6 = lean_array_push(x_5, x_1); -x_7 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2; -x_8 = lean_array_push(x_6, x_7); -x_9 = lean_array_push(x_8, x_2); -x_10 = l___kind_term____x40_Init_Notation___hyg_4161____closed__1; -x_11 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_4); -return x_12; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("fmt"); -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__2; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 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_5 = lean_ctor_get(x_3, 2); -lean_inc(x_5); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_dec(x_3); -x_7 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; -lean_inc(x_1); -x_8 = lean_name_mk_string(x_1, x_7); -x_9 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; -x_10 = lean_name_mk_string(x_8, x_9); -x_11 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; -x_12 = lean_name_mk_string(x_10, x_11); -x_13 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__4; -x_14 = l_Lean_addMacroScope(x_6, x_13, x_5); -x_15 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1; -x_16 = lean_name_mk_string(x_1, 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); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -x_20 = l_Lean_Init_Prelude___instance__72___closed__1; -x_21 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__3; -x_22 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -lean_ctor_set(x_22, 2, x_14); -lean_ctor_set(x_22, 3, x_19); -x_23 = l_Array_empty___closed__1; -x_24 = lean_array_push(x_23, x_22); -x_25 = lean_array_push(x_23, x_2); -x_26 = l_Lean_nullKind___closed__2; -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_25); -x_28 = lean_array_push(x_24, x_27); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_12); -lean_ctor_set(x_29, 1, x_28); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_4); -return x_30; -} -} static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2; -x_2 = lean_alloc_closure((void*)(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2), 4, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__1___boxed), 4, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("Format"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__4() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3; +x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__5() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3; +x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__4; +x_3 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -379,13 +235,35 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } +static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2; +x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3; -x_3 = lean_name_mk_string(x_1, x_2); +x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__5; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } @@ -393,30 +271,83 @@ static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2; -x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3; -x_3 = lean_name_mk_string(x_1, x_2); +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__6; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("fmt"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__11() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__7; +x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2; +x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__12; 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_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8; +x_2 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__13; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -463,156 +394,40 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_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; x_14 = lean_unsigned_to_nat(1u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); lean_dec(x_1); -x_16 = l_Lean_Syntax_getArgs(x_15); +x_16 = lean_ctor_get(x_2, 2); +lean_inc(x_16); +x_17 = lean_ctor_get(x_2, 1); +lean_inc(x_17); +x_18 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__4; +lean_inc(x_16); +lean_inc(x_17); +x_19 = l_Lean_addMacroScope(x_17, x_18, x_16); +x_20 = l_Lean_Init_Prelude___instance__72___closed__1; +x_21 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3; +x_22 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__7; +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_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__11; +x_25 = l_Lean_addMacroScope(x_17, x_24, x_16); +x_26 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__10; +x_27 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__14; +x_28 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_28, 0, x_20); +lean_ctor_set(x_28, 1, x_26); +lean_ctor_set(x_28, 2, x_25); +lean_ctor_set(x_28, 3, x_27); +x_29 = l_Lean_Syntax_expandInterpolatedStr(x_15, x_23, x_28, x_2, x_3); lean_dec(x_15); -x_17 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__2; -x_18 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1; -lean_inc(x_2); -x_19 = l_Lean_Syntax_expandInterpolatedStrChunks(x_16, x_17, x_18, x_2, x_3); -lean_dec(x_16); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 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; -x_21 = lean_ctor_get(x_19, 0); -x_22 = lean_ctor_get(x_2, 2); -lean_inc(x_22); -x_23 = lean_ctor_get(x_2, 1); -lean_inc(x_23); -lean_dec(x_2); -x_24 = l_Array_empty___closed__1; -x_25 = lean_array_push(x_24, x_21); -x_26 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__6; -x_27 = l_Lean_addMacroScope(x_23, x_26, x_22); -x_28 = l_Lean_Init_Prelude___instance__72___closed__1; -x_29 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__5; -x_30 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9; -x_31 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_31, 0, x_28); -lean_ctor_set(x_31, 1, x_29); -lean_ctor_set(x_31, 2, x_27); -lean_ctor_set(x_31, 3, x_30); -x_32 = l_Lean_expandExplicitBindersAux_loop___closed__13; -x_33 = lean_array_push(x_32, x_31); -x_34 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = lean_array_push(x_24, x_35); -x_37 = l_Lean_nullKind___closed__2; -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_36); -x_39 = lean_array_push(x_25, x_38); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_37); -lean_ctor_set(x_40, 1, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9; -x_42 = lean_array_push(x_41, x_40); -x_43 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12; -x_44 = lean_array_push(x_42, x_43); -x_45 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8; -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -lean_ctor_set(x_19, 0, x_46); -return x_19; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; 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; -x_47 = lean_ctor_get(x_19, 0); -x_48 = lean_ctor_get(x_19, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_19); -x_49 = lean_ctor_get(x_2, 2); -lean_inc(x_49); -x_50 = lean_ctor_get(x_2, 1); -lean_inc(x_50); -lean_dec(x_2); -x_51 = l_Array_empty___closed__1; -x_52 = lean_array_push(x_51, x_47); -x_53 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__6; -x_54 = l_Lean_addMacroScope(x_50, x_53, x_49); -x_55 = l_Lean_Init_Prelude___instance__72___closed__1; -x_56 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__5; -x_57 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9; -x_58 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_58, 0, x_55); -lean_ctor_set(x_58, 1, x_56); -lean_ctor_set(x_58, 2, x_54); -lean_ctor_set(x_58, 3, x_57); -x_59 = l_Lean_expandExplicitBindersAux_loop___closed__13; -x_60 = lean_array_push(x_59, x_58); -x_61 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -x_63 = lean_array_push(x_51, x_62); -x_64 = l_Lean_nullKind___closed__2; -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_63); -x_66 = lean_array_push(x_52, x_65); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_64); -lean_ctor_set(x_67, 1, x_66); -x_68 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9; -x_69 = lean_array_push(x_68, x_67); -x_70 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12; -x_71 = lean_array_push(x_69, x_70); -x_72 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_48); -return x_74; +return x_29; } } -else -{ -uint8_t x_75; -lean_dec(x_2); -x_75 = !lean_is_exclusive(x_19); -if (x_75 == 0) -{ -return x_19; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_19, 0); -x_77 = lean_ctor_get(x_19, 1); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_19); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -return x_78; -} -} -} -} -} -} -lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; } } lean_object* initialize_Init(lean_object*); @@ -656,14 +471,6 @@ l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__13 = _init_l_ lean_mark_persistent(l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__13); l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3_ = _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3_(); lean_mark_persistent(l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3_); -l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__1); -l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__2 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__2); -l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__3 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__3(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__3); -l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__4 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__4(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____lambda__2___closed__4); l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1(); lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1); l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__2 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__2(); @@ -682,6 +489,16 @@ l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8 = _init_l_Lean lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__8); l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9(); lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__9); +l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__10 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__10(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__10); +l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__11 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__11(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__11); +l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__12 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__12(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__12); +l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__13 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__13(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__13); +l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__14 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__14(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__14); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Data/Json/Parser.c b/stage0/stdlib/Lean/Data/Json/Parser.c index b46fc0fc3d..8be1c15def 100644 --- a/stage0/stdlib/Lean/Data/Json/Parser.c +++ b/stage0/stdlib/Lean/Data/Json/Parser.c @@ -47,7 +47,6 @@ lean_object* l_Lean_Json_Parser_anyCore___rarg___closed__5; lean_object* l_Lean_Quickparse_pure(lean_object*); lean_object* l_Lean_Json_Parser_anyCore___rarg___closed__3; lean_object* lean_nat_add(lean_object*, lean_object*); -extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__3; lean_object* l_Lean_Json_Parser_anyCore(lean_object*); lean_object* l_Lean_Json_Parser_escapedChar___boxed__const__6; lean_object* l_Lean_Json_Parser_escapedChar___boxed__const__2; @@ -130,6 +129,7 @@ lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l_Lean_Lean_Data_Json_Parser___instance__1(lean_object*); lean_object* l_Lean_Json_Parser_escapedChar___boxed__const__8; lean_object* l_UInt32_decEq___boxed(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9; extern lean_object* l_USize_size; lean_object* l_Lean_Quickparse_Lean_Data_Json_Parser___instance__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Quickparse_bind(lean_object*, lean_object*); @@ -3898,7 +3898,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Json_Parser_lookahead___rarg___closed__1; -x_2 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; x_3 = lean_string_append(x_1, x_2); return x_3; } @@ -5369,7 +5369,7 @@ x_10 = l_Nat_repr(x_9); x_11 = l_Lean_Json_parse___closed__1; x_12 = lean_string_append(x_11, x_10); lean_dec(x_10); -x_13 = l___private_Init_Util_0__mkPanicMessage___closed__3; +x_13 = l___private_Init_Util_0__mkPanicMessage___closed__2; x_14 = lean_string_append(x_12, x_13); x_15 = lean_string_append(x_14, x_8); lean_dec(x_8); diff --git a/stage0/stdlib/Lean/Data/Json/Printer.c b/stage0/stdlib/Lean/Data/Json/Printer.c index 713f85c360..adf62b5fb9 100644 --- a/stage0/stdlib/Lean/Data/Json/Printer.c +++ b/stage0/stdlib/Lean/Data/Json/Printer.c @@ -31,6 +31,7 @@ extern lean_object* l_Init_Data_Repr___instance__2___closed__2; lean_object* l_Lean_Json_Lean_Data_Json_Printer___instance__1; extern lean_object* l_Lean_formatDataValue___closed__1; extern lean_object* l_String_quote___closed__2; +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; lean_object* lean_array_get_size(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Json_render___closed__6; @@ -47,7 +48,6 @@ lean_object* l_Lean_Json_render___closed__2; lean_object* l_Lean_Json_compress(lean_object*); lean_object* l_Lean_Format_joinSep___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_String_foldrAux_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; extern lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__2; lean_object* l_Lean_Json_renderString(lean_object*); lean_object* l_Lean_Json_renderString___boxed(lean_object*); @@ -69,6 +69,7 @@ extern lean_object* l_Lean_Format_sbracket___closed__4; lean_object* l_Lean_Json_render_match__1(lean_object*); lean_object* l_Lean_Json_render___closed__4; lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9; extern lean_object* l_Id_Init_Control_Id___instance__1; lean_object* l_Lean_Json_render(lean_object*); extern lean_object* l_Lean_Lean_Data_Format___instance__7; @@ -79,7 +80,6 @@ extern lean_object* l_Lean_List_format___rarg___closed__3; lean_object* l_Std_RBNode_fold___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_fold___at_Lean_Json_compress___spec__2(lean_object*, lean_object*); lean_object* lean_nat_mod(lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; extern lean_object* l_Char_quoteCore___closed__5; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Init_Prelude___instance__74___closed__1; @@ -427,7 +427,7 @@ static lean_object* _init_l_Lean_Json_render___lambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -520,7 +520,7 @@ static lean_object* _init_l_Lean_Json_render___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -832,7 +832,7 @@ lean_dec(x_2); x_7 = l_Std_RBNode_fold___at_Lean_Json_compress___spec__2(x_1, x_3); x_8 = l_Lean_Json_renderString(x_4); lean_dec(x_4); -x_9 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_9 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; x_10 = lean_string_append(x_8, x_9); x_11 = l_Lean_Json_compress(x_5); x_12 = lean_string_append(x_10, x_11); @@ -930,7 +930,7 @@ x_28 = l_String_intercalate(x_27, x_26); x_29 = l_addParenHeuristic___closed__1; x_30 = lean_string_append(x_29, x_28); lean_dec(x_28); -x_31 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_31 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_32 = lean_string_append(x_30, x_31); return x_32; } diff --git a/stage0/stdlib/Lean/Data/Lsp/Communication.c b/stage0/stdlib/Lean/Data/Lsp/Communication.c index b42c7257b7..91bc4c9f73 100644 --- a/stage0/stdlib/Lean/Data/Lsp/Communication.c +++ b/stage0/stdlib/Lean/Data/Lsp/Communication.c @@ -36,7 +36,6 @@ lean_object* l_List_toString___at___private_Lean_Data_Lsp_Communication_0__Lean_ lean_object* l_Lean_Lsp_writeLspNotification___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_Stream_readMessage(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_writeLspNotification_match__1(lean_object*); -extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__3; lean_object* l___private_Lean_Data_Lsp_Communication_0__Lean_Lsp_readHeaderFields_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Communication_0__Lean_Lsp_readLspHeader___closed__1; lean_object* l_List_toStringAux___at___private_Lean_Data_Lsp_Communication_0__Lean_Lsp_readLspHeader___spec__3(uint8_t, lean_object*); @@ -50,6 +49,7 @@ extern lean_object* l_Lean_JsonRpc_Lean_Data_JsonRpc___instance__2___closed__32; lean_object* l_List_lookup___at___private_Lean_Data_Lsp_Communication_0__Lean_Lsp_readLspHeader___spec__1___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_JsonRpc_Lean_Data_JsonRpc___instance__2___closed__24; lean_object* l_Lean_Lsp_writeLspNotification___rarg___closed__1; +extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; extern lean_object* l_Lean_JsonRpc_Lean_Data_JsonRpc___instance__7___closed__13; lean_object* l_Nat_repr(lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__2; @@ -181,7 +181,7 @@ if (x_8 == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = l_String_dropRight(x_1, x_4); -x_10 = l___private_Init_Util_0__mkPanicMessage___closed__3; +x_10 = l___private_Init_Util_0__mkPanicMessage___closed__2; x_11 = l_String_splitOn(x_9, x_10); if (lean_obj_tag(x_11) == 0) { diff --git a/stage0/stdlib/Lean/Delaborator.c b/stage0/stdlib/Lean/Delaborator.c index b438f7af86..d76c7cc784 100644 --- a/stage0/stdlib/Lean/Delaborator.c +++ b/stage0/stdlib/Lean/Delaborator.c @@ -57,7 +57,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__4; lean_object* l_Lean_Delaborator_delabProj_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__6; lean_object* lean_local_ctx_get_unused_name(lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2; lean_object* l_Lean_Delaborator_delabConst___lambda__1___closed__5; lean_object* l___regBuiltin_Lean_Delaborator_delabFVar___closed__1; lean_object* l_Lean_Delaborator_delabSort_match__1(lean_object*); @@ -86,6 +85,7 @@ extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____c lean_object* l_Lean_Delaborator_delabLam___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_quote___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__4; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8; lean_object* l_Lean_Delaborator_delabProjectionApp_match__2(lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabBind___closed__1; lean_object* l_Lean_Delaborator_delabseqLeft___lambda__1___closed__2; @@ -116,6 +116,7 @@ lean_object* l_Lean_Delaborator_delabGE(lean_object*, lean_object*, lean_object* lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabGE___closed__1; +extern lean_object* l___kind_term____x40_Init_Core___hyg_315____closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabBind___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_getPPCoercions(lean_object*); @@ -150,7 +151,6 @@ lean_object* l_Lean_Delaborator_delabListToArray___lambda__1(lean_object*, lean_ lean_object* l___regBuiltin_Lean_Delaborator_delabAppImplicit___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabStructureInstance___closed__1; lean_object* l_Lean_Delaborator_delabOrElse___closed__1; -extern lean_object* l___kind_term____x40_Init_Core___hyg_320____closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabseqRight___closed__1; lean_object* l_Lean_Delaborator_delabInfixOp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__1___closed__1; @@ -188,15 +188,14 @@ lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delabor extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__12; 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_Delaborator_delabAppMatch___lambda__3___closed__2; +extern lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__4; lean_object* l_Lean_getPPNotation___boxed(lean_object*); lean_object* l_Lean_Delaborator_delabEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_quote___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_sub(size_t, size_t); -extern lean_object* l_myMacro____x40_Init_Core___hyg_720____closed__4; extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Delaborator_delabLit_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabTuple(lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__12; lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_getPPNotation___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -379,7 +378,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__4; lean_object* l_Lean_Delaborator_delabTuple(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_orElse___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13; extern lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabBind(lean_object*); lean_object* l_Lean_Delaborator_delabMap___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -422,7 +420,6 @@ extern lean_object* l___kind_term____x40_Init_Notation___hyg_3997____closed__1; lean_object* l_Lean_Delaborator_delabMData_match__1___rarg(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__6; lean_object* l_Lean_Delaborator_getExprKind___closed__10; -extern lean_object* l___kind_term____x40_Init_Core___hyg_1002____closed__1; lean_object* l_Lean_Delaborator_delabSort___closed__3; lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__2; lean_object* l_Lean_Delaborator_getExprKind_match__1(lean_object*); @@ -437,11 +434,13 @@ lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders_ma lean_object* l___regBuiltin_Lean_Delaborator_delabAppend(lean_object*); lean_object* l_Lean_Meta_inferType___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabMData___closed__1; +extern lean_object* l___kind_term____x40_Init_Core___hyg_680____closed__1; lean_object* l_Lean_Delaborator_delabForall_match__1(lean_object*); lean_object* l_Lean_Level_Lean_Delaborator___instance__1; lean_object* l_Lean_Syntax_mkApp(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabSort___closed__7; lean_object* l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabAppExplicit___spec__1___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Core___hyg_150____closed__4; lean_object* l_Lean_Delaborator_annotateCurPos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabListToArray(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabModN___closed__3; @@ -509,6 +508,7 @@ lean_object* l_Lean_Delaborator_delab___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabAndThen(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3(size_t, size_t, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__16; lean_object* l___regBuiltin_Lean_Delaborator_delabBOr___closed__2; lean_object* l_Lean_Delaborator_delabTuple___lambda__1___closed__1; extern lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__1; @@ -526,6 +526,7 @@ lean_object* l_Lean_Delaborator_withAppFnArgs_match__1___rarg(lean_object*, lean lean_object* l_Lean_Delaborator_delabLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabOrM___lambda__1___closed__2; lean_object* l_Lean_Delaborator_delabBOr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Core___hyg_997____closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabListToArray___closed__1; extern lean_object* l___kind_stx____x40_Init_Notation___hyg_5672____closed__8; uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); @@ -691,7 +692,6 @@ lean_object* l_Lean_Delaborator_delabForall___closed__1; extern lean_object* l_Lean_protectedExt; lean_object* l_Lean_Delaborator_delabPrefixOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_isCharLit___closed__3; -extern lean_object* l___kind_term____x40_Init_Core___hyg_685____closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__5; lean_object* l_Lean_Delaborator_failure___rarg___closed__1; lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_574_(lean_object*); @@ -718,7 +718,6 @@ lean_object* l_Lean_Delaborator_getParamKinds___lambda__1___boxed__const__1; lean_object* l_Lean_Delaborator_withAppArg___rarg___closed__2; lean_object* l_Lean_Level_quote___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabNe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Core___hyg_190____closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabAndM___closed__2; lean_object* l_Lean_Delaborator_delabBVar_match__1(lean_object*); lean_object* l_Lean_Level_quote___lambda__9(lean_object*, lean_object*, lean_object*); @@ -733,7 +732,6 @@ uint8_t l_Lean_getPPPrivateNames(lean_object*); size_t lean_usize_modn(size_t, lean_object*); lean_object* l_Lean_Delaborator_delabProjectionApp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_Lean_Delaborator___instance__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11; extern lean_object* l_Lean_mkSimpleThunk___closed__1; lean_object* l_Lean_Delaborator_delabLam___lambda__3___closed__4; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -758,6 +756,7 @@ extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__3; lean_object* l_Lean_Delaborator_delabProjectionApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_6153____closed__7; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__10; lean_object* l_Lean_Delaborator_delabProjectionApp_match__3(lean_object*); lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__4; lean_object* l___regBuiltin_Lean_Delaborator_delabGE___closed__1; @@ -770,6 +769,7 @@ lean_object* l_Lean_Delaborator_delabSort___closed__6; lean_object* l_Lean_Delaborator_getExprKind___closed__7; lean_object* l___regBuiltin_Lean_Delaborator_delabIff___closed__2; uint8_t l_Lean_getPPStructureInstances(lean_object*); +extern lean_object* l___kind_term____x40_Init_Core___hyg_1390____closed__1; lean_object* l_Lean_Delaborator_getParamKinds_match__1(lean_object*); lean_object* l_Lean_Delaborator_delabAnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabBNe___closed__1; @@ -837,6 +837,7 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabLT___closed__2; lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Delaborator_delabFor___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getPPCoercions___boxed(lean_object*); extern lean_object* l_Lean_Elab_Level_elabLevel___closed__4; +extern lean_object* l_myMacro____x40_Init_Core___hyg_1425____closed__1; lean_object* l_Lean_Delaborator_delabCoe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerInternalExceptionId(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__2; @@ -873,7 +874,6 @@ extern lean_object* l_Lean_Expr_ctorName___closed__9; lean_object* l_Lean_LocalDecl_type(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__6; uint8_t l_Lean_getPPNotation(lean_object*); -extern lean_object* l_myMacro____x40_Init_Core___hyg_1430____closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabAdd___closed__2; lean_object* l_Lean_Delaborator_failure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Init_Prelude___instance__10; @@ -896,6 +896,7 @@ lean_object* l_Lean_Delaborator_delabFor_match__2___rarg(lean_object*, lean_obje lean_object* l_Lean_Delaborator_delabOrM___closed__1; lean_object* l_Lean_Delaborator_AppMatchState_params___default; lean_object* l_Lean_SMap_find_x3f___at_Lean_Delaborator_delabFor___spec__1___boxed(lean_object*, lean_object*); +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; lean_object* l___regBuiltin_Lean_Delaborator_delabProjectionApp(lean_object*); lean_object* l_Lean_Delaborator_delabGT___lambda__1___closed__2; lean_object* l_List_redLength___rarg(lean_object*); @@ -907,6 +908,7 @@ lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveOpenDecls lean_object* l_Lean_getPPStructureInstanceType___boxed(lean_object*); lean_object* l_Lean_Delaborator_delabFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getPPStructureInstanceType___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11; lean_object* l_Lean_Delaborator_delabGT___lambda__1___closed__1; lean_object* l_Lean_Delaborator_delabOrM___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__1(lean_object*); @@ -926,7 +928,6 @@ lean_object* l_Lean_Expr_bindingName_x21(lean_object*); extern lean_object* l_Lean_Expr_ctorName___closed__10; lean_object* l_Std_AssocList_find_x3f___at_Lean_Delaborator_delabFor___spec__6___boxed(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__3; -extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; lean_object* l_Lean_Delaborator_delabLam_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabBOr___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_2019____closed__1; @@ -981,14 +982,12 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__1; uint8_t l_Lean_Name_isAnonymous(lean_object*); lean_object* l_Lean_Delaborator_delabIff___lambda__1___closed__3; lean_object* l_Lean_Delaborator_delabMVar___closed__2; -extern lean_object* l___kind_term____x40_Init_Core___hyg_155____closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__6; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__2; lean_object* lean_panic_fn(lean_object*, lean_object*); extern lean_object* l_Lean_setOptionFromString___closed__1; lean_object* l_Lean_getPPUniverses___closed__2; -extern lean_object* l___kind_term____x40_Init_Core___hyg_1395____closed__1; lean_object* l_Lean_Delaborator_delabLT___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; extern lean_object* l_Lean_getSanitizeNames___closed__1; @@ -1002,9 +1001,9 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabIff___closed__1; extern lean_object* l_Lean_Unhygienic_Lean_Hygiene___instance__1___closed__4; lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__5; lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__6; lean_object* l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__1; lean_object* l_Lean_Delaborator_delabNe___lambda__1___closed__2; -extern lean_object* l_myMacro____x40_Init_Core___hyg_720____closed__6; extern lean_object* l___kind_term____x40_Init_Notation___hyg_5169____closed__1; extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__2; lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1040,6 +1039,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__6; lean_object* l_Lean_getPPUniverses___boxed(lean_object*); lean_object* l_Lean_getPPStructureInstances___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabOrM(lean_object*); +extern lean_object* l_myMacro____x40_Init_Core___hyg_185____closed__1; lean_object* l_Lean_Delaborator_delabMData(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabFailureId; lean_object* l_Array_ofSubarray___rarg(lean_object*); @@ -1052,7 +1052,6 @@ lean_object* l_Lean_Delaborator_delabSort_match__3___rarg(lean_object*, lean_obj lean_object* l_Lean_Meta_setMCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_liftMkBindingM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabNil___closed__2; lean_object* lean_nat_mul(lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Core___hyg_1037____closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabDiv___closed__3; lean_object* l_Lean_delab___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__6; @@ -1098,7 +1097,6 @@ lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__2(lean_object*, lean_ lean_object* l_Lean_Delaborator_delabCons___lambda__1___closed__2; lean_object* l_Lean_Delaborator_delabseqRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_withProj_match__1___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; lean_object* l_Lean_Delaborator_mkDelabAttribute(lean_object*); lean_object* l_Lean_Delaborator_delabListToArray___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_getParamKinds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1143,6 +1141,7 @@ lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_ob lean_object* l_Lean_Delaborator_delabLit_match__1(lean_object*); lean_object* l_Lean_Delaborator_withAppArg___rarg___closed__1; lean_object* l_Lean_Delaborator_delabFor_match__2(lean_object*); +extern lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2; lean_object* l_Lean_Delaborator_delabAppImplicit___closed__4; lean_object* l___regBuiltin_Lean_Delaborator_delabLam(lean_object*); lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__6; @@ -1165,6 +1164,7 @@ lean_object* l_Lean_Delaborator_delabModN(lean_object*, lean_object*, lean_objec lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__4(lean_object*); lean_object* l_Lean_Delaborator_delabPow___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Delaborator_delabFor___spec__5___boxed(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Core___hyg_1032____closed__1; lean_object* l_Lean_Delaborator_delabBNot___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabProj(lean_object*); lean_object* l_Lean_Delaborator_delabBNot___lambda__1___closed__4; @@ -1175,6 +1175,7 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabLetE(lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabMap___closed__1; extern lean_object* l___kind_term____x40_Init_Notation___hyg_2848____closed__1; lean_object* l_Lean_delab___closed__1; +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; extern lean_object* l___kind_term____x40_Init_Notation___hyg_2679____closed__1; lean_object* l_Lean_Delaborator_delabConsList___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabConst___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1189,7 +1190,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__1; lean_object* l_Lean_Delaborator_getParamKinds___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabConst___spec__1(size_t, size_t, lean_object*); extern lean_object* l_Lean_KeyedDeclsAttribute_Lean_KeyedDeclsAttribute___instance__3___closed__1; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__2; lean_object* l___regBuiltin_Lean_Delaborator_delabMapRev(lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabNil___closed__1; lean_object* l_Lean_Delaborator_delabCons___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1778,7 +1778,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Level_elabLevel___closed__6; -x_2 = l_Lean_expandExplicitBindersAux_loop___closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__16; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -13216,7 +13216,7 @@ 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_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_43 = lean_array_push(x_41, x_42); x_44 = l_Lean_Delaborator_delabConst___lambda__1___closed__3; x_45 = lean_alloc_ctor(1, 2, 0); @@ -13270,7 +13270,7 @@ 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_53, x_67); -x_69 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_69 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_70 = lean_array_push(x_68, x_69); x_71 = l_Lean_Delaborator_delabConst___lambda__1___closed__3; x_72 = lean_alloc_ctor(1, 2, 0); @@ -22028,9 +22028,9 @@ _start: lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_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_10 = l_Array_empty___closed__1; x_11 = lean_array_push(x_10, x_3); -x_12 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_12 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_13 = lean_array_push(x_12, x_1); -x_14 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_14 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_15 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); @@ -22374,7 +22374,7 @@ x_60 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; x_61 = lean_array_push(x_60, x_59); x_62 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18; x_63 = lean_array_push(x_61, x_62); -x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_65 = lean_array_push(x_63, x_64); x_66 = l_Lean_Delaborator_delabLam___lambda__3___closed__1; x_67 = lean_alloc_ctor(1, 2, 0); @@ -22400,13 +22400,13 @@ lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_70); x_73 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; x_74 = lean_array_push(x_73, x_72); -x_75 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_75 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_76 = lean_array_push(x_75, x_14); x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_71); lean_ctor_set(x_77, 1, x_76); x_78 = lean_array_push(x_74, x_77); -x_79 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_79 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_80 = lean_array_push(x_78, x_79); x_81 = l_Lean_Delaborator_delabLam___lambda__3___closed__1; x_82 = lean_alloc_ctor(1, 2, 0); @@ -22430,7 +22430,7 @@ x_84 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); lean_dec(x_1); x_85 = l_Array_empty___closed__1; x_86 = lean_array_push(x_85, x_84); -x_87 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_87 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_88 = lean_array_push(x_86, x_87); x_89 = l_Lean_nullKind___closed__2; x_90 = lean_alloc_ctor(1, 2, 0); @@ -22765,7 +22765,7 @@ x_161 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; x_162 = lean_array_push(x_161, x_160); x_163 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18; x_164 = lean_array_push(x_162, x_163); -x_165 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_165 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_166 = lean_array_push(x_164, x_165); x_167 = l_Lean_Delaborator_delabLam___lambda__3___closed__1; x_168 = lean_alloc_ctor(1, 2, 0); @@ -22791,13 +22791,13 @@ lean_ctor_set(x_173, 0, x_172); lean_ctor_set(x_173, 1, x_171); x_174 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; x_175 = lean_array_push(x_174, x_173); -x_176 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_176 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_177 = lean_array_push(x_176, x_14); x_178 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_178, 0, x_172); lean_ctor_set(x_178, 1, x_177); x_179 = lean_array_push(x_175, x_178); -x_180 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_180 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_181 = lean_array_push(x_179, x_180); x_182 = l_Lean_Delaborator_delabLam___lambda__3___closed__1; x_183 = lean_alloc_ctor(1, 2, 0); @@ -22821,7 +22821,7 @@ x_185 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); lean_dec(x_1); x_186 = l_Array_empty___closed__1; x_187 = lean_array_push(x_186, x_185); -x_188 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_188 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_189 = lean_array_push(x_187, x_188); x_190 = l_Lean_nullKind___closed__2; x_191 = lean_alloc_ctor(1, 2, 0); @@ -23355,7 +23355,7 @@ lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); x_49 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9; x_50 = lean_array_push(x_49, x_48); -x_51 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_51 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_52 = lean_array_push(x_51, x_15); x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_47); @@ -23487,13 +23487,13 @@ lean_ctor_set(x_70, 0, x_69); lean_ctor_set(x_70, 1, x_68); x_71 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; x_72 = lean_array_push(x_71, x_70); -x_73 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_73 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_74 = lean_array_push(x_73, x_15); x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_69); lean_ctor_set(x_75, 1, x_74); x_76 = lean_array_push(x_72, x_75); -x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_78 = lean_array_push(x_76, x_77); x_79 = l_Lean_Delaborator_delabLam___lambda__3___closed__1; x_80 = lean_alloc_ctor(1, 2, 0); @@ -23528,7 +23528,7 @@ lean_dec(x_3); x_88 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); x_89 = l_Array_empty___closed__1; x_90 = lean_array_push(x_89, x_88); -x_91 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_91 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_92 = lean_array_push(x_90, x_91); x_93 = l_Lean_nullKind___closed__2; x_94 = lean_alloc_ctor(1, 2, 0); @@ -23696,7 +23696,7 @@ lean_ctor_set(x_154, 0, x_153); lean_ctor_set(x_154, 1, x_152); x_155 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9; x_156 = lean_array_push(x_155, x_154); -x_157 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_157 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_158 = lean_array_push(x_157, x_121); x_159 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_159, 0, x_153); @@ -23828,13 +23828,13 @@ lean_ctor_set(x_177, 0, x_176); lean_ctor_set(x_177, 1, x_175); x_178 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; x_179 = lean_array_push(x_178, x_177); -x_180 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_180 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_181 = lean_array_push(x_180, x_121); x_182 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_182, 0, x_176); lean_ctor_set(x_182, 1, x_181); x_183 = lean_array_push(x_179, x_182); -x_184 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_184 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_185 = lean_array_push(x_183, x_184); x_186 = l_Lean_Delaborator_delabLam___lambda__3___closed__1; x_187 = lean_alloc_ctor(1, 2, 0); @@ -23868,7 +23868,7 @@ lean_dec(x_3); x_195 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); x_196 = l_Array_empty___closed__1; x_197 = lean_array_push(x_196, x_195); -x_198 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_198 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_199 = lean_array_push(x_197, x_198); x_200 = l_Lean_nullKind___closed__2; x_201 = lean_alloc_ctor(1, 2, 0); @@ -24257,9 +24257,9 @@ x_31 = l_Array_empty___closed__1; x_32 = lean_array_push(x_31, x_30); x_33 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18; x_34 = lean_array_push(x_32, x_33); -x_35 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_35 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_36 = lean_array_push(x_35, x_20); -x_37 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_37 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); @@ -24306,9 +24306,9 @@ x_61 = l_Array_empty___closed__1; x_62 = lean_array_push(x_61, x_60); x_63 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18; x_64 = lean_array_push(x_62, x_63); -x_65 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_65 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_66 = lean_array_push(x_65, x_20); -x_67 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_67 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_68 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_68, 0, x_67); lean_ctor_set(x_68, 1, x_66); @@ -26230,7 +26230,7 @@ x_47 = lean_array_push(x_46, x_45); x_48 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18; x_49 = lean_array_push(x_47, x_48); x_50 = lean_array_push(x_49, x_48); -x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_51 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_52 = lean_array_push(x_50, x_51); x_53 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; x_54 = lean_alloc_ctor(1, 2, 0); @@ -26256,7 +26256,7 @@ x_60 = lean_array_push(x_59, x_58); x_61 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18; x_62 = lean_array_push(x_60, x_61); x_63 = lean_array_push(x_62, x_61); -x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_65 = lean_array_push(x_63, x_64); x_66 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; x_67 = lean_alloc_ctor(1, 2, 0); @@ -26308,13 +26308,13 @@ x_81 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__5; x_82 = lean_array_push(x_81, x_80); x_83 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18; x_84 = lean_array_push(x_82, x_83); -x_85 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_85 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_86 = lean_array_push(x_85, x_77); x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_79); lean_ctor_set(x_87, 1, x_86); x_88 = lean_array_push(x_84, x_87); -x_89 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_89 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_90 = lean_array_push(x_88, x_89); x_91 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; x_92 = lean_alloc_ctor(1, 2, 0); @@ -26341,13 +26341,13 @@ x_98 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__5; x_99 = lean_array_push(x_98, x_97); x_100 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18; x_101 = lean_array_push(x_99, x_100); -x_102 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_102 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_103 = lean_array_push(x_102, x_93); x_104 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_104, 0, x_96); lean_ctor_set(x_104, 1, x_103); x_105 = lean_array_push(x_101, x_104); -x_106 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_106 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_107 = lean_array_push(x_105, x_106); x_108 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; x_109 = lean_alloc_ctor(1, 2, 0); @@ -29426,7 +29426,7 @@ x_11 = lean_array_push(x_10, x_2); x_12 = l_Lean_Delaborator_delabNe___lambda__1___closed__2; x_13 = lean_array_push(x_11, x_12); x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Core___hyg_1395____closed__1; +x_15 = l___kind_term____x40_Init_Core___hyg_1390____closed__1; x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -29473,7 +29473,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Core___hyg_1430____closed__1; +x_2 = l_myMacro____x40_Init_Core___hyg_1425____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -29636,7 +29636,7 @@ x_11 = lean_array_push(x_10, x_2); x_12 = l_Lean_Delaborator_delabBNe___lambda__1___closed__2; x_13 = lean_array_push(x_11, x_12); x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Core___hyg_1002____closed__1; +x_15 = l___kind_term____x40_Init_Core___hyg_997____closed__1; x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -29683,7 +29683,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Core___hyg_1037____closed__1; +x_2 = l_myMacro____x40_Init_Core___hyg_1032____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -29876,7 +29876,7 @@ x_11 = lean_array_push(x_10, x_2); x_12 = l_Lean_Delaborator_delabEquiv___lambda__1___closed__2; x_13 = lean_array_push(x_11, x_12); x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Core___hyg_685____closed__1; +x_15 = l___kind_term____x40_Init_Core___hyg_680____closed__1; x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -29923,7 +29923,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Core___hyg_720____closed__4; +x_2 = l_myMacro____x40_Init_Core___hyg_715____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -29933,7 +29933,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Delaborator_delabEquiv___closed__1; -x_2 = l_myMacro____x40_Init_Core___hyg_720____closed__6; +x_2 = l_myMacro____x40_Init_Core___hyg_715____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -30288,7 +30288,7 @@ x_11 = lean_array_push(x_10, x_2); x_12 = l_Lean_Delaborator_delabIff___lambda__1___closed__2; x_13 = lean_array_push(x_11, x_12); x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Core___hyg_155____closed__4; +x_15 = l___kind_term____x40_Init_Core___hyg_150____closed__4; x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -30305,7 +30305,7 @@ x_19 = lean_array_push(x_18, x_2); x_20 = l_Lean_Delaborator_delabIff___lambda__1___closed__4; x_21 = lean_array_push(x_19, x_20); x_22 = lean_array_push(x_21, x_3); -x_23 = l___kind_term____x40_Init_Core___hyg_320____closed__1; +x_23 = l___kind_term____x40_Init_Core___hyg_315____closed__1; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -30353,7 +30353,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Core___hyg_190____closed__1; +x_2 = l_myMacro____x40_Init_Core___hyg_185____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -30563,7 +30563,7 @@ _start: lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_10 = l_Array_empty___closed__1; x_11 = lean_array_push(x_10, x_2); -x_12 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2; +x_12 = l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2; x_13 = lean_array_push(x_11, x_12); x_14 = lean_array_push(x_13, x_3); x_15 = l___kind_term____x40_Init_Notation___hyg_4161____closed__1; diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index 405cc3ba08..64e4102c3a 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -342,7 +342,6 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed_ lean_object* l_Lean_Elab_Term_ElabAppArgs_main_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__11; -extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; lean_object* l_List_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicitUniv___closed__1; @@ -496,6 +495,7 @@ extern lean_object* l_Option_get_x21___rarg___closed__4; extern lean_object* l_Lean_Syntax_mkApp___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAux___at_Lean_Elab_Term_ElabAppArgs_eraseNamedArgCore___spec__1___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_throwLValError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -551,6 +551,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicit___closed__1; extern lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___lambda__1(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_7262____closed__12; lean_object* l_Lean_Elab_Term_ElabAppArgs_State_etaArgs___default; lean_object* l_Lean_Elab_getRefPos___at___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageData___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -560,7 +561,6 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_match__1(le lean_object* l_Lean_Exception_getRef(lean_object*); lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__6; lean_object* l_Lean_Meta_commitWhen___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_mkHole___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__1___closed__2; lean_object* l_Lean_Elab_Term_elabExplicitUniv(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -589,6 +589,7 @@ lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ElabAppArgs_main_match__1(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop(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*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop_match__2(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___lambda__1___closed__4; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__5___lambda__4___boxed(lean_object**); @@ -600,7 +601,6 @@ lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Te lean_object* l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__14___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_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___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_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__3; lean_object* l_Lean_Elab_Term_ElabAppArgs_synthesizeAppInstMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -634,7 +634,6 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_consumeImplicits___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_propagateExpectedType___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux_match__3(lean_object*); -extern lean_object* l_Lean_mkHole___closed__2; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__13; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAtom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabApp_match__1(lean_object*); @@ -678,6 +677,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg_match__1___r lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___lambda__1___closed__3; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg(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_7262____closed__13; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType_match__2___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_ctorName___closed__11; @@ -7479,7 +7479,7 @@ else { lean_object* x_45; uint8_t x_46; lean_dec(x_22); -x_45 = l_Lean_mkHole___closed__1; +x_45 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_46 = lean_string_dec_eq(x_18, x_45); if (x_46 == 0) { @@ -7552,7 +7552,7 @@ else { lean_object* x_61; uint8_t x_62; lean_dec(x_22); -x_61 = l_Lean_mkHole___closed__1; +x_61 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_62 = lean_string_dec_eq(x_18, x_61); if (x_62 == 0) { @@ -7679,7 +7679,7 @@ else { lean_object* x_86; uint8_t x_87; lean_dec(x_22); -x_86 = l_Lean_mkHole___closed__1; +x_86 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_87 = lean_string_dec_eq(x_18, x_86); if (x_87 == 0) { @@ -7840,7 +7840,7 @@ else { lean_object* x_117; uint8_t x_118; lean_dec(x_22); -x_117 = l_Lean_mkHole___closed__1; +x_117 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_118 = lean_string_dec_eq(x_18, x_117); if (x_118 == 0) { @@ -8035,7 +8035,7 @@ else { lean_object* x_154; uint8_t x_155; lean_dec(x_128); -x_154 = l_Lean_mkHole___closed__1; +x_154 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_155 = lean_string_dec_eq(x_18, x_154); if (x_155 == 0) { @@ -8264,7 +8264,7 @@ else { lean_object* x_197; uint8_t x_198; lean_dec(x_168); -x_197 = l_Lean_mkHole___closed__1; +x_197 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_198 = lean_string_dec_eq(x_166, x_197); if (x_198 == 0) { @@ -8525,7 +8525,7 @@ else { lean_object* x_245; uint8_t x_246; lean_dec(x_214); -x_245 = l_Lean_mkHole___closed__1; +x_245 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_246 = lean_string_dec_eq(x_211, x_245); if (x_246 == 0) { @@ -8918,7 +8918,7 @@ else { lean_object* x_310; uint8_t x_311; lean_dec(x_277); -x_310 = l_Lean_mkHole___closed__1; +x_310 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_311 = lean_string_dec_eq(x_274, x_310); if (x_311 == 0) { @@ -9231,7 +9231,7 @@ return x_9; else { lean_object* x_45; uint8_t x_46; -x_45 = l_Lean_mkHole___closed__1; +x_45 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_46 = lean_string_dec_eq(x_29, x_45); lean_dec(x_29); if (x_46 == 0) @@ -9326,7 +9326,7 @@ return x_70; else { lean_object* x_71; uint8_t x_72; -x_71 = l_Lean_mkHole___closed__1; +x_71 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_72 = lean_string_dec_eq(x_52, x_71); lean_dec(x_52); if (x_72 == 0) @@ -19498,7 +19498,7 @@ lean_ctor_set(x_65, 0, x_62); lean_ctor_set(x_65, 1, x_64); x_66 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; x_67 = lean_array_push(x_66, x_65); -x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_68 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_69 = lean_array_push(x_67, x_68); x_70 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; x_71 = lean_alloc_ctor(1, 2, 0); @@ -33469,7 +33469,7 @@ x_353 = l_Lean_Syntax_isOfKind(x_1, x_352); if (x_353 == 0) { lean_object* x_354; uint8_t x_355; -x_354 = l_Lean_mkHole___closed__2; +x_354 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; lean_inc(x_1); x_355 = l_Lean_Syntax_isOfKind(x_1, x_354); if (x_355 == 0) @@ -33526,7 +33526,7 @@ x_367 = lean_nat_dec_eq(x_365, x_366); if (x_367 == 0) { lean_object* x_368; uint8_t x_369; -x_368 = l_Lean_mkHole___closed__2; +x_368 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; lean_inc(x_1); x_369 = l_Lean_Syntax_isOfKind(x_1, x_368); if (x_369 == 0) @@ -35889,7 +35889,7 @@ static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageD _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index f7fdbb2f4c..a4741878bd 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -25,6 +25,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall__ size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Elab_Term_elabLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__3; +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__5; lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclAux___spec__2___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* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__7; extern lean_object* l_Lean_Syntax_strLitToAtom___closed__3; @@ -40,6 +41,7 @@ lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg(lean_obj lean_object* l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__6; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8; lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders_match__1(lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__11; @@ -136,7 +138,6 @@ lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed(uint lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic(lean_object*, lean_object*, lean_object*, lean_object*); 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*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13; lean_object* l_Lean_Meta_setPostponed___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getResetPostponed___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -270,7 +271,6 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews___l lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__19; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder_match__1(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); @@ -329,7 +329,9 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunB lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__12; extern lean_object* l_Lean_Syntax_mkApp___closed__1; lean_object* l_Lean_Elab_Term_elabArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__15; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11; lean_object* l_Lean_Syntax_getSepArgs(lean_object*); lean_object* l_Lean_Elab_Term_FunBinders_State_expectedType_x3f___default; 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*); @@ -339,7 +341,6 @@ lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__16; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l_Lean_mkHole(lean_object*); extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; lean_object* l_Lean_Elab_Term_elabFunBinders___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); @@ -348,6 +349,7 @@ extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ extern lean_object* l_Lean_Expr_getOptParamDefault_x3f___closed__1; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___boxed__const__1; extern lean_object* l_Lean_Expr_Lean_Expr___instance__11; +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__6; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___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* l_Lean_Elab_Term_quoteAutoTactic_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__6; @@ -366,12 +368,12 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagat 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* l_Lean_Elab_Term_elabLetDeclAux___lambda__1(lean_object*, uint8_t, 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_7262____closed__12; extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__2; lean_object* l_Lean_Elab_Term_elabLetDeclCore_match__2(lean_object*); lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__12; lean_object* l_Lean_Elab_Term_quoteAutoTactic_match__1(lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1___closed__2; -extern lean_object* l_Lean_mkHole___closed__1; lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___at_Lean_Elab_Term_elabBinders___spec__2(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); @@ -403,7 +405,6 @@ extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____c lean_object* l_Lean_setEnv___at_Lean_Elab_Term_declareTacticSyntax___spec__3(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_elabBinders___spec__2___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* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__14; extern lean_object* l_Lean_mkOptionalNode___closed__1; @@ -423,11 +424,9 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsInto lean_object* l_Lean_Elab_Term_elabFun_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalInstances___at_Lean_Elab_Term_elabBinders___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg___closed__2; -extern lean_object* l_Lean_mkHole___closed__2; lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkLetIdDeclView(lean_object*); extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__10; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__9; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___spec__1___closed__3; lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__9; @@ -446,6 +445,7 @@ lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__11; lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl(lean_object*); lean_object* l_Lean_Elab_Term_expandFunBinders_loop_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(lean_object*, size_t, size_t, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13; lean_object* lean_compile_decl(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_match__1(lean_object*); lean_object* l_Init_Control_Basic___instance__3___rarg(lean_object*, lean_object*); @@ -544,7 +544,7 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent(l _start: { lean_object* x_9; uint8_t x_10; -x_9 = l_Lean_mkHole___closed__2; +x_9 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; lean_inc(x_1); x_10 = l_Lean_Syntax_isOfKind(x_1, x_9); if (x_10 == 0) @@ -1025,7 +1025,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_quoteAutoTactic___closed__6; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -1075,7 +1075,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; -x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__25; +x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__23; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -3523,7 +3523,7 @@ x_20 = lean_name_eq(x_18, x_19); if (x_20 == 0) { lean_object* x_21; uint8_t x_22; -x_21 = l_Lean_mkHole___closed__2; +x_21 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_22 = lean_name_eq(x_18, x_21); lean_dec(x_18); if (x_22 == 0) @@ -3895,7 +3895,7 @@ if (lean_obj_tag(x_1) == 1) lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; x_9 = lean_ctor_get(x_1, 0); x_10 = lean_ctor_get(x_1, 1); -x_11 = l_Lean_expandExplicitBindersAux_loop___closed__9; +x_11 = l_Lean_expandExplicitBindersAux_loop___closed__6; x_12 = lean_name_eq(x_9, x_11); if (x_12 == 0) { @@ -6406,7 +6406,7 @@ lean_ctor_set(x_36, 0, x_35); lean_ctor_set(x_36, 1, x_34); x_37 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9; x_38 = lean_array_push(x_37, x_36); -x_39 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_39 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_40 = lean_array_push(x_39, x_18); x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_35); @@ -6462,7 +6462,7 @@ lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); x_70 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9; x_71 = lean_array_push(x_70, x_69); -x_72 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_72 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_73 = lean_array_push(x_72, x_18); x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_68); @@ -6794,7 +6794,7 @@ block_42: { lean_object* x_12; uint8_t x_13; lean_dec(x_11); -x_12 = l_Lean_mkHole___closed__2; +x_12 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; lean_inc(x_2); x_13 = l_Lean_Syntax_isOfKind(x_2, x_12); if (x_13 == 0) @@ -7156,13 +7156,13 @@ if (x_49 == 0) { lean_object* x_50; uint8_t x_51; lean_dec(x_4); -x_50 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_50 = l_Lean_expandExplicitBindersAux_loop___closed__5; x_51 = lean_string_dec_eq(x_17, x_50); if (x_51 == 0) { lean_object* x_52; uint8_t x_53; lean_dec(x_5); -x_52 = l_Lean_mkHole___closed__1; +x_52 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_53 = lean_string_dec_eq(x_17, x_52); if (x_53 == 0) { @@ -7372,13 +7372,13 @@ if (x_100 == 0) { lean_object* x_101; uint8_t x_102; lean_dec(x_4); -x_101 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_101 = l_Lean_expandExplicitBindersAux_loop___closed__5; x_102 = lean_string_dec_eq(x_17, x_101); if (x_102 == 0) { lean_object* x_103; uint8_t x_104; lean_dec(x_5); -x_103 = l_Lean_mkHole___closed__1; +x_103 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_104 = lean_string_dec_eq(x_17, x_103); if (x_104 == 0) { @@ -7639,13 +7639,13 @@ if (x_160 == 0) { lean_object* x_161; uint8_t x_162; lean_dec(x_4); -x_161 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_161 = l_Lean_expandExplicitBindersAux_loop___closed__5; x_162 = lean_string_dec_eq(x_17, x_161); if (x_162 == 0) { lean_object* x_163; uint8_t x_164; lean_dec(x_5); -x_163 = l_Lean_mkHole___closed__1; +x_163 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_164 = lean_string_dec_eq(x_17, x_163); if (x_164 == 0) { @@ -7940,13 +7940,13 @@ if (x_226 == 0) { lean_object* x_227; uint8_t x_228; lean_dec(x_4); -x_227 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_227 = l_Lean_expandExplicitBindersAux_loop___closed__5; x_228 = lean_string_dec_eq(x_17, x_227); if (x_228 == 0) { lean_object* x_229; uint8_t x_230; lean_dec(x_5); -x_229 = l_Lean_mkHole___closed__1; +x_229 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_230 = lean_string_dec_eq(x_17, x_229); if (x_230 == 0) { @@ -8275,13 +8275,13 @@ if (x_298 == 0) { lean_object* x_299; uint8_t x_300; lean_dec(x_4); -x_299 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_299 = l_Lean_expandExplicitBindersAux_loop___closed__5; x_300 = lean_string_dec_eq(x_17, x_299); if (x_300 == 0) { lean_object* x_301; uint8_t x_302; lean_dec(x_5); -x_301 = l_Lean_mkHole___closed__1; +x_301 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_302 = lean_string_dec_eq(x_17, x_301); if (x_302 == 0) { @@ -8642,13 +8642,13 @@ if (x_376 == 0) { lean_object* x_377; uint8_t x_378; lean_dec(x_4); -x_377 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_377 = l_Lean_expandExplicitBindersAux_loop___closed__5; x_378 = lean_string_dec_eq(x_340, x_377); if (x_378 == 0) { lean_object* x_379; uint8_t x_380; lean_dec(x_5); -x_379 = l_Lean_mkHole___closed__1; +x_379 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_380 = lean_string_dec_eq(x_340, x_379); if (x_380 == 0) { @@ -10900,12 +10900,12 @@ x_809 = lean_string_dec_eq(x_200, x_808); if (x_809 == 0) { lean_object* x_810; uint8_t x_811; -x_810 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_810 = l_Lean_expandExplicitBindersAux_loop___closed__5; x_811 = lean_string_dec_eq(x_200, x_810); if (x_811 == 0) { lean_object* x_812; uint8_t x_813; -x_812 = l_Lean_mkHole___closed__1; +x_812 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_813 = lean_string_dec_eq(x_200, x_812); if (x_813 == 0) { @@ -11365,7 +11365,7 @@ x_1021 = l_Lean_Syntax_getArg(x_1019, x_1017); lean_dec(x_1019); lean_inc(x_1021); x_1022 = l_Lean_Syntax_getKind(x_1021); -x_1023 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_1023 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_1024 = lean_name_eq(x_1022, x_1023); lean_dec(x_1022); if (x_1024 == 0) @@ -20819,9 +20819,9 @@ lean_inc(x_104); x_106 = lean_array_push(x_105, x_104); x_107 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18; x_108 = lean_array_push(x_106, x_107); -x_109 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_109 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_110 = lean_array_push(x_109, x_90); -x_111 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_111 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_112 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_112, 0, x_111); lean_ctor_set(x_112, 1, x_110); diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index 710f77355a..a05daf43a7 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -13,9 +13,9 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__9; lean_object* l_Lean_Elab_Term_expandAssert___closed__21; lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__7; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__26; lean_object* l_Lean_Elab_Term_expandNot___closed__1; extern lean_object* l_Lean_Name_toString___closed__1; @@ -33,7 +33,6 @@ lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__5; lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Elab_Term_expandNot___closed__2; lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__8; -extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getRefPos___at_Lean_Elab_Term_elabPanic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkSort(lean_object*); @@ -51,6 +50,7 @@ extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Elab_Term_expandAssert___closed__10; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__6; lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeRefl___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8; lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandEmptyC___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeRefl___closed__1; @@ -90,7 +90,6 @@ lean_object* l_Lean_Elab_Term_expandUMinus___closed__3; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Elab_Term_expandAssert___closed__12; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__12; lean_object* l_Lean_Elab_Term_expandAssert_match__1(lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandEmptyC___closed__8; @@ -117,14 +116,12 @@ extern lean_object* l_Lean_Meta_mkAppM___rarg___closed__2; lean_object* l_Lean_Elab_Term_expandEmptyC___closed__1; lean_object* l_Lean_Elab_Term_elabParen___closed__3; lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_elabNumLit___spec__3(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_Tactics___hyg_508____closed__9; lean_object* l___regBuiltin_Lean_Elab_Term_expandBNot___closed__1; lean_object* lean_expr_instantiate1(lean_object*, lean_object*); extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__18; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__4; lean_object* l_Lean_Meta_mkExpectedTypeHint___at_Lean_Elab_Term_elabNativeRefl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSubst___closed__5; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__1; @@ -166,7 +163,6 @@ lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Elab_Term_elabParen___closed__5; lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__2; lean_object* l_Lean_Elab_Term_expandShow___closed__1; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13; lean_object* l___regBuiltin_Lean_Elab_Term_expandDollar___closed__1; lean_object* l_Lean_Elab_Term_expandSorry___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__18; @@ -206,6 +202,7 @@ lean_object* l_Lean_Elab_Term_expandAssert_match__1___rarg(lean_object*, lean_ob lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__24; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux(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_expandHave(lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__5; lean_object* l_Lean_Elab_Term_expandAssert___closed__22; lean_object* l_Lean_Syntax_mkApp(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic(lean_object*); @@ -251,7 +248,6 @@ lean_object* l_Lean_Elab_Term_expandShow___boxed(lean_object*, lean_object*, lea lean_object* l_Lean_Elab_Term_expandDbgTrace(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeDecide___closed__1; lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__1; -extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_elabSubst___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___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___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__10; @@ -266,7 +262,6 @@ lean_object* l_Lean_Meta_kabstract___at_Lean_Elab_Term_elabSubst___spec__6(lean_ lean_object* l_Lean_Elab_Term_expandUnreachable(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandEmptyC___closed__1; -extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__6; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabDecide___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -280,7 +275,6 @@ lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__4; lean_object* l_Lean_Elab_Term_expandPrefixOp(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux_match__2(lean_object*); lean_object* l_Lean_Elab_Term_expandSorry___rarg___closed__5; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__7; lean_object* l_Lean_Elab_Term_expandEmptyC___closed__6; lean_object* l_Lean_Elab_Term_elabTParserMacro___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices(lean_object*); @@ -348,7 +342,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_expandUMinus(lean_object*); lean_object* l_Lean_Meta_mkArrow___at_Lean_Elab_Term_elabStateRefT___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Literal_type___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11; lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__7; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__1; @@ -358,10 +351,10 @@ lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserM lean_object* l_Lean_Meta_mkEqRefl___at_Lean_Elab_Term_elabNativeDecide___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNativeRefl___lambda__1___closed__8; uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__3; lean_object* l_Lean_Elab_Term_elabStateRefT___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic___closed__2; lean_object* l_Lean_Elab_Term_expandAssert___closed__13; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__10; lean_object* l_Lean_Elab_Term_expandSuffices___closed__1; lean_object* l_Lean_Elab_Term_elabSubst___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandSuffices___boxed(lean_object*, lean_object*, lean_object*); @@ -382,6 +375,7 @@ lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandCDot( size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Core_mkFreshUserName___at_Lean_Elab_Term_elabSubst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabDecide___boxed(lean_object*); +extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__8; lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__10; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide___closed__4; lean_object* l_Lean_Elab_Term_elabSubst___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -427,6 +421,7 @@ lean_object* l_Lean_Elab_Term_elabPanic(lean_object*, lean_object*, lean_object* lean_object* l_Lean_Elab_Term_elabTParserMacro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__3; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11; lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__2___closed__3; lean_object* l___private_Lean_HeadIndex_0__Lean_Expr_headNumArgsAux(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNativeRefl_match__1(lean_object*); @@ -438,7 +433,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_expandShow(lean_object*); extern lean_object* l_Lean_Elab_macroAttribute; extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; lean_object* l_Lean_Elab_Term_elabParserMacro(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_Data_ToString_Macro___hyg_43____closed__4; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__5; @@ -472,7 +466,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabSubst(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandCDot___boxed__const__1; lean_object* l___regBuiltin_Lean_Elab_Term_expandSorry(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeRefl___closed__3; -lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__10; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__4; lean_object* l_Lean_Elab_Term_elabNativeRefl___lambda__1___closed__4; lean_object* l_Lean_Elab_Term_elabPanic_match__1(lean_object*); @@ -516,6 +509,7 @@ lean_object* l_Lean_Elab_Term_expandAssert___closed__19; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__9; lean_object* l_Lean_Elab_getRefPos___at_Lean_Elab_Term_elabPanic___spec__2___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Init_Data_Repr___instance__2___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__22; lean_object* l___regBuiltin_Lean_Elab_Term_expandUMinus___closed__2; lean_object* l_Lean_Elab_Term_elabSubst___closed__4; uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); @@ -531,8 +525,10 @@ extern lean_object* l_Lean_Init_Prelude___instance__73; lean_object* l_Lean_Elab_Term_expandUnreachable___boxed(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandUMinus___closed__3; +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__1; lean_object* lean_expr_abstract(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide_match__1(lean_object*); +extern lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_expandBNot___closed__3; lean_object* l_Lean_Elab_Term_elabBorrowed___closed__1; @@ -554,6 +550,7 @@ lean_object* l_Lean_Elab_Term_expandInfix___boxed(lean_object*, lean_object*, le lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_hasCDot_match__1(lean_object*); lean_object* l_Lean_Elab_Term_elabStateRefT(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkPairs_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_elabSubst___spec__3___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__7; lean_object* l_Lean_Elab_Term_expandUnreachable___rarg___closed__1; @@ -604,6 +601,7 @@ extern lean_object* l_Lean_levelOne; lean_object* l_Lean_Elab_Term_elabTParserMacro___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_expandAssert___closed__17; uint8_t l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_hasCDot(lean_object*); +extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__12; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___boxed(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_Quotation_match__syntax_expand___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSubst___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1887,9 +1885,9 @@ lean_inc(x_55); x_57 = lean_array_push(x_56, x_55); x_58 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18; x_59 = lean_array_push(x_57, x_58); -x_60 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_60 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_61 = lean_array_push(x_60, x_15); -x_62 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_62 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_63 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_61); @@ -2057,7 +2055,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__3; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -2224,11 +2222,11 @@ x_307 = l_Lean_mkIdentFrom(x_11, x_306); lean_dec(x_11); x_308 = l_Array_empty___closed__1; x_309 = lean_array_push(x_308, x_307); -x_310 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_310 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_311 = lean_array_push(x_309, x_310); -x_312 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_312 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_313 = lean_array_push(x_312, x_192); -x_314 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_314 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_315 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_315, 0, x_314); lean_ctor_set(x_315, 1, x_313); @@ -2270,7 +2268,7 @@ block_246: { lean_object* x_196; uint8_t x_197; lean_dec(x_195); -x_196 = l_myMacro____x40_Init_Tactics___hyg_508____closed__9; +x_196 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5; lean_inc(x_194); x_197 = l_Lean_Syntax_isOfKind(x_194, x_196); if (x_197 == 0) @@ -2357,11 +2355,11 @@ x_218 = l_Lean_mkIdentFrom(x_11, x_217); lean_dec(x_11); x_219 = l_Array_empty___closed__1; x_220 = lean_array_push(x_219, x_218); -x_221 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_221 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_222 = lean_array_push(x_220, x_221); -x_223 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_223 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_224 = lean_array_push(x_223, x_192); -x_225 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_225 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_226 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_226, 0, x_225); lean_ctor_set(x_226, 1, x_224); @@ -2651,11 +2649,11 @@ x_154 = l_Lean_Syntax_getArg(x_11, x_153); lean_dec(x_11); x_155 = l_Array_empty___closed__1; x_156 = lean_array_push(x_155, x_36); -x_157 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_157 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_158 = lean_array_push(x_156, x_157); -x_159 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_159 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_160 = lean_array_push(x_159, x_37); -x_161 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_161 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_162 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_162, 0, x_161); lean_ctor_set(x_162, 1, x_160); @@ -2697,7 +2695,7 @@ block_89: { lean_object* x_41; uint8_t x_42; lean_dec(x_40); -x_41 = l_myMacro____x40_Init_Tactics___hyg_508____closed__9; +x_41 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5; lean_inc(x_39); x_42 = l_Lean_Syntax_isOfKind(x_39, x_41); if (x_42 == 0) @@ -2786,11 +2784,11 @@ x_61 = l_Lean_Syntax_getArg(x_11, x_60); lean_dec(x_11); x_62 = l_Array_empty___closed__1; x_63 = lean_array_push(x_62, x_36); -x_64 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_64 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_65 = lean_array_push(x_63, x_64); -x_66 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_66 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_67 = lean_array_push(x_66, x_37); -x_68 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_68 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); @@ -2929,7 +2927,7 @@ x_113 = l_Lean_Syntax_getArg(x_11, x_112); lean_dec(x_11); x_114 = l_Array_empty___closed__1; x_115 = lean_array_push(x_114, x_36); -x_116 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_116 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_117 = lean_array_push(x_115, x_116); x_118 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_118, 0, x_25); @@ -3461,7 +3459,7 @@ x_107 = l_Lean_Syntax_getArg(x_11, x_106); lean_dec(x_11); x_108 = l_Array_empty___closed__1; x_109 = lean_array_push(x_108, x_36); -x_110 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_110 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_111 = lean_array_push(x_109, x_110); x_112 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_112, 0, x_25); @@ -3602,7 +3600,7 @@ x_65 = l_Lean_Syntax_getArg(x_11, x_64); lean_dec(x_11); x_66 = l_Array_empty___closed__1; x_67 = lean_array_push(x_66, x_36); -x_68 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_68 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_69 = lean_array_push(x_67, x_68); x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_25); @@ -8508,7 +8506,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_expandAssert___closed__23; -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2; +x_2 = l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -8716,30 +8714,6 @@ static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__6; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_expandDbgTrace___closed__7; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Init_Prelude___instance__72___closed__1; x_2 = l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__7; x_3 = lean_alloc_ctor(2, 2, 0); @@ -8748,12 +8722,12 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__10() { +static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Elab_Term_expandDbgTrace___closed__9; +x_2 = l_Lean_Elab_Term_expandDbgTrace___closed__7; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -8793,10 +8767,10 @@ lean_ctor_set(x_18, 2, x_14); lean_ctor_set(x_18, 3, x_17); x_19 = l_Array_empty___closed__1; x_20 = lean_array_push(x_19, x_18); -x_21 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__4; +x_21 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__8; x_22 = l_Lean_addMacroScope(x_12, x_21, x_11); -x_23 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__2___closed__3; -x_24 = l_Lean_Elab_Term_expandDbgTrace___closed__8; +x_23 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__7; +x_24 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__12; x_25 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_25, 0, x_15); lean_ctor_set(x_25, 1, x_23); @@ -8828,7 +8802,7 @@ x_42 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); x_43 = lean_array_push(x_19, x_42); -x_44 = l_Lean_expandExplicitBindersAux_loop___closed__7; +x_44 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_45 = lean_array_push(x_44, x_7); x_46 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15; x_47 = lean_alloc_ctor(1, 2, 0); @@ -8873,7 +8847,7 @@ lean_ctor_set(x_64, 2, x_60); lean_ctor_set(x_64, 3, x_63); x_65 = l_Array_empty___closed__1; x_66 = lean_array_push(x_65, x_64); -x_67 = l_Lean_Elab_Term_expandDbgTrace___closed__10; +x_67 = l_Lean_Elab_Term_expandDbgTrace___closed__8; x_68 = lean_array_push(x_67, x_5); x_69 = l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__6; x_70 = lean_alloc_ctor(1, 2, 0); @@ -8895,7 +8869,7 @@ 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_65, x_81); -x_83 = l_Lean_expandExplicitBindersAux_loop___closed__7; +x_83 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_84 = lean_array_push(x_83, x_7); x_85 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15; x_86 = lean_alloc_ctor(1, 2, 0); @@ -9087,7 +9061,7 @@ lean_ctor_set(x_17, 0, x_7); lean_ctor_set(x_17, 1, x_15); lean_ctor_set(x_17, 2, x_14); lean_ctor_set(x_17, 3, x_16); -x_18 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_18 = l_Lean_expandExplicitBindersAux_loop___closed__1; x_19 = lean_array_push(x_18, x_17); x_20 = l_Lean_nullKind___closed__2; x_21 = lean_alloc_ctor(1, 2, 0); @@ -10809,7 +10783,7 @@ lean_object* x_70; lean_object* x_71; lean_object* x_133; uint8_t x_134; lean_dec(x_64); x_70 = l_Lean_Syntax_getArg(x_59, x_57); lean_dec(x_59); -x_133 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_133 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; lean_inc(x_70); x_134 = l_Lean_Syntax_isOfKind(x_70, x_133); if (x_134 == 0) @@ -15595,10 +15569,6 @@ l_Lean_Elab_Term_expandDbgTrace___closed__7 = _init_l_Lean_Elab_Term_expandDbgTr lean_mark_persistent(l_Lean_Elab_Term_expandDbgTrace___closed__7); l_Lean_Elab_Term_expandDbgTrace___closed__8 = _init_l_Lean_Elab_Term_expandDbgTrace___closed__8(); lean_mark_persistent(l_Lean_Elab_Term_expandDbgTrace___closed__8); -l_Lean_Elab_Term_expandDbgTrace___closed__9 = _init_l_Lean_Elab_Term_expandDbgTrace___closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_expandDbgTrace___closed__9); -l_Lean_Elab_Term_expandDbgTrace___closed__10 = _init_l_Lean_Elab_Term_expandDbgTrace___closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_expandDbgTrace___closed__10); l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__1); l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Command.c b/stage0/stdlib/Lean/Elab/Command.c index e609b5722b..81ba935ae5 100644 --- a/stage0/stdlib/Lean/Elab/Command.c +++ b/stage0/stdlib/Lean/Elab/Command.c @@ -317,7 +317,6 @@ lean_object* l_Lean_Elab_Command_Lean_Elab_Command___instance__11___closed__2; lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__9; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_head_x21___at_Lean_Elab_Command_Lean_Elab_Command___instance__4___spec__1___boxed(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -668,6 +667,7 @@ lean_object* l_Lean_Elab_Command_expandInCmd___closed__1; extern lean_object* l_Init_Data_Repr___instance__2___closed__1; lean_object* l_Lean_Elab_Command_getLevelNames(lean_object*); lean_object* l_Lean_Elab_Command_elabVariable___lambda__2___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__22; lean_object* l_Lean_Elab_Command_Context_currMacroScope___default; lean_object* l_Lean_Elab_Command_elabEvalUnsafe_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__3; @@ -21467,7 +21467,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_expandInCmd___closed__2; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -21521,7 +21521,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_expandInCmd___closed__7; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_3 = lean_array_push(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Lean/Elab/DeclModifiers.c b/stage0/stdlib/Lean/Elab/DeclModifiers.c index 50c9583a6d..123854c080 100644 --- a/stage0/stdlib/Lean/Elab/DeclModifiers.c +++ b/stage0/stdlib/Lean/Elab/DeclModifiers.c @@ -49,6 +49,7 @@ lean_object* lean_private_to_user_name(lean_object*); lean_object* l_Lean_Elab_Lean_Elab_DeclModifiers___instance__2___closed__9; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared_match__1(lean_object*); +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; extern lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -197,7 +198,6 @@ lean_object* l_Lean_Elab_mkDeclName___rarg___closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Lean_Elab_DeclModifiers___instance__2___closed__4; lean_object* l_Lean_Elab_Lean_Elab_DeclModifiers___instance__1___boxed(lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; lean_object* l_Lean_Elab_checkNotAlreadyDeclared(lean_object*); lean_object* l_Lean_Elab_expandDeclId(lean_object*); uint8_t l_Lean_Elab_isFreshInstanceName(lean_object*); @@ -1154,7 +1154,7 @@ static lean_object* _init_l_Lean_Elab_Lean_Elab_DeclModifiers___instance__2___cl _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index 01ec9891f9..9467b7b6b1 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -112,7 +112,6 @@ lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration___closed__1; extern lean_object* l_Lean_Elab_Command_expandInCmd___closed__7; lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addNamespace___closed__1; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_elabMutualInductive___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__2; @@ -143,7 +142,6 @@ lean_object* l_Lean_Elab_Term_levelMVarToParam(lean_object*, lean_object*, lean_ lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabAxiom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__3; extern lean_object* l_Lean_Elab_Command_isDefLike___closed__2; lean_object* l_Lean_Elab_Command_expandMutualNamespace___closed__1; @@ -196,7 +194,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; lean_object* l_Lean_Elab_Command_expandInitCmd___closed__21; lean_object* l_Lean_Elab_Command_expandMutualElement___closed__1; lean_object* l_Lean_Elab_Command_expandMutualPreamble___closed__1; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11; lean_object* l_Lean_Elab_Command_expandMutualPreamble___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMutual___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandInitCmd___closed__38; @@ -247,6 +244,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespa extern lean_object* l_Lean_resolveGlobalConstNoOverload___rarg___lambda__1___closed__1; lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandInitCmd___closed__27; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11; lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__1; lean_object* l_Lean_Elab_Command_expandInitCmd___closed__4; extern lean_object* l_Lean_resolveGlobalConstNoOverload___rarg___lambda__1___closed__2; @@ -301,6 +299,7 @@ lean_object* l_Lean_Elab_Command_expandInitCmd___closed__18; lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); lean_object* l_Lean_Macro_expandMacro_x3fImp(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__4(uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__22; lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_mkBinding(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*); lean_object* l_Lean_Elab_Command_expandInitCmd___closed__6; @@ -320,6 +319,7 @@ uint8_t l_Lean_Elab_Modifiers_isPrivate(lean_object*); lean_object* l_Lean_Elab_Command_elabDeclaration_match__1(lean_object*); lean_object* l_Lean_Elab_Command_expandInitCmd___closed__40; lean_object* l_Lean_Elab_Command_expandInitCmd___closed__9; +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; lean_object* l_Lean_Elab_Command_expandInitCmd___closed__8; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallUsedOnly___at_Lean_Elab_Command_elabAxiom___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -6715,7 +6715,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Tactic_evalIntro___closed__5; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -6725,7 +6725,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_expandInitCmd___closed__3; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -6735,7 +6735,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_expandInitCmd___closed__4; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -6745,7 +6745,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_expandInitCmd___closed__5; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -6755,7 +6755,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_expandInitCmd___closed__6; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -7160,7 +7160,7 @@ lean_ctor_set(x_23, 2, x_19); lean_ctor_set(x_23, 3, x_20); x_24 = l_Array_empty___closed__1; x_25 = lean_array_push(x_24, x_23); -x_26 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_26 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; lean_inc(x_25); x_27 = lean_array_push(x_25, x_26); x_28 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__3; @@ -7190,9 +7190,9 @@ x_42 = l_myMacro____x40_Init_Notation___hyg_38____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 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_44 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_45 = lean_array_push(x_44, x_43); -x_46 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_46 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_45); @@ -7391,9 +7391,9 @@ x_164 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; x_165 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_165, 0, x_164); lean_ctor_set(x_165, 1, x_163); -x_166 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_166 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_167 = lean_array_push(x_166, x_165); -x_168 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_168 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_169 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_169, 0, x_168); lean_ctor_set(x_169, 1, x_167); diff --git a/stage0/stdlib/Lean/Elab/DefView.c b/stage0/stdlib/Lean/Elab/DefView.c index bdc81b35d6..83cfa086eb 100644 --- a/stage0/stdlib/Lean/Elab/DefView.c +++ b/stage0/stdlib/Lean/Elab/DefView.c @@ -15,7 +15,6 @@ extern "C" { #endif lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandOptDeclSig(lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__5; lean_object* l_Lean_Elab_Command_mkDefView___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Elab_DefKind_isExample_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -115,6 +114,7 @@ lean_object* l_Lean_Elab_Command_isDefLike___closed__5; lean_object* l_Lean_Elab_DefKind_isExample___boxed(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_DefKind_isTheorem_match__1___rarg(uint8_t, lean_object*, lean_object*); +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__2; lean_object* l_Lean_Elab_Command_mkDefView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefView___closed__1; extern lean_object* l_Lean_Meta_mkArbitrary___rarg___closed__1; @@ -886,7 +886,7 @@ lean_ctor_set(x_25, 2, x_21); lean_ctor_set(x_25, 3, x_24); x_26 = l_Array_empty___closed__1; x_27 = lean_array_push(x_26, x_25); -x_28 = l_Lean_expandExplicitBindersAux_loop___closed__5; +x_28 = l_Lean_expandExplicitBindersAux_loop___closed__2; x_29 = lean_array_push(x_27, x_28); x_30 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; x_31 = lean_alloc_ctor(1, 2, 0); diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index de1824eeb2..718d3a85c9 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -44,7 +44,6 @@ extern lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__21; lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult_match__1(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__9; lean_object* l___regBuiltin_Lean_Elab_Term_expandTermUnless___closed__1; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__5; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); uint8_t l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasBreakContinue___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_Do_hasExitPointPred_loop___lambda__1(lean_object*, lean_object*); @@ -85,6 +84,7 @@ extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____c 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_convertTerminalActionIntoJmp_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8; 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_Meta_whnf___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeApp_x3f___spec__1(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; @@ -287,7 +287,6 @@ lean_object* l_Lean_Elab_Term_Do_eraseVars(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore_match__1___rarg___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_Do_ToCodeBlock_doTryToCode___spec__6___boxed(lean_object**); lean_object* l_Lean_Elab_Term_expandTermReturn___boxed(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13; lean_object* l_Lean_Elab_Term_Do_mkFreshJP___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_Do_ToCodeBlock_expandLiftMethod(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3___closed__3; @@ -435,6 +434,7 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_Kind_isRegular_match__1___rarg___boxed(l lean_object* l_Lean_Elab_Term_Do_eraseVars___boxed(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandTermTry___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__16; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__42; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___closed__1; @@ -494,7 +494,6 @@ lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux_match__1___rarg(lean_object*, lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___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_Elab_Term_expandFunBinders_loop___closed__7; lean_object* l_Lean_Syntax_setKind(lean_object*, lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__7; lean_object* l_Std_RBNode_appendTrees___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__1; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__7; @@ -530,7 +529,6 @@ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode(lean_object*, lean_objec extern lean_object* l_Lean_strLitKind___closed__2; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___closed__1; lean_object* l_Lean_Elab_Term_Do_hasTerminalAction_match__1(lean_object*); -extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; lean_object* l_Lean_Elab_Term_expandTermTry___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__3; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6___closed__3; @@ -625,7 +623,6 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__7; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode___boxed__const__1; lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedKind___closed__1; lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__1; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS(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_getLetEqnsDeclVar___boxed(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -789,6 +786,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlo lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__16; lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__3; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_match__2(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___boxed(lean_object*); lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__6; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2___closed__1; @@ -814,7 +812,6 @@ extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec_ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__4; lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPointCore___closed__2; lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__12; -extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore_match__1(lean_object*); @@ -883,6 +880,7 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__7; uint8_t l_Std_RBNode_any___at_Lean_Elab_Term_Do_extendUpdatedVars___spec__1(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__2(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_elabLiftMethod___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__12; lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__4; lean_object* l_Lean_Elab_Term_Do_concat_match__2(lean_object*); lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__2___closed__1; @@ -898,7 +896,6 @@ lean_object* l_Lean_Elab_Term_Do_getLetEqnsDeclVar(lean_object*); lean_object* l_Lean_Elab_Term_Do_concat___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__26; lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__1; -extern lean_object* l_Lean_mkHole___closed__1; lean_object* l_Lean_Elab_Term_Do_hasTerminalAction_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__5; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -945,6 +942,7 @@ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars_match__1(lea 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*, lean_object*); lean_object* l_Lean_Elab_Term_elabLiftMethod(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__19; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9; extern lean_object* l_myMacro____x40_Init_Notation___hyg_6759____closed__4; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore_match__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_Do_0__Lean_Elab_Term_extractBind_match__1(lean_object*); @@ -1006,6 +1004,7 @@ lean_object* l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___boxed__const__1; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_Context_mutableVars___default; lean_object* l_Lean_Elab_Term_Do_mkReturn(lean_object*, lean_object*); +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__1; lean_object* l_Lean_Elab_Term_Do_mkReassignCore(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_Do_0__Lean_Elab_Term_getDoSeqElems___closed__2; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___closed__7; @@ -1052,6 +1051,7 @@ lean_object* l_Lean_Elab_Term_Do_concat___lambda__1(lean_object*, lean_object*, lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethod_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__2___rarg(lean_object*); +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__31; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode(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_Do_Lean_Elab_Do___instance__1___closed__1; @@ -1065,6 +1065,7 @@ lean_object* l_Lean_Elab_Term_Do_insertVars___boxed(lean_object*, lean_object*); 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; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17; 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; @@ -1186,7 +1187,6 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__7; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkMonadAlias___closed__5; lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__6; lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__16; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__3; lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop_match__1(lean_object*); lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__3; extern lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19; @@ -23569,9 +23569,9 @@ lean_ctor_set(x_161, 0, x_150); lean_ctor_set(x_161, 1, x_159); lean_ctor_set(x_161, 2, x_158); lean_ctor_set(x_161, 3, x_160); -x_162 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_162 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_163 = lean_array_push(x_162, x_161); -x_164 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_164 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_165 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_165, 0, x_164); lean_ctor_set(x_165, 1, x_163); @@ -23580,7 +23580,7 @@ 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 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_169 = l_Lean_expandExplicitBindersAux_loop___closed__1; x_170 = lean_array_push(x_169, x_168); x_171 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_171, 0, x_167); @@ -23706,9 +23706,9 @@ lean_ctor_set(x_237, 0, x_226); lean_ctor_set(x_237, 1, x_235); lean_ctor_set(x_237, 2, x_234); lean_ctor_set(x_237, 3, x_236); -x_238 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_238 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_239 = lean_array_push(x_238, x_237); -x_240 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_240 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_241 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_241, 0, x_240); lean_ctor_set(x_241, 1, x_239); @@ -23717,7 +23717,7 @@ x_243 = l_Lean_nullKind___closed__2; x_244 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_244, 0, x_243); lean_ctor_set(x_244, 1, x_242); -x_245 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_245 = l_Lean_expandExplicitBindersAux_loop___closed__1; x_246 = lean_array_push(x_245, x_244); x_247 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_247, 0, x_243); @@ -23848,9 +23848,9 @@ lean_ctor_set(x_314, 0, x_303); lean_ctor_set(x_314, 1, x_312); lean_ctor_set(x_314, 2, x_311); lean_ctor_set(x_314, 3, x_313); -x_315 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_315 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_316 = lean_array_push(x_315, x_314); -x_317 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_317 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_318 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_318, 0, x_317); lean_ctor_set(x_318, 1, x_316); @@ -23859,7 +23859,7 @@ x_320 = l_Lean_nullKind___closed__2; x_321 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_321, 0, x_320); lean_ctor_set(x_321, 1, x_319); -x_322 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_322 = l_Lean_expandExplicitBindersAux_loop___closed__1; x_323 = lean_array_push(x_322, x_321); x_324 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_324, 0, x_320); @@ -24027,9 +24027,9 @@ lean_ctor_set(x_412, 0, x_401); lean_ctor_set(x_412, 1, x_410); lean_ctor_set(x_412, 2, x_409); lean_ctor_set(x_412, 3, x_411); -x_413 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_413 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_414 = lean_array_push(x_413, x_412); -x_415 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_415 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_416 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_416, 0, x_415); lean_ctor_set(x_416, 1, x_414); @@ -24038,7 +24038,7 @@ x_418 = l_Lean_nullKind___closed__2; x_419 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_419, 0, x_418); lean_ctor_set(x_419, 1, x_417); -x_420 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_420 = l_Lean_expandExplicitBindersAux_loop___closed__1; x_421 = lean_array_push(x_420, x_419); x_422 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_422, 0, x_418); @@ -25202,9 +25202,9 @@ lean_ctor_set(x_1017, 0, x_1006); lean_ctor_set(x_1017, 1, x_1015); lean_ctor_set(x_1017, 2, x_1014); lean_ctor_set(x_1017, 3, x_1016); -x_1018 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_1018 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_1019 = lean_array_push(x_1018, x_1017); -x_1020 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_1020 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_1021 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1021, 0, x_1020); lean_ctor_set(x_1021, 1, x_1019); @@ -25213,7 +25213,7 @@ x_1023 = l_Lean_nullKind___closed__2; x_1024 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1024, 0, x_1023); lean_ctor_set(x_1024, 1, x_1022); -x_1025 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_1025 = l_Lean_expandExplicitBindersAux_loop___closed__1; x_1026 = lean_array_push(x_1025, x_1024); x_1027 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1027, 0, x_1023); @@ -25354,9 +25354,9 @@ lean_ctor_set(x_1095, 0, x_1084); lean_ctor_set(x_1095, 1, x_1093); lean_ctor_set(x_1095, 2, x_1092); lean_ctor_set(x_1095, 3, x_1094); -x_1096 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_1096 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_1097 = lean_array_push(x_1096, x_1095); -x_1098 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_1098 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_1099 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1099, 0, x_1098); lean_ctor_set(x_1099, 1, x_1097); @@ -25365,7 +25365,7 @@ x_1101 = l_Lean_nullKind___closed__2; x_1102 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1102, 0, x_1101); lean_ctor_set(x_1102, 1, x_1100); -x_1103 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_1103 = l_Lean_expandExplicitBindersAux_loop___closed__1; x_1104 = lean_array_push(x_1103, x_1102); x_1105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1105, 0, x_1101); @@ -26172,7 +26172,7 @@ lean_ctor_set(x_18, 3, x_17); x_19 = l_Array_empty___closed__1; x_20 = lean_array_push(x_19, x_18); x_21 = lean_array_push(x_19, x_1); -x_22 = l_Lean_expandExplicitBindersAux_loop___closed__7; +x_22 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_23 = lean_array_push(x_22, x_2); x_24 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15; x_25 = lean_alloc_ctor(1, 2, 0); @@ -26534,9 +26534,9 @@ x_52 = l_Array_empty___closed__1; x_53 = lean_array_push(x_52, x_51); x_54 = lean_array_push(x_52, x_45); x_55 = lean_array_push(x_52, x_37); -x_56 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_56 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_57 = lean_array_push(x_56, x_39); -x_58 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_58 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); @@ -26767,9 +26767,9 @@ x_152 = l_Array_empty___closed__1; x_153 = lean_array_push(x_152, x_151); x_154 = lean_array_push(x_152, x_145); x_155 = lean_array_push(x_152, x_137); -x_156 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_156 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_157 = lean_array_push(x_156, x_139); -x_158 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_158 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_159 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_159, 0, x_158); lean_ctor_set(x_159, 1, x_157); @@ -27416,7 +27416,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPointCor _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_7 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_7 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; x_8 = l_Lean_mkAtomFrom(x_1, x_7); x_9 = l_Lean_Syntax_mkApp___closed__1; x_10 = lean_array_push(x_9, x_8); @@ -27513,7 +27513,7 @@ lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean x_17 = lean_ctor_get(x_14, 0); lean_inc(x_17); lean_dec(x_14); -x_18 = l_Lean_expandExplicitBindersAux_loop___closed__3; +x_18 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17; x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPointCore___spec__1___lambda__1(x_1, x_17, x_18, x_5, x_6, x_7); x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); @@ -27633,7 +27633,7 @@ lean_inc(x_22); lean_dec(x_5); x_23 = l_Array_empty___closed__1; x_24 = lean_array_push(x_23, x_22); -x_25 = l_Lean_expandExplicitBindersAux_loop___closed__5; +x_25 = l_Lean_expandExplicitBindersAux_loop___closed__2; x_26 = lean_array_push(x_24, x_25); x_27 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; x_28 = lean_alloc_ctor(1, 2, 0); @@ -27648,9 +27648,9 @@ x_33 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); x_34 = lean_array_push(x_30, x_33); -x_35 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_35 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_36 = lean_array_push(x_35, x_28); -x_37 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_37 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); @@ -27696,7 +27696,7 @@ lean_inc(x_59); lean_dec(x_5); x_60 = l_Array_empty___closed__1; x_61 = lean_array_push(x_60, x_59); -x_62 = l_Lean_expandExplicitBindersAux_loop___closed__5; +x_62 = l_Lean_expandExplicitBindersAux_loop___closed__2; x_63 = lean_array_push(x_61, x_62); x_64 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; x_65 = lean_alloc_ctor(1, 2, 0); @@ -27711,9 +27711,9 @@ 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_67, x_70); -x_72 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_72 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_73 = lean_array_push(x_72, x_65); -x_74 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_74 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_73); @@ -27820,7 +27820,7 @@ lean_inc(x_110); lean_dec(x_5); x_111 = l_Array_empty___closed__1; x_112 = lean_array_push(x_111, x_110); -x_113 = l_Lean_expandExplicitBindersAux_loop___closed__5; +x_113 = l_Lean_expandExplicitBindersAux_loop___closed__2; x_114 = lean_array_push(x_112, x_113); x_115 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; x_116 = lean_alloc_ctor(1, 2, 0); @@ -27835,9 +27835,9 @@ 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_118, x_121); -x_123 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_123 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_124 = lean_array_push(x_123, x_116); -x_125 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_125 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_126, 0, x_125); lean_ctor_set(x_126, 1, x_124); @@ -36222,9 +36222,9 @@ lean_ctor_set(x_83, 1, x_82); x_84 = lean_array_push(x_42, x_83); x_85 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_86 = lean_array_push(x_84, x_85); -x_87 = l_Lean_mkHole___closed__1; +x_87 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_88 = lean_name_mk_string(x_3, x_87); -x_89 = l_Lean_expandExplicitBindersAux_loop___closed__2; +x_89 = l_myMacro____x40_Init_Notation___hyg_7262____closed__16; x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_88); lean_ctor_set(x_90, 1, x_89); @@ -39875,7 +39875,7 @@ lean_ctor_set(x_269, 0, x_268); lean_ctor_set(x_269, 1, x_267); x_270 = lean_array_push(x_228, x_269); x_271 = lean_array_push(x_228, x_13); -x_272 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_272 = l_Lean_expandExplicitBindersAux_loop___closed__1; lean_inc(x_32); x_273 = lean_array_push(x_272, x_32); x_274 = lean_alloc_ctor(1, 2, 0); diff --git a/stage0/stdlib/Lean/Elab/Level.c b/stage0/stdlib/Lean/Elab/Level.c index 7fd530c87c..f781610f3b 100644 --- a/stage0/stdlib/Lean/Elab/Level.c +++ b/stage0/stdlib/Lean/Elab/Level.c @@ -87,8 +87,8 @@ lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_Elab_Level_elabLevel___closed__14; lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_Level_elabLevel___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at_Lean_Elab_Level_mkFreshLevelMVar___spec__1___boxed(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__12; lean_object* l_Lean_Elab_Level_elabLevel___closed__3; -extern lean_object* l_Lean_mkHole___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__4; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Level_Lean_Elab_Level___instance__1___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -891,7 +891,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Level_elabLevel___closed__2; -x_2 = l_Lean_mkHole___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index 111074c27a..7eb80e34d4 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -72,6 +72,7 @@ extern lean_object* l_Lean_nullKind; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__6; lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux(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_7262____closed__8; lean_object* l_Lean_Elab_Term_elabMatch_match__25(lean_object*); lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMatch_match__12___rarg(lean_object*, lean_object*, lean_object*); @@ -241,7 +242,6 @@ lean_object* l_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___lambda lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(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_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isAuxDiscrName___closed__2; lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_finalizePatternDecls___spec__2___closed__3; @@ -474,7 +474,6 @@ lean_object* l_Lean_Elab_Term_elabMatch_match__26(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__19; lean_object* l_Lean_Elab_Term_CollectPatternVars_resolveId_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1(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_expandExplicitBindersAux_loop___closed__11; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_withDepElimPatterns___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorAppAux_match__2(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux_match__1___rarg(lean_object*, lean_object*); @@ -578,6 +577,7 @@ lean_object* l_Lean_Elab_Term_elabMVarWithIdKind___boxed(lean_object*, lean_obje lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchCore___spec__1(size_t, size_t, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMatch_match__1(lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); @@ -597,7 +597,6 @@ extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec_ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts_match__1(lean_object*); lean_object* l_Lean_Elab_Term_Lean_Elab_Match___instance__1_match__1(lean_object*); lean_object* l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___spec__1(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_Data_ToString_Macro___hyg_43____closed__4; lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); @@ -741,7 +740,6 @@ lean_object* l_Lean_Elab_Term_ToDepElimPattern_main_match__1___rarg(lean_object* lean_object* l_Lean_Elab_Term_elabMatchAltView___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_mkHole___closed__2; uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_main___spec__5(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__7; lean_object* l_Lean_Meta_inferType___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -762,11 +760,13 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_pr uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__1___closed__3; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_processExplicitArg___closed__2; lean_object* l_Lean_Elab_Term_CollectPatternVars_main___boxed__const__1; extern lean_object* l_Lean_mkOptionalNode___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withDepElimPatterns___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___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns_match__3___rarg(lean_object*, lean_object*); lean_object* lean_nat_mod(lean_object*, lean_object*); @@ -781,6 +781,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_th lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__3; extern lean_object* l___private_Init_Meta_0__Lean_quoteName___closed__3; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__6; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13; lean_object* l_Lean_Elab_Term_withDepElimPatterns_match__1(lean_object*); lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_processCtorApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -884,7 +885,6 @@ lean_object* l_Lean_Elab_Term_Lean_Elab_Match___instance__1(lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1___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_Term_CollectPatternVars_collect___closed__1; lean_object* l_Lean_Meta_Match_Pattern_toExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__3; lean_object* l_Lean_Elab_Term_elabMatch_match__23___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__1; @@ -1040,9 +1040,9 @@ x_18 = l_Array_empty___closed__1; x_19 = lean_array_push(x_18, x_3); x_20 = l_myMacro____x40_Init_Notation___hyg_6360____closed__18; x_21 = lean_array_push(x_19, x_20); -x_22 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_22 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_23 = lean_array_push(x_22, x_4); -x_24 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_24 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); @@ -6156,7 +6156,7 @@ static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectP _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__3; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -8970,7 +8970,7 @@ x_49 = lean_array_push(x_47, x_33); x_50 = l_Lean_Syntax_mkStrLit(x_31, x_43); lean_dec(x_31); x_51 = lean_array_push(x_49, x_50); -x_52 = l_Lean_expandExplicitBindersAux_loop___closed__3; +x_52 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17; x_53 = lean_array_push(x_51, x_52); x_54 = l_Lean_nullKind___closed__2; x_55 = lean_alloc_ctor(1, 2, 0); @@ -9008,7 +9008,7 @@ x_69 = lean_array_push(x_67, x_33); x_70 = l_Lean_Syntax_mkStrLit(x_31, x_63); lean_dec(x_31); x_71 = lean_array_push(x_69, x_70); -x_72 = l_Lean_expandExplicitBindersAux_loop___closed__3; +x_72 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17; x_73 = lean_array_push(x_71, x_72); x_74 = l_Lean_nullKind___closed__2; x_75 = lean_alloc_ctor(1, 2, 0); @@ -9068,7 +9068,7 @@ x_100 = l_Nat_repr(x_81); x_101 = l_Lean_numLitKind; x_102 = l_Lean_Syntax_mkLit(x_101, x_100, x_93); x_103 = lean_array_push(x_99, x_102); -x_104 = l_Lean_expandExplicitBindersAux_loop___closed__3; +x_104 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17; x_105 = lean_array_push(x_103, x_104); x_106 = l_Lean_nullKind___closed__2; x_107 = lean_alloc_ctor(1, 2, 0); @@ -9107,7 +9107,7 @@ x_122 = l_Nat_repr(x_81); x_123 = l_Lean_numLitKind; x_124 = l_Lean_Syntax_mkLit(x_123, x_122, x_115); x_125 = lean_array_push(x_121, x_124); -x_126 = l_Lean_expandExplicitBindersAux_loop___closed__3; +x_126 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17; x_127 = lean_array_push(x_125, x_126); x_128 = l_Lean_nullKind___closed__2; x_129 = lean_alloc_ctor(1, 2, 0); @@ -9888,7 +9888,7 @@ x_34 = lean_name_eq(x_10, x_33); if (x_34 == 0) { lean_object* x_35; uint8_t x_36; -x_35 = l_Lean_mkHole___closed__2; +x_35 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_36 = lean_name_eq(x_10, x_35); if (x_36 == 0) { @@ -10369,7 +10369,7 @@ lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; x_157 = l_Lean_Syntax_getArg(x_155, x_153); lean_inc(x_157); x_158 = l_Lean_Syntax_getKind(x_157); -x_159 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_159 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_160 = lean_name_eq(x_158, x_159); lean_dec(x_158); if (x_160 == 0) @@ -10651,7 +10651,7 @@ lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; x_226 = l_Lean_Syntax_getArg(x_224, x_222); lean_inc(x_226); x_227 = l_Lean_Syntax_getKind(x_226); -x_228 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_228 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_229 = lean_name_eq(x_227, x_228); lean_dec(x_227); if (x_229 == 0) @@ -11286,7 +11286,7 @@ x_373 = lean_name_eq(x_10, x_372); if (x_373 == 0) { lean_object* x_374; uint8_t x_375; -x_374 = l_Lean_mkHole___closed__2; +x_374 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_375 = lean_name_eq(x_10, x_374); if (x_375 == 0) { @@ -11646,7 +11646,7 @@ lean_object* x_450; lean_object* x_451; lean_object* x_452; uint8_t x_453; x_450 = l_Lean_Syntax_getArg(x_448, x_446); lean_inc(x_450); x_451 = l_Lean_Syntax_getKind(x_450); -x_452 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_452 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_453 = lean_name_eq(x_451, x_452); lean_dec(x_451); if (x_453 == 0) @@ -12221,7 +12221,7 @@ x_568 = lean_name_eq(x_10, x_567); if (x_568 == 0) { lean_object* x_569; uint8_t x_570; -x_569 = l_Lean_mkHole___closed__2; +x_569 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_570 = lean_name_eq(x_10, x_569); if (x_570 == 0) { @@ -12589,7 +12589,7 @@ lean_object* x_649; lean_object* x_650; lean_object* x_651; uint8_t x_652; x_649 = l_Lean_Syntax_getArg(x_647, x_645); lean_inc(x_649); x_650 = l_Lean_Syntax_getKind(x_649); -x_651 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_651 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_652 = lean_name_eq(x_650, x_651); lean_dec(x_650); if (x_652 == 0) @@ -13187,7 +13187,7 @@ x_777 = lean_name_eq(x_10, x_776); if (x_777 == 0) { lean_object* x_778; uint8_t x_779; -x_778 = l_Lean_mkHole___closed__2; +x_778 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_779 = lean_name_eq(x_10, x_778); if (x_779 == 0) { @@ -13575,7 +13575,7 @@ lean_object* x_858; lean_object* x_859; lean_object* x_860; uint8_t x_861; x_858 = l_Lean_Syntax_getArg(x_856, x_854); lean_inc(x_858); x_859 = l_Lean_Syntax_getKind(x_858); -x_860 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_860 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_861 = lean_name_eq(x_859, x_860); lean_dec(x_859); if (x_861 == 0) @@ -14216,7 +14216,7 @@ x_996 = lean_name_eq(x_10, x_995); if (x_996 == 0) { lean_object* x_997; uint8_t x_998; -x_997 = l_Lean_mkHole___closed__2; +x_997 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_998 = lean_name_eq(x_10, x_997); if (x_998 == 0) { @@ -14604,7 +14604,7 @@ lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; uint8_t x_1080; x_1077 = l_Lean_Syntax_getArg(x_1075, x_1073); lean_inc(x_1077); x_1078 = l_Lean_Syntax_getKind(x_1077); -x_1079 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_1079 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_1080 = lean_name_eq(x_1078, x_1079); lean_dec(x_1078); if (x_1080 == 0) @@ -29284,7 +29284,7 @@ else lean_object* x_106; lean_object* x_107; uint8_t x_108; x_106 = l_Lean_Syntax_getArg(x_98, x_80); lean_dec(x_98); -x_107 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_107 = l_Lean_expandExplicitBindersAux_loop___closed__8; lean_inc(x_106); x_108 = l_Lean_Syntax_isOfKind(x_106, x_107); if (x_108 == 0) diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c index a3d8cefd5f..ad4aa3b719 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c @@ -227,7 +227,7 @@ lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replace lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_findRecArg___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_ensureNoRecFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_3474_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_3484_(lean_object*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_throwStructuralFailed___rarg___closed__2; lean_object* l_Lean_hasConst___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_findRecArg_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -8128,73 +8128,122 @@ return x_2; lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = l_Lean_Expr_Lean_Expr___instance__11; x_16 = lean_array_get(x_15, x_1, x_2); -x_17 = lean_ctor_get(x_5, 6); -lean_inc(x_17); -x_18 = lean_array_get_size(x_17); -lean_dec(x_17); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_6); -x_19 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_toBelow(x_6, x_18, x_16, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_19) == 0) +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_17 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop(x_3, x_4, x_5, x_16, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -lean_dec(x_8); -x_20 = lean_ctor_get(x_19, 0); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_4, 6); lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__1(x_1, x_3, x_4, x_5, x_6, x_7, x_20, x_10, x_11, x_12, x_13, x_21); -return x_22; +x_21 = lean_array_get_size(x_20); +lean_dec(x_20); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_5); +x_22 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_toBelow(x_5, x_21, x_18, x_10, x_11, x_12, x_13, x_19); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_8); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__1(x_1, x_6, x_3, x_4, x_5, x_7, x_23, x_10, x_11, x_12, x_13, x_24); +return x_25; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +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; uint8_t x_33; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_23 = lean_ctor_get(x_19, 1); -lean_inc(x_23); -lean_dec(x_19); -x_24 = l_Lean_indentExpr(x_8); -x_25 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__2___closed__2; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -x_27 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__5___rarg(x_28, x_10, x_11, x_12, x_13, x_23); +x_26 = lean_ctor_get(x_22, 1); +lean_inc(x_26); +lean_dec(x_22); +x_27 = l_Lean_indentExpr(x_8); +x_28 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__2___closed__2; +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__5___rarg(x_31, x_10, x_11, x_12, x_13, x_26); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) { -return x_29; +return x_32; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_29, 0); -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_29); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_32, 0); +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_32); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +uint8_t x_37; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_37 = !lean_is_exclusive(x_17); +if (x_37 == 0) +{ +return x_17; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_17, 0); +x_39 = lean_ctor_get(x_17, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_17); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } @@ -8387,7 +8436,7 @@ if (x_51 == 0) { lean_object* x_52; lean_object* x_53; x_52 = lean_box(0); -x_53 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__2(x_6, x_49, x_47, x_1, x_2, x_3, x_48, x_4, x_52, x_8, x_9, x_10, x_11, x_12); +x_53 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__2(x_6, x_49, x_1, x_2, x_3, x_47, x_48, x_4, x_52, x_8, x_9, x_10, x_11, x_12); lean_dec(x_48); lean_dec(x_49); return x_53; @@ -8748,73 +8797,122 @@ return x_31; lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__6___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = l_Lean_Expr_Lean_Expr___instance__11; x_16 = lean_array_get(x_15, x_1, x_2); -x_17 = lean_ctor_get(x_5, 6); -lean_inc(x_17); -x_18 = lean_array_get_size(x_17); -lean_dec(x_17); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_6); -x_19 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_toBelow(x_6, x_18, x_16, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_19) == 0) +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_17 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop(x_3, x_4, x_5, x_16, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -lean_dec(x_8); -x_20 = lean_ctor_get(x_19, 0); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_4, 6); lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__6___lambda__1(x_1, x_3, x_4, x_5, x_6, x_7, x_20, x_10, x_11, x_12, x_13, x_21); -return x_22; +x_21 = lean_array_get_size(x_20); +lean_dec(x_20); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_5); +x_22 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_toBelow(x_5, x_21, x_18, x_10, x_11, x_12, x_13, x_19); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_8); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__6___lambda__1(x_1, x_6, x_3, x_4, x_5, x_7, x_23, x_10, x_11, x_12, x_13, x_24); +return x_25; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +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; uint8_t x_33; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_23 = lean_ctor_get(x_19, 1); -lean_inc(x_23); -lean_dec(x_19); -x_24 = l_Lean_indentExpr(x_8); -x_25 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__2___closed__2; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -x_27 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__5___rarg(x_28, x_10, x_11, x_12, x_13, x_23); +x_26 = lean_ctor_get(x_22, 1); +lean_inc(x_26); +lean_dec(x_22); +x_27 = l_Lean_indentExpr(x_8); +x_28 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__3___lambda__2___closed__2; +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_throwError___at_Lean_Meta_forallTelescopeCompatibleAux___spec__5___rarg(x_31, x_10, x_11, x_12, x_13, x_26); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) { -return x_29; +return x_32; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_29, 0); -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_29); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_32, 0); +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_32); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +uint8_t x_37; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_37 = !lean_is_exclusive(x_17); +if (x_37 == 0) +{ +return x_17; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_17, 0); +x_39 = lean_ctor_get(x_17, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_17); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } @@ -8990,7 +9088,7 @@ if (x_51 == 0) { lean_object* x_52; lean_object* x_53; x_52 = lean_box(0); -x_53 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__6___lambda__2(x_6, x_49, x_47, x_1, x_2, x_3, x_48, x_4, x_52, x_8, x_9, x_10, x_11, x_12); +x_53 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_replaceRecApps_loop___spec__6___lambda__2(x_6, x_49, x_1, x_2, x_3, x_47, x_48, x_4, x_52, x_8, x_9, x_10, x_11, x_12); lean_dec(x_48); lean_dec(x_49); return x_53; @@ -12388,7 +12486,7 @@ return x_32; } } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_3474_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_3484_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -12602,7 +12700,7 @@ l_Lean_Elab_structuralRecursion___closed__3 = _init_l_Lean_Elab_structuralRecurs lean_mark_persistent(l_Lean_Elab_structuralRecursion___closed__3); l_Lean_Elab_structuralRecursion___closed__4 = _init_l_Lean_Elab_structuralRecursion___closed__4(); lean_mark_persistent(l_Lean_Elab_structuralRecursion___closed__4); -res = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_3474_(lean_io_mk_world()); +res = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_3484_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index eb8e4a5793..2e0a6686c8 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -199,7 +199,6 @@ lean_object* l_Lean_Elab_Term_Quotation_Lean_Elab_Quotation___instance__1___clos lean_object* l_Lean_Syntax_mkCApp(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_elimAntiquotChoices___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__3; -lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; lean_object* l_Lean_Elab_Term_Quotation_elabLevelQuot___closed__1; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__8; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__4; @@ -222,7 +221,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSy lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_Lean_Elab_Term___instance__7___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__21; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__3___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__7; lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__1(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__1; lean_object* l_Lean_Elab_Term_Quotation_isAntiquotSplicePat___boxed(lean_object*); @@ -412,6 +410,7 @@ extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____c lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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___lambda__2___closed__6; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__22; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__5; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__12; lean_object* l_Array_toList___rarg(lean_object*); @@ -431,7 +430,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabDoElemQuot___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__58; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabDoElemQuot___closed__2; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__5; -extern lean_object* l_Lean_mkHole___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__5; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabStxQuot(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__10; @@ -443,17 +441,20 @@ 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_getHeadInfo___elambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17; extern lean_object* l_Lean_Meta_mkPure___rarg___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__14; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___closed__2; lean_object* l_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__5; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13; extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__10; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__18; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__1; lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___spec__1(lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8___closed__6; +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__4; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__15; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); @@ -507,7 +508,6 @@ 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__43; lean_object* l_Lean_Elab_Term_Quotation_unescapeAntiquot(lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__3; lean_object* l_Lean_Elab_Term_Quotation_HeadInfo_generalizes___boxed(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*); @@ -5697,7 +5697,7 @@ x_4 = l_Lean_Syntax_isIdent(x_3); if (x_4 == 0) { lean_object* x_5; uint8_t x_6; -x_5 = l_Lean_mkHole___closed__2; +x_5 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; lean_inc(x_3); x_6 = l_Lean_Syntax_isOfKind(x_3, x_5); if (x_6 == 0) @@ -6200,7 +6200,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explode _start: { lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_expandExplicitBindersAux_loop___closed__3; +x_4 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); lean_ctor_set(x_5, 1, x_3); @@ -10354,18 +10354,6 @@ x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_nullKind___closed__2; -x_2 = l_Array_empty___closed__1; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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: { @@ -10518,7 +10506,7 @@ x_71 = lean_array_push(x_69, x_70); x_72 = lean_array_push(x_71, x_70); x_73 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16; x_74 = lean_array_push(x_72, x_73); -x_75 = l_Lean_expandExplicitBindersAux_loop___closed__7; +x_75 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_76 = lean_array_push(x_75, x_18); x_77 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15; x_78 = lean_alloc_ctor(1, 2, 0); @@ -10572,7 +10560,7 @@ x_102 = lean_array_push(x_100, x_101); x_103 = lean_array_push(x_102, x_101); x_104 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16; x_105 = lean_array_push(x_103, x_104); -x_106 = l_Lean_expandExplicitBindersAux_loop___closed__7; +x_106 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_107 = lean_array_push(x_106, x_18); x_108 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15; x_109 = lean_alloc_ctor(1, 2, 0); @@ -10740,7 +10728,7 @@ x_165 = lean_array_push(x_163, x_164); x_166 = lean_array_push(x_165, x_164); x_167 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16; x_168 = lean_array_push(x_166, x_167); -x_169 = l_Lean_expandExplicitBindersAux_loop___closed__7; +x_169 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_170 = lean_array_push(x_169, x_18); x_171 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15; x_172 = lean_alloc_ctor(1, 2, 0); @@ -10953,7 +10941,7 @@ lean_ctor_set(x_251, 2, x_250); lean_ctor_set(x_251, 3, x_218); x_252 = l_Array_empty___closed__1; x_253 = lean_array_push(x_252, x_251); -x_254 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_254 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_255 = lean_array_push(x_253, x_254); x_256 = lean_array_push(x_255, x_254); x_257 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16; @@ -10996,7 +10984,7 @@ lean_ctor_set(x_275, 2, x_274); lean_ctor_set(x_275, 3, x_218); x_276 = l_Array_empty___closed__1; x_277 = lean_array_push(x_276, x_275); -x_278 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_278 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_279 = lean_array_push(x_277, x_278); x_280 = lean_array_push(x_279, x_278); x_281 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16; @@ -11153,7 +11141,7 @@ lean_ctor_set(x_331, 2, x_330); lean_ctor_set(x_331, 3, x_218); x_332 = l_Array_empty___closed__1; x_333 = lean_array_push(x_332, x_331); -x_334 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_334 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_335 = lean_array_push(x_333, x_334); x_336 = lean_array_push(x_335, x_334); x_337 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16; @@ -11375,7 +11363,7 @@ lean_ctor_set(x_413, 2, x_412); lean_ctor_set(x_413, 3, x_374); x_414 = l_Array_empty___closed__1; x_415 = lean_array_push(x_414, x_413); -x_416 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_416 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_417 = lean_array_push(x_415, x_416); x_418 = lean_array_push(x_417, x_416); x_419 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16; @@ -11609,7 +11597,7 @@ x_500 = lean_array_push(x_498, x_499); x_501 = lean_array_push(x_500, x_499); x_502 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16; x_503 = lean_array_push(x_501, x_502); -x_504 = l_Lean_expandExplicitBindersAux_loop___closed__7; +x_504 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_505 = lean_array_push(x_504, x_441); x_506 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15; x_507 = lean_alloc_ctor(1, 2, 0); @@ -11856,7 +11844,7 @@ lean_ctor_set(x_591, 2, x_590); lean_ctor_set(x_591, 3, x_551); x_592 = l_Array_empty___closed__1; x_593 = lean_array_push(x_592, x_591); -x_594 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_594 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_595 = lean_array_push(x_593, x_594); x_596 = lean_array_push(x_595, x_594); x_597 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16; @@ -12106,7 +12094,7 @@ x_681 = lean_array_push(x_679, x_680); x_682 = lean_array_push(x_681, x_680); x_683 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16; x_684 = lean_array_push(x_682, x_683); -x_685 = l_Lean_expandExplicitBindersAux_loop___closed__7; +x_685 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_686 = lean_array_push(x_685, x_620); x_687 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15; x_688 = lean_alloc_ctor(1, 2, 0); @@ -12356,7 +12344,7 @@ lean_ctor_set(x_772, 2, x_771); lean_ctor_set(x_772, 3, x_732); x_773 = l_Array_empty___closed__1; x_774 = lean_array_push(x_773, x_772); -x_775 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_775 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_776 = lean_array_push(x_774, x_775); x_777 = lean_array_push(x_776, x_775); x_778 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16; @@ -13455,8 +13443,6 @@ l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__11); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__12 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__12(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__12); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13); l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3___lambda__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3___lambda__2___closed__1(); lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3___lambda__2___closed__1); l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3___lambda__2___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3___lambda__2___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/StructInst.c b/stage0/stdlib/Lean/Elab/StructInst.c index e10cd00003..07bfc5efec 100644 --- a/stage0/stdlib/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Lean/Elab/StructInst.c @@ -58,6 +58,7 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getSt lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSubstructSource(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__8(lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8; lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce_match__2___rarg(lean_object*, lean_object*, lean_object*); @@ -148,6 +149,7 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_StructInst_DefaultFields_prop lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getHierarchyDepth_match__1(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_ref(lean_object*); lean_object* l_Lean_Elab_Term_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields_match__1(lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); @@ -202,7 +204,6 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isMod lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__5; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_propagate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Field_toSyntax___closed__1; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__4; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux_match__3(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); @@ -504,6 +505,7 @@ lean_object* l_Std_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_collectStructNames_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_StructInst_Field_toSyntax___spec__1(size_t, size_t, lean_object*); lean_object* lean_instantiate_value_lparams(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11; lean_object* l_Lean_Syntax_getSepArgs(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg___closed__2; lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___boxed(lean_object*, lean_object*, lean_object*); @@ -519,7 +521,6 @@ extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec_ lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f_match__1(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getForallBody_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__1___closed__2; -extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg___closed__4; lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -662,7 +663,6 @@ extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__2___closed__6; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__4(size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields_match__1(lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkStructView___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10___closed__1; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -777,9 +777,9 @@ x_9 = l_Lean_mkOptionalNode___closed__1; x_10 = l_Lean_Syntax_setArg(x_1, x_4, x_9); x_11 = l_Array_empty___closed__1; x_12 = lean_array_push(x_11, x_10); -x_13 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_13 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_14 = lean_array_push(x_13, x_8); -x_15 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_15 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -5650,7 +5650,7 @@ static lean_object* _init_l_Lean_Elab_Term_StructInst_formatStruct___closed__2() _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index 002717afac..b750debad3 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -102,6 +102,7 @@ lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___boxed(lea lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_elabModifiers___rarg___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_collectUsedFVarsAtFVars___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure_match__1(lean_object*); @@ -205,7 +206,6 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___r lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVars___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -extern lean_object* l_Lean_Name_appendIndexAfter___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_validStructType(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -222,6 +222,7 @@ lean_object* l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkProjection___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__16; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___boxed__const__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkProjections___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_removeUnused_match__1(lean_object*); @@ -521,7 +522,6 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultin lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__4; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__2; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); @@ -12950,7 +12950,7 @@ default: { lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; x_36 = l_Lean_LocalDecl_userName(x_19); -x_37 = l_Lean_Name_appendIndexAfter___closed__1; +x_37 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14; x_38 = l_Lean_Name_appendBefore(x_36, x_37); x_39 = l_Lean_LocalDecl_binderInfo(x_19); x_40 = l_Lean_LocalDecl_type(x_19); @@ -16904,7 +16904,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Level_elabLevel___closed__6; -x_2 = l_Lean_expandExplicitBindersAux_loop___closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__16; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index d38750ddc8..2e45eba3fb 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -142,7 +142,6 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__20; lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__12; extern lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1; lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___closed__24; @@ -221,7 +220,6 @@ lean_object* l_Lean_Elab_Command_expandElab___closed__17; lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__3; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__54; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13; lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__42; lean_object* l_Lean_Elab_Command_expandMixfix___closed__13; @@ -321,7 +319,6 @@ lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntax(lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___closed__27; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__3; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); -extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3419____closed__9; lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___boxed(lean_object*, lean_object*, lean_object*); @@ -455,7 +452,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; lean_object* l_Nat_pred(lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; lean_object* l_Lean_Elab_Command_expandElab___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__34; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__5; @@ -476,6 +472,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__2___closed__3; extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__3; lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__23; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__10; lean_object* l_Lean_Elab_Command_expandMixfix___closed__19; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__3(lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); @@ -549,6 +546,7 @@ lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___spec__1___rarg(lean_object*); lean_object* l_Lean_Macro_throwError___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__24; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11; lean_object* l_Lean_Elab_Command_elabSyntax___closed__4; lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__1___closed__4; lean_object* l_Lean_Name_appendAfter(lean_object*, lean_object*); @@ -568,7 +566,6 @@ extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__13; lean_object* l_Lean_Elab_Command_expandElab___closed__16; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__3; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__6; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__3; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isAtomLikeSyntax___boxed(lean_object*); @@ -665,6 +662,7 @@ lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev(lean_object*, lean_object*, le lean_object* l_Lean_Macro_expandMacro_x3fImp(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__4; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__22; lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescrAux___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__18; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__3; @@ -708,6 +706,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__4; lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_syntax_ident(lean_object*); +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_toNat(lean_object*); @@ -715,6 +714,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__9; lean_object* l_Lean_Elab_Command_elabMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__1; extern lean_object* l_Lean_mkOptionalNode___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17; extern lean_object* l_Lean_Format_paren___closed__3; lean_object* l_Lean_Elab_Command_expandElab___closed__19; lean_object* l_Lean_Elab_Command_elabMacro___closed__1; @@ -8291,9 +8291,9 @@ lean_ctor_set(x_57, 0, x_21); lean_ctor_set(x_57, 1, x_55); lean_ctor_set(x_57, 2, x_54); lean_ctor_set(x_57, 3, x_56); -x_58 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_58 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_59 = lean_array_push(x_58, x_57); -x_60 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_60 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_61 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_61, 0, x_60); lean_ctor_set(x_61, 1, x_59); @@ -10268,9 +10268,9 @@ lean_ctor_set(x_80, 0, x_45); lean_ctor_set(x_80, 1, x_78); lean_ctor_set(x_80, 2, x_77); lean_ctor_set(x_80, 3, x_79); -x_81 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_81 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_82 = lean_array_push(x_81, x_80); -x_83 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_83 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_84 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_84, 0, x_83); lean_ctor_set(x_84, 1, x_82); @@ -10406,9 +10406,9 @@ lean_ctor_set(x_165, 0, x_130); lean_ctor_set(x_165, 1, x_163); lean_ctor_set(x_165, 2, x_162); lean_ctor_set(x_165, 3, x_164); -x_166 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_166 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_167 = lean_array_push(x_166, x_165); -x_168 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_168 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_169 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_169, 0, x_168); lean_ctor_set(x_169, 1, x_167); @@ -10950,9 +10950,9 @@ lean_ctor_set(x_37, 0, x_34); lean_ctor_set(x_37, 1, x_35); lean_ctor_set(x_37, 2, x_33); lean_ctor_set(x_37, 3, x_36); -x_38 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_38 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_39 = lean_array_push(x_38, x_37); -x_40 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_40 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -11773,7 +11773,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__6; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__3; x_2 = l_myMacro____x40_Init_Notation___hyg_6360____closed__17; x_3 = lean_array_push(x_1, x_2); return x_3; @@ -12061,9 +12061,9 @@ lean_ctor_set(x_65, 0, x_19); lean_ctor_set(x_65, 1, x_63); lean_ctor_set(x_65, 2, x_62); lean_ctor_set(x_65, 3, x_64); -x_66 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_66 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_67 = lean_array_push(x_66, x_65); -x_68 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_68 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_69 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); @@ -12273,9 +12273,9 @@ lean_ctor_set(x_188, 0, x_142); lean_ctor_set(x_188, 1, x_186); lean_ctor_set(x_188, 2, x_185); lean_ctor_set(x_188, 3, x_187); -x_189 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_189 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_190 = lean_array_push(x_189, x_188); -x_191 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_191 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_192 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_192, 0, x_191); lean_ctor_set(x_192, 1, x_190); @@ -12926,7 +12926,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__4; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -14213,7 +14213,7 @@ x_353 = l_Lean_Syntax_getArg(x_1, x_348); x_354 = lean_unsigned_to_nat(4u); x_355 = l_Lean_Syntax_getArg(x_1, x_354); lean_dec(x_1); -x_356 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_356 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_357 = lean_array_push(x_356, x_352); x_358 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_358, 0, x_342); @@ -14382,7 +14382,7 @@ lean_inc(x_54); x_55 = lean_ctor_get(x_2, 1); lean_inc(x_55); lean_dec(x_2); -x_56 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_56 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_57 = lean_array_push(x_56, x_50); x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_40); @@ -14405,7 +14405,7 @@ lean_ctor_set(x_69, 1, x_68); lean_ctor_set(x_69, 2, x_65); lean_ctor_set(x_69, 3, x_66); x_70 = lean_array_push(x_59, x_69); -x_71 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_71 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; lean_inc(x_70); x_72 = lean_array_push(x_70, x_71); x_73 = l_Lean_Elab_Command_expandMixfix___closed__14; @@ -14560,7 +14560,7 @@ lean_inc(x_121); x_122 = lean_ctor_get(x_2, 1); lean_inc(x_122); lean_dec(x_2); -x_123 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_123 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_124 = lean_array_push(x_123, x_117); x_125 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_125, 0, x_107); @@ -14761,7 +14761,7 @@ lean_inc(x_199); x_200 = lean_ctor_get(x_2, 1); lean_inc(x_200); lean_dec(x_2); -x_201 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_201 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_202 = lean_array_push(x_201, x_189); x_203 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_203, 0, x_179); @@ -14785,7 +14785,7 @@ lean_ctor_set(x_213, 1, x_212); lean_ctor_set(x_213, 2, x_210); lean_ctor_set(x_213, 3, x_211); x_214 = lean_array_push(x_204, x_213); -x_215 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_215 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; lean_inc(x_214); x_216 = lean_array_push(x_214, x_215); x_217 = l_Lean_Elab_Command_expandMixfix___closed__14; @@ -14960,7 +14960,7 @@ lean_inc(x_277); x_278 = lean_ctor_get(x_2, 1); lean_inc(x_278); lean_dec(x_2); -x_279 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_279 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_280 = lean_array_push(x_279, x_273); x_281 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_281, 0, x_263); @@ -14986,7 +14986,7 @@ lean_ctor_set(x_292, 1, x_291); lean_ctor_set(x_292, 2, x_288); lean_ctor_set(x_292, 3, x_289); x_293 = lean_array_push(x_282, x_292); -x_294 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_294 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; lean_inc(x_293); x_295 = lean_array_push(x_293, x_294); x_296 = l_Lean_Elab_Command_expandMixfix___closed__14; @@ -15942,7 +15942,7 @@ x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_51); lean_ctor_set(x_56, 1, x_55); x_57 = lean_array_push(x_54, x_56); -x_58 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_58 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_59 = lean_array_push(x_57, x_58); x_60 = lean_array_push(x_59, x_23); x_61 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -16004,7 +16004,7 @@ lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean x_93 = lean_ctor_get(x_3, 0); lean_inc(x_93); lean_dec(x_3); -x_94 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_94 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_95 = lean_array_push(x_94, x_93); x_96 = l_Lean_Elab_Command_expandMixfix___closed__8; x_97 = lean_alloc_ctor(1, 2, 0); @@ -16038,7 +16038,7 @@ x_115 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_115, 0, x_100); lean_ctor_set(x_115, 1, x_114); x_116 = lean_array_push(x_113, x_115); -x_117 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_117 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_118 = lean_array_push(x_116, x_117); x_119 = lean_array_push(x_118, x_23); x_120 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -16142,7 +16142,7 @@ x_176 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_176, 0, x_171); lean_ctor_set(x_176, 1, x_175); x_177 = lean_array_push(x_174, x_176); -x_178 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_178 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_179 = lean_array_push(x_177, x_178); x_180 = lean_array_push(x_179, x_23); x_181 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -16206,7 +16206,7 @@ lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; x_214 = lean_ctor_get(x_3, 0); lean_inc(x_214); lean_dec(x_3); -x_215 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_215 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_216 = lean_array_push(x_215, x_214); x_217 = l_Lean_Elab_Command_expandMixfix___closed__8; x_218 = lean_alloc_ctor(1, 2, 0); @@ -16240,7 +16240,7 @@ x_236 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_236, 0, x_221); lean_ctor_set(x_236, 1, x_235); x_237 = lean_array_push(x_234, x_236); -x_238 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_238 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_239 = lean_array_push(x_237, x_238); x_240 = lean_array_push(x_239, x_23); x_241 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -17545,7 +17545,7 @@ x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_59); lean_ctor_set(x_81, 1, x_80); x_82 = lean_array_push(x_79, x_81); -x_83 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_83 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_84 = lean_array_push(x_82, x_83); x_85 = lean_array_push(x_84, x_17); x_86 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -17642,7 +17642,7 @@ x_144 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_144, 0, x_122); lean_ctor_set(x_144, 1, x_143); x_145 = lean_array_push(x_142, x_144); -x_146 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_146 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_147 = lean_array_push(x_145, x_146); x_148 = lean_array_push(x_147, x_17); x_149 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -17756,7 +17756,7 @@ x_213 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_213, 0, x_191); lean_ctor_set(x_213, 1, x_212); x_214 = lean_array_push(x_211, x_213); -x_215 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_215 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_216 = lean_array_push(x_214, x_215); x_217 = lean_array_push(x_216, x_17); x_218 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -17855,7 +17855,7 @@ x_277 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_277, 0, x_255); lean_ctor_set(x_277, 1, x_276); x_278 = lean_array_push(x_275, x_277); -x_279 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_279 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_280 = lean_array_push(x_278, x_279); x_281 = lean_array_push(x_280, x_17); x_282 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -19178,7 +19178,7 @@ x_97 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_97, 0, x_76); lean_ctor_set(x_97, 1, x_96); x_98 = lean_array_push(x_95, x_97); -x_99 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_99 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_100 = lean_array_push(x_98, x_99); x_101 = lean_array_push(x_100, x_17); x_102 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -19222,7 +19222,7 @@ lean_ctor_set(x_122, 0, x_76); lean_ctor_set(x_122, 1, x_121); x_123 = l_Lean_Elab_Tactic_evalIntro___closed__5; x_124 = lean_array_push(x_123, x_122); -x_125 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_125 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_126 = lean_array_push(x_124, x_125); x_127 = lean_array_push(x_126, x_125); x_128 = lean_array_push(x_127, x_125); @@ -19261,9 +19261,9 @@ lean_ctor_set(x_147, 0, x_85); lean_ctor_set(x_147, 1, x_145); lean_ctor_set(x_147, 2, x_144); lean_ctor_set(x_147, 3, x_146); -x_148 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_148 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_149 = lean_array_push(x_148, x_147); -x_150 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_150 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_151 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_151, 0, x_150); lean_ctor_set(x_151, 1, x_149); @@ -19430,7 +19430,7 @@ x_248 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_248, 0, x_227); lean_ctor_set(x_248, 1, x_247); x_249 = lean_array_push(x_246, x_248); -x_250 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_250 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_251 = lean_array_push(x_249, x_250); x_252 = lean_array_push(x_251, x_17); x_253 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -19475,7 +19475,7 @@ lean_ctor_set(x_274, 0, x_227); lean_ctor_set(x_274, 1, x_273); x_275 = l_Lean_Elab_Tactic_evalIntro___closed__5; x_276 = lean_array_push(x_275, x_274); -x_277 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_277 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_278 = lean_array_push(x_276, x_277); x_279 = lean_array_push(x_278, x_277); x_280 = lean_array_push(x_279, x_277); @@ -19514,9 +19514,9 @@ lean_ctor_set(x_299, 0, x_236); lean_ctor_set(x_299, 1, x_297); lean_ctor_set(x_299, 2, x_296); lean_ctor_set(x_299, 3, x_298); -x_300 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_300 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_301 = lean_array_push(x_300, x_299); -x_302 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_302 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_303 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_303, 0, x_302); lean_ctor_set(x_303, 1, x_301); @@ -19683,7 +19683,7 @@ x_400 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_400, 0, x_379); lean_ctor_set(x_400, 1, x_399); x_401 = lean_array_push(x_398, x_400); -x_402 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_402 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_403 = lean_array_push(x_401, x_402); x_404 = lean_array_push(x_403, x_17); x_405 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -19728,7 +19728,7 @@ lean_ctor_set(x_426, 0, x_379); lean_ctor_set(x_426, 1, x_425); x_427 = l_Lean_Elab_Tactic_evalIntro___closed__5; x_428 = lean_array_push(x_427, x_426); -x_429 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_429 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_430 = lean_array_push(x_428, x_429); x_431 = lean_array_push(x_430, x_429); x_432 = lean_array_push(x_431, x_429); @@ -19767,9 +19767,9 @@ lean_ctor_set(x_451, 0, x_388); lean_ctor_set(x_451, 1, x_449); lean_ctor_set(x_451, 2, x_448); lean_ctor_set(x_451, 3, x_450); -x_452 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_452 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_453 = lean_array_push(x_452, x_451); -x_454 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_454 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_455 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_455, 0, x_454); lean_ctor_set(x_455, 1, x_453); @@ -19795,7 +19795,7 @@ lean_ctor_set(x_465, 2, x_463); lean_ctor_set(x_465, 3, x_410); lean_inc(x_465); x_466 = lean_array_push(x_377, x_465); -x_467 = l_Lean_expandExplicitBindersAux_loop___closed__3; +x_467 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17; x_468 = lean_array_push(x_466, x_467); x_469 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_469, 0, x_379); @@ -19967,7 +19967,7 @@ x_564 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_564, 0, x_543); lean_ctor_set(x_564, 1, x_563); x_565 = lean_array_push(x_562, x_564); -x_566 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_566 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_567 = lean_array_push(x_565, x_566); x_568 = lean_array_push(x_567, x_17); x_569 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -20012,7 +20012,7 @@ lean_ctor_set(x_590, 0, x_543); lean_ctor_set(x_590, 1, x_589); x_591 = l_Lean_Elab_Tactic_evalIntro___closed__5; x_592 = lean_array_push(x_591, x_590); -x_593 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_593 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_594 = lean_array_push(x_592, x_593); x_595 = lean_array_push(x_594, x_593); x_596 = lean_array_push(x_595, x_593); @@ -20051,9 +20051,9 @@ lean_ctor_set(x_615, 0, x_552); lean_ctor_set(x_615, 1, x_613); lean_ctor_set(x_615, 2, x_612); lean_ctor_set(x_615, 3, x_614); -x_616 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_616 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_617 = lean_array_push(x_616, x_615); -x_618 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_618 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_619 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_619, 0, x_618); lean_ctor_set(x_619, 1, x_617); @@ -20324,7 +20324,7 @@ x_762 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_762, 0, x_741); lean_ctor_set(x_762, 1, x_761); x_763 = lean_array_push(x_760, x_762); -x_764 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_764 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_765 = lean_array_push(x_763, x_764); x_766 = lean_array_push(x_765, x_17); x_767 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -20368,7 +20368,7 @@ lean_ctor_set(x_787, 0, x_741); lean_ctor_set(x_787, 1, x_786); x_788 = l_Lean_Elab_Tactic_evalIntro___closed__5; x_789 = lean_array_push(x_788, x_787); -x_790 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_790 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_791 = lean_array_push(x_789, x_790); x_792 = lean_array_push(x_791, x_790); x_793 = lean_array_push(x_792, x_790); @@ -20407,9 +20407,9 @@ lean_ctor_set(x_812, 0, x_750); lean_ctor_set(x_812, 1, x_810); lean_ctor_set(x_812, 2, x_809); lean_ctor_set(x_812, 3, x_811); -x_813 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_813 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_814 = lean_array_push(x_813, x_812); -x_815 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_815 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_816 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_816, 0, x_815); lean_ctor_set(x_816, 1, x_814); @@ -20578,7 +20578,7 @@ x_914 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_914, 0, x_893); lean_ctor_set(x_914, 1, x_913); x_915 = lean_array_push(x_912, x_914); -x_916 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_916 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_917 = lean_array_push(x_915, x_916); x_918 = lean_array_push(x_917, x_17); x_919 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -20623,7 +20623,7 @@ lean_ctor_set(x_940, 0, x_893); lean_ctor_set(x_940, 1, x_939); x_941 = l_Lean_Elab_Tactic_evalIntro___closed__5; x_942 = lean_array_push(x_941, x_940); -x_943 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_943 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_944 = lean_array_push(x_942, x_943); x_945 = lean_array_push(x_944, x_943); x_946 = lean_array_push(x_945, x_943); @@ -20662,9 +20662,9 @@ lean_ctor_set(x_965, 0, x_902); lean_ctor_set(x_965, 1, x_963); lean_ctor_set(x_965, 2, x_962); lean_ctor_set(x_965, 3, x_964); -x_966 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_966 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_967 = lean_array_push(x_966, x_965); -x_968 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_968 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_969 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_969, 0, x_968); lean_ctor_set(x_969, 1, x_967); @@ -20833,7 +20833,7 @@ x_1067 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1067, 0, x_1046); lean_ctor_set(x_1067, 1, x_1066); x_1068 = lean_array_push(x_1065, x_1067); -x_1069 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_1069 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_1070 = lean_array_push(x_1068, x_1069); x_1071 = lean_array_push(x_1070, x_17); x_1072 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -20878,7 +20878,7 @@ lean_ctor_set(x_1093, 0, x_1046); lean_ctor_set(x_1093, 1, x_1092); x_1094 = l_Lean_Elab_Tactic_evalIntro___closed__5; x_1095 = lean_array_push(x_1094, x_1093); -x_1096 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_1096 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_1097 = lean_array_push(x_1095, x_1096); x_1098 = lean_array_push(x_1097, x_1096); x_1099 = lean_array_push(x_1098, x_1096); @@ -20917,9 +20917,9 @@ lean_ctor_set(x_1118, 0, x_1055); lean_ctor_set(x_1118, 1, x_1116); lean_ctor_set(x_1118, 2, x_1115); lean_ctor_set(x_1118, 3, x_1117); -x_1119 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_1119 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_1120 = lean_array_push(x_1119, x_1118); -x_1121 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_1121 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_1122 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1122, 0, x_1121); lean_ctor_set(x_1122, 1, x_1120); @@ -20945,7 +20945,7 @@ lean_ctor_set(x_1132, 2, x_1130); lean_ctor_set(x_1132, 3, x_1077); lean_inc(x_1132); x_1133 = lean_array_push(x_1044, x_1132); -x_1134 = l_Lean_expandExplicitBindersAux_loop___closed__3; +x_1134 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17; x_1135 = lean_array_push(x_1133, x_1134); x_1136 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1136, 0, x_1046); @@ -21118,7 +21118,7 @@ x_1232 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1232, 0, x_1211); lean_ctor_set(x_1232, 1, x_1231); x_1233 = lean_array_push(x_1230, x_1232); -x_1234 = l_Lean_expandExplicitBindersAux_loop___closed__12; +x_1234 = l_myMacro____x40_Init_Notation___hyg_7262____closed__10; x_1235 = lean_array_push(x_1233, x_1234); x_1236 = lean_array_push(x_1235, x_17); x_1237 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -21163,7 +21163,7 @@ lean_ctor_set(x_1258, 0, x_1211); lean_ctor_set(x_1258, 1, x_1257); x_1259 = l_Lean_Elab_Tactic_evalIntro___closed__5; x_1260 = lean_array_push(x_1259, x_1258); -x_1261 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_1261 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_1262 = lean_array_push(x_1260, x_1261); x_1263 = lean_array_push(x_1262, x_1261); x_1264 = lean_array_push(x_1263, x_1261); @@ -21202,9 +21202,9 @@ lean_ctor_set(x_1283, 0, x_1220); lean_ctor_set(x_1283, 1, x_1281); lean_ctor_set(x_1283, 2, x_1280); lean_ctor_set(x_1283, 3, x_1282); -x_1284 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_1284 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_1285 = lean_array_push(x_1284, x_1283); -x_1286 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_1286 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_1287 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1287, 0, x_1286); lean_ctor_set(x_1287, 1, x_1285); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Basic.c index 2c1e17eb63..40a7fccf85 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Basic.c @@ -239,7 +239,6 @@ lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f_ lean_object* l_Lean_Elab_Tactic_saveBacktrackableState___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Tactic_closeUsingOrAdmit___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_Tactic_evalTactic_match__1(lean_object*); -extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; extern lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarWithIdCore___rarg___closed__1; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq(lean_object*); lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -488,6 +487,7 @@ lean_object* l_Lean_Elab_Tactic_evalTraceState___rarg___boxed(lean_object*, lean lean_object* l_Lean_Elab_Tactic_focusAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getFVarIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__1___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__22; lean_object* l_Lean_Meta_getMVars___at_Lean_Elab_Tactic_ensureHasNoMVars___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Elab_Tactic_evalTactic___spec__6(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3861_(lean_object*); @@ -508,7 +508,6 @@ lean_object* l_Lean_Elab_Tactic_evalDone(lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Tactic_BacktrackableState_restore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_mkHole___closed__2; lean_object* l_Lean_Elab_Tactic_liftMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_try_x3f(lean_object*); lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___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*); @@ -530,6 +529,7 @@ lean_object* l_Lean_Elab_Tactic_getMainGoal___closed__3; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_evalTacticSeqBracketed___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17; lean_object* l_Lean_Meta_instantiateMVars___at_Lean_Elab_Tactic_ensureHasNoMVars___spec__1(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_KeyedDeclsAttribute_Lean_KeyedDeclsAttribute___instance__3___closed__1; lean_object* l_Lean_Elab_Tactic_evalSubst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -538,6 +538,7 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__3; lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Lean_Meta_Basic___instance__11___rarg___closed__2; lean_object* l_Lean_Elab_Tactic_try(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13; lean_object* l_Lean_Elab_Tactic_evalIntro___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__2; lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -615,7 +616,6 @@ lean_object* l_Lean_Meta_assignExprMVar___at_Lean_Elab_Tactic_closeUsingOrAdmit_ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_forEachVar___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__3; lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -10454,7 +10454,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -10796,7 +10796,7 @@ x_82 = l_Lean_Syntax_isOfKind(x_80, x_81); if (x_82 == 0) { lean_object* x_83; lean_object* x_165; uint8_t x_166; -x_165 = l_Lean_mkHole___closed__2; +x_165 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; lean_inc(x_80); x_166 = l_Lean_Syntax_isOfKind(x_80, x_165); if (x_166 == 0) @@ -10884,7 +10884,7 @@ lean_ctor_set(x_110, 0, x_72); lean_ctor_set(x_110, 1, x_109); x_111 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; x_112 = lean_array_push(x_111, x_110); -x_113 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__13; +x_113 = l_myMacro____x40_Init_Notation___hyg_7262____closed__22; x_114 = lean_array_push(x_112, x_113); x_115 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_116 = lean_array_push(x_114, x_115); @@ -10895,7 +10895,7 @@ lean_ctor_set(x_118, 1, x_117); x_119 = lean_array_push(x_96, x_118); x_120 = l_myMacro____x40_Init_Notation___hyg_6360____closed__17; x_121 = lean_array_push(x_119, x_120); -x_122 = l_Lean_expandExplicitBindersAux_loop___closed__3; +x_122 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17; x_123 = lean_array_push(x_121, x_122); x_124 = l_Lean_Elab_Tactic_evalIntro___closed__6; x_125 = lean_alloc_ctor(1, 2, 0); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Binders.c b/stage0/stdlib/Lean/Elab/Tactic/Binders.c index 5102983671..855686eb9c 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Binders.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Binders.c @@ -85,6 +85,7 @@ lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBi lean_object* l___regBuiltin_Lean_Elab_Tactic_expandShowTactic(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_expandLetRecTactic___closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__17; extern lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5535____closed__1; lean_object* l___regBuiltin_Lean_Elab_Tactic_expandSufficesTactic(lean_object*); lean_object* l_Lean_Elab_Tactic_expandLetRecTactic___boxed(lean_object*, lean_object*, lean_object*); @@ -96,7 +97,6 @@ lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBi lean_object* l_Lean_Elab_Tactic_expandShowTactic___closed__2; lean_object* l_Lean_Elab_Tactic_expandShowTactic___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_expandShowTactic___closed__1; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__3; uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: @@ -194,7 +194,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax___closed__2; -x_2 = l_Lean_expandExplicitBindersAux_loop___closed__3; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__17; x_3 = lean_array_push(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Induction.c b/stage0/stdlib/Lean/Elab/Tactic/Induction.c index 4a595a47a1..98908e64cc 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Induction.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Induction.c @@ -526,7 +526,6 @@ lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__2___rarg(lean_obje uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_addInstMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnf___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_mkHole___closed__2; lean_object* l_Lean_Elab_Tactic_evalCases___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltCtorNames___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* l_Lean_Elab_Tactic_liftMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -557,6 +556,7 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAlt lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getFType___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_Lean_addTrace___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getGeneralizingFVarIds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getBindingName___boxed(lean_object*); @@ -724,7 +724,7 @@ x_3 = l_Lean_Syntax_isOfKind(x_1, x_2); if (x_3 == 0) { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_mkHole___closed__2; +x_4 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); return x_5; } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Match.c b/stage0/stdlib/Lean/Elab/Tactic/Match.c index 09bdfc57e3..33a44bfa59 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Match.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Match.c @@ -76,10 +76,10 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch_ extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__2; extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__18; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -extern lean_object* l_Lean_mkHole___closed__2; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* lean_nat_mod(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); extern lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__2; lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___lambda__1___closed__4; @@ -273,7 +273,7 @@ x_12 = l_Lean_Syntax_isOfKind(x_10, x_11); if (x_12 == 0) { lean_object* x_13; uint8_t x_14; -x_13 = l_Lean_mkHole___closed__2; +x_13 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; lean_inc(x_10); x_14 = l_Lean_Syntax_isOfKind(x_10, x_13); if (x_14 == 0) diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index c55e77b086..b0e6dea9bd 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -490,7 +490,6 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_liftAttrM___rarg(lean_ lean_object* l_Lean_Elab_Term_levelMVarToParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__2___closed__2; -extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; lean_object* l_Lean_Elab_Term_withFreshMacroScope(lean_object*); lean_object* l_Lean_Name_toExprAux(lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -858,6 +857,7 @@ extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__4; lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInst_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLevel___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__1(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_7262____closed__9; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1; lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1(lean_object*); @@ -915,7 +915,6 @@ lean_object* l_Lean_Elab_Term_withoutMacroStackAtErr___rarg(lean_object*, lean_o lean_object* l_List_foldr___at_Lean_Elab_Term_isLetRecAuxMVar___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_toIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyResult_match__1(lean_object*); -extern lean_object* l_Lean_mkHole___closed__2; lean_object* l_Lean_Elab_Term_Lean_Elab_Term___instance__2(lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decLevelImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabByTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -981,6 +980,7 @@ lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__9; extern lean_object* l_Lean_Meta_Lean_Meta_Basic___instance__11___rarg___closed__2; lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21_match__1(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13; lean_object* l_Lean_Meta_commitWhen___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5535____closed__1; extern lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__2; @@ -7498,7 +7498,7 @@ static lean_object* _init_l_Lean_Elab_Term_mkExplicitBinder___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; x_2 = l_Lean_mkAtom(x_1); return x_2; } @@ -29983,7 +29983,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l_Lean_mkHole___closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_4 = l___regBuiltin_Lean_Elab_Term_elabHole___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; diff --git a/stage0/stdlib/Lean/Expr.c b/stage0/stdlib/Lean/Expr.c index da74ded01a..6d7a808d95 100644 --- a/stage0/stdlib/Lean/Expr.c +++ b/stage0/stdlib/Lean/Expr.c @@ -131,6 +131,7 @@ uint8_t l_Lean_Level_hasMVar(lean_object*); lean_object* l_Lean_Expr_constName_x21___boxed(lean_object*); lean_object* l_Lean_Literal_type_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppRev___rarg(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14; uint64_t l_Lean_Expr_mkData___closed__3; lean_object* l_Lean_annotation_x3f___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Init_Prelude___instance__68; @@ -280,7 +281,6 @@ lean_object* l_Lean_ExprStructEq_beq___boxed(lean_object*, lean_object*); lean_object* l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lean_Expr___instance__2___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__7; -extern lean_object* l_Lean_Name_appendIndexAfter___closed__1; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux_match__1(lean_object*); lean_object* l_Lean_Expr_constLevels_x21_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_updateSort_x21(lean_object*, lean_object*); @@ -5509,7 +5509,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Name_appendIndexAfter___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Lean/Message.c b/stage0/stdlib/Lean/Message.c index 5595e8ac72..12892be81b 100644 --- a/stage0/stdlib/Lean/Message.c +++ b/stage0/stdlib/Lean/Message.c @@ -28,8 +28,6 @@ lean_object* l_Lean_addMessageContextPartial___rarg(lean_object*, lean_object*, lean_object* l_Lean_addMessageContextFull___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__5; -lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__5; -extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2; uint8_t l_Lean_MessageData_isNest(lean_object*); lean_object* l_Lean_KernelException_toMessageData___closed__19; extern lean_object* l_addParenHeuristic___closed__2; @@ -41,20 +39,18 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_MessageLog_hasErrors_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList___closed__3; uint8_t l_USize_decEq(size_t, size_t); +lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__16; lean_object* lean_array_uget(lean_object*, size_t); lean_object* lean_io_error_to_string(lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__8; lean_object* l_Lean_KernelException_toMessageData___closed__7; lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__3; lean_object* l_Lean_MessageData_ofArray___boxed(lean_object*); lean_object* l_Lean_Message_toString___closed__3; -lean_object* l_Lean_Syntax_expandInterpolatedStrChunks(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_format(lean_object*, lean_object*); lean_object* l_String_split___at_Lean_stringToMessageData___spec__1(lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__7; lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); extern lean_object* l_Lean_List_format___rarg___closed__2; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__9; lean_object* l_Lean_MessageLog_hasErrors___boxed(lean_object*); lean_object* l_Lean_MessageData_formatAux_match__1___rarg___boxed(lean_object**); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_MessageLog_getInfoMessages___spec__2(lean_object*, size_t, size_t, lean_object*); @@ -66,20 +62,16 @@ lean_object* l_Lean_addMessageContextFull___rarg___lambda__2(lean_object*, lean_ extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__13; lean_object* l_Lean_MessageLog_getInfoMessages_match__1(lean_object*); extern lean_object* l_Lean_List_format___rarg___closed__1; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__12; lean_object* l_Std_PersistentArray_mapM___at_Lean_MessageLog_errorsToWarnings___spec__1(lean_object*); lean_object* l_Lean_Message_getMessageStringEx_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__3; lean_object* l_Lean_MessageData_joinSep_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_isNil_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkMVar(lean_object*); size_t l_USize_sub(size_t, size_t); -extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__11; lean_object* l_Lean_Lean_Message___instance__25(lean_object*); lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__3; lean_object* l_Lean_MessageLog_hasErrors_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList_match__1(lean_object*); extern lean_object* l_Std_PersistentArray_empty___closed__1; @@ -89,7 +81,6 @@ lean_object* l_Lean_MessageData_nil; lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__9; lean_object* l_Lean_Lean_Message___instance__22(lean_object*); lean_object* l_Lean_MessageData_Lean_Message___instance__4(lean_object*); -lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_KernelException_toMessageData___closed__43; lean_object* lean_string_append(lean_object*, lean_object*); @@ -108,19 +99,19 @@ uint8_t l_Lean_Message_severity___default; size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Lean_Message_toString_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); +lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__14; lean_object* l_Lean_Lean_Message___instance__17___rarg(lean_object*); lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*); lean_object* l_Lean_Lean_Message___instance__28(lean_object*); lean_object* l_Lean_KernelException_toMessageData___closed__20; +lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__15; uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_MessageData_Lean_Message___instance__6(lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__4; lean_object* l_Lean_addMessageContextFull___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_KernelException_toMessageData___closed__22; -extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__3; lean_object* l_Lean_KernelException_toMessageData___closed__37; lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); extern lean_object* l_Lean_Format_sbracket___closed__2; @@ -145,7 +136,6 @@ lean_object* l_Lean_KernelException_toMessageData___closed__46; lean_object* l_Lean_MessageLog_getInfoMessages_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_Lean_Message___instance__11; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__7; lean_object* l_Lean_MessageData_Lean_Message___instance__8(lean_object*); lean_object* l_Std_PersistentArray_foldlM___at_Lean_MessageLog_getInfoMessages___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lean_Message___instance__24; @@ -154,6 +144,7 @@ lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); lean_object* l_Lean_Message_caption___default; lean_object* l_Lean_MessageLog_errorsToWarnings_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_MessageData_isNil_match__1(lean_object*); +lean_object* l_Lean_Syntax_expandInterpolatedStr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageData_formatAux___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Lean_Message___instance__27_match__1(lean_object*, lean_object*); @@ -188,6 +179,7 @@ lean_object* l_Lean_Lean_Message___instance__17(lean_object*); lean_object* l_List_map___rarg(lean_object*, lean_object*); lean_object* l_Lean_Message_toString___closed__4; lean_object* l_Lean_KernelException_toMessageData___closed__5; +lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__13; extern lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__2; lean_object* l_Lean_MessageData_nil___closed__1; lean_object* l_Lean_KernelException_toMessageData___closed__33; @@ -197,11 +189,9 @@ lean_object* l_Lean_KernelException_toMessageData___closed__14; extern lean_object* l_Lean_Init_Prelude___instance__72___closed__1; lean_object* l_Lean_Lean_Message___instance__27___rarg___closed__1; lean_object* l_Lean_KernelException_toMessageData___closed__28; -lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Message_toString___closed__1; lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*); size_t l_USize_shiftLeft(size_t, size_t); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__5; lean_object* l_Lean_Message_toString___closed__2; lean_object* l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1___boxed(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageLog_toList___spec__4(lean_object*, size_t, size_t, lean_object*); @@ -214,7 +204,6 @@ lean_object* l_Lean_Lean_Message___instance__27___rarg___closed__2; lean_object* l_Lean_MessageData_Lean_Message___instance__3___closed__2; lean_object* l_Lean_KernelException_toMessageData___closed__34; lean_object* l_Lean_MessageData_Lean_Message___instance__3___closed__1; -lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1; lean_object* l_Array_anyMUnsafe_any___at_Lean_MessageLog_hasErrors___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_formatAux_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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ppExpr(lean_object*, lean_object*, lean_object*); @@ -253,7 +242,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageLog_toList___spec__5___b lean_object* l_Lean_Message_getMessageStringEx___closed__1; lean_object* l_Lean_MessageLog_Lean_Message___instance__15___closed__1; lean_object* l_Lean_KernelException_toMessageData___closed__45; -extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_Lean_Message___instance__28___closed__3; lean_object* l_Lean_MessageData_format___closed__1; lean_object* l_Lean_MessageData_ofArray(lean_object*); @@ -274,7 +262,6 @@ lean_object* l_Lean_addMessageContextPartial___rarg___lambda__2(lean_object*, le lean_object* l_Lean_KernelException_toMessageData___closed__8; lean_object* l_Lean_MessageLog_empty; lean_object* l_Lean_KernelException_toMessageData___closed__4; -extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; lean_object* l_Lean_MessageData_ofList_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_nestD(lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_MessageLog_toList___spec__3___boxed(lean_object*, lean_object*); @@ -289,7 +276,6 @@ lean_object* l_Lean_KernelException_toMessageData___closed__47; extern lean_object* l_EStateM_Init_Control_EState___instance__1___rarg___closed__2; extern lean_object* l_Lean_Format_sbracket___closed__4; lean_object* l_Lean_Syntax_getArgs(lean_object*); -lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__2; lean_object* l_Lean_Lean_Message___instance__27___rarg(lean_object*, lean_object*); lean_object* l_Lean_MessageData_Lean_Message___instance__7(lean_object*); @@ -297,10 +283,10 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageLog_toList___spec__5(lea lean_object* l_Lean_Lean_Message___instance__27___rarg___closed__3; extern lean_object* l_Lean_ppGoal_pushPending___closed__1; lean_object* l_Lean_MessageData_Lean_Message___instance__3___lambda__1(lean_object*); -lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_getInfoMessages(lean_object*); lean_object* l_Lean_MessageData_Lean_Message___instance__10(lean_object*); lean_object* l_Std_PersistentArray_forM___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__11; lean_object* l_Lean_KernelException_toMessageData___closed__2; lean_object* l_Lean_MessageData_ofList___closed__4; extern lean_object* l_Lean_Format_paren___closed__4; @@ -320,10 +306,10 @@ lean_object* l_Lean_KernelException_toMessageData___closed__35; lean_object* l_Lean_KernelException_toMessageData___closed__41; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__3; lean_object* l_Lean_ppTerm(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_isNest___boxed(lean_object*); lean_object* l_Std_PersistentArray_foldlM___at_Lean_MessageLog_getInfoMessages___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KernelException_toMessageData___closed__23; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9; lean_object* l_Lean_MessageLog_hasErrors_match__1(lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_Lean_Lean_Message___instance__28___closed__1; @@ -333,7 +319,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageData_formatAux___spec__2 lean_object* l_Lean_KernelException_toMessageData_match__1(lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_MessageLog_getInfoMessages___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Lean_Message___instance__28___boxed(lean_object*); -lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__2; lean_object* l_Lean_KernelException_toMessageData___closed__12; lean_object* l_Array_toList___rarg(lean_object*); lean_object* l_Lean_MessageLog_msgs___default; @@ -353,10 +338,12 @@ lean_object* l_Lean_MessageLog_errorsToWarnings_match__1___rarg___boxed(lean_obj lean_object* l_Lean_MessageData_isNest_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_MessageData_Lean_Message___instance__9_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__12; lean_object* l_Lean_addMessageContextFull___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyMAux___at_Lean_MessageLog_hasErrors___spec__2(lean_object*); lean_object* l_Lean_MessageData_Lean_Message___instance__9(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageData_formatAux___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__10; lean_object* l___private_Lean_Message_0__Lean_KernelException_mkCtx(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lean_Message___instance__25___rarg(lean_object*, lean_object*); lean_object* l_Lean_MessageData_joinSep_match__1(lean_object*); @@ -366,7 +353,6 @@ lean_object* l_Lean_KernelException_toMessageData_match__1___rarg(lean_object*, lean_object* l_Lean_KernelException_toMessageData___closed__44; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Init_Prelude___instance__74___closed__1; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__1; lean_object* l_Lean_Message_toString___closed__5; lean_object* lean_usize_to_nat(size_t); lean_object* lean_message_pos(lean_object*); @@ -424,7 +410,7 @@ lean_object* l_Lean_mkErrorStringWithPos(lean_object* x_1, lean_object* x_2, lea _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_5 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_5 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; x_6 = lean_string_append(x_1, x_5); x_7 = l_Nat_repr(x_2); x_8 = lean_string_append(x_6, x_7); @@ -433,7 +419,7 @@ x_9 = lean_string_append(x_8, x_5); x_10 = l_Nat_repr(x_3); x_11 = lean_string_append(x_9, x_10); lean_dec(x_10); -x_12 = l___private_Init_Util_0__mkPanicMessage___closed__3; +x_12 = l___private_Init_Util_0__mkPanicMessage___closed__2; x_13 = lean_string_append(x_11, x_12); x_14 = lean_string_append(x_13, x_4); return x_14; @@ -7519,7 +7505,7 @@ static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____c _start: { lean_object* x_1; -x_1 = lean_mk_string("msg!"); +x_1 = lean_mk_string("m!"); return x_1; } } @@ -7569,169 +7555,30 @@ x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__12; return x_1; } } -lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_5 = l_Array_empty___closed__1; -x_6 = lean_array_push(x_5, x_1); -x_7 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____lambda__1___closed__2; -x_8 = lean_array_push(x_6, x_7); -x_9 = lean_array_push(x_8, x_2); -x_10 = l___kind_term____x40_Init_Notation___hyg_4161____closed__1; -x_11 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_4); -return x_12; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("toMessageData"); -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__2; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ToMessageData"); -return x_1; -} -} -lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 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; -x_5 = lean_ctor_get(x_3, 2); -lean_inc(x_5); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_dec(x_3); -x_7 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; -lean_inc(x_1); -x_8 = lean_name_mk_string(x_1, x_7); -x_9 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; -x_10 = lean_name_mk_string(x_8, x_9); -x_11 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; -x_12 = lean_name_mk_string(x_10, x_11); -x_13 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__4; -x_14 = l_Lean_addMacroScope(x_6, x_13, x_5); -x_15 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__5; -x_16 = lean_name_mk_string(x_1, x_15); -x_17 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1; -x_18 = lean_name_mk_string(x_16, x_17); -x_19 = lean_box(0); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -x_22 = l_Lean_Init_Prelude___instance__72___closed__1; -x_23 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__3; -x_24 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -lean_ctor_set(x_24, 2, x_14); -lean_ctor_set(x_24, 3, x_21); -x_25 = l_Array_empty___closed__1; -x_26 = lean_array_push(x_25, x_24); -x_27 = lean_array_push(x_25, x_2); -x_28 = l_Lean_nullKind___closed__2; -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -x_30 = lean_array_push(x_26, x_29); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_12); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_4); -return x_32; -} -} static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2; -x_2 = lean_alloc_closure((void*)(l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2), 4, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__1___boxed), 4, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("MessageData"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__4() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3; +x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__5() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3; +x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__4; +x_3 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -7739,13 +7586,35 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3; -x_3 = lean_name_mk_string(x_1, x_2); +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__5; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } @@ -7753,30 +7622,101 @@ static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2; -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3; -x_3 = lean_name_mk_string(x_1, x_2); +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__6; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__8() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("toMessageData"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__8; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__8; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__9; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__11() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__7; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ToMessageData"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__13; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__14; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__9() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__8; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__15; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -7823,156 +7763,40 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_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; x_14 = lean_unsigned_to_nat(1u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); lean_dec(x_1); -x_16 = l_Lean_Syntax_getArgs(x_15); +x_16 = lean_ctor_get(x_2, 2); +lean_inc(x_16); +x_17 = lean_ctor_get(x_2, 1); +lean_inc(x_17); +x_18 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__4; +lean_inc(x_16); +lean_inc(x_17); +x_19 = l_Lean_addMacroScope(x_17, x_18, x_16); +x_20 = l_Lean_Init_Prelude___instance__72___closed__1; +x_21 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3; +x_22 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__7; +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_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__11; +x_25 = l_Lean_addMacroScope(x_17, x_24, x_16); +x_26 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__10; +x_27 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__16; +x_28 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_28, 0, x_20); +lean_ctor_set(x_28, 1, x_26); +lean_ctor_set(x_28, 2, x_25); +lean_ctor_set(x_28, 3, x_27); +x_29 = l_Lean_Syntax_expandInterpolatedStr(x_15, x_23, x_28, x_2, x_3); lean_dec(x_15); -x_17 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__2; -x_18 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1; -lean_inc(x_2); -x_19 = l_Lean_Syntax_expandInterpolatedStrChunks(x_16, x_17, x_18, x_2, x_3); -lean_dec(x_16); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 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; -x_21 = lean_ctor_get(x_19, 0); -x_22 = lean_ctor_get(x_2, 2); -lean_inc(x_22); -x_23 = lean_ctor_get(x_2, 1); -lean_inc(x_23); -lean_dec(x_2); -x_24 = l_Array_empty___closed__1; -x_25 = lean_array_push(x_24, x_21); -x_26 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__6; -x_27 = l_Lean_addMacroScope(x_23, x_26, x_22); -x_28 = l_Lean_Init_Prelude___instance__72___closed__1; -x_29 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__5; -x_30 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__9; -x_31 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_31, 0, x_28); -lean_ctor_set(x_31, 1, x_29); -lean_ctor_set(x_31, 2, x_27); -lean_ctor_set(x_31, 3, x_30); -x_32 = l_Lean_expandExplicitBindersAux_loop___closed__13; -x_33 = lean_array_push(x_32, x_31); -x_34 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = lean_array_push(x_24, x_35); -x_37 = l_Lean_nullKind___closed__2; -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_36); -x_39 = lean_array_push(x_25, x_38); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_37); -lean_ctor_set(x_40, 1, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9; -x_42 = lean_array_push(x_41, x_40); -x_43 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12; -x_44 = lean_array_push(x_42, x_43); -x_45 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8; -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -lean_ctor_set(x_19, 0, x_46); -return x_19; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; 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; -x_47 = lean_ctor_get(x_19, 0); -x_48 = lean_ctor_get(x_19, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_19); -x_49 = lean_ctor_get(x_2, 2); -lean_inc(x_49); -x_50 = lean_ctor_get(x_2, 1); -lean_inc(x_50); -lean_dec(x_2); -x_51 = l_Array_empty___closed__1; -x_52 = lean_array_push(x_51, x_47); -x_53 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__6; -x_54 = l_Lean_addMacroScope(x_50, x_53, x_49); -x_55 = l_Lean_Init_Prelude___instance__72___closed__1; -x_56 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__5; -x_57 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__9; -x_58 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_58, 0, x_55); -lean_ctor_set(x_58, 1, x_56); -lean_ctor_set(x_58, 2, x_54); -lean_ctor_set(x_58, 3, x_57); -x_59 = l_Lean_expandExplicitBindersAux_loop___closed__13; -x_60 = lean_array_push(x_59, x_58); -x_61 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -x_63 = lean_array_push(x_51, x_62); -x_64 = l_Lean_nullKind___closed__2; -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_63); -x_66 = lean_array_push(x_52, x_65); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_64); -lean_ctor_set(x_67, 1, x_66); -x_68 = l_myMacro____x40_Init_Notation___hyg_6360____closed__9; -x_69 = lean_array_push(x_68, x_67); -x_70 = l_myMacro____x40_Init_Notation___hyg_5787____closed__12; -x_71 = lean_array_push(x_69, x_70); -x_72 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_48); -return x_74; +return x_29; } } -else -{ -uint8_t x_75; -lean_dec(x_2); -x_75 = !lean_is_exclusive(x_19); -if (x_75 == 0) -{ -return x_19; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_19, 0); -x_77 = lean_ctor_get(x_19, 1); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_19); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -return x_78; -} -} -} -} -} -} -lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; } } lean_object* initialize_Init(lean_object*); @@ -8235,16 +8059,6 @@ l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__12 = _init_l_Lean__ lean_mark_persistent(l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__12); l_Lean___kind_term____x40_Lean_Message___hyg_1842_ = _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842_(); lean_mark_persistent(l_Lean___kind_term____x40_Lean_Message___hyg_1842_); -l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__1); -l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__2 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__2); -l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__3 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__3(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__3); -l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__4 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__4(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__4); -l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__5 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__5(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____lambda__2___closed__5); l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1(); lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__1); l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__2 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__2(); @@ -8263,6 +8077,20 @@ l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__8 = _init_l_Lean_myMacr lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__8); l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__9 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__9(); lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__9); +l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__10 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__10(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__10); +l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__11 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__11(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__11); +l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__12 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__12(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__12); +l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__13 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__13(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__13); +l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__14 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__14(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__14); +l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__15 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__15(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__15); +l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__16 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__16(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__16); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Match/Match.c b/stage0/stdlib/Lean/Meta/Match/Match.c index ad6d536558..37af19d66c 100644 --- a/stage0/stdlib/Lean/Meta/Match/Match.c +++ b/stage0/stdlib/Lean/Meta/Match/Match.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Meta.Match.Match -// Imports: Init Lean.Util.CollectLevelParams Lean.Util.Recognizers Lean.Compiler.ExternAttr Lean.Meta.Check Lean.Meta.Closure Lean.Meta.Tactic.Cases Lean.Meta.GeneralizeTelescope Lean.Meta.Match.MVarRenaming Lean.Meta.Match.CaseValues Lean.Meta.Match.CaseArraySizes +// Imports: Init Lean.Util.CollectLevelParams Lean.Util.Recognizers Lean.Compiler.ExternAttr Lean.Meta.Check Lean.Meta.Closure Lean.Meta.Tactic.Cases Lean.Meta.GeneralizeTelescope Lean.Meta.Match.MatcherInfo Lean.Meta.Match.MVarRenaming Lean.Meta.Match.CaseValues Lean.Meta.Match.CaseArraySizes #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -23,11 +23,9 @@ lean_object* l_Lean_Meta_Match_Example_applyFVarSubst_match__1___rarg(lean_objec extern lean_object* l_Lean_Meta_isLevelDefEq___rarg___lambda__2___closed__6; lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__1; lean_object* l_Lean_Meta_Match_Example_applyFVarSubst(lean_object*, lean_object*); -extern lean_object* l_Lean_Name_toString___closed__1; lean_object* l_Lean_Meta_MatcherApp_addArg_match__2(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNatValPattern_match__1(lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_isMatcher___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns___closed__1; lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at_Lean_Meta_Match_instantiatePatternMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -70,16 +68,17 @@ lean_object* l_Lean_addTrace___at_Lean_Meta_Match_Unify_assign___spec__1___boxed lean_object* l_Lean_Meta_Match_Pattern_hasExprMVar___boxed(lean_object*); extern lean_object* l_addParenHeuristic___closed__2; uint8_t l_Std_AssocList_contains___at_Lean_Meta_FVarSubst_contains___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts___boxed(lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__6; extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; extern lean_object* l_Lean_Meta_setInlineAttribute___rarg___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Lean_Message___instance__27___rarg___closed__4; lean_object* l_Lean_LocalDecl_userName(lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__4; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___lambda__1___closed__1; 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*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__7(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__1; lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Meta_isExprDefEqGuarded___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_kabstract___at_Lean_Meta_MatcherApp_addArg___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__2; @@ -87,7 +86,6 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwInductive lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__1(lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__6; lean_object* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__3___closed__2; extern lean_object* l_Lean_MessageData_ofList___closed__3; uint8_t l_USize_decEq(size_t, size_t); @@ -108,8 +106,6 @@ lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__1; extern lean_object* l_List_map___at_Lean_Meta_DiscrTree_Trie_format___spec__2___rarg___closed__2; 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*); -extern lean_object* l_Lean_LocalContext_fvarIdToDecl___default___closed__1; -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__5(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNatValueTransition_match__1(lean_object*); lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__9(size_t, size_t, lean_object*); @@ -122,20 +118,17 @@ lean_object* l_Lean_Meta_commitWhen___at_Lean_Meta_Match_mkMatcher___spec__7(lea lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNatValPattern_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Unify_isAltVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectArraySizes(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f_match__1___boxed(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAux___at_Lean_Meta_Match_Alt_replaceFVarId___spec__1(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_registerInternalExceptionId___closed__2; lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor_match__5(lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1___closed__7; lean_object* l_Lean_Meta_Match_Pattern_applyFVarSubst_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor_match__1(lean_object*); -size_t l_USize_sub(size_t, size_t); extern lean_object* l_Array_empty___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f_match__3(lean_object*); @@ -149,17 +142,15 @@ uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Problem_toMessageData___lambda__1___closed__4; extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__7; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__6(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__5___boxed(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___closed__3; uint8_t l_Lean_Meta_Match_Unify_occurs(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14; lean_object* l_List_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_substCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__3; -lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615_(lean_object*); -lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__4; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_addArg___spec__4(lean_object*); @@ -168,28 +159,23 @@ lean_object* l_Lean_Expr_constructorApp_x3f(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Pattern_toMessageData_match__1(lean_object*); lean_object* l_List_map___at_Lean_Meta_Match_Alt_toMessageData___spec__1___closed__2; lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__5(lean_object*, lean_object*); -lean_object* l_Std_AssocList_replace___at_Lean_Meta_Match_Extension_State_addEntry___spec__11(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setInlineAttribute___at_Lean_Meta_Match_mkMatcher___spec__10(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__5; lean_object* l_Lean_Meta_Match_Pattern_toExpr_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasValPattern___boxed(lean_object*); lean_object* l_Lean_Meta_Match_Example_toMessageData(lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Meta_Match_Alt_checkAndReplaceFVarId___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__3___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__3; lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Pattern_hasExprMVar_match__1___rarg(lean_object*, 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_match__2(lean_object*); -lean_object* l_Lean_SMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectValues(lean_object*); lean_object* l_List_filterAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNextVar(lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_516____closed__3; lean_object* l_Lean_Meta_Match_Unify_assign___closed__3; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAltsAux___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -206,14 +192,11 @@ lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___lambda__1___closed__2; uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasVarPattern___spec__1(uint8_t, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNextVar___boxed(lean_object*); -extern lean_object* l_Lean_Expr_getAppArgs___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__2; extern lean_object* l_Lean_Meta_evalNat___closed__8; lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_FVarSubst_find_x3f___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isFirstPatternVar___boxed(lean_object*); -lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__1; lean_object* l_Lean_Meta_commitWhenSome_x3f___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___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_Meta_Match_Extension_State_map___default; lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_995____spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_inLocalDecls(lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___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*); @@ -224,24 +207,19 @@ lean_object* l_List_foldl___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Matc lean_object* l_Lean_Meta_Match_Problem_toMessageData___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern_match__1(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isConstructorTransition_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Lean_Meta_Match_mkMatcher_match__1(lean_object*); lean_object* l_Lean_Meta_Match_Example_replaceFVarId___boxed(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isDone(lean_object*); -lean_object* l_Lean_SMap_switch___at_Lean_Meta_Match_Extension_State_switch___spec__1(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__1; lean_object* l_List_map___at_Lean_Meta_Match_Pattern_applyFVarSubst___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_introArrayLit_loop___spec__2___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*); 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_mkMatcher___lambda__1___closed__14; -lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____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*); lean_object* l_List_map___at_Lean_Meta_Match_Alt_toMessageData___spec__1___closed__1; -lean_object* l_Lean_Meta_matchMatcherApp_x3f_match__2(lean_object*); -lean_object* l_Lean_SMap_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__1(lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); lean_object* l_List_map___at_Lean_Meta_Match_Alt_replaceFVarId___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___boxed__const__1; @@ -258,7 +236,6 @@ lean_object* l_Lean_Meta_Match_Unify_State_fvarSubst___default; extern lean_object* l_Lean_levelZero; lean_object* l_Lean_Meta_Match_Example_toMessageData_match__1(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Meta_mkForallFVars___at___private_Lean_Meta_InferType_0__Lean_Meta_inferLambdaType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Meta_Match_Pattern_applyFVarSubst___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___closed__4; @@ -269,11 +246,9 @@ lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_ extern lean_object* l_Std_HashMap_Std_Data_HashMap___instance__1___closed__1; lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Meta_Match_Unify_unify___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectValues_match__1(lean_object*); -lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAltsAux___rarg___boxed__const__1; 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_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____lambda__1(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAltsAux___rarg___lambda__2___boxed(lean_object**); 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*); @@ -283,7 +258,7 @@ lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__2; 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_kabstract___at_Lean_Meta_MatcherApp_addArg___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_7902_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_7522_(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__3___boxed(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*); @@ -295,12 +270,9 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstru extern lean_object* l_Lean_Compiler_inlineAttrs; lean_object* l_Lean_Meta_Match_Example_varsToUnderscore_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at_Lean_Meta_Match_instantiateAltLHSMVars___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTransition(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__2(lean_object*, lean_object*, lean_object*); uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasCtorPattern___spec__1(uint8_t, lean_object*); -lean_object* l_Lean_SMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Std_mkHashSet___at_Lean_Meta_Match_State_used___default___spec__1(lean_object*); lean_object* l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_addArg___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__9(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -326,7 +298,6 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateLambda___at___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_instantiatePatternMVars_match__1(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor_match__3(lean_object*); -extern lean_object* l_Lean_Name_appendIndexAfter___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasVarPattern_match__1(lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__6___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAltsAux___rarg___closed__2; @@ -338,11 +309,9 @@ lean_object* l_Lean_Meta_Match_Example_varsToUnderscore(lean_object*); lean_object* l_Lean_Meta_Match_Unify_unify_match__1(lean_object*); extern lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_476____closed__3; lean_object* l_Lean_Meta_mkFreshLevelMVar___at___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__1(lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Init_Prelude___instance__5___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__7___boxed(lean_object*, lean_object*); -extern lean_object* l_Std_PersistentHashMap_insertAux___rarg___closed__3; lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__6___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue_match__3(lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__3___boxed(lean_object*, lean_object*); @@ -360,7 +329,6 @@ lean_object* l_Lean_Meta_Match_Pattern_Lean_Meta_Match_Match___instance__1; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_substCore___spec__9___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__2(lean_object*); lean_object* l_Lean_Meta_Match_isCurrVarInductive___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_Extension_State_map___default___closed__2; lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasArrayLitPattern(lean_object*); @@ -375,7 +343,6 @@ lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___closed__2; uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Meta_whnfD___at___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Std_AssocList_contains___at_Lean_Meta_Match_Extension_State_addEntry___spec__7(lean_object*, lean_object*); lean_object* l_Lean_Meta_getArrayArgType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_match__2(lean_object*); extern lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___closed__8; @@ -384,17 +351,13 @@ lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_ lean_object* l_Lean_Meta_Match_Pattern_hasExprMVar_match__1(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at_Lean_Meta_CheckAssignment_check___spec__2(lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____lambda__1___boxed(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___closed__4; lean_object* l_Lean_Meta_FVarSubst_apply(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__5(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasArrayLitPattern_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3(lean_object*, lean_object*); lean_object* l_List_filterAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNatValueTransition___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_Match_Extension_State_addEntry___spec__9(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_Extension_State_addEntry(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___closed__1; lean_object* l_Lean_Meta_Match_Unify_unify___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___closed__1; @@ -416,12 +379,9 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasRecursiveTy lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNextVar_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTransition_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_mkHashMapImp___rarg(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasValPattern(lean_object*); -lean_object* l_Lean_Meta_Match_Extension_extension___closed__1; lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1___closed__2; -lean_object* l_Lean_Meta_Match_Extension_extension___closed__2; lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*); lean_object* l_Lean_Meta_getInductiveUniverseAndParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasRecursiveType_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -429,7 +389,6 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstru lean_object* l_Lean_Meta_Match_Pattern_applyFVarSubst_match__3(lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_replace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f_match__1(lean_object*); @@ -437,51 +396,40 @@ lean_object* l_Lean_Meta_Match_Pattern_toMessageData___closed__4; lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_MatcherApp_addArg_match__1(lean_object*); lean_object* l_List_mapM___at_Lean_Meta_Match_Problem_toMessageData___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_Extension_State_map___default___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasRecursiveType_match__1(lean_object*); -size_t l_Lean_Name_hash(lean_object*); lean_object* l_Lean_Meta_Match_Pattern_toMessageData___closed__8; 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___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasValPattern_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_Extension_State_switch(lean_object*); uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNatValPattern___spec__1(uint8_t, lean_object*); lean_object* l_Std_HashSetImp_insert___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns___closed__3; lean_object* lean_st_mk_ref(lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_6910____closed__2; lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__4; -lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__5(lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_nil___closed__1; -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__1; -lean_object* l_Lean_Meta_Match_Extension_extension; lean_object* l_Lean_Meta_mkArrow___at_Lean_Meta_MatcherApp_addArg___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Unify_assign(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentHashMap_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_inLocalDecls___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Unify_occurs_match__1(lean_object*); 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_Pattern_replaceFVarId(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_isLevelDefEqAux___closed__2; -lean_object* l_Lean_Meta_isMatcher(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_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(lean_object*, lean_object*, lean_object*); 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*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__7(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___boxed(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_6717____closed__6; -lean_object* l_Std_mkHashMap___at_Lean_Meta_Match_Extension_State_map___default___spec__1(lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___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*); extern lean_object* l_Lean_Lean_ToExpr___instance__6___lambda__1___closed__3; -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__4(lean_object*, lean_object*); lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__3; lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isConstructorTransition___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Pattern_toMessageData_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___closed__6; +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__3; lean_object* l_Lean_getConstInfo___at_Lean_Meta_getParamNamesImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Meta_Match_examplesToMessageData___spec__1(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -490,20 +438,16 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoA extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_516____closed__2; lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasCtorPattern_match__1(lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__2; lean_object* l_List_mapM___at_Lean_Meta_Match_Pattern_toExpr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_addArg___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_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__2; uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isFirstPatternVar(lean_object*); uint8_t l_Lean_Meta_Match_Unify_occurs___lambda__1(lean_object*, lean_object*); -extern lean_object* l_Lean_persistentEnvExtensionsRef; -lean_object* l_Lean_Meta_matchMatcherApp_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectValues___spec__1(lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Example_toMessageData_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_foldAux___at_Lean_Meta_Match_mkMatcher___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__5; lean_object* l_List_map___at_Lean_Meta_Match_Pattern_applyFVarSubst___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_toMessageData___closed__2; lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Meta_getFVarLocalDecl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -529,7 +473,6 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPatte lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Pattern_applyFVarSubst_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_Extension_extension___closed__4; lean_object* l_List_foldl___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__4(lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l_Lean_Meta_Match_Alt_toMessageData___closed__1; @@ -540,20 +483,15 @@ lean_object* l_Lean_Meta_Match_instantiateAltLHSMVars(lean_object*, lean_object* lean_object* l_Lean_Meta_Match_Unify_unify___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Meta_Match_Unify_unify___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Unify_unify___closed__1; -extern lean_object* l_Lean_mkEmptyEnvironment___lambda__1___closed__1; extern lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_liftMkBindingM___rarg___closed__3; lean_object* l_Lean_Meta_instantiateLambda___at___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTransition___spec__1(uint8_t, lean_object*); -lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__3; extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_516____closed__4; -lean_object* l_Lean_Meta_Match_Extension_addMatcherInfo(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__3(size_t, size_t, lean_object*); lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -size_t l_USize_mul(size_t, size_t); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f_match__2(lean_object*); lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Problem_toMessageData___lambda__1___closed__5; lean_object* l_Lean_Meta_Match_Unify_assign___closed__1; lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasValPattern___spec__1___boxed(lean_object*, lean_object*); @@ -566,6 +504,7 @@ uint8_t l_List_elem___at_Lean_Occurrences_contains___spec__1(lean_object*, lean_ lean_object* l_Array_indexOfAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_arrayExpr_toMessageData___closed__2; size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__5; lean_object* l_Lean_replaceFVarIdAtLocalDecl(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkSimpleThunkType(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -574,24 +513,18 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipIna lean_object* l_Lean_Meta_Match_Unify_assign___closed__4; lean_object* l_List_filterAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Match_Unify_assign___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_AssocList_contains___at_Lean_Meta_Match_Extension_State_addEntry___spec__7___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_counterExampleToMessageData(lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1___closed__10; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__3; lean_object* l_Lean_Meta_commitWhen___at_Lean_Meta_Match_mkMatcher___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_replaceFVarId(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_isLevelDefEq___rarg___lambda__2___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Lean_Meta_Match_Match___instance__3; -lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); -size_t l_USize_land(size_t, size_t); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasCtorPattern(lean_object*); lean_object* l_Lean_Meta_Match_Pattern_toMessageData___closed__1; lean_object* l_Lean_Meta_Match_Pattern_Lean_Meta_Match_Match___instance__1___closed__1; -lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__4___rarg(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__3; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_Lean_Meta_Basic___instance__10___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId_match__1(lean_object*); @@ -599,7 +532,6 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAltsAux___ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf_match__1(lean_object*); lean_object* l_Lean_Meta_Match_isCurrVarInductive___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_Lean_Meta_Match_Match___instance__2; -lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__5___boxed(lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; lean_object* l_Lean_Meta_Match_Unify_assign___closed__2; lean_object* l_List_map___at_Lean_Meta_Match_counterExamplesToMessageData___spec__1(lean_object*); @@ -607,29 +539,22 @@ lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* l_Lean_Meta_instantiateLocalDeclMVars___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_traceState___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_toMessageData___closed__4; -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__4(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__1; lean_object* l_Lean_Meta_FVarSubst_get(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__3; extern lean_object* l_Init_Prelude___instance__10; lean_object* l_List_map___at_Lean_Meta_Match_Alt_toMessageData___spec__1___closed__3; -lean_object* l_Lean_Meta_Match_addMatcherInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_foldr___at_Lean_Meta_Match_Pattern_hasExprMVar___spec__2(uint8_t, lean_object*); -lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Match_Extension_State_addEntry___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Lean_Meta_Match_Match___instance__3___closed__1; lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTransition___spec__1___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Expr_FindImpl_initCache; -lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1___closed__12; lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__6(lean_object*, lean_object*); -lean_object* l_Lean_Meta_getMatcherInfo_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashSetImp_expand___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop_match__1(lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__4; lean_object* l_Lean_Meta_Match_Example_applyFVarSubst___boxed(lean_object*, lean_object*); -extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__3(lean_object*); lean_object* l_Lean_Meta_Match_Pattern_toMessageData___closed__2; lean_object* l_Lean_Meta_Match_Unify_assign___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -638,10 +563,8 @@ lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__8___closed__2; -lean_object* l_Lean_Meta_matchMatcherApp_x3f(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(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId___closed__6; -lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__2___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAltsAux___rarg___closed__3; lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNatValueTransition___boxed(lean_object*); @@ -655,8 +578,6 @@ lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__1(lean_obje lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_find_x3f___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceState___closed__1; -extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2542____closed__4; -lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__8___closed__1; lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Meta_getFVarLocalDecl___spec__1(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_expandNatValuePattern___spec__1(lean_object*); @@ -669,6 +590,7 @@ lean_object* l_List_toStringAux___at_Lean_Meta_Match_mkMatcher___spec__12(uint8_ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceState___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f(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_6592____closed__2; uint8_t lean_expr_eqv(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_toMessageData(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isValueTransition(lean_object*); @@ -680,9 +602,7 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoC lean_object* l_List_map___at_Lean_Meta_Match_Alt_replaceFVarId___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Meta_Match_Alt_applyFVarSubst___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId___closed__4; -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__3(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -uint8_t l_USize_decLe(size_t, size_t); lean_object* l_Lean_Meta_MatcherApp_addArg_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Problem_toMessageData(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); @@ -691,9 +611,7 @@ lean_object* l_Lean_Meta_Match_Pattern_applyFVarSubst(lean_object*, lean_object* lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAltsAux___rarg___closed__5; lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_HashSetImp_contains___at_Lean_Meta_Match_mkMatcher___spec__4(lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__1___boxed(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasCtorPattern___boxed(lean_object*); -lean_object* l_Lean_Meta_matchMatcherApp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__1; lean_object* l_Lean_Meta_mkArrow___at_Lean_Meta_MatcherApp_addArg___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_substCore___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -710,7 +628,6 @@ lean_object* l_Lean_Meta_commitWhenSome_x3f___at___private_Lean_Meta_Match_Match lean_object* l_Lean_Meta_Match_mkMatcher___lambda__3___closed__1; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Match_Unify_assign___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1___closed__9; -extern lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___closed__1; lean_object* l_Lean_Meta_Match_Unify_expandIfVar_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__1; @@ -724,10 +641,8 @@ lean_object* l_Lean_Meta_isExprDefEqGuarded___at_Lean_Meta_Match_Alt_checkAndRep extern lean_object* l_Lean_ppGoal_pushPending___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNatValPattern___boxed(lean_object*); lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__4; -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__1(lean_object*); lean_object* l_Lean_Meta_mkArrayLit___at___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_introArrayLit_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Meta_Match_Example_replaceFVarId___spec__2(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_MatcherApp_toExpr(lean_object*); uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasValPattern___spec__1(uint8_t, lean_object*); lean_object* l_Lean_Meta_Match_Example_applyFVarSubst_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_isCurrVarInductive_match__1(lean_object*); @@ -743,18 +658,13 @@ lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible(lean_object*); lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_matchMatcherApp_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_Match_Extension_State_addEntry___spec__8(lean_object*, lean_object*); uint8_t l_Lean_Meta_Match_Pattern_hasExprMVar(lean_object*); lean_object* l_Lean_Meta_commitWhen___at_Lean_Meta_Match_Unify_unify___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__4___boxed(lean_object*, lean_object*); lean_object* l_List_filterAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__6(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f___boxed(lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__8; lean_object* l_Array_indexOfAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Meta_Match_Pattern_toMessageData___spec__2(lean_object*); @@ -793,7 +703,7 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isValueTransit lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__2(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__6; lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasArrayLitPattern___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit_match__1(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -817,7 +727,6 @@ lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId___closed__1; lean_object* l_List_map___at_Lean_Meta_Match_Alt_applyFVarSubst___spec__2(lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop___spec__1___boxed(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__5___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__3; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwNonSupported___closed__1; lean_object* l_List_foldr___at_Lean_Meta_Match_Pattern_hasExprMVar___spec__2___boxed(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__2(lean_object*, lean_object*); @@ -832,9 +741,7 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda_ extern lean_object* l_Lean_Position_lt___closed__1; lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___closed__3; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_EnvExtensionInterfaceUnsafe_Lean_Environment___instance__6___closed__2; lean_object* lean_mk_array(lean_object*, lean_object*); -extern size_t l_Std_PersistentHashMap_insertAux___rarg___closed__2; lean_object* l_List_filterAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__6(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -845,11 +752,9 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectValues_ lean_object* l_Lean_Meta_Match_Unify_occurs___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep___closed__1; lean_object* lean_expr_abstract(lean_object*, lean_object*); -lean_object* l_Lean_Meta_matchMatcherApp_x3f_match__1(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit___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_Meta_Match_Match_0__Lean_Meta_Match_isConstructorTransition_match__1(lean_object*); -lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Match_Extension_State_addEntry___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwNonSupported(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1___closed__5; lean_object* l_List_map___at_Lean_Meta_Match_Pattern_applyFVarSubst___spec__3___boxed(lean_object*, lean_object*); @@ -857,12 +762,10 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___bo lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAltsAux_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__6(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5787____closed__9; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__3___closed__3; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern___closed__2; -uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__6(lean_object*, lean_object*, size_t, size_t); lean_object* l_List_map___at_Lean_Meta_Match_Alt_applyFVarSubst___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); @@ -875,11 +778,8 @@ lean_object* l_Lean_Meta_Match_State_used___default; lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId___closed__8; extern lean_object* l_Lean_Meta_isLevelDefEq___rarg___lambda__2___closed__4; -lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Unify_occurs___lambda__1___boxed(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*); -lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__3(lean_object*, size_t, lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__5; extern lean_object* l_Lean_Expr_Lean_Expr___instance__11___closed__1; lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Meta_Match_Pattern_applyFVarSubst___spec__3(lean_object*, lean_object*); @@ -897,7 +797,6 @@ lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l_Lean_Meta_withExistingLocalDecls___at_Lean_Meta_Match_Alt_toMessageData___spec__2(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNextVar_match__1(lean_object*); lean_object* l_Nat_foldAux___at_Lean_Meta_Match_mkMatcher___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -906,13 +805,11 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasArrayLitPat lean_object* l_Lean_Meta_Match_Problem_toMessageData___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Problem_toMessageData___lambda__1___closed__1; -lean_object* l_Lean_Meta_getMatcherInfo_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); extern lean_object* l_Lean_Init_Prelude___instance__74___closed__1; lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId___closed__7; lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1___closed__16; -lean_object* l_Lean_Meta_Match_Extension_extension___closed__3; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep___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_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*); @@ -920,28 +817,23 @@ lean_object* l_Lean_Meta_Match_Pattern_applyFVarSubst_match__2(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAltsAux_match__1___rarg(lean_object*, lean_object*); lean_object* l_List_toString___at_Lean_Meta_Match_mkMatcher___spec__11(lean_object*); lean_object* l_List_map___at_Lean_Meta_Match_Alt_replaceFVarId___spec__2(lean_object*, lean_object*, lean_object*); -lean_object* lean_usize_to_nat(size_t); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable_match__3(lean_object*); 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*); lean_object* l_Lean_Meta_Match_isCurrVarInductive_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_Extension_Lean_Meta_Match_Match___instance__4; uint8_t lean_level_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_isCurrVarInductive___closed__1; -lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_Lean_Meta_Match_Match___instance__2___closed__1; lean_object* l_Lean_Meta_Match_Problem_toMessageData___lambda__1___closed__6; -lean_object* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTransition___boxed(lean_object*); lean_object* l_Lean_indentExpr(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAltsAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__2; lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__2___boxed(lean_object*); +lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_reduceMatcher_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern_match__1(lean_object*); -lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_Match_Extension_State_addEntry___spec__10(lean_object*, lean_object*); lean_object* l_List_foldl___at_Lean_Meta_Match_Pattern_toMessageData___spec__1___closed__1; lean_object* l_Lean_Meta_Match_Example_toMessageData___closed__3; lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable___spec__1___closed__1; @@ -950,7 +842,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Closure_mkBinding___spec__1(s lean_object* l_Lean_mkConst(lean_object*, lean_object*); uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern___spec__1(uint8_t, lean_object*); lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId___closed__2; -lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_counterExamplesToMessageData(lean_object*); lean_object* l_Lean_Meta_isLevelDefEq___at_Lean_Meta_Match_mkMatcher___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_caseArraySizes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -964,22 +855,18 @@ lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_Match_M lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId___closed__5; 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_Extension_extension___closed__5; -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717_(lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592_(lean_object*); lean_object* l_Lean_Meta_commitWhen___at_Lean_Meta_Match_Unify_unify___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___rarg___closed__2; lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId___closed__3; 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_IO_Error_Init_System_IOError___instance__3___closed__1; extern lean_object* l_Lean_Meta_throwLetTypeMismatchMessage___rarg___closed__8; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor_match__4___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__2(lean_object*); lean_object* l_Lean_Meta_Match_Unify_isAltVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__4; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasArrayLitPattern_match__1(lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__7___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_commitWhen___at_Lean_Meta_Match_mkMatcher___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__6___boxed(lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Meta_Match_Example_replaceFVarId___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_substCore___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Unify_expandIfVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -997,15 +884,12 @@ lean_object* l_Lean_Meta_assignExprMVar___at___private_Lean_Meta_InferType_0__Le lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTransition_match__1(lean_object*); lean_object* l_Lean_Meta_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_toMessageData___closed__3; lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Pattern_toExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwNonSupported___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Example_replaceFVarId_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__2___closed__1; @@ -7136,7 +7020,7 @@ static lean_object* _init_l_Lean_Meta_Match_Example_toMessageData___closed__1() _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Name_appendIndexAfter___closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -10733,7 +10617,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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__1; x_2 = l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(378u); +x_3 = lean_unsigned_to_nat(379u); x_4 = lean_unsigned_to_nat(19u); 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); @@ -11077,7 +10961,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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__1; x_2 = l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(374u); +x_3 = lean_unsigned_to_nat(375u); x_4 = lean_unsigned_to_nat(15u); 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); @@ -12169,7 +12053,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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__1; x_2 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern___closed__1; -x_3 = lean_unsigned_to_nat(393u); +x_3 = lean_unsigned_to_nat(394u); x_4 = lean_unsigned_to_nat(15u); 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); @@ -12343,7 +12227,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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__1; x_2 = l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable___spec__1___closed__1; -x_3 = lean_unsigned_to_nat(407u); +x_3 = lean_unsigned_to_nat(408u); x_4 = lean_unsigned_to_nat(40u); 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); @@ -12762,7 +12646,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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__1; x_2 = l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable___spec__1___closed__1; -x_3 = lean_unsigned_to_nat(402u); +x_3 = lean_unsigned_to_nat(403u); x_4 = lean_unsigned_to_nat(15u); 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); @@ -18752,7 +18636,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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__1; x_2 = l_Lean_Meta_Match_processInaccessibleAsCtor___closed__1; -x_3 = lean_unsigned_to_nat(547u); +x_3 = lean_unsigned_to_nat(548u); 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); @@ -20058,7 +19942,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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__1; x_2 = l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__8___closed__1; -x_3 = lean_unsigned_to_nat(592u); +x_3 = lean_unsigned_to_nat(593u); x_4 = lean_unsigned_to_nat(48u); 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); @@ -20623,7 +20507,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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__1; x_2 = l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__8___closed__1; -x_3 = lean_unsigned_to_nat(553u); +x_3 = lean_unsigned_to_nat(554u); x_4 = lean_unsigned_to_nat(15u); 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); @@ -21130,7 +21014,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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__1; x_2 = l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__1; -x_3 = lean_unsigned_to_nat(611u); +x_3 = lean_unsigned_to_nat(612u); x_4 = lean_unsigned_to_nat(21u); 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); @@ -21656,7 +21540,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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__1; x_2 = l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__1; -x_3 = lean_unsigned_to_nat(597u); +x_3 = lean_unsigned_to_nat(598u); x_4 = lean_unsigned_to_nat(15u); 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); @@ -22475,7 +22359,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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__1; x_2 = l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__6___closed__1; -x_3 = lean_unsigned_to_nat(651u); +x_3 = lean_unsigned_to_nat(652u); x_4 = lean_unsigned_to_nat(18u); 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); @@ -23083,7 +22967,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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__1; x_2 = l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__6___closed__1; -x_3 = lean_unsigned_to_nat(630u); +x_3 = lean_unsigned_to_nat(631u); x_4 = lean_unsigned_to_nat(15u); 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); @@ -24672,7 +24556,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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__1; x_2 = l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__1; -x_3 = lean_unsigned_to_nat(706u); +x_3 = lean_unsigned_to_nat(707u); x_4 = lean_unsigned_to_nat(18u); 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); @@ -25369,7 +25253,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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__1; x_2 = l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__1; -x_3 = lean_unsigned_to_nat(684u); +x_3 = lean_unsigned_to_nat(685u); x_4 = lean_unsigned_to_nat(15u); 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); @@ -28974,2088 +28858,6 @@ lean_dec(x_2); return x_8; } } -lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = lean_ctor_get(x_1, 2); -x_3 = lean_array_get_size(x_2); -return x_3; -} -} -lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Meta_Match_MatcherInfo_numAlts(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l_Std_mkHashMap___at_Lean_Meta_Match_Extension_State_map___default___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Std_mkHashMapImp___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_Match_Extension_State_map___default___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(8u); -x_2 = l_Std_mkHashMapImp___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_Match_Extension_State_map___default___closed__2() { -_start: -{ -uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = 1; -x_2 = l_Lean_Meta_Match_Extension_State_map___default___closed__1; -x_3 = l_Lean_LocalContext_fvarIdToDecl___default___closed__1; -x_4 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_4, 0, x_2); -lean_ctor_set(x_4, 1, x_3); -lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_Meta_Match_Extension_State_map___default() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Meta_Match_Extension_State_map___default___closed__2; -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Match_Extension_Lean_Meta_Match_Match___instance__4() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_mkEmptyEnvironment___lambda__1___closed__1; -return x_1; -} -} -lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Match_Extension_State_addEntry___spec__4(size_t 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_array_get_size(x_2); -x_8 = lean_nat_dec_lt(x_5, x_7); -lean_dec(x_7); -if (x_8 == 0) -{ -lean_dec(x_5); -return x_6; -} -else -{ -lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_9 = lean_array_fget(x_2, x_5); -x_10 = lean_array_fget(x_3, x_5); -x_11 = l_Lean_Name_hash(x_9); -x_12 = 1; -x_13 = x_1 - x_12; -x_14 = 5; -x_15 = x_14 * x_13; -x_16 = x_11 >> x_15; -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_add(x_5, x_17); -lean_dec(x_5); -x_19 = l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(x_6, x_16, x_1, x_9, x_10); -x_4 = lean_box(0); -x_5 = x_18; -x_6 = x_19; -goto _start; -} -} -} -lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_1, 1); -lean_inc(x_6); -x_7 = lean_array_get_size(x_5); -x_8 = lean_nat_dec_lt(x_2, x_7); -lean_dec(x_7); -if (x_8 == 0) -{ -uint8_t x_9; -lean_dec(x_2); -x_9 = !lean_is_exclusive(x_1); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_1, 1); -lean_dec(x_10); -x_11 = lean_ctor_get(x_1, 0); -lean_dec(x_11); -x_12 = lean_array_push(x_5, x_3); -x_13 = lean_array_push(x_6, x_4); -lean_ctor_set(x_1, 1, x_13); -lean_ctor_set(x_1, 0, x_12); -return x_1; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -lean_dec(x_1); -x_14 = lean_array_push(x_5, x_3); -x_15 = lean_array_push(x_6, x_4); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -else -{ -lean_object* x_17; uint8_t x_18; -x_17 = lean_array_fget(x_5, x_2); -x_18 = lean_name_eq(x_3, x_17); -lean_dec(x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_6); -lean_dec(x_5); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_add(x_2, x_19); -lean_dec(x_2); -x_2 = x_20; -goto _start; -} -else -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_1); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_1, 1); -lean_dec(x_23); -x_24 = lean_ctor_get(x_1, 0); -lean_dec(x_24); -x_25 = lean_array_fset(x_5, x_2, x_3); -x_26 = lean_array_fset(x_6, x_2, x_4); -lean_dec(x_2); -lean_ctor_set(x_1, 1, x_26); -lean_ctor_set(x_1, 0, x_25); -return x_1; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_1); -x_27 = lean_array_fset(x_5, x_2, x_3); -x_28 = lean_array_fset(x_6, x_2, x_4); -lean_dec(x_2); -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_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_1); -if (x_6 == 0) -{ -lean_object* x_7; size_t x_8; size_t x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_7 = lean_ctor_get(x_1, 0); -x_8 = 1; -x_9 = 5; -x_10 = l_Std_PersistentHashMap_insertAux___rarg___closed__2; -x_11 = x_2 & x_10; -x_12 = lean_usize_to_nat(x_11); -x_13 = lean_array_get_size(x_7); -x_14 = lean_nat_dec_lt(x_12, x_13); -lean_dec(x_13); -if (x_14 == 0) -{ -lean_dec(x_12); -lean_dec(x_5); -lean_dec(x_4); -return x_1; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_array_fget(x_7, x_12); -x_16 = lean_box(2); -x_17 = lean_array_fset(x_7, x_12, x_16); -switch (lean_obj_tag(x_15)) { -case 0: -{ -uint8_t x_18; -x_18 = !lean_is_exclusive(x_15); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -x_21 = lean_name_eq(x_4, x_19); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -lean_free_object(x_15); -x_22 = l_Std_PersistentHashMap_mkCollisionNode___rarg(x_19, x_20, x_4, x_5); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_22); -x_24 = lean_array_fset(x_17, x_12, x_23); -lean_dec(x_12); -lean_ctor_set(x_1, 0, x_24); -return x_1; -} -else -{ -lean_object* x_25; -lean_dec(x_20); -lean_dec(x_19); -lean_ctor_set(x_15, 1, x_5); -lean_ctor_set(x_15, 0, x_4); -x_25 = lean_array_fset(x_17, x_12, x_15); -lean_dec(x_12); -lean_ctor_set(x_1, 0, x_25); -return x_1; -} -} -else -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_26 = lean_ctor_get(x_15, 0); -x_27 = lean_ctor_get(x_15, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_15); -x_28 = lean_name_eq(x_4, x_26); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = l_Std_PersistentHashMap_mkCollisionNode___rarg(x_26, x_27, x_4, x_5); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_29); -x_31 = lean_array_fset(x_17, x_12, x_30); -lean_dec(x_12); -lean_ctor_set(x_1, 0, x_31); -return x_1; -} -else -{ -lean_object* x_32; lean_object* x_33; -lean_dec(x_27); -lean_dec(x_26); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_4); -lean_ctor_set(x_32, 1, x_5); -x_33 = lean_array_fset(x_17, x_12, x_32); -lean_dec(x_12); -lean_ctor_set(x_1, 0, x_33); -return x_1; -} -} -} -case 1: -{ -uint8_t x_34; -x_34 = !lean_is_exclusive(x_15); -if (x_34 == 0) -{ -lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; -x_35 = lean_ctor_get(x_15, 0); -x_36 = x_2 >> x_9; -x_37 = x_3 + x_8; -x_38 = l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(x_35, x_36, x_37, x_4, x_5); -lean_ctor_set(x_15, 0, x_38); -x_39 = lean_array_fset(x_17, x_12, x_15); -lean_dec(x_12); -lean_ctor_set(x_1, 0, x_39); -return x_1; -} -else -{ -lean_object* x_40; size_t x_41; size_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_40 = lean_ctor_get(x_15, 0); -lean_inc(x_40); -lean_dec(x_15); -x_41 = x_2 >> x_9; -x_42 = x_3 + x_8; -x_43 = l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(x_40, x_41, x_42, x_4, x_5); -x_44 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_44, 0, x_43); -x_45 = lean_array_fset(x_17, x_12, x_44); -lean_dec(x_12); -lean_ctor_set(x_1, 0, x_45); -return x_1; -} -} -default: -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_4); -lean_ctor_set(x_46, 1, x_5); -x_47 = lean_array_fset(x_17, x_12, x_46); -lean_dec(x_12); -lean_ctor_set(x_1, 0, x_47); -return x_1; -} -} -} -} -else -{ -lean_object* x_48; size_t x_49; size_t x_50; size_t x_51; size_t x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_48 = lean_ctor_get(x_1, 0); -lean_inc(x_48); -lean_dec(x_1); -x_49 = 1; -x_50 = 5; -x_51 = l_Std_PersistentHashMap_insertAux___rarg___closed__2; -x_52 = x_2 & x_51; -x_53 = lean_usize_to_nat(x_52); -x_54 = lean_array_get_size(x_48); -x_55 = lean_nat_dec_lt(x_53, x_54); -lean_dec(x_54); -if (x_55 == 0) -{ -lean_object* x_56; -lean_dec(x_53); -lean_dec(x_5); -lean_dec(x_4); -x_56 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_56, 0, x_48); -return x_56; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_array_fget(x_48, x_53); -x_58 = lean_box(2); -x_59 = lean_array_fset(x_48, x_53, x_58); -switch (lean_obj_tag(x_57)) { -case 0: -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_60 = lean_ctor_get(x_57, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_57, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_62 = x_57; -} else { - lean_dec_ref(x_57); - x_62 = lean_box(0); -} -x_63 = lean_name_eq(x_4, x_60); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -lean_dec(x_62); -x_64 = l_Std_PersistentHashMap_mkCollisionNode___rarg(x_60, x_61, x_4, x_5); -x_65 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_65, 0, x_64); -x_66 = lean_array_fset(x_59, x_53, x_65); -lean_dec(x_53); -x_67 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_67, 0, x_66); -return x_67; -} -else -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; -lean_dec(x_61); -lean_dec(x_60); -if (lean_is_scalar(x_62)) { - x_68 = lean_alloc_ctor(0, 2, 0); -} else { - x_68 = x_62; -} -lean_ctor_set(x_68, 0, x_4); -lean_ctor_set(x_68, 1, x_5); -x_69 = lean_array_fset(x_59, x_53, x_68); -lean_dec(x_53); -x_70 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_70, 0, x_69); -return x_70; -} -} -case 1: -{ -lean_object* x_71; lean_object* x_72; size_t x_73; size_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_71 = lean_ctor_get(x_57, 0); -lean_inc(x_71); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - x_72 = x_57; -} else { - lean_dec_ref(x_57); - x_72 = lean_box(0); -} -x_73 = x_2 >> x_50; -x_74 = x_3 + x_49; -x_75 = l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(x_71, x_73, x_74, x_4, x_5); -if (lean_is_scalar(x_72)) { - x_76 = lean_alloc_ctor(1, 1, 0); -} else { - x_76 = x_72; -} -lean_ctor_set(x_76, 0, x_75); -x_77 = lean_array_fset(x_59, x_53, x_76); -lean_dec(x_53); -x_78 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_78, 0, x_77); -return x_78; -} -default: -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_4); -lean_ctor_set(x_79, 1, x_5); -x_80 = lean_array_fset(x_59, x_53, x_79); -lean_dec(x_53); -x_81 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_81, 0, x_80); -return x_81; -} -} -} -} -} -else -{ -uint8_t x_82; -x_82 = !lean_is_exclusive(x_1); -if (x_82 == 0) -{ -lean_object* x_83; lean_object* x_84; size_t x_85; uint8_t x_86; -x_83 = lean_unsigned_to_nat(0u); -x_84 = l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__5(x_1, x_83, x_4, x_5); -x_85 = 7; -x_86 = x_85 <= x_3; -if (x_86 == 0) -{ -lean_object* x_87; lean_object* x_88; uint8_t x_89; -x_87 = l_Std_PersistentHashMap_getCollisionNodeSize___rarg(x_84); -x_88 = lean_unsigned_to_nat(4u); -x_89 = lean_nat_dec_lt(x_87, x_88); -lean_dec(x_87); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_90 = lean_ctor_get(x_84, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_84, 1); -lean_inc(x_91); -lean_dec(x_84); -x_92 = l_Std_PersistentHashMap_insertAux___rarg___closed__3; -x_93 = l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Match_Extension_State_addEntry___spec__4(x_3, x_90, x_91, lean_box(0), x_83, x_92); -lean_dec(x_91); -lean_dec(x_90); -return x_93; -} -else -{ -return x_84; -} -} -else -{ -return x_84; -} -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; size_t x_99; uint8_t x_100; -x_94 = lean_ctor_get(x_1, 0); -x_95 = lean_ctor_get(x_1, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_1); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -x_97 = lean_unsigned_to_nat(0u); -x_98 = l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__5(x_96, x_97, x_4, x_5); -x_99 = 7; -x_100 = x_99 <= x_3; -if (x_100 == 0) -{ -lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_101 = l_Std_PersistentHashMap_getCollisionNodeSize___rarg(x_98); -x_102 = lean_unsigned_to_nat(4u); -x_103 = lean_nat_dec_lt(x_101, x_102); -lean_dec(x_101); -if (x_103 == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_104 = lean_ctor_get(x_98, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_98, 1); -lean_inc(x_105); -lean_dec(x_98); -x_106 = l_Std_PersistentHashMap_insertAux___rarg___closed__3; -x_107 = l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Match_Extension_State_addEntry___spec__4(x_3, x_104, x_105, lean_box(0), x_97, x_106); -lean_dec(x_105); -lean_dec(x_104); -return x_107; -} -else -{ -return x_98; -} -} -else -{ -return x_98; -} -} -} -} -} -lean_object* l_Std_PersistentHashMap_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_1); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 1); -x_7 = l_Lean_Name_hash(x_2); -x_8 = 1; -x_9 = l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(x_5, x_7, x_8, x_2, x_3); -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_add(x_6, x_10); -lean_dec(x_6); -lean_ctor_set(x_1, 1, x_11); -lean_ctor_set(x_1, 0, x_9); -return x_1; -} -else -{ -lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_12 = lean_ctor_get(x_1, 0); -x_13 = lean_ctor_get(x_1, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_1); -x_14 = l_Lean_Name_hash(x_2); -x_15 = 1; -x_16 = l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(x_12, x_14, x_15, x_2, x_3); -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_add(x_13, x_17); -lean_dec(x_13); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_16); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -} -uint8_t l_Std_AssocList_contains___at_Lean_Meta_Match_Extension_State_addEntry___spec__7(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -uint8_t x_3; -x_3 = 0; -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 2); -x_6 = lean_name_eq(x_4, x_1); -if (x_6 == 0) -{ -x_2 = x_5; -goto _start; -} -else -{ -uint8_t x_8; -x_8 = 1; -return x_8; -} -} -} -} -lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_Match_Extension_State_addEntry___spec__10(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -return x_1; -} -else -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 2); -x_6 = lean_array_get_size(x_1); -x_7 = l_Lean_Name_hash(x_4); -x_8 = lean_usize_modn(x_7, x_6); -lean_dec(x_6); -x_9 = lean_array_uget(x_1, x_8); -lean_ctor_set(x_2, 2, x_9); -x_10 = lean_array_uset(x_1, x_8, x_2); -x_1 = x_10; -x_2 = x_5; -goto _start; -} -else -{ -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; lean_object* x_20; -x_12 = lean_ctor_get(x_2, 0); -x_13 = lean_ctor_get(x_2, 1); -x_14 = lean_ctor_get(x_2, 2); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_2); -x_15 = lean_array_get_size(x_1); -x_16 = l_Lean_Name_hash(x_12); -x_17 = lean_usize_modn(x_16, x_15); -lean_dec(x_15); -x_18 = lean_array_uget(x_1, x_17); -x_19 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_19, 0, x_12); -lean_ctor_set(x_19, 1, x_13); -lean_ctor_set(x_19, 2, x_18); -x_20 = lean_array_uset(x_1, x_17, x_19); -x_1 = x_20; -x_2 = x_14; -goto _start; -} -} -} -} -lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_Match_Extension_State_addEntry___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_1, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_6 = lean_array_fget(x_2, x_1); -x_7 = lean_box(0); -x_8 = lean_array_fset(x_2, x_1, x_7); -x_9 = l_Std_AssocList_foldlM___at_Lean_Meta_Match_Extension_State_addEntry___spec__10(x_3, x_6); -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_add(x_1, x_10); -lean_dec(x_1); -x_1 = x_11; -x_2 = x_8; -x_3 = x_9; -goto _start; -} -} -} -lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_Match_Extension_State_addEntry___spec__8(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; -x_3 = lean_array_get_size(x_2); -x_4 = lean_unsigned_to_nat(2u); -x_5 = lean_nat_mul(x_3, x_4); -lean_dec(x_3); -x_6 = lean_box(0); -x_7 = lean_mk_array(x_5, x_6); -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Std_HashMapImp_moveEntries___at_Lean_Meta_Match_Extension_State_addEntry___spec__9(x_8, x_2, x_7); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_1); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -} -lean_object* l_Std_AssocList_replace___at_Lean_Meta_Match_Extension_State_addEntry___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(0); -return x_4; -} -else -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_3); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_ctor_get(x_3, 0); -x_7 = lean_ctor_get(x_3, 1); -x_8 = lean_ctor_get(x_3, 2); -x_9 = lean_name_eq(x_6, x_1); -if (x_9 == 0) -{ -lean_object* x_10; -x_10 = l_Std_AssocList_replace___at_Lean_Meta_Match_Extension_State_addEntry___spec__11(x_1, x_2, x_8); -lean_ctor_set(x_3, 2, x_10); -return x_3; -} -else -{ -lean_dec(x_7); -lean_dec(x_6); -lean_ctor_set(x_3, 1, x_2); -lean_ctor_set(x_3, 0, x_1); -return x_3; -} -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_3, 0); -x_12 = lean_ctor_get(x_3, 1); -x_13 = lean_ctor_get(x_3, 2); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_3); -x_14 = lean_name_eq(x_11, x_1); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = l_Std_AssocList_replace___at_Lean_Meta_Match_Extension_State_addEntry___spec__11(x_1, x_2, x_13); -x_16 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_16, 0, x_11); -lean_ctor_set(x_16, 1, x_12); -lean_ctor_set(x_16, 2, x_15); -return x_16; -} -else -{ -lean_object* x_17; -lean_dec(x_12); -lean_dec(x_11); -x_17 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_17, 0, x_1); -lean_ctor_set(x_17, 1, x_2); -lean_ctor_set(x_17, 2, x_13); -return x_17; -} -} -} -} -} -lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -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; size_t x_8; size_t x_9; lean_object* x_10; uint8_t x_11; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 1); -x_7 = lean_array_get_size(x_6); -x_8 = l_Lean_Name_hash(x_2); -x_9 = lean_usize_modn(x_8, x_7); -x_10 = lean_array_uget(x_6, x_9); -x_11 = l_Std_AssocList_contains___at_Lean_Meta_Match_Extension_State_addEntry___spec__7(x_2, x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_add(x_5, x_12); -lean_dec(x_5); -x_14 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_14, 0, x_2); -lean_ctor_set(x_14, 1, x_3); -lean_ctor_set(x_14, 2, x_10); -x_15 = lean_array_uset(x_6, x_9, x_14); -x_16 = lean_nat_dec_le(x_13, x_7); -lean_dec(x_7); -if (x_16 == 0) -{ -lean_object* x_17; -lean_free_object(x_1); -x_17 = l_Std_HashMapImp_expand___at_Lean_Meta_Match_Extension_State_addEntry___spec__8(x_13, x_15); -return x_17; -} -else -{ -lean_ctor_set(x_1, 1, x_15); -lean_ctor_set(x_1, 0, x_13); -return x_1; -} -} -else -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_7); -x_18 = l_Std_AssocList_replace___at_Lean_Meta_Match_Extension_State_addEntry___spec__11(x_2, x_3, x_10); -x_19 = lean_array_uset(x_6, x_9, x_18); -lean_ctor_set(x_1, 1, x_19); -return x_1; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; uint8_t x_26; -x_20 = lean_ctor_get(x_1, 0); -x_21 = lean_ctor_get(x_1, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_1); -x_22 = lean_array_get_size(x_21); -x_23 = l_Lean_Name_hash(x_2); -x_24 = lean_usize_modn(x_23, x_22); -x_25 = lean_array_uget(x_21, x_24); -x_26 = l_Std_AssocList_contains___at_Lean_Meta_Match_Extension_State_addEntry___spec__7(x_2, x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_27 = lean_unsigned_to_nat(1u); -x_28 = lean_nat_add(x_20, x_27); -lean_dec(x_20); -x_29 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_29, 0, x_2); -lean_ctor_set(x_29, 1, x_3); -lean_ctor_set(x_29, 2, x_25); -x_30 = lean_array_uset(x_21, x_24, x_29); -x_31 = lean_nat_dec_le(x_28, x_22); -lean_dec(x_22); -if (x_31 == 0) -{ -lean_object* x_32; -x_32 = l_Std_HashMapImp_expand___at_Lean_Meta_Match_Extension_State_addEntry___spec__8(x_28, x_30); -return x_32; -} -else -{ -lean_object* x_33; -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_28); -lean_ctor_set(x_33, 1, x_30); -return x_33; -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_22); -x_34 = l_Std_AssocList_replace___at_Lean_Meta_Match_Extension_State_addEntry___spec__11(x_2, x_3, x_25); -x_35 = lean_array_uset(x_21, x_24, x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_20); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -} -lean_object* l_Lean_SMap_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); -if (x_4 == 0) -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_1); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_1, 1); -x_7 = l_Std_PersistentHashMap_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__2(x_6, x_2, x_3); -x_8 = 0; -lean_ctor_set(x_1, 1, x_7); -lean_ctor_set_uint8(x_1, sizeof(void*)*2, x_8); -return x_1; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; -x_9 = lean_ctor_get(x_1, 0); -x_10 = lean_ctor_get(x_1, 1); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_1); -x_11 = l_Std_PersistentHashMap_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__2(x_10, x_2, x_3); -x_12 = 0; -x_13 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_13, 0, x_9); -lean_ctor_set(x_13, 1, x_11); -lean_ctor_set_uint8(x_13, sizeof(void*)*2, x_12); -return x_13; -} -} -else -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_1); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = lean_ctor_get(x_1, 0); -x_16 = l_Std_HashMapImp_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__6(x_15, x_2, x_3); -x_17 = 1; -lean_ctor_set(x_1, 0, x_16); -lean_ctor_set_uint8(x_1, sizeof(void*)*2, x_17); -return x_1; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; -x_18 = lean_ctor_get(x_1, 0); -x_19 = lean_ctor_get(x_1, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_1); -x_20 = l_Std_HashMapImp_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__6(x_18, x_2, x_3); -x_21 = 1; -x_22 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_19); -lean_ctor_set_uint8(x_22, sizeof(void*)*2, x_21); -return x_22; -} -} -} -} -lean_object* l_Lean_Meta_Match_Extension_State_addEntry(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_2, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_2, 1); -lean_inc(x_4); -lean_dec(x_2); -x_5 = l_Lean_SMap_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__1(x_1, x_3, x_4); -return x_5; -} -} -lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Match_Extension_State_addEntry___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -size_t x_7; lean_object* x_8; -x_7 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_8 = l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Match_Extension_State_addEntry___spec__4(x_7, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_3); -lean_dec(x_2); -return x_8; -} -} -lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -size_t x_6; size_t x_7; lean_object* x_8; -x_6 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_7 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_8 = l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(x_1, x_6, x_7, x_4, x_5); -return x_8; -} -} -lean_object* l_Std_AssocList_contains___at_Lean_Meta_Match_Extension_State_addEntry___spec__7___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Std_AssocList_contains___at_Lean_Meta_Match_Extension_State_addEntry___spec__7(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_SMap_switch___at_Lean_Meta_Match_Extension_State_switch___spec__1(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); -if (x_2 == 0) -{ -return x_1; -} -else -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_1); -if (x_3 == 0) -{ -uint8_t x_4; -x_4 = 0; -lean_ctor_set_uint8(x_1, sizeof(void*)*2, x_4); -return x_1; -} -else -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 1); -lean_inc(x_6); -lean_inc(x_5); -lean_dec(x_1); -x_7 = 0; -x_8 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_8, 0, x_5); -lean_ctor_set(x_8, 1, x_6); -lean_ctor_set_uint8(x_8, sizeof(void*)*2, x_7); -return x_8; -} -} -} -} -lean_object* l_Lean_Meta_Match_Extension_State_switch(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_SMap_switch___at_Lean_Meta_Match_Extension_State_switch___spec__1(x_1); -return x_2; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = x_2 == x_3; -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; -x_6 = lean_array_uget(x_1, x_2); -x_7 = l_Lean_Meta_Match_Extension_State_addEntry(x_4, x_6); -x_8 = 1; -x_9 = x_2 + x_8; -x_2 = x_9; -x_4 = x_7; -goto _start; -} -else -{ -return x_4; -} -} -} -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = x_2 == x_3; -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; size_t x_10; size_t x_11; -x_6 = lean_array_uget(x_1, x_2); -x_7 = lean_array_get_size(x_6); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_nat_dec_lt(x_8, x_7); -x_10 = 1; -x_11 = x_2 + x_10; -if (x_9 == 0) -{ -lean_dec(x_7); -lean_dec(x_6); -x_2 = x_11; -goto _start; -} -else -{ -uint8_t x_13; -x_13 = lean_nat_dec_le(x_7, x_7); -if (x_13 == 0) -{ -lean_dec(x_7); -lean_dec(x_6); -x_2 = x_11; -goto _start; -} -else -{ -size_t x_15; size_t x_16; lean_object* x_17; -x_15 = 0; -x_16 = lean_usize_of_nat(x_7); -lean_dec(x_7); -x_17 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__2(x_6, x_15, x_16, x_4); -lean_dec(x_6); -x_2 = x_11; -x_4 = x_17; -goto _start; -} -} -} -else -{ -return x_4; -} -} -} -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_array_get_size(x_2); -x_4 = lean_unsigned_to_nat(0u); -x_5 = lean_nat_dec_lt(x_4, x_3); -if (x_5 == 0) -{ -lean_dec(x_3); -return x_1; -} -else -{ -uint8_t x_6; -x_6 = lean_nat_dec_le(x_3, x_3); -if (x_6 == 0) -{ -lean_dec(x_3); -return x_1; -} -else -{ -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = 0; -x_8 = lean_usize_of_nat(x_3); -lean_dec(x_3); -x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__3(x_2, x_7, x_8, x_1); -return x_9; -} -} -} -} -uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = x_3 == x_4; -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_array_uget(x_2, x_3); -x_7 = lean_ctor_get(x_6, 1); -lean_inc(x_7); -lean_dec(x_6); -x_8 = lean_ctor_get(x_1, 0); -x_9 = lean_name_eq(x_7, x_8); -lean_dec(x_7); -if (x_9 == 0) -{ -size_t x_10; size_t x_11; -x_10 = 1; -x_11 = x_3 + x_10; -x_3 = x_11; -goto _start; -} -else -{ -uint8_t x_13; -x_13 = 1; -return x_13; -} -} -else -{ -uint8_t x_14; -x_14 = 0; -return x_14; -} -} -} -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__5(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = l_Lean_persistentEnvExtensionsRef; -x_4 = lean_st_ref_get(x_3, x_2); -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_6 = lean_ctor_get(x_4, 0); -x_7 = lean_ctor_get(x_4, 1); -x_8 = lean_array_get_size(x_6); -x_9 = lean_unsigned_to_nat(0u); -x_10 = lean_nat_dec_lt(x_9, x_8); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -lean_dec(x_8); -lean_free_object(x_4); -lean_dec(x_6); -x_11 = lean_box(0); -x_12 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(x_1, x_11, x_7); -return x_12; -} -else -{ -uint8_t x_13; -x_13 = lean_nat_dec_le(x_8, x_8); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_8); -lean_free_object(x_4); -lean_dec(x_6); -x_14 = lean_box(0); -x_15 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(x_1, x_14, x_7); -return x_15; -} -else -{ -size_t x_16; size_t x_17; uint8_t x_18; -x_16 = 0; -x_17 = lean_usize_of_nat(x_8); -lean_dec(x_8); -x_18 = l_Array_anyMUnsafe_any___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__6(x_1, x_6, x_16, x_17); -lean_dec(x_6); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -lean_free_object(x_4); -x_19 = lean_box(0); -x_20 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(x_1, x_19, x_7); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_21 = lean_ctor_get(x_1, 0); -lean_inc(x_21); -lean_dec(x_1); -x_22 = l_Lean_Name_toString___closed__1; -x_23 = l_Lean_Name_toStringWithSep(x_22, x_21); -x_24 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_25 = lean_string_append(x_24, x_23); -lean_dec(x_23); -x_26 = l_Lean_registerInternalExceptionId___closed__2; -x_27 = lean_string_append(x_25, x_26); -x_28 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set_tag(x_4, 1); -lean_ctor_set(x_4, 0, x_28); -return x_4; -} -} -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_29 = lean_ctor_get(x_4, 0); -x_30 = lean_ctor_get(x_4, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_4); -x_31 = lean_array_get_size(x_29); -x_32 = lean_unsigned_to_nat(0u); -x_33 = lean_nat_dec_lt(x_32, x_31); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; -lean_dec(x_31); -lean_dec(x_29); -x_34 = lean_box(0); -x_35 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(x_1, x_34, x_30); -return x_35; -} -else -{ -uint8_t x_36; -x_36 = lean_nat_dec_le(x_31, x_31); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; -lean_dec(x_31); -lean_dec(x_29); -x_37 = lean_box(0); -x_38 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(x_1, x_37, x_30); -return x_38; -} -else -{ -size_t x_39; size_t x_40; uint8_t x_41; -x_39 = 0; -x_40 = lean_usize_of_nat(x_31); -lean_dec(x_31); -x_41 = l_Array_anyMUnsafe_any___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__6(x_1, x_29, x_39, x_40); -lean_dec(x_29); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_box(0); -x_43 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(x_1, x_42, x_30); -return x_43; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_44 = lean_ctor_get(x_1, 0); -lean_inc(x_44); -lean_dec(x_1); -x_45 = l_Lean_Name_toString___closed__1; -x_46 = l_Lean_Name_toStringWithSep(x_45, x_44); -x_47 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_48 = lean_string_append(x_47, x_46); -lean_dec(x_46); -x_49 = l_Lean_registerInternalExceptionId___closed__2; -x_50 = lean_string_append(x_48, x_49); -x_51 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_51, 0, x_50); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_30); -return x_52; -} -} -} -} -} -} -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__4(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; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 2); -lean_inc(x_4); -x_5 = lean_box(0); -x_6 = l_Array_empty___closed__1; -lean_inc(x_4); -x_7 = lean_apply_1(x_4, x_6); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_5); -lean_ctor_set(x_8, 1, x_7); -x_9 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); -lean_closure_set(x_9, 0, x_8); -x_10 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__1___boxed), 5, 2); -lean_closure_set(x_10, 0, x_4); -lean_closure_set(x_10, 1, x_5); -lean_inc(x_1); -x_11 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__2), 3, 1); -lean_closure_set(x_11, 0, x_1); -x_12 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3), 2, 1); -lean_closure_set(x_12, 0, x_1); -x_13 = l_Lean_registerSimplePersistentEnvExtension___rarg___closed__1; -x_14 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_9); -lean_ctor_set(x_14, 2, x_10); -lean_ctor_set(x_14, 3, x_11); -lean_ctor_set(x_14, 4, x_12); -lean_ctor_set(x_14, 5, x_13); -x_15 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__5(x_14, x_2); -return x_15; -} -} -lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____lambda__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_mkEmptyEnvironment___lambda__1___closed__1; -x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__1(x_2, x_1); -x_4 = l_Lean_SMap_switch___at_Lean_Meta_Match_Extension_State_switch___spec__1(x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("matcher"); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____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_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_Extension_State_addEntry), 2, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____lambda__1___boxed), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__2; -x_2 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__3; -x_3 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__4; -x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2542____closed__4; -x_5 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__5; -x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__4(x_2, x_1); -return x_3; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__2(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__3(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__1(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____spec__6(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____lambda__1___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____lambda__1(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_box(0); -return x_2; -} -} -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Array_empty___closed__1; -return x_2; -} -} -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__3(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_inc(x_1); -return x_1; -} -} -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__4___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_IO_Error_Init_System_IOError___instance__3___closed__1; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__4(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Meta_Match_Extension_extension___elambda__4___rarg), 1, 0); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_Match_Extension_extension___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_Extension_extension___elambda__4___boxed), 2, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Match_Extension_extension___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_Extension_extension___elambda__3___boxed), 2, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Match_Extension_extension___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_Extension_extension___elambda__2___boxed), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Match_Extension_extension___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_Extension_extension___elambda__1___boxed), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Match_Extension_extension___closed__5() { -_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; lean_object* x_7; -x_1 = l_Lean_EnvExtensionInterfaceUnsafe_Lean_Environment___instance__6___closed__2; -x_2 = lean_box(0); -x_3 = l_Lean_Meta_Match_Extension_extension___closed__1; -x_4 = l_Lean_Meta_Match_Extension_extension___closed__2; -x_5 = l_Lean_Meta_Match_Extension_extension___closed__3; -x_6 = l_Lean_Meta_Match_Extension_extension___closed__4; -x_7 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_7, 0, x_1); -lean_ctor_set(x_7, 1, x_2); -lean_ctor_set(x_7, 2, x_3); -lean_ctor_set(x_7, 3, x_4); -lean_ctor_set(x_7, 4, x_5); -lean_ctor_set(x_7, 5, x_6); -return x_7; -} -} -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__1___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Meta_Match_Extension_extension___elambda__1(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__2___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Meta_Match_Extension_extension___elambda__2(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__3___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Meta_Match_Extension_extension___elambda__3(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_Meta_Match_Extension_extension___elambda__4___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Meta_Match_Extension_extension___elambda__4(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_Meta_Match_Extension_addMatcherInfo(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; -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_2); -lean_ctor_set(x_4, 1, x_3); -x_5 = l_Lean_Meta_Match_Extension_extension; -x_6 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_5, x_1, x_4); -return x_6; -} -} -lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_array_get_size(x_1); -x_7 = lean_nat_dec_lt(x_4, x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -lean_object* x_8; -lean_dec(x_4); -x_8 = lean_box(0); -return x_8; -} -else -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_array_fget(x_1, x_4); -x_10 = lean_name_eq(x_5, x_9); -lean_dec(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_add(x_4, x_11); -lean_dec(x_4); -x_3 = lean_box(0); -x_4 = x_12; -goto _start; -} -else -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_array_fget(x_2, x_4); -lean_dec(x_4); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_14); -return x_15; -} -} -} -} -lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__3(lean_object* x_1, size_t x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; size_t x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -lean_dec(x_1); -x_5 = 5; -x_6 = l_Std_PersistentHashMap_insertAux___rarg___closed__2; -x_7 = x_2 & x_6; -x_8 = lean_usize_to_nat(x_7); -x_9 = lean_box(2); -x_10 = lean_array_get(x_9, x_4, x_8); -lean_dec(x_8); -lean_dec(x_4); -switch (lean_obj_tag(x_10)) { -case 0: -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_name_eq(x_3, x_11); -lean_dec(x_11); -if (x_13 == 0) -{ -lean_object* x_14; -lean_dec(x_12); -x_14 = lean_box(0); -return x_14; -} -else -{ -lean_object* x_15; -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_12); -return x_15; -} -} -case 1: -{ -lean_object* x_16; size_t x_17; -x_16 = lean_ctor_get(x_10, 0); -lean_inc(x_16); -lean_dec(x_10); -x_17 = x_2 >> x_5; -x_1 = x_16; -x_2 = x_17; -goto _start; -} -default: -{ -lean_object* x_19; -x_19 = lean_box(0); -return x_19; -} -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_1, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_1, 1); -lean_inc(x_21); -lean_dec(x_1); -x_22 = lean_unsigned_to_nat(0u); -x_23 = l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__4(x_20, x_21, lean_box(0), x_22, x_3); -lean_dec(x_21); -lean_dec(x_20); -return x_23; -} -} -} -lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; size_t x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -lean_dec(x_1); -x_4 = l_Lean_Name_hash(x_2); -x_5 = l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__3(x_3, x_4, x_2); -return x_5; -} -} -lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__6(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; -x_3 = lean_box(0); -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_ctor_get(x_2, 2); -x_7 = lean_name_eq(x_4, x_1); -if (x_7 == 0) -{ -x_2 = x_6; -goto _start; -} -else -{ -lean_object* x_9; -lean_inc(x_5); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_5); -return x_9; -} -} -} -} -lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__5(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; size_t x_5; size_t x_6; lean_object* x_7; lean_object* x_8; -x_3 = lean_ctor_get(x_1, 1); -x_4 = lean_array_get_size(x_3); -x_5 = l_Lean_Name_hash(x_2); -x_6 = lean_usize_modn(x_5, x_4); -lean_dec(x_4); -x_7 = lean_array_uget(x_3, x_6); -x_8 = l_Std_AssocList_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__6(x_2, x_7); -lean_dec(x_7); -return x_8; -} -} -lean_object* l_Lean_SMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; -x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -lean_dec(x_1); -x_6 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__2(x_5, x_2); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; -x_7 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__5(x_4, x_2); -lean_dec(x_4); -return x_7; -} -else -{ -uint8_t x_8; -lean_dec(x_4); -x_8 = !lean_is_exclusive(x_6); -if (x_8 == 0) -{ -return x_6; -} -else -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_6, 0); -lean_inc(x_9); -lean_dec(x_6); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_9); -return x_10; -} -} -} -else -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_1, 0); -lean_inc(x_11); -lean_dec(x_1); -x_12 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__5(x_11, x_2); -lean_dec(x_11); -return x_12; -} -} -} -lean_object* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = l_Lean_Meta_Match_Extension_extension; -x_4 = l_Lean_SimplePersistentEnvExtension_getState___rarg(x_3, x_1); -x_5 = l_Lean_SMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__1(x_4, x_2); -return x_5; -} -} -lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__4___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_Std_PersistentHashMap_findAtAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__4(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; lean_object* x_5; -x_4 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_5 = l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__3(x_1, x_4, x_3); -lean_dec(x_3); -return x_5; -} -} -lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__2___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__2(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__6___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_AssocList_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__6(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__5___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__5(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_SMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_SMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__1(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_Meta_Match_addMatcherInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = lean_st_ref_take(x_6, x_7); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = !lean_is_exclusive(x_9); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = lean_ctor_get(x_9, 0); -x_13 = l_Lean_Meta_Match_Extension_addMatcherInfo(x_12, x_1, x_2); -lean_ctor_set(x_9, 0, x_13); -x_14 = lean_st_ref_set(x_6, x_9, x_10); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_14, 0); -lean_dec(x_16); -x_17 = lean_box(0); -lean_ctor_set(x_14, 0, x_17); -return x_14; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_14, 1); -lean_inc(x_18); -lean_dec(x_14); -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; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_21 = lean_ctor_get(x_9, 0); -x_22 = lean_ctor_get(x_9, 1); -x_23 = lean_ctor_get(x_9, 2); -x_24 = lean_ctor_get(x_9, 3); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_9); -x_25 = l_Lean_Meta_Match_Extension_addMatcherInfo(x_21, x_1, x_2); -x_26 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_22); -lean_ctor_set(x_26, 2, x_23); -lean_ctor_set(x_26, 3, x_24); -x_27 = lean_st_ref_set(x_6, x_26, x_10); -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - x_29 = x_27; -} else { - lean_dec_ref(x_27); - x_29 = lean_box(0); -} -x_30 = lean_box(0); -if (lean_is_scalar(x_29)) { - x_31 = lean_alloc_ctor(0, 2, 0); -} else { - x_31 = x_29; -} -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_28); -return x_31; -} -} -} -lean_object* l_Lean_Meta_Match_addMatcherInfo___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Meta_Match_addMatcherInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_8; -} -} lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -31248,7 +29050,7 @@ lean_dec(x_2); return x_8; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__1() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__1() { _start: { lean_object* x_1; @@ -31256,17 +29058,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_6717____closed__2() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____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_6717____closed__1; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____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_6717____closed__3() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__3() { _start: { lean_object* x_1; @@ -31274,17 +29076,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_6717____closed__4() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____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_6717____closed__2; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__3; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__2; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____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_6717____closed__5() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__5() { _start: { lean_object* x_1; @@ -31292,13 +29094,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_6717____closed__6() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____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_476____closed__3; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__1; -x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__5; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__1; +x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____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); @@ -31306,12 +29108,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_6717_(lean_object* x_1) { +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592_(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_6717____closed__4; -x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__6; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__4; +x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__6; x_4 = lean_register_option(x_2, x_3, x_1); return x_4; } @@ -31320,7 +29122,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_6717____closed__4; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__4; x_3 = 1; x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); return x_4; @@ -35052,7 +32854,7 @@ x_11 = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lambda__4), 10, lean_closure_set(x_11, 0, x_4); lean_closure_set(x_11, 1, x_1); lean_closure_set(x_11, 2, x_3); -x_12 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__2___rarg(x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_reduceMatcher_x3f___spec__2___rarg(x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); return x_12; } } @@ -35167,584 +32969,6 @@ lean_dec(x_2); return x_17; } } -lean_object* l_Lean_Meta_getMatcherInfo_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_st_ref_get(x_5, x_6); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_7, 0); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); -x_11 = l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(x_10, x_1); -lean_dec(x_10); -lean_ctor_set(x_7, 0, x_11); -return x_7; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_7, 0); -x_13 = lean_ctor_get(x_7, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_7); -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(x_14, x_1); -lean_dec(x_14); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_13); -return x_16; -} -} -} -lean_object* l_Lean_Meta_getMatcherInfo_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Meta_getMatcherInfo_x3f(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Lean_Meta_isMatcher(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Meta_getMatcherInfo_x3f(x_1, x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 0) -{ -uint8_t x_9; -x_9 = !lean_is_exclusive(x_7); -if (x_9 == 0) -{ -lean_object* x_10; uint8_t x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_7, 0); -lean_dec(x_10); -x_11 = 0; -x_12 = lean_box(x_11); -lean_ctor_set(x_7, 0, x_12); -return x_7; -} -else -{ -lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_7, 1); -lean_inc(x_13); -lean_dec(x_7); -x_14 = 0; -x_15 = lean_box(x_14); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_13); -return x_16; -} -} -else -{ -uint8_t x_17; -lean_dec(x_8); -x_17 = !lean_is_exclusive(x_7); -if (x_17 == 0) -{ -lean_object* x_18; uint8_t x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_7, 0); -lean_dec(x_18); -x_19 = 1; -x_20 = lean_box(x_19); -lean_ctor_set(x_7, 0, x_20); -return x_7; -} -else -{ -lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_7, 1); -lean_inc(x_21); -lean_dec(x_7); -x_22 = 1; -x_23 = lean_box(x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_21); -return x_24; -} -} -} -} -lean_object* l_Lean_Meta_isMatcher___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_Lean_Meta_isMatcher(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Lean_Meta_matchMatcherApp_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; -lean_dec(x_2); -x_4 = lean_apply_1(x_3, x_1); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_1(x_2, x_5); -return x_6; -} -} -} -lean_object* l_Lean_Meta_matchMatcherApp_x3f_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_matchMatcherApp_x3f_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Meta_matchMatcherApp_x3f_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 4) -{ -lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_7 = lean_box_uint64(x_6); -x_8 = lean_apply_3(x_2, x_4, x_5, x_7); -return x_8; -} -else -{ -lean_object* x_9; -lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; -} -} -} -lean_object* l_Lean_Meta_matchMatcherApp_x3f_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_matchMatcherApp_x3f_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Meta_matchMatcherApp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Expr_getAppFn(x_1); -if (lean_obj_tag(x_7) == 4) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = l_Lean_Meta_getMatcherInfo_x3f(x_8, x_2, x_3, x_4, x_5, x_6); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_12 = !lean_is_exclusive(x_10); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_10, 0); -lean_dec(x_13); -x_14 = lean_box(0); -lean_ctor_set(x_10, 0, x_14); -return x_10; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_10, 1); -lean_inc(x_15); -lean_dec(x_10); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -} -else -{ -uint8_t x_18; -x_18 = !lean_is_exclusive(x_10); -if (x_18 == 0) -{ -lean_object* x_19; uint8_t x_20; -x_19 = lean_ctor_get(x_10, 0); -lean_dec(x_19); -x_20 = !lean_is_exclusive(x_11); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_21 = lean_ctor_get(x_11, 0); -x_22 = lean_unsigned_to_nat(0u); -x_23 = l_Lean_Expr_getAppNumArgsAux(x_1, x_22); -x_24 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_23); -x_25 = lean_mk_array(x_23, x_24); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_sub(x_23, x_26); -lean_dec(x_23); -x_28 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_25, x_27); -x_29 = lean_array_get_size(x_28); -x_30 = lean_ctor_get(x_21, 0); -lean_inc(x_30); -x_31 = lean_nat_add(x_30, x_26); -x_32 = lean_ctor_get(x_21, 1); -lean_inc(x_32); -x_33 = lean_nat_add(x_31, x_32); -lean_dec(x_32); -x_34 = l_Lean_Meta_Match_MatcherInfo_numAlts(x_21); -x_35 = lean_nat_add(x_33, x_34); -lean_dec(x_34); -x_36 = lean_nat_dec_lt(x_29, x_35); -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; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_37 = l_List_redLength___rarg(x_9); -x_38 = lean_mk_empty_array_with_capacity(x_37); -lean_dec(x_37); -x_39 = l_List_toArrayAux___rarg(x_9, x_38); -x_40 = lean_ctor_get(x_21, 3); -lean_inc(x_40); -lean_inc(x_30); -lean_inc(x_28); -x_41 = l_Array_extract___rarg(x_28, x_22, x_30); -x_42 = l_Lean_Expr_Lean_Expr___instance__11; -x_43 = lean_array_get(x_42, x_28, x_30); -lean_dec(x_30); -lean_inc(x_33); -lean_inc(x_28); -x_44 = l_Array_extract___rarg(x_28, x_31, x_33); -x_45 = lean_ctor_get(x_21, 2); -lean_inc(x_45); -lean_dec(x_21); -lean_inc(x_35); -lean_inc(x_28); -x_46 = l_Array_extract___rarg(x_28, x_33, x_35); -x_47 = l_Array_extract___rarg(x_28, x_35, x_29); -x_48 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_48, 0, x_8); -lean_ctor_set(x_48, 1, x_39); -lean_ctor_set(x_48, 2, x_40); -lean_ctor_set(x_48, 3, x_41); -lean_ctor_set(x_48, 4, x_43); -lean_ctor_set(x_48, 5, x_44); -lean_ctor_set(x_48, 6, x_45); -lean_ctor_set(x_48, 7, x_46); -lean_ctor_set(x_48, 8, x_47); -lean_ctor_set(x_11, 0, x_48); -return x_10; -} -else -{ -lean_object* x_49; -lean_dec(x_35); -lean_dec(x_33); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_free_object(x_11); -lean_dec(x_21); -lean_dec(x_9); -lean_dec(x_8); -x_49 = lean_box(0); -lean_ctor_set(x_10, 0, x_49); -return x_10; -} -} -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; uint8_t x_65; -x_50 = lean_ctor_get(x_11, 0); -lean_inc(x_50); -lean_dec(x_11); -x_51 = lean_unsigned_to_nat(0u); -x_52 = l_Lean_Expr_getAppNumArgsAux(x_1, x_51); -x_53 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_52); -x_54 = lean_mk_array(x_52, x_53); -x_55 = lean_unsigned_to_nat(1u); -x_56 = lean_nat_sub(x_52, x_55); -lean_dec(x_52); -x_57 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_54, x_56); -x_58 = lean_array_get_size(x_57); -x_59 = lean_ctor_get(x_50, 0); -lean_inc(x_59); -x_60 = lean_nat_add(x_59, x_55); -x_61 = lean_ctor_get(x_50, 1); -lean_inc(x_61); -x_62 = lean_nat_add(x_60, x_61); -lean_dec(x_61); -x_63 = l_Lean_Meta_Match_MatcherInfo_numAlts(x_50); -x_64 = lean_nat_add(x_62, x_63); -lean_dec(x_63); -x_65 = lean_nat_dec_lt(x_58, x_64); -if (x_65 == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_66 = l_List_redLength___rarg(x_9); -x_67 = lean_mk_empty_array_with_capacity(x_66); -lean_dec(x_66); -x_68 = l_List_toArrayAux___rarg(x_9, x_67); -x_69 = lean_ctor_get(x_50, 3); -lean_inc(x_69); -lean_inc(x_59); -lean_inc(x_57); -x_70 = l_Array_extract___rarg(x_57, x_51, x_59); -x_71 = l_Lean_Expr_Lean_Expr___instance__11; -x_72 = lean_array_get(x_71, x_57, x_59); -lean_dec(x_59); -lean_inc(x_62); -lean_inc(x_57); -x_73 = l_Array_extract___rarg(x_57, x_60, x_62); -x_74 = lean_ctor_get(x_50, 2); -lean_inc(x_74); -lean_dec(x_50); -lean_inc(x_64); -lean_inc(x_57); -x_75 = l_Array_extract___rarg(x_57, x_62, x_64); -x_76 = l_Array_extract___rarg(x_57, x_64, x_58); -x_77 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_77, 0, x_8); -lean_ctor_set(x_77, 1, x_68); -lean_ctor_set(x_77, 2, x_69); -lean_ctor_set(x_77, 3, x_70); -lean_ctor_set(x_77, 4, x_72); -lean_ctor_set(x_77, 5, x_73); -lean_ctor_set(x_77, 6, x_74); -lean_ctor_set(x_77, 7, x_75); -lean_ctor_set(x_77, 8, x_76); -x_78 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_10, 0, x_78); -return x_10; -} -else -{ -lean_object* x_79; -lean_dec(x_64); -lean_dec(x_62); -lean_dec(x_60); -lean_dec(x_59); -lean_dec(x_58); -lean_dec(x_57); -lean_dec(x_50); -lean_dec(x_9); -lean_dec(x_8); -x_79 = lean_box(0); -lean_ctor_set(x_10, 0, x_79); -return x_10; -} -} -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; 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; uint8_t x_97; -x_80 = lean_ctor_get(x_10, 1); -lean_inc(x_80); -lean_dec(x_10); -x_81 = lean_ctor_get(x_11, 0); -lean_inc(x_81); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - x_82 = x_11; -} else { - lean_dec_ref(x_11); - x_82 = lean_box(0); -} -x_83 = lean_unsigned_to_nat(0u); -x_84 = l_Lean_Expr_getAppNumArgsAux(x_1, x_83); -x_85 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_84); -x_86 = lean_mk_array(x_84, x_85); -x_87 = lean_unsigned_to_nat(1u); -x_88 = lean_nat_sub(x_84, x_87); -lean_dec(x_84); -x_89 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_86, x_88); -x_90 = lean_array_get_size(x_89); -x_91 = lean_ctor_get(x_81, 0); -lean_inc(x_91); -x_92 = lean_nat_add(x_91, x_87); -x_93 = lean_ctor_get(x_81, 1); -lean_inc(x_93); -x_94 = lean_nat_add(x_92, x_93); -lean_dec(x_93); -x_95 = l_Lean_Meta_Match_MatcherInfo_numAlts(x_81); -x_96 = lean_nat_add(x_94, x_95); -lean_dec(x_95); -x_97 = lean_nat_dec_lt(x_90, x_96); -if (x_97 == 0) -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_98 = l_List_redLength___rarg(x_9); -x_99 = lean_mk_empty_array_with_capacity(x_98); -lean_dec(x_98); -x_100 = l_List_toArrayAux___rarg(x_9, x_99); -x_101 = lean_ctor_get(x_81, 3); -lean_inc(x_101); -lean_inc(x_91); -lean_inc(x_89); -x_102 = l_Array_extract___rarg(x_89, x_83, x_91); -x_103 = l_Lean_Expr_Lean_Expr___instance__11; -x_104 = lean_array_get(x_103, x_89, x_91); -lean_dec(x_91); -lean_inc(x_94); -lean_inc(x_89); -x_105 = l_Array_extract___rarg(x_89, x_92, x_94); -x_106 = lean_ctor_get(x_81, 2); -lean_inc(x_106); -lean_dec(x_81); -lean_inc(x_96); -lean_inc(x_89); -x_107 = l_Array_extract___rarg(x_89, x_94, x_96); -x_108 = l_Array_extract___rarg(x_89, x_96, x_90); -x_109 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_109, 0, x_8); -lean_ctor_set(x_109, 1, x_100); -lean_ctor_set(x_109, 2, x_101); -lean_ctor_set(x_109, 3, x_102); -lean_ctor_set(x_109, 4, x_104); -lean_ctor_set(x_109, 5, x_105); -lean_ctor_set(x_109, 6, x_106); -lean_ctor_set(x_109, 7, x_107); -lean_ctor_set(x_109, 8, x_108); -if (lean_is_scalar(x_82)) { - x_110 = lean_alloc_ctor(1, 1, 0); -} else { - x_110 = x_82; -} -lean_ctor_set(x_110, 0, x_109); -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_80); -return x_111; -} -else -{ -lean_object* x_112; lean_object* x_113; -lean_dec(x_96); -lean_dec(x_94); -lean_dec(x_92); -lean_dec(x_91); -lean_dec(x_90); -lean_dec(x_89); -lean_dec(x_82); -lean_dec(x_81); -lean_dec(x_9); -lean_dec(x_8); -x_112 = lean_box(0); -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_80); -return x_113; -} -} -} -} -else -{ -lean_object* x_114; lean_object* x_115; -lean_dec(x_7); -lean_dec(x_1); -x_114 = lean_box(0); -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_6); -return x_115; -} -} -} -lean_object* l_Lean_Meta_matchMatcherApp_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Meta_matchMatcherApp_x3f(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_7; -} -} -lean_object* l_Lean_Meta_MatcherApp_toExpr(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_14; lean_object* x_15; -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_Array_toList___rarg(x_3); -lean_dec(x_3); -x_5 = l_Lean_mkConst(x_2, x_4); -x_6 = lean_ctor_get(x_1, 3); -lean_inc(x_6); -x_7 = l_Lean_mkAppN(x_5, x_6); -lean_dec(x_6); -x_8 = lean_ctor_get(x_1, 4); -lean_inc(x_8); -x_9 = l_Lean_mkApp(x_7, x_8); -x_10 = lean_ctor_get(x_1, 5); -lean_inc(x_10); -x_11 = l_Lean_mkAppN(x_9, x_10); -lean_dec(x_10); -x_12 = lean_ctor_get(x_1, 7); -lean_inc(x_12); -x_13 = l_Lean_mkAppN(x_11, x_12); -lean_dec(x_12); -x_14 = lean_ctor_get(x_1, 8); -lean_inc(x_14); -lean_dec(x_1); -x_15 = l_Lean_mkAppN(x_13, x_14); -lean_dec(x_14); -return x_15; -} -} lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -36129,7 +33353,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_24 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__2___rarg(x_20, x_22, x_23, x_5, x_6, x_7, x_8, x_19); +x_24 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_reduceMatcher_x3f___spec__2___rarg(x_20, x_22, x_23, x_5, x_6, x_7, x_8, x_19); if (lean_obj_tag(x_24) == 0) { 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; @@ -37613,7 +34837,7 @@ lean_dec(x_5); return x_11; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_7902_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_7522_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -37692,6 +34916,7 @@ lean_object* initialize_Lean_Meta_Check(lean_object*); lean_object* initialize_Lean_Meta_Closure(lean_object*); lean_object* initialize_Lean_Meta_Tactic_Cases(lean_object*); lean_object* initialize_Lean_Meta_GeneralizeTelescope(lean_object*); +lean_object* initialize_Lean_Meta_Match_MatcherInfo(lean_object*); lean_object* initialize_Lean_Meta_Match_MVarRenaming(lean_object*); lean_object* initialize_Lean_Meta_Match_CaseValues(lean_object*); lean_object* initialize_Lean_Meta_Match_CaseArraySizes(lean_object*); @@ -37724,6 +34949,9 @@ lean_dec_ref(res); res = initialize_Lean_Meta_GeneralizeTelescope(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Meta_Match_MatcherInfo(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Meta_Match_MVarRenaming(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -37977,58 +35205,25 @@ l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___close lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__3); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__4 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__4(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__4); -l_Lean_Meta_Match_Extension_State_map___default___closed__1 = _init_l_Lean_Meta_Match_Extension_State_map___default___closed__1(); -lean_mark_persistent(l_Lean_Meta_Match_Extension_State_map___default___closed__1); -l_Lean_Meta_Match_Extension_State_map___default___closed__2 = _init_l_Lean_Meta_Match_Extension_State_map___default___closed__2(); -lean_mark_persistent(l_Lean_Meta_Match_Extension_State_map___default___closed__2); -l_Lean_Meta_Match_Extension_State_map___default = _init_l_Lean_Meta_Match_Extension_State_map___default(); -lean_mark_persistent(l_Lean_Meta_Match_Extension_State_map___default); -l_Lean_Meta_Match_Extension_Lean_Meta_Match_Match___instance__4 = _init_l_Lean_Meta_Match_Extension_Lean_Meta_Match_Match___instance__4(); -lean_mark_persistent(l_Lean_Meta_Match_Extension_Lean_Meta_Match_Match___instance__4); -l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__1 = _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__1(); -lean_mark_persistent(l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__1); -l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__2 = _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__2(); -lean_mark_persistent(l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__2); -l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__3 = _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__3(); -lean_mark_persistent(l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__3); -l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__4 = _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__4(); -lean_mark_persistent(l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__4); -l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__5 = _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__5(); -lean_mark_persistent(l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615____closed__5); -l_Lean_Meta_Match_Extension_extension___closed__1 = _init_l_Lean_Meta_Match_Extension_extension___closed__1(); -lean_mark_persistent(l_Lean_Meta_Match_Extension_extension___closed__1); -l_Lean_Meta_Match_Extension_extension___closed__2 = _init_l_Lean_Meta_Match_Extension_extension___closed__2(); -lean_mark_persistent(l_Lean_Meta_Match_Extension_extension___closed__2); -l_Lean_Meta_Match_Extension_extension___closed__3 = _init_l_Lean_Meta_Match_Extension_extension___closed__3(); -lean_mark_persistent(l_Lean_Meta_Match_Extension_extension___closed__3); -l_Lean_Meta_Match_Extension_extension___closed__4 = _init_l_Lean_Meta_Match_Extension_extension___closed__4(); -lean_mark_persistent(l_Lean_Meta_Match_Extension_extension___closed__4); -l_Lean_Meta_Match_Extension_extension___closed__5 = _init_l_Lean_Meta_Match_Extension_extension___closed__5(); -lean_mark_persistent(l_Lean_Meta_Match_Extension_extension___closed__5); -res = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_Match___hyg_6615_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -l_Lean_Meta_Match_Extension_extension = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_Meta_Match_Extension_extension); -lean_dec_ref(res); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__1 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__1); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__2 = _init_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_6717____closed__1 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__1(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__1); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__2 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__2(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__2); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__3 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__3(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__3); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__4 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__4(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__4); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__5 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__5(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__5); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__6 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__6(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717____closed__6); -res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6717_(lean_io_mk_world()); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__1 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__1(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__1); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__2 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__2(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__2); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__3 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__3(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__3); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__4 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__4(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__4); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__5 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__5(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__5); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__6 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__6(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592____closed__6); +res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_6592_(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(); @@ -38103,7 +35298,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_7902_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_7522_(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/MatcherInfo.c b/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c new file mode 100644 index 0000000000..27a15f2657 --- /dev/null +++ b/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c @@ -0,0 +1,2878 @@ +// Lean compiler output +// Module: Lean.Meta.Match.MatcherInfo +// Imports: Init Lean.Meta.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 +extern lean_object* l_Lean_Name_toString___closed__1; +lean_object* l_Lean_Meta_isMatcher___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t l_USize_add(size_t, size_t); +lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__1; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts___boxed(lean_object*); +lean_object* lean_name_mk_string(lean_object*, lean_object*); +uint8_t l_USize_decEq(size_t, size_t); +lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__2; +lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__3(lean_object*, size_t, size_t, lean_object*); +extern lean_object* l_Lean_LocalContext_fvarIdToDecl___default___closed__1; +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__4(lean_object*, lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_registerInternalExceptionId___closed__2; +lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); +size_t l_USize_sub(size_t, size_t); +extern lean_object* l_Array_empty___closed__1; +lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__6(lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_get(lean_object*, lean_object*); +uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* l_Std_AssocList_replace___at_Lean_Meta_Match_Extension_State_addEntry___spec__11(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__3___boxed(lean_object*, lean_object*); +lean_object* l_Lean_SMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__1___boxed(lean_object*, lean_object*); +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*); +lean_object* lean_string_append(lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_getAppArgs___closed__1; +lean_object* l_Lean_Meta_Match_Extension_State_map___default; +lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__4; +size_t l_USize_shiftRight(size_t, size_t); +lean_object* l_Lean_SMap_switch___at_Lean_Meta_Match_Extension_State_switch___spec__1(lean_object*); +lean_object* l_Lean_Meta_matchMatcherApp_x3f_match__2(lean_object*); +lean_object* l_Lean_SMap_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); +lean_object* l_Lean_mkAppN(lean_object*, lean_object*); +lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_SMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_Lean_Meta_Match_MatcherInfo___instance__1; +lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* lean_st_ref_take(lean_object*, lean_object*); +extern lean_object* l_Std_PersistentHashMap_insertAux___rarg___closed__3; +lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__5; +lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_State_map___default___closed__2; +lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____lambda__1___boxed(lean_object*); +uint8_t l_Std_AssocList_contains___at_Lean_Meta_Match_Extension_State_addEntry___spec__7(lean_object*, lean_object*); +lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3(lean_object*, lean_object*); +lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_Match_Extension_State_addEntry___spec__9(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_State_addEntry(lean_object*, lean_object*); +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_mkHashMapImp___rarg(lean_object*); +lean_object* l_Lean_Meta_Match_Extension_extension___closed__1; +lean_object* l_Lean_Meta_Match_Extension_extension___closed__2; +lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_State_map___default___closed__1; +size_t l_Lean_Name_hash(lean_object*); +lean_object* l_Lean_Meta_Match_Extension_State_switch(lean_object*); +lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__5(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_extension; +lean_object* l_Std_PersistentHashMap_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_isMatcher(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_mkHashMap___at_Lean_Meta_Match_Extension_State_map___default___spec__1(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_persistentEnvExtensionsRef; +lean_object* l_Lean_Meta_matchMatcherApp_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_addMatcherInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_modn(size_t, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_extension___closed__4; +extern lean_object* l_Lean_mkEmptyEnvironment___lambda__1___closed__1; +lean_object* l_Lean_Meta_Match_Extension_addMatcherInfo(lean_object*, lean_object*, lean_object*); +size_t l_USize_mul(size_t, size_t); +lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____lambda__1(lean_object*); +size_t lean_usize_of_nat(lean_object*); +lean_object* l_Std_AssocList_contains___at_Lean_Meta_Match_Extension_State_addEntry___spec__7___boxed(lean_object*, lean_object*); +lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); +size_t l_USize_land(size_t, size_t); +lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__4___rarg(lean_object*); +lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__5___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__4(lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__2(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_Meta_Match_addMatcherInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Match_Extension_State_addEntry___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__3; +lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__2(lean_object*, lean_object*); +lean_object* l_Lean_Meta_getMatcherInfo_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; +lean_object* l_List_redLength___rarg(lean_object*); +lean_object* l_Lean_Meta_matchMatcherApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__2___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2542____closed__4; +lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_Lean_Expr___instance__11; +lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64_(lean_object*); +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__3(lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +uint8_t l_USize_decLe(size_t, size_t); +lean_object* l_Lean_mkApp(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__1___boxed(lean_object*); +lean_object* l_Lean_Meta_matchMatcherApp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__5(lean_object*, lean_object*); +extern lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___closed__1; +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__1(lean_object*); +lean_object* l_Lean_Meta_MatcherApp_toExpr(lean_object*); +lean_object* l_Lean_Meta_matchMatcherApp_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_Match_Extension_State_addEntry___spec__8(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__4___boxed(lean_object*, lean_object*); +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f___boxed(lean_object*, lean_object*); +lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_mul(lean_object*, lean_object*); +lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); +uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__6(lean_object*, lean_object*, size_t, size_t); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_toList___rarg(lean_object*); +extern lean_object* l_Lean_EnvExtensionInterfaceUnsafe_Lean_Environment___instance__6___closed__2; +lean_object* lean_mk_array(lean_object*, lean_object*); +extern size_t l_Std_PersistentHashMap_insertAux___rarg___closed__2; +lean_object* l_Lean_Meta_matchMatcherApp_x3f_match__1(lean_object*); +lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Match_Extension_State_addEntry___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__6(lean_object*, lean_object*); +lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__3(lean_object*, size_t, lean_object*); +lean_object* l_Lean_Expr_getAppFn(lean_object*); +lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); +lean_object* l_Lean_Meta_getMatcherInfo_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_extension___closed__3; +lean_object* lean_usize_to_nat(size_t); +lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__2___boxed(lean_object*); +lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_Match_Extension_State_addEntry___spec__10(lean_object*, lean_object*); +lean_object* l_Lean_mkConst(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_extension___closed__5; +extern lean_object* l_IO_Error_Init_System_IOError___instance__3___closed__1; +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__2(lean_object*); +lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__6___boxed(lean_object*, lean_object*); +lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_ctor_get(x_1, 2); +x_3 = lean_array_get_size(x_2); +return x_3; +} +} +lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Meta_Match_MatcherInfo_numAlts(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Std_mkHashMap___at_Lean_Meta_Match_Extension_State_map___default___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Std_mkHashMapImp___rarg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Match_Extension_State_map___default___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(8u); +x_2 = l_Std_mkHashMapImp___rarg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_Match_Extension_State_map___default___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 1; +x_2 = l_Lean_Meta_Match_Extension_State_map___default___closed__1; +x_3 = l_Lean_LocalContext_fvarIdToDecl___default___closed__1; +x_4 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_3); +lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Meta_Match_Extension_State_map___default() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_Match_Extension_State_map___default___closed__2; +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Match_Extension_Lean_Meta_Match_MatcherInfo___instance__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_mkEmptyEnvironment___lambda__1___closed__1; +return x_1; +} +} +lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Match_Extension_State_addEntry___spec__4(size_t 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_array_get_size(x_2); +x_8 = lean_nat_dec_lt(x_5, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_dec(x_5); +return x_6; +} +else +{ +lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_9 = lean_array_fget(x_2, x_5); +x_10 = lean_array_fget(x_3, x_5); +x_11 = l_Lean_Name_hash(x_9); +x_12 = 1; +x_13 = x_1 - x_12; +x_14 = 5; +x_15 = x_14 * x_13; +x_16 = x_11 >> x_15; +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_5, x_17); +lean_dec(x_5); +x_19 = l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(x_6, x_16, x_1, x_9, x_10); +x_4 = lean_box(0); +x_5 = x_18; +x_6 = x_19; +goto _start; +} +} +} +lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_array_get_size(x_5); +x_8 = lean_nat_dec_lt(x_2, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_2); +x_9 = !lean_is_exclusive(x_1); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_1, 1); +lean_dec(x_10); +x_11 = lean_ctor_get(x_1, 0); +lean_dec(x_11); +x_12 = lean_array_push(x_5, x_3); +x_13 = lean_array_push(x_6, x_4); +lean_ctor_set(x_1, 1, x_13); +lean_ctor_set(x_1, 0, x_12); +return x_1; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_14 = lean_array_push(x_5, x_3); +x_15 = lean_array_push(x_6, x_4); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_array_fget(x_5, x_2); +x_18 = lean_name_eq(x_3, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_6); +lean_dec(x_5); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_2, x_19); +lean_dec(x_2); +x_2 = x_20; +goto _start; +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_1); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_1, 1); +lean_dec(x_23); +x_24 = lean_ctor_get(x_1, 0); +lean_dec(x_24); +x_25 = lean_array_fset(x_5, x_2, x_3); +x_26 = lean_array_fset(x_6, x_2, x_4); +lean_dec(x_2); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_25); +return x_1; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_1); +x_27 = lean_array_fset(x_5, x_2, x_3); +x_28 = lean_array_fset(x_6, x_2, x_4); +lean_dec(x_2); +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_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_1); +if (x_6 == 0) +{ +lean_object* x_7; size_t x_8; size_t x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_7 = lean_ctor_get(x_1, 0); +x_8 = 1; +x_9 = 5; +x_10 = l_Std_PersistentHashMap_insertAux___rarg___closed__2; +x_11 = x_2 & x_10; +x_12 = lean_usize_to_nat(x_11); +x_13 = lean_array_get_size(x_7); +x_14 = lean_nat_dec_lt(x_12, x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_dec(x_12); +lean_dec(x_5); +lean_dec(x_4); +return x_1; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_array_fget(x_7, x_12); +x_16 = lean_box(2); +x_17 = lean_array_fset(x_7, x_12, x_16); +switch (lean_obj_tag(x_15)) { +case 0: +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +x_21 = lean_name_eq(x_4, x_19); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_free_object(x_15); +x_22 = l_Std_PersistentHashMap_mkCollisionNode___rarg(x_19, x_20, x_4, x_5); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_array_fset(x_17, x_12, x_23); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_24); +return x_1; +} +else +{ +lean_object* x_25; +lean_dec(x_20); +lean_dec(x_19); +lean_ctor_set(x_15, 1, x_5); +lean_ctor_set(x_15, 0, x_4); +x_25 = lean_array_fset(x_17, x_12, x_15); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_25); +return x_1; +} +} +else +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_15, 0); +x_27 = lean_ctor_get(x_15, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_15); +x_28 = lean_name_eq(x_4, x_26); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = l_Std_PersistentHashMap_mkCollisionNode___rarg(x_26, x_27, x_4, x_5); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_array_fset(x_17, x_12, x_30); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_31); +return x_1; +} +else +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_27); +lean_dec(x_26); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_4); +lean_ctor_set(x_32, 1, x_5); +x_33 = lean_array_fset(x_17, x_12, x_32); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_33); +return x_1; +} +} +} +case 1: +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_15); +if (x_34 == 0) +{ +lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_15, 0); +x_36 = x_2 >> x_9; +x_37 = x_3 + x_8; +x_38 = l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(x_35, x_36, x_37, x_4, x_5); +lean_ctor_set(x_15, 0, x_38); +x_39 = lean_array_fset(x_17, x_12, x_15); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_39); +return x_1; +} +else +{ +lean_object* x_40; size_t x_41; size_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_15, 0); +lean_inc(x_40); +lean_dec(x_15); +x_41 = x_2 >> x_9; +x_42 = x_3 + x_8; +x_43 = l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(x_40, x_41, x_42, x_4, x_5); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = lean_array_fset(x_17, x_12, x_44); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_45); +return x_1; +} +} +default: +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_4); +lean_ctor_set(x_46, 1, x_5); +x_47 = lean_array_fset(x_17, x_12, x_46); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_47); +return x_1; +} +} +} +} +else +{ +lean_object* x_48; size_t x_49; size_t x_50; size_t x_51; size_t x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_48 = lean_ctor_get(x_1, 0); +lean_inc(x_48); +lean_dec(x_1); +x_49 = 1; +x_50 = 5; +x_51 = l_Std_PersistentHashMap_insertAux___rarg___closed__2; +x_52 = x_2 & x_51; +x_53 = lean_usize_to_nat(x_52); +x_54 = lean_array_get_size(x_48); +x_55 = lean_nat_dec_lt(x_53, x_54); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_object* x_56; +lean_dec(x_53); +lean_dec(x_5); +lean_dec(x_4); +x_56 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_56, 0, x_48); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_array_fget(x_48, x_53); +x_58 = lean_box(2); +x_59 = lean_array_fset(x_48, x_53, x_58); +switch (lean_obj_tag(x_57)) { +case 0: +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_60 = lean_ctor_get(x_57, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_57, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_62 = x_57; +} else { + lean_dec_ref(x_57); + x_62 = lean_box(0); +} +x_63 = lean_name_eq(x_4, x_60); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_62); +x_64 = l_Std_PersistentHashMap_mkCollisionNode___rarg(x_60, x_61, x_4, x_5); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_64); +x_66 = lean_array_fset(x_59, x_53, x_65); +lean_dec(x_53); +x_67 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_67, 0, x_66); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_61); +lean_dec(x_60); +if (lean_is_scalar(x_62)) { + x_68 = lean_alloc_ctor(0, 2, 0); +} else { + x_68 = x_62; +} +lean_ctor_set(x_68, 0, x_4); +lean_ctor_set(x_68, 1, x_5); +x_69 = lean_array_fset(x_59, x_53, x_68); +lean_dec(x_53); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +return x_70; +} +} +case 1: +{ +lean_object* x_71; lean_object* x_72; size_t x_73; size_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_71 = lean_ctor_get(x_57, 0); +lean_inc(x_71); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + x_72 = x_57; +} else { + lean_dec_ref(x_57); + x_72 = lean_box(0); +} +x_73 = x_2 >> x_50; +x_74 = x_3 + x_49; +x_75 = l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(x_71, x_73, x_74, x_4, x_5); +if (lean_is_scalar(x_72)) { + x_76 = lean_alloc_ctor(1, 1, 0); +} else { + x_76 = x_72; +} +lean_ctor_set(x_76, 0, x_75); +x_77 = lean_array_fset(x_59, x_53, x_76); +lean_dec(x_53); +x_78 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_78, 0, x_77); +return x_78; +} +default: +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_4); +lean_ctor_set(x_79, 1, x_5); +x_80 = lean_array_fset(x_59, x_53, x_79); +lean_dec(x_53); +x_81 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_81, 0, x_80); +return x_81; +} +} +} +} +} +else +{ +uint8_t x_82; +x_82 = !lean_is_exclusive(x_1); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; size_t x_85; uint8_t x_86; +x_83 = lean_unsigned_to_nat(0u); +x_84 = l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__5(x_1, x_83, x_4, x_5); +x_85 = 7; +x_86 = x_85 <= x_3; +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_87 = l_Std_PersistentHashMap_getCollisionNodeSize___rarg(x_84); +x_88 = lean_unsigned_to_nat(4u); +x_89 = lean_nat_dec_lt(x_87, x_88); +lean_dec(x_87); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_90 = lean_ctor_get(x_84, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_92 = l_Std_PersistentHashMap_insertAux___rarg___closed__3; +x_93 = l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Match_Extension_State_addEntry___spec__4(x_3, x_90, x_91, lean_box(0), x_83, x_92); +lean_dec(x_91); +lean_dec(x_90); +return x_93; +} +else +{ +return x_84; +} +} +else +{ +return x_84; +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; size_t x_99; uint8_t x_100; +x_94 = lean_ctor_get(x_1, 0); +x_95 = lean_ctor_get(x_1, 1); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_1); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_unsigned_to_nat(0u); +x_98 = l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__5(x_96, x_97, x_4, x_5); +x_99 = 7; +x_100 = x_99 <= x_3; +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; uint8_t x_103; +x_101 = l_Std_PersistentHashMap_getCollisionNodeSize___rarg(x_98); +x_102 = lean_unsigned_to_nat(4u); +x_103 = lean_nat_dec_lt(x_101, x_102); +lean_dec(x_101); +if (x_103 == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_104 = lean_ctor_get(x_98, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_98, 1); +lean_inc(x_105); +lean_dec(x_98); +x_106 = l_Std_PersistentHashMap_insertAux___rarg___closed__3; +x_107 = l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Match_Extension_State_addEntry___spec__4(x_3, x_104, x_105, lean_box(0), x_97, x_106); +lean_dec(x_105); +lean_dec(x_104); +return x_107; +} +else +{ +return x_98; +} +} +else +{ +return x_98; +} +} +} +} +} +lean_object* l_Std_PersistentHashMap_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = l_Lean_Name_hash(x_2); +x_8 = 1; +x_9 = l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(x_5, x_7, x_8, x_2, x_3); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_6, x_10); +lean_dec(x_6); +lean_ctor_set(x_1, 1, x_11); +lean_ctor_set(x_1, 0, x_9); +return x_1; +} +else +{ +lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_12 = lean_ctor_get(x_1, 0); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_1); +x_14 = l_Lean_Name_hash(x_2); +x_15 = 1; +x_16 = l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(x_12, x_14, x_15, x_2, x_3); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_13, x_17); +lean_dec(x_13); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +uint8_t l_Std_AssocList_contains___at_Lean_Meta_Match_Extension_State_addEntry___spec__7(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 0; +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_name_eq(x_4, x_1); +if (x_6 == 0) +{ +x_2 = x_5; +goto _start; +} +else +{ +uint8_t x_8; +x_8 = 1; +return x_8; +} +} +} +} +lean_object* l_Std_AssocList_foldlM___at_Lean_Meta_Match_Extension_State_addEntry___spec__10(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_array_get_size(x_1); +x_7 = l_Lean_Name_hash(x_4); +x_8 = lean_usize_modn(x_7, x_6); +lean_dec(x_6); +x_9 = lean_array_uget(x_1, x_8); +lean_ctor_set(x_2, 2, x_9); +x_10 = lean_array_uset(x_1, x_8, x_2); +x_1 = x_10; +x_2 = x_5; +goto _start; +} +else +{ +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; lean_object* x_20; +x_12 = lean_ctor_get(x_2, 0); +x_13 = lean_ctor_get(x_2, 1); +x_14 = lean_ctor_get(x_2, 2); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_2); +x_15 = lean_array_get_size(x_1); +x_16 = l_Lean_Name_hash(x_12); +x_17 = lean_usize_modn(x_16, x_15); +lean_dec(x_15); +x_18 = lean_array_uget(x_1, x_17); +x_19 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_19, 0, x_12); +lean_ctor_set(x_19, 1, x_13); +lean_ctor_set(x_19, 2, x_18); +x_20 = lean_array_uset(x_1, x_17, x_19); +x_1 = x_20; +x_2 = x_14; +goto _start; +} +} +} +} +lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_Match_Extension_State_addEntry___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_2); +x_5 = lean_nat_dec_lt(x_1, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_array_fget(x_2, x_1); +x_7 = lean_box(0); +x_8 = lean_array_fset(x_2, x_1, x_7); +x_9 = l_Std_AssocList_foldlM___at_Lean_Meta_Match_Extension_State_addEntry___spec__10(x_3, x_6); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_1, x_10); +lean_dec(x_1); +x_1 = x_11; +x_2 = x_8; +x_3 = x_9; +goto _start; +} +} +} +lean_object* l_Std_HashMapImp_expand___at_Lean_Meta_Match_Extension_State_addEntry___spec__8(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; +x_3 = lean_array_get_size(x_2); +x_4 = lean_unsigned_to_nat(2u); +x_5 = lean_nat_mul(x_3, x_4); +lean_dec(x_3); +x_6 = lean_box(0); +x_7 = lean_mk_array(x_5, x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Std_HashMapImp_moveEntries___at_Lean_Meta_Match_Extension_State_addEntry___spec__9(x_8, x_2, x_7); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +lean_object* l_Std_AssocList_replace___at_Lean_Meta_Match_Extension_State_addEntry___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(0); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 2); +x_9 = lean_name_eq(x_6, x_1); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = l_Std_AssocList_replace___at_Lean_Meta_Match_Extension_State_addEntry___spec__11(x_1, x_2, x_8); +lean_ctor_set(x_3, 2, x_10); +return x_3; +} +else +{ +lean_dec(x_7); +lean_dec(x_6); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +x_13 = lean_ctor_get(x_3, 2); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_3); +x_14 = lean_name_eq(x_11, x_1); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = l_Std_AssocList_replace___at_Lean_Meta_Match_Extension_State_addEntry___spec__11(x_1, x_2, x_13); +x_16 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_16, 0, x_11); +lean_ctor_set(x_16, 1, x_12); +lean_ctor_set(x_16, 2, x_15); +return x_16; +} +else +{ +lean_object* x_17; +lean_dec(x_12); +lean_dec(x_11); +x_17 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_2); +lean_ctor_set(x_17, 2, x_13); +return x_17; +} +} +} +} +} +lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +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; size_t x_8; size_t x_9; lean_object* x_10; uint8_t x_11; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_array_get_size(x_6); +x_8 = l_Lean_Name_hash(x_2); +x_9 = lean_usize_modn(x_8, x_7); +x_10 = lean_array_uget(x_6, x_9); +x_11 = l_Std_AssocList_contains___at_Lean_Meta_Match_Extension_State_addEntry___spec__7(x_2, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_add(x_5, x_12); +lean_dec(x_5); +x_14 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_3); +lean_ctor_set(x_14, 2, x_10); +x_15 = lean_array_uset(x_6, x_9, x_14); +x_16 = lean_nat_dec_le(x_13, x_7); +lean_dec(x_7); +if (x_16 == 0) +{ +lean_object* x_17; +lean_free_object(x_1); +x_17 = l_Std_HashMapImp_expand___at_Lean_Meta_Match_Extension_State_addEntry___spec__8(x_13, x_15); +return x_17; +} +else +{ +lean_ctor_set(x_1, 1, x_15); +lean_ctor_set(x_1, 0, x_13); +return x_1; +} +} +else +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_7); +x_18 = l_Std_AssocList_replace___at_Lean_Meta_Match_Extension_State_addEntry___spec__11(x_2, x_3, x_10); +x_19 = lean_array_uset(x_6, x_9, x_18); +lean_ctor_set(x_1, 1, x_19); +return x_1; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; uint8_t x_26; +x_20 = lean_ctor_get(x_1, 0); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_1); +x_22 = lean_array_get_size(x_21); +x_23 = l_Lean_Name_hash(x_2); +x_24 = lean_usize_modn(x_23, x_22); +x_25 = lean_array_uget(x_21, x_24); +x_26 = l_Std_AssocList_contains___at_Lean_Meta_Match_Extension_State_addEntry___spec__7(x_2, x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_add(x_20, x_27); +lean_dec(x_20); +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_2); +lean_ctor_set(x_29, 1, x_3); +lean_ctor_set(x_29, 2, x_25); +x_30 = lean_array_uset(x_21, x_24, x_29); +x_31 = lean_nat_dec_le(x_28, x_22); +lean_dec(x_22); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = l_Std_HashMapImp_expand___at_Lean_Meta_Match_Extension_State_addEntry___spec__8(x_28, x_30); +return x_32; +} +else +{ +lean_object* x_33; +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_28); +lean_ctor_set(x_33, 1, x_30); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_22); +x_34 = l_Std_AssocList_replace___at_Lean_Meta_Match_Extension_State_addEntry___spec__11(x_2, x_3, x_25); +x_35 = lean_array_uset(x_21, x_24, x_34); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_20); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +} +lean_object* l_Lean_SMap_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); +if (x_4 == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_1); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_ctor_get(x_1, 1); +x_7 = l_Std_PersistentHashMap_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__2(x_6, x_2, x_3); +x_8 = 0; +lean_ctor_set(x_1, 1, x_7); +lean_ctor_set_uint8(x_1, sizeof(void*)*2, x_8); +return x_1; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_1); +x_11 = l_Std_PersistentHashMap_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__2(x_10, x_2, x_3); +x_12 = 0; +x_13 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_13, 0, x_9); +lean_ctor_set(x_13, 1, x_11); +lean_ctor_set_uint8(x_13, sizeof(void*)*2, x_12); +return x_13; +} +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_1); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_ctor_get(x_1, 0); +x_16 = l_Std_HashMapImp_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__6(x_15, x_2, x_3); +x_17 = 1; +lean_ctor_set(x_1, 0, x_16); +lean_ctor_set_uint8(x_1, sizeof(void*)*2, x_17); +return x_1; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_1, 0); +x_19 = lean_ctor_get(x_1, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_1); +x_20 = l_Std_HashMapImp_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__6(x_18, x_2, x_3); +x_21 = 1; +x_22 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_19); +lean_ctor_set_uint8(x_22, sizeof(void*)*2, x_21); +return x_22; +} +} +} +} +lean_object* l_Lean_Meta_Match_Extension_State_addEntry(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l_Lean_SMap_insert___at_Lean_Meta_Match_Extension_State_addEntry___spec__1(x_1, x_3, x_4); +return x_5; +} +} +lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Match_Extension_State_addEntry___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; lean_object* x_8; +x_7 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_8 = l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Match_Extension_State_addEntry___spec__4(x_7, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_Extension_State_addEntry___spec__3(x_1, x_6, x_7, x_4, x_5); +return x_8; +} +} +lean_object* l_Std_AssocList_contains___at_Lean_Meta_Match_Extension_State_addEntry___spec__7___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Std_AssocList_contains___at_Lean_Meta_Match_Extension_State_addEntry___spec__7(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Lean_SMap_switch___at_Lean_Meta_Match_Extension_State_switch___spec__1(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); +if (x_2 == 0) +{ +return x_1; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +uint8_t x_4; +x_4 = 0; +lean_ctor_set_uint8(x_1, sizeof(void*)*2, x_4); +return x_1; +} +else +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_1); +x_7 = 0; +x_8 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_8, 0, x_5); +lean_ctor_set(x_8, 1, x_6); +lean_ctor_set_uint8(x_8, sizeof(void*)*2, x_7); +return x_8; +} +} +} +} +lean_object* l_Lean_Meta_Match_Extension_State_switch(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_SMap_switch___at_Lean_Meta_Match_Extension_State_switch___spec__1(x_1); +return x_2; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_2 == x_3; +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l_Lean_Meta_Match_Extension_State_addEntry(x_4, x_6); +x_8 = 1; +x_9 = x_2 + x_8; +x_2 = x_9; +x_4 = x_7; +goto _start; +} +else +{ +return x_4; +} +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_2 == x_3; +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; size_t x_10; size_t x_11; +x_6 = lean_array_uget(x_1, x_2); +x_7 = lean_array_get_size(x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_lt(x_8, x_7); +x_10 = 1; +x_11 = x_2 + x_10; +if (x_9 == 0) +{ +lean_dec(x_7); +lean_dec(x_6); +x_2 = x_11; +goto _start; +} +else +{ +uint8_t x_13; +x_13 = lean_nat_dec_le(x_7, x_7); +if (x_13 == 0) +{ +lean_dec(x_7); +lean_dec(x_6); +x_2 = x_11; +goto _start; +} +else +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = 0; +x_16 = lean_usize_of_nat(x_7); +lean_dec(x_7); +x_17 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__2(x_6, x_15, x_16, x_4); +lean_dec(x_6); +x_2 = x_11; +x_4 = x_17; +goto _start; +} +} +} +else +{ +return x_4; +} +} +} +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = lean_array_get_size(x_2); +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_lt(x_4, x_3); +if (x_5 == 0) +{ +lean_dec(x_3); +return x_1; +} +else +{ +uint8_t x_6; +x_6 = lean_nat_dec_le(x_3, x_3); +if (x_6 == 0) +{ +lean_dec(x_3); +return x_1; +} +else +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = 0; +x_8 = lean_usize_of_nat(x_3); +lean_dec(x_3); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__3(x_2, x_7, x_8, x_1); +return x_9; +} +} +} +} +uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_3 == x_4; +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_array_uget(x_2, x_3); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_ctor_get(x_1, 0); +x_9 = lean_name_eq(x_7, x_8); +lean_dec(x_7); +if (x_9 == 0) +{ +size_t x_10; size_t x_11; +x_10 = 1; +x_11 = x_3 + x_10; +x_3 = x_11; +goto _start; +} +else +{ +uint8_t x_13; +x_13 = 1; +return x_13; +} +} +else +{ +uint8_t x_14; +x_14 = 0; +return x_14; +} +} +} +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_persistentEnvExtensionsRef; +x_4 = lean_st_ref_get(x_3, x_2); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_ctor_get(x_4, 1); +x_8 = lean_array_get_size(x_6); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_lt(x_9, x_8); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_8); +lean_free_object(x_4); +lean_dec(x_6); +x_11 = lean_box(0); +x_12 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(x_1, x_11, x_7); +return x_12; +} +else +{ +uint8_t x_13; +x_13 = lean_nat_dec_le(x_8, x_8); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_8); +lean_free_object(x_4); +lean_dec(x_6); +x_14 = lean_box(0); +x_15 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(x_1, x_14, x_7); +return x_15; +} +else +{ +size_t x_16; size_t x_17; uint8_t x_18; +x_16 = 0; +x_17 = lean_usize_of_nat(x_8); +lean_dec(x_8); +x_18 = l_Array_anyMUnsafe_any___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__6(x_1, x_6, x_16, x_17); +lean_dec(x_6); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_free_object(x_4); +x_19 = lean_box(0); +x_20 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(x_1, x_19, x_7); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_21 = lean_ctor_get(x_1, 0); +lean_inc(x_21); +lean_dec(x_1); +x_22 = l_Lean_Name_toString___closed__1; +x_23 = l_Lean_Name_toStringWithSep(x_22, x_21); +x_24 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; +x_25 = lean_string_append(x_24, x_23); +lean_dec(x_23); +x_26 = l_Lean_registerInternalExceptionId___closed__2; +x_27 = lean_string_append(x_25, x_26); +x_28 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set_tag(x_4, 1); +lean_ctor_set(x_4, 0, x_28); +return x_4; +} +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_29 = lean_ctor_get(x_4, 0); +x_30 = lean_ctor_get(x_4, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_4); +x_31 = lean_array_get_size(x_29); +x_32 = lean_unsigned_to_nat(0u); +x_33 = lean_nat_dec_lt(x_32, x_31); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +lean_dec(x_31); +lean_dec(x_29); +x_34 = lean_box(0); +x_35 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(x_1, x_34, x_30); +return x_35; +} +else +{ +uint8_t x_36; +x_36 = lean_nat_dec_le(x_31, x_31); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_31); +lean_dec(x_29); +x_37 = lean_box(0); +x_38 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(x_1, x_37, x_30); +return x_38; +} +else +{ +size_t x_39; size_t x_40; uint8_t x_41; +x_39 = 0; +x_40 = lean_usize_of_nat(x_31); +lean_dec(x_31); +x_41 = l_Array_anyMUnsafe_any___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__6(x_1, x_29, x_39, x_40); +lean_dec(x_29); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_box(0); +x_43 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(x_1, x_42, x_30); +return x_43; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_44 = lean_ctor_get(x_1, 0); +lean_inc(x_44); +lean_dec(x_1); +x_45 = l_Lean_Name_toString___closed__1; +x_46 = l_Lean_Name_toStringWithSep(x_45, x_44); +x_47 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; +x_48 = lean_string_append(x_47, x_46); +lean_dec(x_46); +x_49 = l_Lean_registerInternalExceptionId___closed__2; +x_50 = lean_string_append(x_48, x_49); +x_51 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_51, 0, x_50); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_30); +return x_52; +} +} +} +} +} +} +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__4(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; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 2); +lean_inc(x_4); +x_5 = lean_box(0); +x_6 = l_Array_empty___closed__1; +lean_inc(x_4); +x_7 = lean_apply_1(x_4, x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_5); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_9, 0, x_8); +x_10 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__1___boxed), 5, 2); +lean_closure_set(x_10, 0, x_4); +lean_closure_set(x_10, 1, x_5); +lean_inc(x_1); +x_11 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__2), 3, 1); +lean_closure_set(x_11, 0, x_1); +x_12 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3), 2, 1); +lean_closure_set(x_12, 0, x_1); +x_13 = l_Lean_registerSimplePersistentEnvExtension___rarg___closed__1; +x_14 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_14, 0, x_3); +lean_ctor_set(x_14, 1, x_9); +lean_ctor_set(x_14, 2, x_10); +lean_ctor_set(x_14, 3, x_11); +lean_ctor_set(x_14, 4, x_12); +lean_ctor_set(x_14, 5, x_13); +x_15 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__5(x_14, x_2); +return x_15; +} +} +lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____lambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_mkEmptyEnvironment___lambda__1___closed__1; +x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__1(x_2, x_1); +x_4 = l_Lean_SMap_switch___at_Lean_Meta_Match_Extension_State_switch___spec__1(x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matcher"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____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_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_Extension_State_addEntry), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____lambda__1___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__2; +x_2 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__3; +x_3 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__4; +x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2542____closed__4; +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__5; +x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__4(x_2, x_1); +return x_3; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__2(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__3(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____spec__6(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____lambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____lambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +} +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Array_empty___closed__1; +return x_2; +} +} +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__4___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_IO_Error_Init_System_IOError___instance__3___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Meta_Match_Extension_extension___elambda__4___rarg), 1, 0); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_Match_Extension_extension___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_Extension_extension___elambda__4___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Match_Extension_extension___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_Extension_extension___elambda__3___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Match_Extension_extension___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_Extension_extension___elambda__2___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Match_Extension_extension___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_Extension_extension___elambda__1___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Match_Extension_extension___closed__5() { +_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; lean_object* x_7; +x_1 = l_Lean_EnvExtensionInterfaceUnsafe_Lean_Environment___instance__6___closed__2; +x_2 = lean_box(0); +x_3 = l_Lean_Meta_Match_Extension_extension___closed__1; +x_4 = l_Lean_Meta_Match_Extension_extension___closed__2; +x_5 = l_Lean_Meta_Match_Extension_extension___closed__3; +x_6 = l_Lean_Meta_Match_Extension_extension___closed__4; +x_7 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_2); +lean_ctor_set(x_7, 2, x_3); +lean_ctor_set(x_7, 3, x_4); +lean_ctor_set(x_7, 4, x_5); +lean_ctor_set(x_7, 5, x_6); +return x_7; +} +} +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Meta_Match_Extension_extension___elambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__2___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Meta_Match_Extension_extension___elambda__2(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Match_Extension_extension___elambda__3(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_Meta_Match_Extension_extension___elambda__4___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Match_Extension_extension___elambda__4(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_Meta_Match_Extension_addMatcherInfo(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; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_3); +x_5 = l_Lean_Meta_Match_Extension_extension; +x_6 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_5, x_1, x_4); +return x_6; +} +} +lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_get_size(x_1); +x_7 = lean_nat_dec_lt(x_4, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_4); +x_8 = lean_box(0); +return x_8; +} +else +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_array_fget(x_1, x_4); +x_10 = lean_name_eq(x_5, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_4, x_11); +lean_dec(x_4); +x_3 = lean_box(0); +x_4 = x_12; +goto _start; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_array_fget(x_2, x_4); +lean_dec(x_4); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +return x_15; +} +} +} +} +lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__3(lean_object* x_1, size_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; size_t x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = 5; +x_6 = l_Std_PersistentHashMap_insertAux___rarg___closed__2; +x_7 = x_2 & x_6; +x_8 = lean_usize_to_nat(x_7); +x_9 = lean_box(2); +x_10 = lean_array_get(x_9, x_4, x_8); +lean_dec(x_8); +lean_dec(x_4); +switch (lean_obj_tag(x_10)) { +case 0: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_name_eq(x_3, x_11); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_12); +x_14 = lean_box(0); +return x_14; +} +else +{ +lean_object* x_15; +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_12); +return x_15; +} +} +case 1: +{ +lean_object* x_16; size_t x_17; +x_16 = lean_ctor_get(x_10, 0); +lean_inc(x_16); +lean_dec(x_10); +x_17 = x_2 >> x_5; +x_1 = x_16; +x_2 = x_17; +goto _start; +} +default: +{ +lean_object* x_19; +x_19 = lean_box(0); +return x_19; +} +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_1, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +lean_dec(x_1); +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__4(x_20, x_21, lean_box(0), x_22, x_3); +lean_dec(x_21); +lean_dec(x_20); +return x_23; +} +} +} +lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; size_t x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = l_Lean_Name_hash(x_2); +x_5 = l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__3(x_3, x_4, x_2); +return x_5; +} +} +lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__6(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +x_7 = lean_name_eq(x_4, x_1); +if (x_7 == 0) +{ +x_2 = x_6; +goto _start; +} +else +{ +lean_object* x_9; +lean_inc(x_5); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_5); +return x_9; +} +} +} +} +lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; size_t x_5; size_t x_6; lean_object* x_7; lean_object* x_8; +x_3 = lean_ctor_get(x_1, 1); +x_4 = lean_array_get_size(x_3); +x_5 = l_Lean_Name_hash(x_2); +x_6 = lean_usize_modn(x_5, x_4); +lean_dec(x_4); +x_7 = lean_array_uget(x_3, x_6); +x_8 = l_Std_AssocList_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__6(x_2, x_7); +lean_dec(x_7); +return x_8; +} +} +lean_object* l_Lean_SMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__2(x_5, x_2); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +x_7 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__5(x_4, x_2); +lean_dec(x_4); +return x_7; +} +else +{ +uint8_t x_8; +lean_dec(x_4); +x_8 = !lean_is_exclusive(x_6); +if (x_8 == 0) +{ +return x_6; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +return x_10; +} +} +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__5(x_11, x_2); +lean_dec(x_11); +return x_12; +} +} +} +lean_object* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = l_Lean_Meta_Match_Extension_extension; +x_4 = l_Lean_SimplePersistentEnvExtension_getState___rarg(x_3, x_1); +x_5 = l_Lean_SMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__1(x_4, x_2); +return x_5; +} +} +lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__4___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_Std_PersistentHashMap_findAtAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__4(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; lean_object* x_5; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__3(x_1, x_4, x_3); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__2(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__6___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_AssocList_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__6(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__5___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_HashMapImp_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__5(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_SMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_SMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +lean_object* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_Meta_Match_addMatcherInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_st_ref_take(x_6, x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = !lean_is_exclusive(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_9, 0); +x_13 = l_Lean_Meta_Match_Extension_addMatcherInfo(x_12, x_1, x_2); +lean_ctor_set(x_9, 0, x_13); +x_14 = lean_st_ref_set(x_6, x_9, x_10); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +lean_dec(x_16); +x_17 = lean_box(0); +lean_ctor_set(x_14, 0, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +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; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_21 = lean_ctor_get(x_9, 0); +x_22 = lean_ctor_get(x_9, 1); +x_23 = lean_ctor_get(x_9, 2); +x_24 = lean_ctor_get(x_9, 3); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_9); +x_25 = l_Lean_Meta_Match_Extension_addMatcherInfo(x_21, x_1, x_2); +x_26 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_22); +lean_ctor_set(x_26, 2, x_23); +lean_ctor_set(x_26, 3, x_24); +x_27 = lean_st_ref_set(x_6, x_26, x_10); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + x_29 = x_27; +} else { + lean_dec_ref(x_27); + x_29 = lean_box(0); +} +x_30 = lean_box(0); +if (lean_is_scalar(x_29)) { + x_31 = lean_alloc_ctor(0, 2, 0); +} else { + x_31 = x_29; +} +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_28); +return x_31; +} +} +} +lean_object* l_Lean_Meta_Match_addMatcherInfo___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Meta_Match_addMatcherInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_8; +} +} +lean_object* l_Lean_Meta_getMatcherInfo_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_st_ref_get(x_5, x_6); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +x_11 = l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(x_10, x_1); +lean_dec(x_10); +lean_ctor_set(x_7, 0, x_11); +return x_7; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_7, 0); +x_13 = lean_ctor_get(x_7, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_7); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(x_14, x_1); +lean_dec(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_13); +return x_16; +} +} +} +lean_object* l_Lean_Meta_getMatcherInfo_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Meta_getMatcherInfo_x3f(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Meta_isMatcher(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_Meta_getMatcherInfo_x3f(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_7); +if (x_9 == 0) +{ +lean_object* x_10; uint8_t x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_7, 0); +lean_dec(x_10); +x_11 = 0; +x_12 = lean_box(x_11); +lean_ctor_set(x_7, 0, x_12); +return x_7; +} +else +{ +lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_7, 1); +lean_inc(x_13); +lean_dec(x_7); +x_14 = 0; +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_13); +return x_16; +} +} +else +{ +uint8_t x_17; +lean_dec(x_8); +x_17 = !lean_is_exclusive(x_7); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_7, 0); +lean_dec(x_18); +x_19 = 1; +x_20 = lean_box(x_19); +lean_ctor_set(x_7, 0, x_20); +return x_7; +} +else +{ +lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_7, 1); +lean_inc(x_21); +lean_dec(x_7); +x_22 = 1; +x_23 = lean_box(x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_21); +return x_24; +} +} +} +} +lean_object* l_Lean_Meta_isMatcher___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_Lean_Meta_isMatcher(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_Meta_matchMatcherApp_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_Meta_matchMatcherApp_x3f_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_matchMatcherApp_x3f_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_matchMatcherApp_x3f_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 4) +{ +lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_7 = lean_box_uint64(x_6); +x_8 = lean_apply_3(x_2, x_4, x_5, x_7); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; +} +} +} +lean_object* l_Lean_Meta_matchMatcherApp_x3f_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_matchMatcherApp_x3f_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_matchMatcherApp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Expr_getAppFn(x_1); +if (lean_obj_tag(x_7) == 4) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l_Lean_Meta_getMatcherInfo_x3f(x_8, x_2, x_3, x_4, x_5, x_6); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +x_14 = lean_box(0); +lean_ctor_set(x_10, 0, x_14); +return x_10; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_dec(x_10); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_10, 0); +lean_dec(x_19); +x_20 = !lean_is_exclusive(x_11); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_21 = lean_ctor_get(x_11, 0); +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_Expr_getAppNumArgsAux(x_1, x_22); +x_24 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_23); +x_25 = lean_mk_array(x_23, x_24); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_nat_sub(x_23, x_26); +lean_dec(x_23); +x_28 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_25, x_27); +x_29 = lean_array_get_size(x_28); +x_30 = lean_ctor_get(x_21, 0); +lean_inc(x_30); +x_31 = lean_nat_add(x_30, x_26); +x_32 = lean_ctor_get(x_21, 1); +lean_inc(x_32); +x_33 = lean_nat_add(x_31, x_32); +lean_dec(x_32); +x_34 = l_Lean_Meta_Match_MatcherInfo_numAlts(x_21); +x_35 = lean_nat_add(x_33, x_34); +lean_dec(x_34); +x_36 = lean_nat_dec_lt(x_29, x_35); +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; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_37 = l_List_redLength___rarg(x_9); +x_38 = lean_mk_empty_array_with_capacity(x_37); +lean_dec(x_37); +x_39 = l_List_toArrayAux___rarg(x_9, x_38); +x_40 = lean_ctor_get(x_21, 3); +lean_inc(x_40); +lean_inc(x_30); +lean_inc(x_28); +x_41 = l_Array_extract___rarg(x_28, x_22, x_30); +x_42 = l_Lean_Expr_Lean_Expr___instance__11; +x_43 = lean_array_get(x_42, x_28, x_30); +lean_dec(x_30); +lean_inc(x_33); +lean_inc(x_28); +x_44 = l_Array_extract___rarg(x_28, x_31, x_33); +x_45 = lean_ctor_get(x_21, 2); +lean_inc(x_45); +lean_dec(x_21); +lean_inc(x_35); +lean_inc(x_28); +x_46 = l_Array_extract___rarg(x_28, x_33, x_35); +x_47 = l_Array_extract___rarg(x_28, x_35, x_29); +x_48 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_48, 0, x_8); +lean_ctor_set(x_48, 1, x_39); +lean_ctor_set(x_48, 2, x_40); +lean_ctor_set(x_48, 3, x_41); +lean_ctor_set(x_48, 4, x_43); +lean_ctor_set(x_48, 5, x_44); +lean_ctor_set(x_48, 6, x_45); +lean_ctor_set(x_48, 7, x_46); +lean_ctor_set(x_48, 8, x_47); +lean_ctor_set(x_11, 0, x_48); +return x_10; +} +else +{ +lean_object* x_49; +lean_dec(x_35); +lean_dec(x_33); +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_29); +lean_dec(x_28); +lean_free_object(x_11); +lean_dec(x_21); +lean_dec(x_9); +lean_dec(x_8); +x_49 = lean_box(0); +lean_ctor_set(x_10, 0, x_49); +return x_10; +} +} +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; uint8_t x_65; +x_50 = lean_ctor_get(x_11, 0); +lean_inc(x_50); +lean_dec(x_11); +x_51 = lean_unsigned_to_nat(0u); +x_52 = l_Lean_Expr_getAppNumArgsAux(x_1, x_51); +x_53 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_52); +x_54 = lean_mk_array(x_52, x_53); +x_55 = lean_unsigned_to_nat(1u); +x_56 = lean_nat_sub(x_52, x_55); +lean_dec(x_52); +x_57 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_54, x_56); +x_58 = lean_array_get_size(x_57); +x_59 = lean_ctor_get(x_50, 0); +lean_inc(x_59); +x_60 = lean_nat_add(x_59, x_55); +x_61 = lean_ctor_get(x_50, 1); +lean_inc(x_61); +x_62 = lean_nat_add(x_60, x_61); +lean_dec(x_61); +x_63 = l_Lean_Meta_Match_MatcherInfo_numAlts(x_50); +x_64 = lean_nat_add(x_62, x_63); +lean_dec(x_63); +x_65 = lean_nat_dec_lt(x_58, x_64); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_66 = l_List_redLength___rarg(x_9); +x_67 = lean_mk_empty_array_with_capacity(x_66); +lean_dec(x_66); +x_68 = l_List_toArrayAux___rarg(x_9, x_67); +x_69 = lean_ctor_get(x_50, 3); +lean_inc(x_69); +lean_inc(x_59); +lean_inc(x_57); +x_70 = l_Array_extract___rarg(x_57, x_51, x_59); +x_71 = l_Lean_Expr_Lean_Expr___instance__11; +x_72 = lean_array_get(x_71, x_57, x_59); +lean_dec(x_59); +lean_inc(x_62); +lean_inc(x_57); +x_73 = l_Array_extract___rarg(x_57, x_60, x_62); +x_74 = lean_ctor_get(x_50, 2); +lean_inc(x_74); +lean_dec(x_50); +lean_inc(x_64); +lean_inc(x_57); +x_75 = l_Array_extract___rarg(x_57, x_62, x_64); +x_76 = l_Array_extract___rarg(x_57, x_64, x_58); +x_77 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_77, 0, x_8); +lean_ctor_set(x_77, 1, x_68); +lean_ctor_set(x_77, 2, x_69); +lean_ctor_set(x_77, 3, x_70); +lean_ctor_set(x_77, 4, x_72); +lean_ctor_set(x_77, 5, x_73); +lean_ctor_set(x_77, 6, x_74); +lean_ctor_set(x_77, 7, x_75); +lean_ctor_set(x_77, 8, x_76); +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_10, 0, x_78); +return x_10; +} +else +{ +lean_object* x_79; +lean_dec(x_64); +lean_dec(x_62); +lean_dec(x_60); +lean_dec(x_59); +lean_dec(x_58); +lean_dec(x_57); +lean_dec(x_50); +lean_dec(x_9); +lean_dec(x_8); +x_79 = lean_box(0); +lean_ctor_set(x_10, 0, x_79); +return x_10; +} +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; 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; uint8_t x_97; +x_80 = lean_ctor_get(x_10, 1); +lean_inc(x_80); +lean_dec(x_10); +x_81 = lean_ctor_get(x_11, 0); +lean_inc(x_81); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + x_82 = x_11; +} else { + lean_dec_ref(x_11); + x_82 = lean_box(0); +} +x_83 = lean_unsigned_to_nat(0u); +x_84 = l_Lean_Expr_getAppNumArgsAux(x_1, x_83); +x_85 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_84); +x_86 = lean_mk_array(x_84, x_85); +x_87 = lean_unsigned_to_nat(1u); +x_88 = lean_nat_sub(x_84, x_87); +lean_dec(x_84); +x_89 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_86, x_88); +x_90 = lean_array_get_size(x_89); +x_91 = lean_ctor_get(x_81, 0); +lean_inc(x_91); +x_92 = lean_nat_add(x_91, x_87); +x_93 = lean_ctor_get(x_81, 1); +lean_inc(x_93); +x_94 = lean_nat_add(x_92, x_93); +lean_dec(x_93); +x_95 = l_Lean_Meta_Match_MatcherInfo_numAlts(x_81); +x_96 = lean_nat_add(x_94, x_95); +lean_dec(x_95); +x_97 = lean_nat_dec_lt(x_90, x_96); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_98 = l_List_redLength___rarg(x_9); +x_99 = lean_mk_empty_array_with_capacity(x_98); +lean_dec(x_98); +x_100 = l_List_toArrayAux___rarg(x_9, x_99); +x_101 = lean_ctor_get(x_81, 3); +lean_inc(x_101); +lean_inc(x_91); +lean_inc(x_89); +x_102 = l_Array_extract___rarg(x_89, x_83, x_91); +x_103 = l_Lean_Expr_Lean_Expr___instance__11; +x_104 = lean_array_get(x_103, x_89, x_91); +lean_dec(x_91); +lean_inc(x_94); +lean_inc(x_89); +x_105 = l_Array_extract___rarg(x_89, x_92, x_94); +x_106 = lean_ctor_get(x_81, 2); +lean_inc(x_106); +lean_dec(x_81); +lean_inc(x_96); +lean_inc(x_89); +x_107 = l_Array_extract___rarg(x_89, x_94, x_96); +x_108 = l_Array_extract___rarg(x_89, x_96, x_90); +x_109 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_109, 0, x_8); +lean_ctor_set(x_109, 1, x_100); +lean_ctor_set(x_109, 2, x_101); +lean_ctor_set(x_109, 3, x_102); +lean_ctor_set(x_109, 4, x_104); +lean_ctor_set(x_109, 5, x_105); +lean_ctor_set(x_109, 6, x_106); +lean_ctor_set(x_109, 7, x_107); +lean_ctor_set(x_109, 8, x_108); +if (lean_is_scalar(x_82)) { + x_110 = lean_alloc_ctor(1, 1, 0); +} else { + x_110 = x_82; +} +lean_ctor_set(x_110, 0, x_109); +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_80); +return x_111; +} +else +{ +lean_object* x_112; lean_object* x_113; +lean_dec(x_96); +lean_dec(x_94); +lean_dec(x_92); +lean_dec(x_91); +lean_dec(x_90); +lean_dec(x_89); +lean_dec(x_82); +lean_dec(x_81); +lean_dec(x_9); +lean_dec(x_8); +x_112 = lean_box(0); +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_80); +return x_113; +} +} +} +} +else +{ +lean_object* x_114; lean_object* x_115; +lean_dec(x_7); +lean_dec(x_1); +x_114 = lean_box(0); +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_6); +return x_115; +} +} +} +lean_object* l_Lean_Meta_matchMatcherApp_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Meta_matchMatcherApp_x3f(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Meta_MatcherApp_toExpr(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_14; lean_object* x_15; +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_Array_toList___rarg(x_3); +lean_dec(x_3); +x_5 = l_Lean_mkConst(x_2, x_4); +x_6 = lean_ctor_get(x_1, 3); +lean_inc(x_6); +x_7 = l_Lean_mkAppN(x_5, x_6); +lean_dec(x_6); +x_8 = lean_ctor_get(x_1, 4); +lean_inc(x_8); +x_9 = l_Lean_mkApp(x_7, x_8); +x_10 = lean_ctor_get(x_1, 5); +lean_inc(x_10); +x_11 = l_Lean_mkAppN(x_9, x_10); +lean_dec(x_10); +x_12 = lean_ctor_get(x_1, 7); +lean_inc(x_12); +x_13 = l_Lean_mkAppN(x_11, x_12); +lean_dec(x_12); +x_14 = lean_ctor_get(x_1, 8); +lean_inc(x_14); +lean_dec(x_1); +x_15 = l_Lean_mkAppN(x_13, x_14); +lean_dec(x_14); +return x_15; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Meta_Basic(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Meta_Match_MatcherInfo(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_Meta_Basic(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Meta_Match_Extension_State_map___default___closed__1 = _init_l_Lean_Meta_Match_Extension_State_map___default___closed__1(); +lean_mark_persistent(l_Lean_Meta_Match_Extension_State_map___default___closed__1); +l_Lean_Meta_Match_Extension_State_map___default___closed__2 = _init_l_Lean_Meta_Match_Extension_State_map___default___closed__2(); +lean_mark_persistent(l_Lean_Meta_Match_Extension_State_map___default___closed__2); +l_Lean_Meta_Match_Extension_State_map___default = _init_l_Lean_Meta_Match_Extension_State_map___default(); +lean_mark_persistent(l_Lean_Meta_Match_Extension_State_map___default); +l_Lean_Meta_Match_Extension_Lean_Meta_Match_MatcherInfo___instance__1 = _init_l_Lean_Meta_Match_Extension_Lean_Meta_Match_MatcherInfo___instance__1(); +lean_mark_persistent(l_Lean_Meta_Match_Extension_Lean_Meta_Match_MatcherInfo___instance__1); +l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__1 = _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__1(); +lean_mark_persistent(l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__1); +l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__2 = _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__2(); +lean_mark_persistent(l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__2); +l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__3 = _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__3(); +lean_mark_persistent(l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__3); +l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__4 = _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__4(); +lean_mark_persistent(l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__4); +l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__5 = _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__5(); +lean_mark_persistent(l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__5); +l_Lean_Meta_Match_Extension_extension___closed__1 = _init_l_Lean_Meta_Match_Extension_extension___closed__1(); +lean_mark_persistent(l_Lean_Meta_Match_Extension_extension___closed__1); +l_Lean_Meta_Match_Extension_extension___closed__2 = _init_l_Lean_Meta_Match_Extension_extension___closed__2(); +lean_mark_persistent(l_Lean_Meta_Match_Extension_extension___closed__2); +l_Lean_Meta_Match_Extension_extension___closed__3 = _init_l_Lean_Meta_Match_Extension_extension___closed__3(); +lean_mark_persistent(l_Lean_Meta_Match_Extension_extension___closed__3); +l_Lean_Meta_Match_Extension_extension___closed__4 = _init_l_Lean_Meta_Match_Extension_extension___closed__4(); +lean_mark_persistent(l_Lean_Meta_Match_Extension_extension___closed__4); +l_Lean_Meta_Match_Extension_extension___closed__5 = _init_l_Lean_Meta_Match_Extension_extension___closed__5(); +lean_mark_persistent(l_Lean_Meta_Match_Extension_extension___closed__5); +res = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Meta_Match_Extension_extension = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Meta_Match_Extension_extension); +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Meta/RecursorInfo.c b/stage0/stdlib/Lean/Meta/RecursorInfo.c index eca49eab95..4d436e2eb1 100644 --- a/stage0/stdlib/Lean/Meta/RecursorInfo.c +++ b/stage0/stdlib/Lean/Meta/RecursorInfo.c @@ -14,7 +14,6 @@ extern "C" { #endif lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_qsort_sort___at_Lean_registerParametricAttribute___spec__2___rarg___closed__1; lean_object* l_Lean_Meta_recursorAttribute; lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getNumParams___boxed(lean_object*, lean_object*, lean_object*); @@ -86,6 +85,7 @@ lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_checkMotive___close lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim(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_RecursorInfo_0__Lean_Meta_checkMotiveResultType___closed__1; lean_object* l_Lean_Meta_RecursorInfo_numParams(lean_object*); +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; lean_object* l_Lean_registerParametricAttribute___at_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2050____spec__2(lean_object*, lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2050____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -97,7 +97,6 @@ lean_object* l_List_range(lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_checkMotive___closed__4; extern lean_object* l_Lean_Expr_getAppArgs___closed__1; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_995____spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toStringAux___at_Lean_Meta_RecursorInfo_Lean_Meta_RecursorInfo___instance__2___spec__6___boxed(lean_object*, lean_object*); @@ -195,6 +194,7 @@ lean_object* l_List_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Met lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__1___closed__2; lean_object* l_Lean_Meta_RecursorInfo_numMinors___boxed(lean_object*); lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getNumParams(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getProduceMotiveAndRecursive___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getUnivLevelPos___spec__1___closed__2; @@ -345,7 +345,6 @@ lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getUnivLevelPos___b lean_object* l_Array_getIdx_x3f___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkRecursorInfo_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_RecursorInfo_Lean_Meta_RecursorInfo___instance__2___closed__4; -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoAux___spec__2___closed__1; extern lean_object* l_Lean_Meta_Lean_Meta_Basic___instance__11___rarg___closed__2; lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2050____lambda__3(lean_object*, lean_object*, lean_object*); @@ -1523,7 +1522,7 @@ x_82 = lean_string_append(x_80, x_81); x_83 = lean_string_append(x_82, x_40); lean_dec(x_40); x_84 = lean_string_append(x_83, x_7); -x_85 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_85 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_86 = lean_string_append(x_84, x_85); return x_86; } @@ -3264,23 +3263,6 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_RecursorInfo_0__Lean_Meta return x_2; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_2, x_9); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_1); -lean_ctor_set(x_11, 1, x_10); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_11); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_8); -return x_13; -} -} lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -3333,7 +3315,7 @@ lean_inc(x_21); lean_dec(x_18); x_22 = lean_box(0); lean_inc(x_2); -x_23 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1(x_2, x_16, x_22, x_7, x_8, x_9, x_10, x_21); +x_23 = l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1(x_2, x_16, x_22, x_7, x_8, x_9, x_10, x_21); lean_dec(x_16); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); @@ -3447,7 +3429,7 @@ lean_inc(x_44); lean_dec(x_41); x_45 = lean_box(0); lean_inc(x_2); -x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1(x_2, x_40, x_45, x_7, x_8, x_9, x_10, x_44); +x_46 = l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1(x_2, x_40, x_45, x_7, x_8, x_9, x_10, x_44); lean_dec(x_40); x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); @@ -3909,20 +3891,6 @@ return x_25; } } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__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_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -4040,7 +4008,7 @@ lean_inc(x_21); lean_dec(x_18); x_22 = lean_box(0); lean_inc(x_2); -x_23 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1(x_2, x_16, x_22, x_7, x_8, x_9, x_10, x_21); +x_23 = l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1(x_2, x_16, x_22, x_7, x_8, x_9, x_10, x_21); lean_dec(x_16); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); @@ -4154,7 +4122,7 @@ lean_inc(x_44); lean_dec(x_41); x_45 = lean_box(0); lean_inc(x_2); -x_46 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getParamsPos___spec__1___lambda__1(x_2, x_40, x_45, x_7, x_8, x_9, x_10, x_44); +x_46 = l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1(x_2, x_40, x_45, x_7, x_8, x_9, x_10, x_44); lean_dec(x_40); x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Rewrite.c b/stage0/stdlib/Lean/Meta/Tactic/Rewrite.c index 18de7206f6..ca5816ec8f 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Rewrite.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Rewrite.c @@ -76,6 +76,7 @@ lean_object* l_Lean_Expr_toHeadIndex(lean_object*); lean_object* l_Lean_Meta_mkEqNDRec___at_Lean_Meta_rewrite___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Meta_rewrite_match__1(lean_object*); +extern lean_object* l_myMacro____x40_Init_Core___hyg_185____closed__4; lean_object* l_Lean_Meta_rewrite___lambda__4___closed__7; lean_object* l_Lean_Meta_matchEq_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -86,7 +87,6 @@ uint8_t l_Lean_Expr_isMVar(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Meta_rewrite___lambda__4___closed__4; lean_object* l_Lean_mkApp(lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Core___hyg_190____closed__4; lean_object* l_Lean_Meta_rewrite___lambda__2___closed__5; lean_object* l_Lean_Meta_rewrite_match__3(lean_object*); extern lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_reorderNonDependentFirst___closed__1; @@ -1543,7 +1543,7 @@ x_25 = lean_ctor_get(x_21, 1); lean_inc(x_25); lean_dec(x_21); x_26 = l_Lean_mkAppN(x_1, x_23); -x_27 = l_myMacro____x40_Init_Core___hyg_190____closed__4; +x_27 = l_myMacro____x40_Init_Core___hyg_185____closed__4; x_28 = lean_unsigned_to_nat(2u); x_29 = l_Lean_Expr_isAppOfArity(x_25, x_27, x_28); if (x_29 == 0) diff --git a/stage0/stdlib/Lean/Meta/WHNF.c b/stage0/stdlib/Lean/Meta/WHNF.c index b8728e6c9a..bab5e5723a 100644 --- a/stage0/stdlib/Lean/Meta/WHNF.c +++ b/stage0/stdlib/Lean/Meta/WHNF.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Meta.WHNF -// Imports: Init Lean.ToExpr Lean.AuxRecursor Lean.Meta.Basic Lean.Meta.LevelDefEq +// Imports: Init Lean.ToExpr Lean.AuxRecursor Lean.Meta.Basic Lean.Meta.LevelDefEq Lean.Meta.Match.MatcherInfo #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -15,16 +15,19 @@ extern "C" { #endif lean_object* lean_string_data(lean_object*); lean_object* l_Lean_Meta_reduceNative_x3f___closed__1; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1(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* l___private_Lean_Meta_WHNF_0__Lean_Meta_getStuckMVarImp_x3f_match__3(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isIdRhsApp___boxed(lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Meta_reduceNative_x3f___closed__2; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isIdRhsApp___closed__1; extern lean_object* l_Lean_Syntax_strLitToAtom___closed__3; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getStuckMVarImp_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfImp_match__4___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_reduceMatcher_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceNative_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Meta_reduceNat_x3f___closed__7; @@ -36,9 +39,11 @@ lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_unfoldDefinitionImp_x3f_mat lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Meta_isExprDefEqGuarded___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__2(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getStuckMVarImp_x3f_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_reduceMatcher_x3f_match__3(lean_object*); lean_object* l_Lean_Meta_reduceBinNatOp___closed__3; extern lean_object* l_Lean_Lean_ToExpr___instance__9___rarg___closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l_Lean_Meta_reduceMatcher_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_unfoldDefinitionImp_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -104,6 +109,7 @@ 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* l_Lean_Meta_whnfImp_match__3(lean_object*); +lean_object* l_Lean_Meta_reduceMatcher_x3f_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_whnf___rarg(lean_object*, lean_object*); lean_object* l_Lean_ofExcept___at_Lean_Meta_reduceBoolNativeUnsafe___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_995____spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -117,6 +123,7 @@ lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__2(lean_o extern lean_object* l_Lean_Meta_commitWhenSome_x3f___rarg___closed__3; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreUnstuck_match__1(lean_object*); +uint8_t l_USize_decLt(size_t, size_t); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceBinNatOp___closed__6; extern lean_object* l_Lean_auxRecExt; @@ -127,6 +134,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_toCtorIfLit_match__1(lean_object*); lean_object* l_Lean_Meta_reduceNatNative___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_reduceMatcher_x3f_match__4(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfHeadPredImp_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_smartUnfoldingSuffix; @@ -162,6 +170,7 @@ lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_useWHNFCache(lean_object*, lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___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_Meta_toCtorIfLit___closed__3; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_headBeta(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isRecStuck_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Init_Prelude___instance__12___closed__1; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -186,20 +195,26 @@ lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__4; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isQuotRecStuck_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); lean_object* l_Lean_evalConstCheck___at_Lean_Meta_reduceBoolNativeUnsafe___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_reduceMatcher_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_toCtorIfLit(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_matchConstAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___closed__1; lean_object* l_Lean_Meta_reduceUnaryNatOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, 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_ofExcept___at_Lean_Meta_reduceBoolNativeUnsafe___spec__2(lean_object*); extern lean_object* l_Lean_Lean_ToExpr___instance__3___lambda__1___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__6; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec_match__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Literal_type___closed__1; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_reduceMatcher_x3f___spec__2(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_unfoldDefinitionImp_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Init_Prelude___instance__11___closed__1; lean_object* l_Lean_evalConstCheck___at_Lean_Meta_reduceBoolNativeUnsafe___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_ConstantInfo_hasValue(lean_object*); +lean_object* l_Lean_getConstInfo___at_Lean_Meta_getParamNamesImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isQuotRecStuck_x3f_match__1(lean_object*); extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_516____closed__2; lean_object* l_Lean_Meta_reduceNative_x3f___closed__3; @@ -216,17 +231,19 @@ lean_object* l_Lean_Meta_smartUnfoldingSuffix___closed__1; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_matchConstAux(lean_object*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_match__3(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceNat_x3f___closed__9; lean_object* l_Lean_ofExcept___at_Lean_Meta_reduceBoolNativeUnsafe___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___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_WHNF_0__Lean_Meta_deltaDefinition(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isAuxDefImp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Nat_Init_Data_Nat_Div___instance__2___closed__1; lean_object* l_Lean_Meta_reduceNat_x3f___closed__4; size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_Meta_reduceMatcher_x3f_match__2(lean_object*); lean_object* l_Lean_Meta_reduceNative_x3f_match__1(lean_object*); uint8_t l_Lean_Expr_isLambda(lean_object*); lean_object* l_Lean_Meta_reduceNat_x3f___closed__8; @@ -237,16 +254,19 @@ lean_object* l_Lean_evalConstCheck___at_Lean_Meta_reduceBoolNativeUnsafe___spec_ lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_matchConstAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isAuxDef_x3f(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_4377_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_4766_(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; lean_object* l_Lean_RecursorVal_getInduct(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__6; lean_object* l_Lean_ConstantInfo_lparams(lean_object*); lean_object* l_Lean_Meta_reduceBinNatOp___closed__11; lean_object* l_Lean_Meta_whnfHeadPred(lean_object*); +lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__4(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_unfoldDefinitionImp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceNative_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_reduceMatcher_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_getMatcherInfo_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__6; lean_object* l_Lean_Meta_reduceNat_x3f___lambda__1(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_unfoldDefinitionImp_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -263,6 +283,7 @@ lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec_match__1___rarg(l uint8_t lean_expr_eqv(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_matchConstAux_match__1(lean_object*); extern lean_object* l_Lean_Expr_Lean_Expr___instance__11; +lean_object* l_Lean_Meta_reduceMatcher_x3f_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getStuckMVarImp_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceProj_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_toCtorIfLit___closed__2; @@ -296,12 +317,15 @@ extern lean_object* l_Lean_Meta_whnfRef; lean_object* l_Lean_Meta_synthPending(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceBoolNative___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfImp_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_reduceMatcher_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor_match__2(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___closed__2; lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__2; +lean_object* l_Lean_Meta_reduceMatcher_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_ofSubarray___rarg(lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f_match__1(lean_object*); -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__4; lean_object* l_Lean_Meta_whnfHeadPredImp_match__1(lean_object*); lean_object* l_Lean_Meta_reduceBinNatOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -340,6 +364,7 @@ extern lean_object* l_Init_Prelude___instance__17___closed__1; lean_object* l_Lean_Expr_getAppFn(lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK___spec__1(lean_object*, size_t, size_t); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isQuotRecStuck_x3f_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); lean_object* l_Lean_Meta_reduceBinNatOp___closed__2; lean_object* l_Lean_Meta_toCtorIfLit___closed__6; lean_object* l_Lean_Meta_withNatValue_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -360,6 +385,7 @@ lean_object* l_Lean_Meta_reduceBinNatOp___closed__1; lean_object* l_Lean_Meta_mkSmartUnfoldingNameFor(lean_object*); lean_object* l_Lean_Meta_reduceBoolNative(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasFVar(lean_object*); +lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_reduceMatcher_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; lean_object* l_Lean_Meta_reduceNat_x3f___closed__5; lean_object* l_Lean_mkConst(lean_object*, lean_object*); @@ -379,10 +405,12 @@ lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp(lean_object*, l lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isQuotRecStuck_x3f___at___private_Lean_Meta_WHNF_0__Lean_Meta_getStuckMVarImp_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceNat_x3f___closed__3; lean_object* l_ReaderT_bind___at_Lean_Meta_Lean_Meta_Basic___instance__8___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_reduceMatcher_x3f_match__1(lean_object*); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getFirstCtor_match__1(lean_object*); lean_object* l_Lean_Meta_reduceBinNatOp___closed__9; lean_object* l_Lean_Meta_whnfUntil(lean_object*); lean_object* l_Lean_Meta_reduceNat_x3f___closed__6; +lean_object* l_Lean_Meta_reduceMatcher_x3f_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfHeadPred___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl___rarg(lean_object*, lean_object*); @@ -5234,7 +5262,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__2; x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__3; -x_3 = lean_unsigned_to_nat(203u); +x_3 = lean_unsigned_to_nat(204u); 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); @@ -5895,6 +5923,1133 @@ lean_dec(x_1); return x_6; } } +lean_object* l_Lean_Meta_reduceMatcher_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_Meta_reduceMatcher_x3f_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_reduceMatcher_x3f_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_reduceMatcher_x3f_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_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_Meta_reduceMatcher_x3f_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_reduceMatcher_x3f_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_reduceMatcher_x3f_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_Meta_reduceMatcher_x3f_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_reduceMatcher_x3f_match__3___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_reduceMatcher_x3f_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 4) +{ +lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_7 = lean_box_uint64(x_6); +x_8 = lean_apply_3(x_2, x_4, x_5, x_7); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; +} +} +} +lean_object* l_Lean_Meta_reduceMatcher_x3f_match__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_reduceMatcher_x3f_match__4___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_2, x_9); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_1); +lean_ctor_set(x_11, 1, x_10); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_8); +return x_13; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; +x_17 = x_10 < x_9; +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +else +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_array_uget(x_8, x_10); +x_20 = !lean_is_exclusive(x_11); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_11, 1); +x_22 = lean_ctor_get(x_11, 0); +lean_dec(x_22); +x_23 = lean_expr_eqv(x_6, x_19); +lean_dec(x_19); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; +lean_free_object(x_11); +x_24 = lean_box(0); +lean_inc(x_7); +x_25 = l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1(x_7, x_21, x_24, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_21); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_ctor_get(x_26, 0); +lean_inc(x_28); +lean_dec(x_26); +x_29 = 1; +x_30 = x_10 + x_29; +x_10 = x_30; +x_11 = x_28; +x_16 = x_27; +goto _start; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_7); +x_32 = l_Lean_Expr_Lean_Expr___instance__11; +x_33 = lean_array_get(x_32, x_2, x_21); +x_34 = lean_unsigned_to_nat(0u); +x_35 = l_Lean_Expr_getAppNumArgsAux(x_5, x_34); +lean_inc(x_35); +x_36 = lean_mk_array(x_35, x_1); +x_37 = lean_unsigned_to_nat(1u); +x_38 = lean_nat_sub(x_35, x_37); +lean_dec(x_35); +x_39 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_5, x_36, x_38); +x_40 = l_Lean_mkAppN(x_33, x_39); +lean_dec(x_39); +x_41 = l_Array_toSubarray___rarg(x_2, x_4, x_3); +x_42 = l_Array_ofSubarray___rarg(x_41); +lean_dec(x_41); +x_43 = l_Lean_mkAppN(x_40, x_42); +lean_dec(x_42); +x_44 = l_Lean_Expr_headBeta(x_43); +x_45 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_45, 0, x_44); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_11, 0, x_46); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_11); +lean_ctor_set(x_47, 1, x_16); +return x_47; +} +} +else +{ +lean_object* x_48; uint8_t x_49; +x_48 = lean_ctor_get(x_11, 1); +lean_inc(x_48); +lean_dec(x_11); +x_49 = lean_expr_eqv(x_6, x_19); +lean_dec(x_19); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; size_t x_55; size_t x_56; +x_50 = lean_box(0); +lean_inc(x_7); +x_51 = l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1(x_7, x_48, x_50, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_48); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = lean_ctor_get(x_52, 0); +lean_inc(x_54); +lean_dec(x_52); +x_55 = 1; +x_56 = x_10 + x_55; +x_10 = x_56; +x_11 = x_54; +x_16 = x_53; +goto _start; +} +else +{ +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_dec(x_7); +x_58 = l_Lean_Expr_Lean_Expr___instance__11; +x_59 = lean_array_get(x_58, x_2, x_48); +x_60 = lean_unsigned_to_nat(0u); +x_61 = l_Lean_Expr_getAppNumArgsAux(x_5, x_60); +lean_inc(x_61); +x_62 = lean_mk_array(x_61, x_1); +x_63 = lean_unsigned_to_nat(1u); +x_64 = lean_nat_sub(x_61, x_63); +lean_dec(x_61); +x_65 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_5, x_62, x_64); +x_66 = l_Lean_mkAppN(x_59, x_65); +lean_dec(x_65); +x_67 = l_Array_toSubarray___rarg(x_2, x_4, x_3); +x_68 = l_Array_ofSubarray___rarg(x_67); +lean_dec(x_67); +x_69 = l_Lean_mkAppN(x_66, x_68); +lean_dec(x_68); +x_70 = l_Lean_Expr_headBeta(x_69); +x_71 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_72 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_72, 0, x_71); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_48); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_16); +return x_74; +} +} +} +} +} +lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_reduceMatcher_x3f___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_9); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_9); +if (x_14 == 0) +{ +return x_9; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_9); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} +lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_reduceMatcher_x3f___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_reduceMatcher_x3f___spec__2___rarg), 8, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_reduceMatcher_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_1); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +} +lean_object* l_Lean_Meta_reduceMatcher_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; +x_14 = l_Lean_mkAppN(x_1, x_7); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_15 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_14, x_9, x_10, x_11, x_12, 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_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +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_Expr_getAppFn(x_16); +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_2); +x_21 = lean_array_get_size(x_7); +x_22 = lean_usize_of_nat(x_21); +lean_dec(x_21); +x_23 = 0; +lean_inc(x_16); +x_24 = l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1(x_3, x_4, x_5, x_6, x_16, x_18, x_19, x_7, x_22, x_23, x_20, x_9, x_10, x_11, x_12, x_17); +lean_dec(x_18); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +lean_dec(x_25); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_box(0); +x_29 = l_Lean_Meta_reduceMatcher_x3f___lambda__1(x_16, x_28, x_9, x_10, x_11, x_12, x_27); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +return x_29; +} +else +{ +uint8_t x_30; +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_30 = !lean_is_exclusive(x_24); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_24, 0); +lean_dec(x_31); +x_32 = lean_ctor_get(x_26, 0); +lean_inc(x_32); +lean_dec(x_26); +lean_ctor_set(x_24, 0, x_32); +return x_24; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_24, 1); +lean_inc(x_33); +lean_dec(x_24); +x_34 = lean_ctor_get(x_26, 0); +lean_inc(x_34); +lean_dec(x_26); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +return x_35; +} +} +} +else +{ +uint8_t x_36; +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_2); +x_36 = !lean_is_exclusive(x_15); +if (x_36 == 0) +{ +return x_15; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_15, 0); +x_38 = lean_ctor_get(x_15, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_15); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +} +lean_object* l_Lean_Meta_reduceMatcher_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Expr_getAppFn(x_1); +if (lean_obj_tag(x_7) == 4) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l_Lean_Meta_getMatcherInfo_x3f(x_8, x_2, x_3, x_4, x_5, x_6); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +x_14 = lean_box(2); +lean_ctor_set(x_10, 0, x_14); +return x_10; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_dec(x_10); +x_16 = lean_box(2); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_10, 1); +x_20 = lean_ctor_get(x_10, 0); +lean_dec(x_20); +x_21 = !lean_is_exclusive(x_11); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_22 = lean_ctor_get(x_11, 0); +x_23 = lean_unsigned_to_nat(0u); +x_24 = l_Lean_Expr_getAppNumArgsAux(x_1, x_23); +x_25 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_24); +x_26 = lean_mk_array(x_24, x_25); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_sub(x_24, x_27); +lean_dec(x_24); +x_29 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_26, x_28); +x_30 = lean_ctor_get(x_22, 0); +lean_inc(x_30); +x_31 = lean_nat_add(x_30, x_27); +lean_dec(x_30); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +x_33 = lean_nat_add(x_31, x_32); +lean_dec(x_32); +lean_dec(x_31); +x_34 = lean_array_get_size(x_29); +x_35 = l_Lean_Meta_Match_MatcherInfo_numAlts(x_22); +lean_dec(x_22); +x_36 = lean_nat_add(x_33, x_35); +x_37 = lean_nat_dec_lt(x_34, x_36); +if (x_37 == 0) +{ +lean_object* x_38; +lean_free_object(x_10); +x_38 = l_Lean_getConstInfo___at_Lean_Meta_getParamNamesImp___spec__1(x_8, x_2, x_3, x_4, x_5, x_19); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_instantiate_value_lparams(x_39, x_9); +lean_dec(x_9); +lean_dec(x_39); +lean_inc(x_33); +lean_inc(x_29); +x_42 = l_Array_toSubarray___rarg(x_29, x_23, x_33); +x_43 = l_Array_ofSubarray___rarg(x_42); +lean_dec(x_42); +x_44 = l_Lean_mkAppN(x_41, x_43); +lean_dec(x_43); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_44); +x_45 = l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(x_44, x_2, x_3, x_4, x_5, x_40); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +lean_ctor_set(x_11, 0, x_35); +x_48 = lean_alloc_closure((void*)(l_Lean_Meta_reduceMatcher_x3f___lambda__2___boxed), 13, 6); +lean_closure_set(x_48, 0, x_44); +lean_closure_set(x_48, 1, x_33); +lean_closure_set(x_48, 2, x_25); +lean_closure_set(x_48, 3, x_29); +lean_closure_set(x_48, 4, x_34); +lean_closure_set(x_48, 5, x_36); +x_49 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_reduceMatcher_x3f___spec__2___rarg(x_46, x_11, x_48, x_2, x_3, x_4, x_5, x_47); +return x_49; +} +else +{ +uint8_t x_50; +lean_dec(x_44); +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_29); +lean_free_object(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_45); +if (x_50 == 0) +{ +return x_45; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_45, 0); +x_52 = lean_ctor_get(x_45, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_45); +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 +{ +uint8_t x_54; +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_29); +lean_free_object(x_11); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_54 = !lean_is_exclusive(x_38); +if (x_54 == 0) +{ +return x_38; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_38, 0); +x_56 = lean_ctor_get(x_38, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_38); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +else +{ +lean_object* x_58; +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_29); +lean_free_object(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_58 = lean_box(3); +lean_ctor_set(x_10, 0, x_58); +return x_10; +} +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_59 = lean_ctor_get(x_11, 0); +lean_inc(x_59); +lean_dec(x_11); +x_60 = lean_unsigned_to_nat(0u); +x_61 = l_Lean_Expr_getAppNumArgsAux(x_1, x_60); +x_62 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_61); +x_63 = lean_mk_array(x_61, x_62); +x_64 = lean_unsigned_to_nat(1u); +x_65 = lean_nat_sub(x_61, x_64); +lean_dec(x_61); +x_66 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_63, x_65); +x_67 = lean_ctor_get(x_59, 0); +lean_inc(x_67); +x_68 = lean_nat_add(x_67, x_64); +lean_dec(x_67); +x_69 = lean_ctor_get(x_59, 1); +lean_inc(x_69); +x_70 = lean_nat_add(x_68, x_69); +lean_dec(x_69); +lean_dec(x_68); +x_71 = lean_array_get_size(x_66); +x_72 = l_Lean_Meta_Match_MatcherInfo_numAlts(x_59); +lean_dec(x_59); +x_73 = lean_nat_add(x_70, x_72); +x_74 = lean_nat_dec_lt(x_71, x_73); +if (x_74 == 0) +{ +lean_object* x_75; +lean_free_object(x_10); +x_75 = l_Lean_getConstInfo___at_Lean_Meta_getParamNamesImp___spec__1(x_8, x_2, x_3, x_4, x_5, x_19); +if (lean_obj_tag(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; +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 = lean_instantiate_value_lparams(x_76, x_9); +lean_dec(x_9); +lean_dec(x_76); +lean_inc(x_70); +lean_inc(x_66); +x_79 = l_Array_toSubarray___rarg(x_66, x_60, x_70); +x_80 = l_Array_ofSubarray___rarg(x_79); +lean_dec(x_79); +x_81 = l_Lean_mkAppN(x_78, x_80); +lean_dec(x_80); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_81); +x_82 = l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(x_81, x_2, x_3, x_4, x_5, x_77); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_85, 0, x_72); +x_86 = lean_alloc_closure((void*)(l_Lean_Meta_reduceMatcher_x3f___lambda__2___boxed), 13, 6); +lean_closure_set(x_86, 0, x_81); +lean_closure_set(x_86, 1, x_70); +lean_closure_set(x_86, 2, x_62); +lean_closure_set(x_86, 3, x_66); +lean_closure_set(x_86, 4, x_71); +lean_closure_set(x_86, 5, x_73); +x_87 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_reduceMatcher_x3f___spec__2___rarg(x_83, x_85, x_86, x_2, x_3, x_4, x_5, x_84); +return x_87; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_dec(x_81); +lean_dec(x_73); +lean_dec(x_72); +lean_dec(x_71); +lean_dec(x_70); +lean_dec(x_66); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_88 = lean_ctor_get(x_82, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_82, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_90 = x_82; +} else { + lean_dec_ref(x_82); + x_90 = lean_box(0); +} +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(1, 2, 0); +} else { + x_91 = x_90; +} +lean_ctor_set(x_91, 0, x_88); +lean_ctor_set(x_91, 1, x_89); +return x_91; +} +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_dec(x_73); +lean_dec(x_72); +lean_dec(x_71); +lean_dec(x_70); +lean_dec(x_66); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_92 = lean_ctor_get(x_75, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_75, 1); +lean_inc(x_93); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_94 = x_75; +} else { + lean_dec_ref(x_75); + x_94 = lean_box(0); +} +if (lean_is_scalar(x_94)) { + x_95 = lean_alloc_ctor(1, 2, 0); +} else { + x_95 = x_94; +} +lean_ctor_set(x_95, 0, x_92); +lean_ctor_set(x_95, 1, x_93); +return x_95; +} +} +else +{ +lean_object* x_96; +lean_dec(x_73); +lean_dec(x_72); +lean_dec(x_71); +lean_dec(x_70); +lean_dec(x_66); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_96 = lean_box(3); +lean_ctor_set(x_10, 0, x_96); +return x_10; +} +} +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; +x_97 = lean_ctor_get(x_10, 1); +lean_inc(x_97); +lean_dec(x_10); +x_98 = lean_ctor_get(x_11, 0); +lean_inc(x_98); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + x_99 = x_11; +} else { + lean_dec_ref(x_11); + x_99 = lean_box(0); +} +x_100 = lean_unsigned_to_nat(0u); +x_101 = l_Lean_Expr_getAppNumArgsAux(x_1, x_100); +x_102 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_101); +x_103 = lean_mk_array(x_101, x_102); +x_104 = lean_unsigned_to_nat(1u); +x_105 = lean_nat_sub(x_101, x_104); +lean_dec(x_101); +x_106 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_103, x_105); +x_107 = lean_ctor_get(x_98, 0); +lean_inc(x_107); +x_108 = lean_nat_add(x_107, x_104); +lean_dec(x_107); +x_109 = lean_ctor_get(x_98, 1); +lean_inc(x_109); +x_110 = lean_nat_add(x_108, x_109); +lean_dec(x_109); +lean_dec(x_108); +x_111 = lean_array_get_size(x_106); +x_112 = l_Lean_Meta_Match_MatcherInfo_numAlts(x_98); +lean_dec(x_98); +x_113 = lean_nat_add(x_110, x_112); +x_114 = lean_nat_dec_lt(x_111, x_113); +if (x_114 == 0) +{ +lean_object* x_115; +x_115 = l_Lean_getConstInfo___at_Lean_Meta_getParamNamesImp___spec__1(x_8, x_2, x_3, x_4, x_5, x_97); +if (lean_obj_tag(x_115) == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 1); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_instantiate_value_lparams(x_116, x_9); +lean_dec(x_9); +lean_dec(x_116); +lean_inc(x_110); +lean_inc(x_106); +x_119 = l_Array_toSubarray___rarg(x_106, x_100, x_110); +x_120 = l_Array_ofSubarray___rarg(x_119); +lean_dec(x_119); +x_121 = l_Lean_mkAppN(x_118, x_120); +lean_dec(x_120); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_121); +x_122 = l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(x_121, x_2, x_3, x_4, x_5, x_117); +if (lean_obj_tag(x_122) == 0) +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +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); +if (lean_is_scalar(x_99)) { + x_125 = lean_alloc_ctor(1, 1, 0); +} else { + x_125 = x_99; +} +lean_ctor_set(x_125, 0, x_112); +x_126 = lean_alloc_closure((void*)(l_Lean_Meta_reduceMatcher_x3f___lambda__2___boxed), 13, 6); +lean_closure_set(x_126, 0, x_121); +lean_closure_set(x_126, 1, x_110); +lean_closure_set(x_126, 2, x_102); +lean_closure_set(x_126, 3, x_106); +lean_closure_set(x_126, 4, x_111); +lean_closure_set(x_126, 5, x_113); +x_127 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_reduceMatcher_x3f___spec__2___rarg(x_123, x_125, x_126, x_2, x_3, x_4, x_5, x_124); +return x_127; +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +lean_dec(x_121); +lean_dec(x_113); +lean_dec(x_112); +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_106); +lean_dec(x_99); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_128 = lean_ctor_get(x_122, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_122, 1); +lean_inc(x_129); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_130 = x_122; +} else { + lean_dec_ref(x_122); + x_130 = lean_box(0); +} +if (lean_is_scalar(x_130)) { + x_131 = lean_alloc_ctor(1, 2, 0); +} else { + x_131 = x_130; +} +lean_ctor_set(x_131, 0, x_128); +lean_ctor_set(x_131, 1, x_129); +return x_131; +} +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +lean_dec(x_113); +lean_dec(x_112); +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_106); +lean_dec(x_99); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_132 = lean_ctor_get(x_115, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_115, 1); +lean_inc(x_133); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_134 = x_115; +} else { + lean_dec_ref(x_115); + x_134 = lean_box(0); +} +if (lean_is_scalar(x_134)) { + x_135 = lean_alloc_ctor(1, 2, 0); +} else { + x_135 = x_134; +} +lean_ctor_set(x_135, 0, x_132); +lean_ctor_set(x_135, 1, x_133); +return x_135; +} +} +else +{ +lean_object* x_136; lean_object* x_137; +lean_dec(x_113); +lean_dec(x_112); +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_106); +lean_dec(x_99); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_136 = lean_box(3); +x_137 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_97); +return x_137; +} +} +} +} +else +{ +lean_object* x_138; lean_object* x_139; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_138 = lean_box(2); +x_139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_6); +return x_139; +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___lambda__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_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_9); +lean_dec(x_9); +x_18 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_19 = l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_17, x_18, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_6); +return x_19; +} +} +lean_object* l_Lean_Meta_reduceMatcher_x3f___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Meta_reduceMatcher_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, 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_Lean_Meta_reduceMatcher_x3f___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Meta_reduceMatcher_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_8); +lean_dec(x_7); +return x_14; +} +} lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -5954,7 +7109,66 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCor return x_2; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__2___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_object* x_7; +lean_dec(x_5); +lean_dec(x_4); +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; +} +case 1: +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_apply_1(x_4, x_8); +return x_9; +} +case 2: +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_10 = lean_box(0); +x_11 = lean_apply_1(x_5, x_10); +return x_11; +} +default: +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_12 = lean_box(0); +x_13 = lean_apply_1(x_3, x_12); +return x_13; +} +} +} +} +lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__2___rarg), 5, 0); +return x_2; +} +} +lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 6) @@ -5976,15 +7190,15 @@ return x_6; } } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__2(lean_object* x_1) { +lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__3(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__2___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__3___rarg), 3, 0); return x_2; } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { switch (lean_obj_tag(x_1)) { @@ -6071,11 +7285,11 @@ return x_30; } } } -lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__3(lean_object* x_1) { +lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__4(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__3___rarg), 6, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp_match__4___rarg), 6, 0); return x_2; } } @@ -6180,7 +7394,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__2; x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__1; -x_3 = lean_unsigned_to_nat(293u); +x_3 = lean_unsigned_to_nat(331u); x_4 = lean_unsigned_to_nat(11u); 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); @@ -6550,63 +7764,63 @@ goto _start; } case 4: { -lean_object* x_90; lean_object* x_350; lean_object* x_351; lean_object* x_352; uint8_t x_353; -x_350 = lean_st_ref_get(x_5, x_6); -x_351 = lean_ctor_get(x_350, 0); -lean_inc(x_351); -x_352 = lean_ctor_get(x_351, 3); -lean_inc(x_352); -lean_dec(x_351); -x_353 = lean_ctor_get_uint8(x_352, sizeof(void*)*1); -lean_dec(x_352); -if (x_353 == 0) +lean_object* x_90; lean_object* x_296; lean_object* x_297; lean_object* x_298; uint8_t x_299; +x_296 = lean_st_ref_get(x_5, x_6); +x_297 = lean_ctor_get(x_296, 0); +lean_inc(x_297); +x_298 = lean_ctor_get(x_297, 3); +lean_inc(x_298); +lean_dec(x_297); +x_299 = lean_ctor_get_uint8(x_298, sizeof(void*)*1); +lean_dec(x_298); +if (x_299 == 0) { -lean_object* x_354; -x_354 = lean_ctor_get(x_350, 1); -lean_inc(x_354); -lean_dec(x_350); -x_90 = x_354; -goto block_349; +lean_object* x_300; +x_300 = lean_ctor_get(x_296, 1); +lean_inc(x_300); +lean_dec(x_296); +x_90 = x_300; +goto block_295; } else { -lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; uint8_t x_359; -x_355 = lean_ctor_get(x_350, 1); -lean_inc(x_355); -lean_dec(x_350); -x_356 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__5; -x_357 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_356, x_2, x_3, x_4, x_5, x_355); -x_358 = lean_ctor_get(x_357, 0); -lean_inc(x_358); -x_359 = lean_unbox(x_358); -lean_dec(x_358); -if (x_359 == 0) +lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; uint8_t x_305; +x_301 = lean_ctor_get(x_296, 1); +lean_inc(x_301); +lean_dec(x_296); +x_302 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__5; +x_303 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_302, x_2, x_3, x_4, x_5, x_301); +x_304 = lean_ctor_get(x_303, 0); +lean_inc(x_304); +x_305 = lean_unbox(x_304); +lean_dec(x_304); +if (x_305 == 0) { -lean_object* x_360; -x_360 = lean_ctor_get(x_357, 1); -lean_inc(x_360); -lean_dec(x_357); -x_90 = x_360; -goto block_349; +lean_object* x_306; +x_306 = lean_ctor_get(x_303, 1); +lean_inc(x_306); +lean_dec(x_303); +x_90 = x_306; +goto block_295; } else { -lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; -x_361 = lean_ctor_get(x_357, 1); -lean_inc(x_361); -lean_dec(x_357); +lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; +x_307 = lean_ctor_get(x_303, 1); +lean_inc(x_307); +lean_dec(x_303); lean_inc(x_1); -x_362 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_362, 0, x_1); -x_363 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_356, x_362, x_2, x_3, x_4, x_5, x_361); -x_364 = lean_ctor_get(x_363, 1); -lean_inc(x_364); -lean_dec(x_363); -x_90 = x_364; -goto block_349; +x_308 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_308, 0, x_1); +x_309 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_302, x_308, x_2, x_3, x_4, x_5, x_307); +x_310 = lean_ctor_get(x_309, 1); +lean_inc(x_310); +lean_dec(x_309); +x_90 = x_310; +goto block_295; } } -block_349: +block_295: { switch (lean_obj_tag(x_1)) { case 4: @@ -6636,313 +7850,345 @@ lean_inc(x_93); x_94 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2(x_93, x_2, x_3, x_4, x_5, x_90); if (lean_obj_tag(x_94) == 0) { -uint8_t x_95; -x_95 = !lean_is_exclusive(x_94); -if (x_95 == 0) -{ -lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_96 = lean_ctor_get(x_94, 0); -x_97 = lean_ctor_get(x_94, 1); -x_98 = l_Lean_Expr_isLambda(x_96); -if (x_98 == 0) -{ -if (lean_obj_tag(x_96) == 4) -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -lean_free_object(x_94); -x_99 = lean_ctor_get(x_96, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_96, 1); -lean_inc(x_100); -lean_inc(x_1); +lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); lean_inc(x_96); -lean_inc(x_93); -x_101 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___lambda__1___boxed), 9, 3); -lean_closure_set(x_101, 0, x_93); -lean_closure_set(x_101, 1, x_96); -lean_closure_set(x_101, 2, x_1); -x_102 = l_Lean_Meta_getConst_x3f(x_99, x_2, x_3, x_4, x_5, x_97); -if (lean_obj_tag(x_102) == 0) +lean_dec(x_94); +x_97 = l_Lean_Expr_isLambda(x_95); +if (x_97 == 0) { -lean_object* x_103; -x_103 = lean_ctor_get(x_102, 0); +lean_object* x_98; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_98 = l_Lean_Meta_reduceMatcher_x3f(x_1, x_2, x_3, x_4, x_5, x_96); +if (lean_obj_tag(x_98) == 0) +{ +lean_object* x_99; +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +switch (lean_obj_tag(x_99)) { +case 0: +{ +lean_object* x_100; lean_object* x_101; +lean_dec(x_95); +lean_dec(x_93); +lean_dec(x_1); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_101 = lean_ctor_get(x_99, 0); +lean_inc(x_101); +lean_dec(x_99); +x_1 = x_101; +x_6 = x_100; +goto _start; +} +case 2: +{ +if (lean_obj_tag(x_95) == 4) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_103 = lean_ctor_get(x_98, 1); lean_inc(x_103); -if (lean_obj_tag(x_103) == 0) +lean_dec(x_98); +x_104 = lean_ctor_get(x_95, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_95, 1); +lean_inc(x_105); +lean_inc(x_1); +lean_inc(x_95); +lean_inc(x_93); +x_106 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___lambda__1___boxed), 9, 3); +lean_closure_set(x_106, 0, x_93); +lean_closure_set(x_106, 1, x_95); +lean_closure_set(x_106, 2, x_1); +x_107 = l_Lean_Meta_getConst_x3f(x_104, x_2, x_3, x_4, x_5, x_103); +if (lean_obj_tag(x_107) == 0) { -uint8_t x_104; -lean_dec(x_101); -lean_dec(x_100); +lean_object* x_108; +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +if (lean_obj_tag(x_108) == 0) +{ +uint8_t x_109; +lean_dec(x_106); +lean_dec(x_105); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_104 = !lean_is_exclusive(x_102); -if (x_104 == 0) -{ -lean_object* x_105; uint8_t x_106; -x_105 = lean_ctor_get(x_102, 0); -lean_dec(x_105); -x_106 = lean_expr_eqv(x_93, x_96); -lean_dec(x_93); -if (x_106 == 0) -{ -lean_object* x_107; -x_107 = l_Lean_Expr_updateFn(x_1, x_96); -lean_dec(x_96); -lean_ctor_set(x_102, 0, x_107); -return x_102; -} -else -{ -lean_dec(x_96); -lean_ctor_set(x_102, 0, x_1); -return x_102; -} -} -else -{ -lean_object* x_108; uint8_t x_109; -x_108 = lean_ctor_get(x_102, 1); -lean_inc(x_108); -lean_dec(x_102); -x_109 = lean_expr_eqv(x_93, x_96); -lean_dec(x_93); +x_109 = !lean_is_exclusive(x_107); if (x_109 == 0) { -lean_object* x_110; lean_object* x_111; -x_110 = l_Lean_Expr_updateFn(x_1, x_96); -lean_dec(x_96); -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_108); -return x_111; -} -else +lean_object* x_110; uint8_t x_111; +x_110 = lean_ctor_get(x_107, 0); +lean_dec(x_110); +x_111 = lean_expr_eqv(x_93, x_95); +lean_dec(x_93); +if (x_111 == 0) { lean_object* x_112; -lean_dec(x_96); -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_1); -lean_ctor_set(x_112, 1, x_108); -return x_112; +x_112 = l_Lean_Expr_updateFn(x_1, x_95); +lean_dec(x_95); +lean_ctor_set(x_107, 0, x_112); +return x_107; +} +else +{ +lean_dec(x_95); +lean_ctor_set(x_107, 0, x_1); +return x_107; +} +} +else +{ +lean_object* x_113; uint8_t x_114; +x_113 = lean_ctor_get(x_107, 1); +lean_inc(x_113); +lean_dec(x_107); +x_114 = lean_expr_eqv(x_93, x_95); +lean_dec(x_93); +if (x_114 == 0) +{ +lean_object* x_115; lean_object* x_116; +x_115 = l_Lean_Expr_updateFn(x_1, x_95); +lean_dec(x_95); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_113); +return x_116; +} +else +{ +lean_object* x_117; +lean_dec(x_95); +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_1); +lean_ctor_set(x_117, 1, x_113); +return x_117; } } } else { -lean_object* x_113; -x_113 = lean_ctor_get(x_103, 0); -lean_inc(x_113); -lean_dec(x_103); -switch (lean_obj_tag(x_113)) { +lean_object* x_118; +x_118 = lean_ctor_get(x_108, 0); +lean_inc(x_118); +lean_dec(x_108); +switch (lean_obj_tag(x_118)) { case 1: { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -lean_dec(x_101); -x_114 = lean_ctor_get(x_102, 1); -lean_inc(x_114); -lean_dec(x_102); -x_115 = l_Lean_ConstantInfo_name(x_113); -x_116 = l___private_Lean_Meta_WHNF_0__Lean_Meta_isAuxDefImp_x3f(x_115, x_2, x_3, x_4, x_5, x_114); -lean_dec(x_115); -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_unbox(x_117); -lean_dec(x_117); -if (x_118 == 0) +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; +lean_dec(x_106); +x_119 = lean_ctor_get(x_107, 1); +lean_inc(x_119); +lean_dec(x_107); +x_120 = l_Lean_ConstantInfo_name(x_118); +x_121 = l___private_Lean_Meta_WHNF_0__Lean_Meta_isAuxDefImp_x3f(x_120, x_2, x_3, x_4, x_5, x_119); +lean_dec(x_120); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_unbox(x_122); +lean_dec(x_122); +if (x_123 == 0) { -uint8_t x_119; -lean_dec(x_113); -lean_dec(x_100); +uint8_t x_124; +lean_dec(x_118); +lean_dec(x_105); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_119 = !lean_is_exclusive(x_116); -if (x_119 == 0) -{ -lean_object* x_120; uint8_t x_121; -x_120 = lean_ctor_get(x_116, 0); -lean_dec(x_120); -x_121 = lean_expr_eqv(x_93, x_96); -lean_dec(x_93); -if (x_121 == 0) -{ -lean_object* x_122; -x_122 = l_Lean_Expr_updateFn(x_1, x_96); -lean_dec(x_96); -lean_ctor_set(x_116, 0, x_122); -return x_116; -} -else -{ -lean_dec(x_96); -lean_ctor_set(x_116, 0, x_1); -return x_116; -} -} -else -{ -lean_object* x_123; uint8_t x_124; -x_123 = lean_ctor_get(x_116, 1); -lean_inc(x_123); -lean_dec(x_116); -x_124 = lean_expr_eqv(x_93, x_96); -lean_dec(x_93); +x_124 = !lean_is_exclusive(x_121); if (x_124 == 0) { -lean_object* x_125; lean_object* x_126; -x_125 = l_Lean_Expr_updateFn(x_1, x_96); -lean_dec(x_96); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_123); -return x_126; -} -else +lean_object* x_125; uint8_t x_126; +x_125 = lean_ctor_get(x_121, 0); +lean_dec(x_125); +x_126 = lean_expr_eqv(x_93, x_95); +lean_dec(x_93); +if (x_126 == 0) { lean_object* x_127; -lean_dec(x_96); -x_127 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_127, 0, x_1); -lean_ctor_set(x_127, 1, x_123); -return x_127; +x_127 = l_Lean_Expr_updateFn(x_1, x_95); +lean_dec(x_95); +lean_ctor_set(x_121, 0, x_127); +return x_121; +} +else +{ +lean_dec(x_95); +lean_ctor_set(x_121, 0, x_1); +return x_121; +} +} +else +{ +lean_object* x_128; uint8_t x_129; +x_128 = lean_ctor_get(x_121, 1); +lean_inc(x_128); +lean_dec(x_121); +x_129 = lean_expr_eqv(x_93, x_95); +lean_dec(x_93); +if (x_129 == 0) +{ +lean_object* x_130; lean_object* x_131; +x_130 = l_Lean_Expr_updateFn(x_1, x_95); +lean_dec(x_95); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_128); +return x_131; +} +else +{ +lean_object* x_132; +lean_dec(x_95); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_1); +lean_ctor_set(x_132, 1, x_128); +return x_132; } } } else { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_128 = lean_ctor_get(x_116, 1); -lean_inc(x_128); -lean_dec(x_116); -x_129 = lean_unsigned_to_nat(0u); -x_130 = l_Lean_Expr_getAppNumArgsAux(x_1, x_129); -x_131 = lean_mk_empty_array_with_capacity(x_130); -lean_dec(x_130); +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_133 = lean_ctor_get(x_121, 1); +lean_inc(x_133); +lean_dec(x_121); +x_134 = lean_unsigned_to_nat(0u); +x_135 = l_Lean_Expr_getAppNumArgsAux(x_1, x_134); +x_136 = lean_mk_empty_array_with_capacity(x_135); +lean_dec(x_135); lean_inc(x_1); -x_132 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_131); -x_133 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__1(x_1, x_93, x_96, x_113, x_100, x_132, x_2, x_3, x_4, x_5, x_128); -lean_dec(x_132); -lean_dec(x_100); -lean_dec(x_113); -lean_dec(x_96); +x_137 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_136); +x_138 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__1(x_1, x_93, x_95, x_118, x_105, x_137, x_2, x_3, x_4, x_5, x_133); +lean_dec(x_137); +lean_dec(x_105); +lean_dec(x_118); +lean_dec(x_95); lean_dec(x_93); -return x_133; +return x_138; } } case 4: { -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_dec(x_96); +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_dec(x_95); lean_dec(x_93); -x_134 = lean_ctor_get(x_102, 1); -lean_inc(x_134); -lean_dec(x_102); -x_135 = lean_ctor_get(x_113, 0); -lean_inc(x_135); -lean_dec(x_113); -x_136 = lean_unsigned_to_nat(0u); -x_137 = l_Lean_Expr_getAppNumArgsAux(x_1, x_136); -x_138 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_137); -x_139 = lean_mk_array(x_137, x_138); -x_140 = lean_unsigned_to_nat(1u); -x_141 = lean_nat_sub(x_137, x_140); -lean_dec(x_137); -x_142 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_139, x_141); -x_143 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; -x_144 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_135, x_100, x_142, x_101, x_143, x_2, x_3, x_4, x_5, x_134); +x_139 = lean_ctor_get(x_107, 1); +lean_inc(x_139); +lean_dec(x_107); +x_140 = lean_ctor_get(x_118, 0); +lean_inc(x_140); +lean_dec(x_118); +x_141 = lean_unsigned_to_nat(0u); +x_142 = l_Lean_Expr_getAppNumArgsAux(x_1, x_141); +x_143 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_142); +x_144 = lean_mk_array(x_142, x_143); +x_145 = lean_unsigned_to_nat(1u); +x_146 = lean_nat_sub(x_142, x_145); lean_dec(x_142); -lean_dec(x_100); -lean_dec(x_135); -return x_144; +x_147 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_144, x_146); +x_148 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; +x_149 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_140, x_105, x_147, x_106, x_148, x_2, x_3, x_4, x_5, x_139); +lean_dec(x_147); +lean_dec(x_105); +lean_dec(x_140); +return x_149; } case 7: { -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_dec(x_96); +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_dec(x_95); lean_dec(x_93); -x_145 = lean_ctor_get(x_102, 1); -lean_inc(x_145); -lean_dec(x_102); -x_146 = lean_ctor_get(x_113, 0); -lean_inc(x_146); -lean_dec(x_113); -x_147 = lean_unsigned_to_nat(0u); -x_148 = l_Lean_Expr_getAppNumArgsAux(x_1, x_147); -x_149 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_148); -x_150 = lean_mk_array(x_148, x_149); -x_151 = lean_unsigned_to_nat(1u); -x_152 = lean_nat_sub(x_148, x_151); -lean_dec(x_148); -x_153 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_150, x_152); -x_154 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; -x_155 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_146, x_100, x_153, x_101, x_154, x_2, x_3, x_4, x_5, x_145); +x_150 = lean_ctor_get(x_107, 1); +lean_inc(x_150); +lean_dec(x_107); +x_151 = lean_ctor_get(x_118, 0); +lean_inc(x_151); +lean_dec(x_118); +x_152 = lean_unsigned_to_nat(0u); +x_153 = l_Lean_Expr_getAppNumArgsAux(x_1, x_152); +x_154 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_153); +x_155 = lean_mk_array(x_153, x_154); +x_156 = lean_unsigned_to_nat(1u); +x_157 = lean_nat_sub(x_153, x_156); lean_dec(x_153); -lean_dec(x_100); -return x_155; +x_158 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_155, x_157); +x_159 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; +x_160 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_151, x_105, x_158, x_106, x_159, x_2, x_3, x_4, x_5, x_150); +lean_dec(x_158); +lean_dec(x_105); +return x_160; } default: { -uint8_t x_156; -lean_dec(x_113); -lean_dec(x_101); -lean_dec(x_100); +uint8_t x_161; +lean_dec(x_118); +lean_dec(x_106); +lean_dec(x_105); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_156 = !lean_is_exclusive(x_102); -if (x_156 == 0) -{ -lean_object* x_157; uint8_t x_158; -x_157 = lean_ctor_get(x_102, 0); -lean_dec(x_157); -x_158 = lean_expr_eqv(x_93, x_96); -lean_dec(x_93); -if (x_158 == 0) -{ -lean_object* x_159; -x_159 = l_Lean_Expr_updateFn(x_1, x_96); -lean_dec(x_96); -lean_ctor_set(x_102, 0, x_159); -return x_102; -} -else -{ -lean_dec(x_96); -lean_ctor_set(x_102, 0, x_1); -return x_102; -} -} -else -{ -lean_object* x_160; uint8_t x_161; -x_160 = lean_ctor_get(x_102, 1); -lean_inc(x_160); -lean_dec(x_102); -x_161 = lean_expr_eqv(x_93, x_96); -lean_dec(x_93); +x_161 = !lean_is_exclusive(x_107); if (x_161 == 0) { -lean_object* x_162; lean_object* x_163; -x_162 = l_Lean_Expr_updateFn(x_1, x_96); -lean_dec(x_96); -x_163 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_160); -return x_163; -} -else +lean_object* x_162; uint8_t x_163; +x_162 = lean_ctor_get(x_107, 0); +lean_dec(x_162); +x_163 = lean_expr_eqv(x_93, x_95); +lean_dec(x_93); +if (x_163 == 0) { lean_object* x_164; -lean_dec(x_96); -x_164 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_164, 0, x_1); -lean_ctor_set(x_164, 1, x_160); -return x_164; +x_164 = l_Lean_Expr_updateFn(x_1, x_95); +lean_dec(x_95); +lean_ctor_set(x_107, 0, x_164); +return x_107; +} +else +{ +lean_dec(x_95); +lean_ctor_set(x_107, 0, x_1); +return x_107; +} +} +else +{ +lean_object* x_165; uint8_t x_166; +x_165 = lean_ctor_get(x_107, 1); +lean_inc(x_165); +lean_dec(x_107); +x_166 = lean_expr_eqv(x_93, x_95); +lean_dec(x_93); +if (x_166 == 0) +{ +lean_object* x_167; lean_object* x_168; +x_167 = l_Lean_Expr_updateFn(x_1, x_95); +lean_dec(x_95); +x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_165); +return x_168; +} +else +{ +lean_object* x_169; +lean_dec(x_95); +x_169 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_169, 0, x_1); +lean_ctor_set(x_169, 1, x_165); +return x_169; } } } @@ -6951,460 +8197,450 @@ return x_164; } else { -uint8_t x_165; -lean_dec(x_101); -lean_dec(x_100); -lean_dec(x_96); +uint8_t x_170; +lean_dec(x_106); +lean_dec(x_105); +lean_dec(x_95); lean_dec(x_93); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_165 = !lean_is_exclusive(x_102); -if (x_165 == 0) +x_170 = !lean_is_exclusive(x_107); +if (x_170 == 0) { -return x_102; +return x_107; } else { -lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_166 = lean_ctor_get(x_102, 0); -x_167 = lean_ctor_get(x_102, 1); -lean_inc(x_167); -lean_inc(x_166); -lean_dec(x_102); -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_166); -lean_ctor_set(x_168, 1, x_167); -return x_168; +lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_171 = lean_ctor_get(x_107, 0); +x_172 = lean_ctor_get(x_107, 1); +lean_inc(x_172); +lean_inc(x_171); +lean_dec(x_107); +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_171); +lean_ctor_set(x_173, 1, x_172); +return x_173; } } } else { -uint8_t x_169; +uint8_t x_174; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_169 = lean_expr_eqv(x_93, x_96); +x_174 = !lean_is_exclusive(x_98); +if (x_174 == 0) +{ +lean_object* x_175; uint8_t x_176; +x_175 = lean_ctor_get(x_98, 0); +lean_dec(x_175); +x_176 = lean_expr_eqv(x_93, x_95); lean_dec(x_93); -if (x_169 == 0) +if (x_176 == 0) { -lean_object* x_170; -x_170 = l_Lean_Expr_updateFn(x_1, x_96); -lean_dec(x_96); -lean_ctor_set(x_94, 0, x_170); -return x_94; +lean_object* x_177; +x_177 = l_Lean_Expr_updateFn(x_1, x_95); +lean_dec(x_95); +lean_ctor_set(x_98, 0, x_177); +return x_98; } else { -lean_dec(x_96); -lean_ctor_set(x_94, 0, x_1); -return x_94; -} +lean_dec(x_95); +lean_ctor_set(x_98, 0, x_1); +return x_98; } } else { -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; -lean_free_object(x_94); -lean_dec(x_93); -x_171 = lean_unsigned_to_nat(0u); -x_172 = l_Lean_Expr_getAppNumArgsAux(x_1, x_171); -x_173 = lean_mk_empty_array_with_capacity(x_172); -lean_dec(x_172); -x_174 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_173); -x_175 = l_Lean_Expr_betaRev(x_96, x_174); -lean_dec(x_174); -lean_dec(x_96); -x_1 = x_175; -x_6 = x_97; -goto _start; -} -} -else -{ -lean_object* x_177; lean_object* x_178; uint8_t x_179; -x_177 = lean_ctor_get(x_94, 0); -x_178 = lean_ctor_get(x_94, 1); +lean_object* x_178; uint8_t x_179; +x_178 = lean_ctor_get(x_98, 1); lean_inc(x_178); -lean_inc(x_177); -lean_dec(x_94); -x_179 = l_Lean_Expr_isLambda(x_177); +lean_dec(x_98); +x_179 = lean_expr_eqv(x_93, x_95); +lean_dec(x_93); if (x_179 == 0) { -if (lean_obj_tag(x_177) == 4) +lean_object* x_180; lean_object* x_181; +x_180 = l_Lean_Expr_updateFn(x_1, x_95); +lean_dec(x_95); +x_181 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_178); +return x_181; +} +else { -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_180 = lean_ctor_get(x_177, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_177, 1); -lean_inc(x_181); -lean_inc(x_1); -lean_inc(x_177); -lean_inc(x_93); -x_182 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___lambda__1___boxed), 9, 3); -lean_closure_set(x_182, 0, x_93); -lean_closure_set(x_182, 1, x_177); -lean_closure_set(x_182, 2, x_1); -x_183 = l_Lean_Meta_getConst_x3f(x_180, x_2, x_3, x_4, x_5, x_178); -if (lean_obj_tag(x_183) == 0) +lean_object* x_182; +lean_dec(x_95); +x_182 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_182, 0, x_1); +lean_ctor_set(x_182, 1, x_178); +return x_182; +} +} +} +} +default: { -lean_object* x_184; -x_184 = lean_ctor_get(x_183, 0); -lean_inc(x_184); -if (lean_obj_tag(x_184) == 0) -{ -lean_object* x_185; lean_object* x_186; uint8_t x_187; -lean_dec(x_182); -lean_dec(x_181); +uint8_t x_183; +lean_dec(x_99); +lean_dec(x_95); +lean_dec(x_93); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_185 = lean_ctor_get(x_183, 1); -lean_inc(x_185); -if (lean_is_exclusive(x_183)) { - lean_ctor_release(x_183, 0); - lean_ctor_release(x_183, 1); - x_186 = x_183; -} else { - lean_dec_ref(x_183); - x_186 = lean_box(0); -} -x_187 = lean_expr_eqv(x_93, x_177); -lean_dec(x_93); -if (x_187 == 0) +x_183 = !lean_is_exclusive(x_98); +if (x_183 == 0) { -lean_object* x_188; lean_object* x_189; -x_188 = l_Lean_Expr_updateFn(x_1, x_177); -lean_dec(x_177); -if (lean_is_scalar(x_186)) { - x_189 = lean_alloc_ctor(0, 2, 0); -} else { - x_189 = x_186; -} -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_185); -return x_189; +lean_object* x_184; +x_184 = lean_ctor_get(x_98, 0); +lean_dec(x_184); +lean_ctor_set(x_98, 0, x_1); +return x_98; } else { -lean_object* x_190; -lean_dec(x_177); -if (lean_is_scalar(x_186)) { - x_190 = lean_alloc_ctor(0, 2, 0); -} else { - x_190 = x_186; +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_98, 1); +lean_inc(x_185); +lean_dec(x_98); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_1); +lean_ctor_set(x_186, 1, x_185); +return x_186; } -lean_ctor_set(x_190, 0, x_1); -lean_ctor_set(x_190, 1, x_185); +} +} +} +else +{ +uint8_t x_187; +lean_dec(x_95); +lean_dec(x_93); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_187 = !lean_is_exclusive(x_98); +if (x_187 == 0) +{ +return x_98; +} +else +{ +lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_188 = lean_ctor_get(x_98, 0); +x_189 = lean_ctor_get(x_98, 1); +lean_inc(x_189); +lean_inc(x_188); +lean_dec(x_98); +x_190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_190, 0, x_188); +lean_ctor_set(x_190, 1, x_189); return x_190; } } +} else { -lean_object* x_191; -x_191 = lean_ctor_get(x_184, 0); -lean_inc(x_191); -lean_dec(x_184); -switch (lean_obj_tag(x_191)) { -case 1: -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; -lean_dec(x_182); -x_192 = lean_ctor_get(x_183, 1); -lean_inc(x_192); -lean_dec(x_183); -x_193 = l_Lean_ConstantInfo_name(x_191); -x_194 = l___private_Lean_Meta_WHNF_0__Lean_Meta_isAuxDefImp_x3f(x_193, x_2, x_3, x_4, x_5, x_192); -lean_dec(x_193); -x_195 = lean_ctor_get(x_194, 0); -lean_inc(x_195); -x_196 = lean_unbox(x_195); -lean_dec(x_195); -if (x_196 == 0) -{ -lean_object* x_197; lean_object* x_198; uint8_t x_199; -lean_dec(x_191); -lean_dec(x_181); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_197 = lean_ctor_get(x_194, 1); -lean_inc(x_197); -if (lean_is_exclusive(x_194)) { - lean_ctor_release(x_194, 0); - lean_ctor_release(x_194, 1); - x_198 = x_194; -} else { - lean_dec_ref(x_194); - x_198 = lean_box(0); -} -x_199 = lean_expr_eqv(x_93, x_177); +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_dec(x_93); -if (x_199 == 0) -{ -lean_object* x_200; lean_object* x_201; -x_200 = l_Lean_Expr_updateFn(x_1, x_177); -lean_dec(x_177); -if (lean_is_scalar(x_198)) { - x_201 = lean_alloc_ctor(0, 2, 0); -} else { - x_201 = x_198; -} -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_197); -return x_201; -} -else -{ -lean_object* x_202; -lean_dec(x_177); -if (lean_is_scalar(x_198)) { - x_202 = lean_alloc_ctor(0, 2, 0); -} else { - x_202 = x_198; -} -lean_ctor_set(x_202, 0, x_1); -lean_ctor_set(x_202, 1, x_197); -return x_202; -} -} -else -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -x_203 = lean_ctor_get(x_194, 1); -lean_inc(x_203); +x_191 = lean_unsigned_to_nat(0u); +x_192 = l_Lean_Expr_getAppNumArgsAux(x_1, x_191); +x_193 = lean_mk_empty_array_with_capacity(x_192); +lean_dec(x_192); +x_194 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_193); +x_195 = l_Lean_Expr_betaRev(x_95, x_194); lean_dec(x_194); -x_204 = lean_unsigned_to_nat(0u); -x_205 = l_Lean_Expr_getAppNumArgsAux(x_1, x_204); -x_206 = lean_mk_empty_array_with_capacity(x_205); -lean_dec(x_205); -lean_inc(x_1); -x_207 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_206); -x_208 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__1(x_1, x_93, x_177, x_191, x_181, x_207, x_2, x_3, x_4, x_5, x_203); -lean_dec(x_207); -lean_dec(x_181); -lean_dec(x_191); -lean_dec(x_177); -lean_dec(x_93); -return x_208; -} -} -case 4: -{ -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_dec(x_177); -lean_dec(x_93); -x_209 = lean_ctor_get(x_183, 1); -lean_inc(x_209); -lean_dec(x_183); -x_210 = lean_ctor_get(x_191, 0); -lean_inc(x_210); -lean_dec(x_191); -x_211 = lean_unsigned_to_nat(0u); -x_212 = l_Lean_Expr_getAppNumArgsAux(x_1, x_211); -x_213 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_212); -x_214 = lean_mk_array(x_212, x_213); -x_215 = lean_unsigned_to_nat(1u); -x_216 = lean_nat_sub(x_212, x_215); -lean_dec(x_212); -x_217 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_214, x_216); -x_218 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; -x_219 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_210, x_181, x_217, x_182, x_218, x_2, x_3, x_4, x_5, x_209); -lean_dec(x_217); -lean_dec(x_181); -lean_dec(x_210); -return x_219; -} -case 7: -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; -lean_dec(x_177); -lean_dec(x_93); -x_220 = lean_ctor_get(x_183, 1); -lean_inc(x_220); -lean_dec(x_183); -x_221 = lean_ctor_get(x_191, 0); -lean_inc(x_221); -lean_dec(x_191); -x_222 = lean_unsigned_to_nat(0u); -x_223 = l_Lean_Expr_getAppNumArgsAux(x_1, x_222); -x_224 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_223); -x_225 = lean_mk_array(x_223, x_224); -x_226 = lean_unsigned_to_nat(1u); -x_227 = lean_nat_sub(x_223, x_226); -lean_dec(x_223); -x_228 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_225, x_227); -x_229 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; -x_230 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_221, x_181, x_228, x_182, x_229, x_2, x_3, x_4, x_5, x_220); -lean_dec(x_228); -lean_dec(x_181); -return x_230; -} -default: -{ -lean_object* x_231; lean_object* x_232; uint8_t x_233; -lean_dec(x_191); -lean_dec(x_182); -lean_dec(x_181); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_231 = lean_ctor_get(x_183, 1); -lean_inc(x_231); -if (lean_is_exclusive(x_183)) { - lean_ctor_release(x_183, 0); - lean_ctor_release(x_183, 1); - x_232 = x_183; -} else { - lean_dec_ref(x_183); - x_232 = lean_box(0); -} -x_233 = lean_expr_eqv(x_93, x_177); -lean_dec(x_93); -if (x_233 == 0) -{ -lean_object* x_234; lean_object* x_235; -x_234 = l_Lean_Expr_updateFn(x_1, x_177); -lean_dec(x_177); -if (lean_is_scalar(x_232)) { - x_235 = lean_alloc_ctor(0, 2, 0); -} else { - x_235 = x_232; -} -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_231); -return x_235; -} -else -{ -lean_object* x_236; -lean_dec(x_177); -if (lean_is_scalar(x_232)) { - x_236 = lean_alloc_ctor(0, 2, 0); -} else { - x_236 = x_232; -} -lean_ctor_set(x_236, 0, x_1); -lean_ctor_set(x_236, 1, x_231); -return x_236; -} -} -} +lean_dec(x_95); +x_1 = x_195; +x_6 = x_96; +goto _start; } } else { -lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; -lean_dec(x_182); -lean_dec(x_181); -lean_dec(x_177); +uint8_t x_197; lean_dec(x_93); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_237 = lean_ctor_get(x_183, 0); -lean_inc(x_237); -x_238 = lean_ctor_get(x_183, 1); -lean_inc(x_238); -if (lean_is_exclusive(x_183)) { - lean_ctor_release(x_183, 0); - lean_ctor_release(x_183, 1); - x_239 = x_183; -} else { - lean_dec_ref(x_183); - x_239 = lean_box(0); -} -if (lean_is_scalar(x_239)) { - x_240 = lean_alloc_ctor(1, 2, 0); -} else { - x_240 = x_239; -} -lean_ctor_set(x_240, 0, x_237); -lean_ctor_set(x_240, 1, x_238); -return x_240; -} +x_197 = !lean_is_exclusive(x_94); +if (x_197 == 0) +{ +return x_94; } else { -uint8_t x_241; +lean_object* x_198; lean_object* x_199; lean_object* x_200; +x_198 = lean_ctor_get(x_94, 0); +x_199 = lean_ctor_get(x_94, 1); +lean_inc(x_199); +lean_inc(x_198); +lean_dec(x_94); +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_198); +lean_ctor_set(x_200, 1, x_199); +return x_200; +} +} +} +case 8: +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_201 = lean_ctor_get(x_1, 2); +lean_inc(x_201); +x_202 = lean_ctor_get(x_1, 3); +lean_inc(x_202); +lean_dec(x_1); +x_203 = lean_expr_instantiate1(x_202, x_201); +lean_dec(x_201); +lean_dec(x_202); +x_1 = x_203; +x_6 = x_90; +goto _start; +} +case 11: +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; +x_205 = lean_ctor_get(x_1, 1); +lean_inc(x_205); +x_206 = lean_ctor_get(x_1, 2); +lean_inc(x_206); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_207 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_206, x_2, x_3, x_4, x_5, x_90); +if (lean_obj_tag(x_207) == 0) +{ +uint8_t x_208; +x_208 = !lean_is_exclusive(x_207); +if (x_208 == 0) +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; +x_209 = lean_ctor_get(x_207, 0); +x_210 = lean_ctor_get(x_207, 1); +x_211 = l_Lean_Expr_getAppFn(x_209); +if (lean_obj_tag(x_211) == 4) +{ +lean_object* x_212; lean_object* x_213; +lean_free_object(x_207); +x_212 = lean_ctor_get(x_211, 0); +lean_inc(x_212); +lean_dec(x_211); +x_213 = l_Lean_Meta_getConst_x3f(x_212, x_2, x_3, x_4, x_5, x_210); +if (lean_obj_tag(x_213) == 0) +{ +lean_object* x_214; +x_214 = lean_ctor_get(x_213, 0); +lean_inc(x_214); +if (lean_obj_tag(x_214) == 0) +{ +uint8_t x_215; +lean_dec(x_209); +lean_dec(x_205); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_241 = lean_expr_eqv(x_93, x_177); -lean_dec(x_93); -if (x_241 == 0) +x_215 = !lean_is_exclusive(x_213); +if (x_215 == 0) { -lean_object* x_242; lean_object* x_243; -x_242 = l_Lean_Expr_updateFn(x_1, x_177); -lean_dec(x_177); -x_243 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_243, 0, x_242); -lean_ctor_set(x_243, 1, x_178); -return x_243; +lean_object* x_216; +x_216 = lean_ctor_get(x_213, 0); +lean_dec(x_216); +lean_ctor_set(x_213, 0, x_1); +return x_213; } else { -lean_object* x_244; -lean_dec(x_177); -x_244 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_244, 0, x_1); -lean_ctor_set(x_244, 1, x_178); -return x_244; -} +lean_object* x_217; lean_object* x_218; +x_217 = lean_ctor_get(x_213, 1); +lean_inc(x_217); +lean_dec(x_213); +x_218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_218, 0, x_1); +lean_ctor_set(x_218, 1, x_217); +return x_218; } } else { -lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -lean_dec(x_93); -x_245 = lean_unsigned_to_nat(0u); -x_246 = l_Lean_Expr_getAppNumArgsAux(x_1, x_245); -x_247 = lean_mk_empty_array_with_capacity(x_246); -lean_dec(x_246); -x_248 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_247); -x_249 = l_Lean_Expr_betaRev(x_177, x_248); -lean_dec(x_248); -lean_dec(x_177); -x_1 = x_249; -x_6 = x_178; +lean_object* x_219; +x_219 = lean_ctor_get(x_214, 0); +lean_inc(x_219); +lean_dec(x_214); +if (lean_obj_tag(x_219) == 6) +{ +uint8_t x_220; +x_220 = !lean_is_exclusive(x_213); +if (x_220 == 0) +{ +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; uint8_t x_228; +x_221 = lean_ctor_get(x_213, 1); +x_222 = lean_ctor_get(x_213, 0); +lean_dec(x_222); +x_223 = lean_ctor_get(x_219, 0); +lean_inc(x_223); +lean_dec(x_219); +x_224 = lean_ctor_get(x_223, 3); +lean_inc(x_224); +lean_dec(x_223); +x_225 = lean_nat_add(x_224, x_205); +lean_dec(x_205); +lean_dec(x_224); +x_226 = lean_unsigned_to_nat(0u); +x_227 = l_Lean_Expr_getAppNumArgsAux(x_209, x_226); +x_228 = lean_nat_dec_lt(x_225, x_227); +if (x_228 == 0) +{ +lean_dec(x_227); +lean_dec(x_225); +lean_dec(x_209); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_ctor_set(x_213, 0, x_1); +return x_213; +} +else +{ +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +lean_free_object(x_213); +lean_dec(x_1); +x_229 = lean_nat_sub(x_227, x_225); +lean_dec(x_225); +lean_dec(x_227); +x_230 = lean_unsigned_to_nat(1u); +x_231 = lean_nat_sub(x_229, x_230); +lean_dec(x_229); +x_232 = l_Lean_Expr_getRevArg_x21(x_209, x_231); +lean_dec(x_209); +x_1 = x_232; +x_6 = x_221; goto _start; } } +else +{ +lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; uint8_t x_240; +x_234 = lean_ctor_get(x_213, 1); +lean_inc(x_234); +lean_dec(x_213); +x_235 = lean_ctor_get(x_219, 0); +lean_inc(x_235); +lean_dec(x_219); +x_236 = lean_ctor_get(x_235, 3); +lean_inc(x_236); +lean_dec(x_235); +x_237 = lean_nat_add(x_236, x_205); +lean_dec(x_205); +lean_dec(x_236); +x_238 = lean_unsigned_to_nat(0u); +x_239 = l_Lean_Expr_getAppNumArgsAux(x_209, x_238); +x_240 = lean_nat_dec_lt(x_237, x_239); +if (x_240 == 0) +{ +lean_object* x_241; +lean_dec(x_239); +lean_dec(x_237); +lean_dec(x_209); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_241 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_241, 0, x_1); +lean_ctor_set(x_241, 1, x_234); +return x_241; +} +else +{ +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; +lean_dec(x_1); +x_242 = lean_nat_sub(x_239, x_237); +lean_dec(x_237); +lean_dec(x_239); +x_243 = lean_unsigned_to_nat(1u); +x_244 = lean_nat_sub(x_242, x_243); +lean_dec(x_242); +x_245 = l_Lean_Expr_getRevArg_x21(x_209, x_244); +lean_dec(x_209); +x_1 = x_245; +x_6 = x_234; +goto _start; +} +} +} +else +{ +uint8_t x_247; +lean_dec(x_219); +lean_dec(x_209); +lean_dec(x_205); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_247 = !lean_is_exclusive(x_213); +if (x_247 == 0) +{ +lean_object* x_248; +x_248 = lean_ctor_get(x_213, 0); +lean_dec(x_248); +lean_ctor_set(x_213, 0, x_1); +return x_213; +} +else +{ +lean_object* x_249; lean_object* x_250; +x_249 = lean_ctor_get(x_213, 1); +lean_inc(x_249); +lean_dec(x_213); +x_250 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_250, 0, x_1); +lean_ctor_set(x_250, 1, x_249); +return x_250; +} +} +} } else { uint8_t x_251; -lean_dec(x_93); +lean_dec(x_209); +lean_dec(x_205); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_251 = !lean_is_exclusive(x_94); +x_251 = !lean_is_exclusive(x_213); if (x_251 == 0) { -return x_94; +return x_213; } else { lean_object* x_252; lean_object* x_253; lean_object* x_254; -x_252 = lean_ctor_get(x_94, 0); -x_253 = lean_ctor_get(x_94, 1); +x_252 = lean_ctor_get(x_213, 0); +x_253 = lean_ctor_get(x_213, 1); lean_inc(x_253); lean_inc(x_252); -lean_dec(x_94); +lean_dec(x_213); x_254 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_254, 0, x_252); lean_ctor_set(x_254, 1, x_253); @@ -7412,1832 +8648,1857 @@ return x_254; } } } -case 8: +else +{ +lean_dec(x_211); +lean_dec(x_209); +lean_dec(x_205); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_ctor_set(x_207, 0, x_1); +return x_207; +} +} +else { lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_255 = lean_ctor_get(x_1, 2); -lean_inc(x_255); -x_256 = lean_ctor_get(x_1, 3); +x_255 = lean_ctor_get(x_207, 0); +x_256 = lean_ctor_get(x_207, 1); lean_inc(x_256); -lean_dec(x_1); -x_257 = lean_expr_instantiate1(x_256, x_255); -lean_dec(x_255); -lean_dec(x_256); -x_1 = x_257; -x_6 = x_90; -goto _start; -} -case 11: +lean_inc(x_255); +lean_dec(x_207); +x_257 = l_Lean_Expr_getAppFn(x_255); +if (lean_obj_tag(x_257) == 4) { -lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_259 = lean_ctor_get(x_1, 1); -lean_inc(x_259); -x_260 = lean_ctor_get(x_1, 2); +lean_object* x_258; lean_object* x_259; +x_258 = lean_ctor_get(x_257, 0); +lean_inc(x_258); +lean_dec(x_257); +x_259 = l_Lean_Meta_getConst_x3f(x_258, x_2, x_3, x_4, x_5, x_256); +if (lean_obj_tag(x_259) == 0) +{ +lean_object* x_260; +x_260 = lean_ctor_get(x_259, 0); lean_inc(x_260); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_261 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_260, x_2, x_3, x_4, x_5, x_90); -if (lean_obj_tag(x_261) == 0) +if (lean_obj_tag(x_260) == 0) { -uint8_t x_262; -x_262 = !lean_is_exclusive(x_261); -if (x_262 == 0) -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_263 = lean_ctor_get(x_261, 0); -x_264 = lean_ctor_get(x_261, 1); -x_265 = l_Lean_Expr_getAppFn(x_263); -if (lean_obj_tag(x_265) == 4) -{ -lean_object* x_266; lean_object* x_267; -lean_free_object(x_261); -x_266 = lean_ctor_get(x_265, 0); -lean_inc(x_266); -lean_dec(x_265); -x_267 = l_Lean_Meta_getConst_x3f(x_266, x_2, x_3, x_4, x_5, x_264); -if (lean_obj_tag(x_267) == 0) -{ -lean_object* x_268; -x_268 = lean_ctor_get(x_267, 0); -lean_inc(x_268); -if (lean_obj_tag(x_268) == 0) -{ -uint8_t x_269; -lean_dec(x_263); -lean_dec(x_259); +lean_object* x_261; lean_object* x_262; lean_object* x_263; +lean_dec(x_255); +lean_dec(x_205); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_269 = !lean_is_exclusive(x_267); -if (x_269 == 0) -{ -lean_object* x_270; -x_270 = lean_ctor_get(x_267, 0); -lean_dec(x_270); -lean_ctor_set(x_267, 0, x_1); -return x_267; +x_261 = lean_ctor_get(x_259, 1); +lean_inc(x_261); +if (lean_is_exclusive(x_259)) { + lean_ctor_release(x_259, 0); + lean_ctor_release(x_259, 1); + x_262 = x_259; +} else { + lean_dec_ref(x_259); + x_262 = lean_box(0); +} +if (lean_is_scalar(x_262)) { + x_263 = lean_alloc_ctor(0, 2, 0); +} else { + x_263 = x_262; +} +lean_ctor_set(x_263, 0, x_1); +lean_ctor_set(x_263, 1, x_261); +return x_263; } else { -lean_object* x_271; lean_object* x_272; -x_271 = lean_ctor_get(x_267, 1); -lean_inc(x_271); +lean_object* x_264; +x_264 = lean_ctor_get(x_260, 0); +lean_inc(x_264); +lean_dec(x_260); +if (lean_obj_tag(x_264) == 6) +{ +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; uint8_t x_272; +x_265 = lean_ctor_get(x_259, 1); +lean_inc(x_265); +if (lean_is_exclusive(x_259)) { + lean_ctor_release(x_259, 0); + lean_ctor_release(x_259, 1); + x_266 = x_259; +} else { + lean_dec_ref(x_259); + x_266 = lean_box(0); +} +x_267 = lean_ctor_get(x_264, 0); +lean_inc(x_267); +lean_dec(x_264); +x_268 = lean_ctor_get(x_267, 3); +lean_inc(x_268); lean_dec(x_267); -x_272 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_272, 0, x_1); -lean_ctor_set(x_272, 1, x_271); -return x_272; -} -} -else +x_269 = lean_nat_add(x_268, x_205); +lean_dec(x_205); +lean_dec(x_268); +x_270 = lean_unsigned_to_nat(0u); +x_271 = l_Lean_Expr_getAppNumArgsAux(x_255, x_270); +x_272 = lean_nat_dec_lt(x_269, x_271); +if (x_272 == 0) { lean_object* x_273; -x_273 = lean_ctor_get(x_268, 0); -lean_inc(x_273); -lean_dec(x_268); -if (lean_obj_tag(x_273) == 6) -{ -uint8_t x_274; -x_274 = !lean_is_exclusive(x_267); -if (x_274 == 0) -{ -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; uint8_t x_282; -x_275 = lean_ctor_get(x_267, 1); -x_276 = lean_ctor_get(x_267, 0); -lean_dec(x_276); -x_277 = lean_ctor_get(x_273, 0); -lean_inc(x_277); -lean_dec(x_273); -x_278 = lean_ctor_get(x_277, 3); -lean_inc(x_278); -lean_dec(x_277); -x_279 = lean_nat_add(x_278, x_259); -lean_dec(x_259); -lean_dec(x_278); -x_280 = lean_unsigned_to_nat(0u); -x_281 = l_Lean_Expr_getAppNumArgsAux(x_263, x_280); -x_282 = lean_nat_dec_lt(x_279, x_281); -if (x_282 == 0) -{ -lean_dec(x_281); -lean_dec(x_279); -lean_dec(x_263); +lean_dec(x_271); +lean_dec(x_269); +lean_dec(x_255); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_ctor_set(x_267, 0, x_1); -return x_267; +if (lean_is_scalar(x_266)) { + x_273 = lean_alloc_ctor(0, 2, 0); +} else { + x_273 = x_266; +} +lean_ctor_set(x_273, 0, x_1); +lean_ctor_set(x_273, 1, x_265); +return x_273; } else { -lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; -lean_free_object(x_267); +lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; +lean_dec(x_266); lean_dec(x_1); -x_283 = lean_nat_sub(x_281, x_279); -lean_dec(x_279); -lean_dec(x_281); -x_284 = lean_unsigned_to_nat(1u); -x_285 = lean_nat_sub(x_283, x_284); -lean_dec(x_283); -x_286 = l_Lean_Expr_getRevArg_x21(x_263, x_285); -lean_dec(x_263); -x_1 = x_286; -x_6 = x_275; +x_274 = lean_nat_sub(x_271, x_269); +lean_dec(x_269); +lean_dec(x_271); +x_275 = lean_unsigned_to_nat(1u); +x_276 = lean_nat_sub(x_274, x_275); +lean_dec(x_274); +x_277 = l_Lean_Expr_getRevArg_x21(x_255, x_276); +lean_dec(x_255); +x_1 = x_277; +x_6 = x_265; goto _start; } } else { -lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; uint8_t x_294; -x_288 = lean_ctor_get(x_267, 1); -lean_inc(x_288); -lean_dec(x_267); -x_289 = lean_ctor_get(x_273, 0); +lean_object* x_279; lean_object* x_280; lean_object* x_281; +lean_dec(x_264); +lean_dec(x_255); +lean_dec(x_205); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_279 = lean_ctor_get(x_259, 1); +lean_inc(x_279); +if (lean_is_exclusive(x_259)) { + lean_ctor_release(x_259, 0); + lean_ctor_release(x_259, 1); + x_280 = x_259; +} else { + lean_dec_ref(x_259); + x_280 = lean_box(0); +} +if (lean_is_scalar(x_280)) { + x_281 = lean_alloc_ctor(0, 2, 0); +} else { + x_281 = x_280; +} +lean_ctor_set(x_281, 0, x_1); +lean_ctor_set(x_281, 1, x_279); +return x_281; +} +} +} +else +{ +lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; +lean_dec(x_255); +lean_dec(x_205); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_282 = lean_ctor_get(x_259, 0); +lean_inc(x_282); +x_283 = lean_ctor_get(x_259, 1); +lean_inc(x_283); +if (lean_is_exclusive(x_259)) { + lean_ctor_release(x_259, 0); + lean_ctor_release(x_259, 1); + x_284 = x_259; +} else { + lean_dec_ref(x_259); + x_284 = lean_box(0); +} +if (lean_is_scalar(x_284)) { + x_285 = lean_alloc_ctor(1, 2, 0); +} else { + x_285 = x_284; +} +lean_ctor_set(x_285, 0, x_282); +lean_ctor_set(x_285, 1, x_283); +return x_285; +} +} +else +{ +lean_object* x_286; +lean_dec(x_257); +lean_dec(x_255); +lean_dec(x_205); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_286 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_286, 0, x_1); +lean_ctor_set(x_286, 1, x_256); +return x_286; +} +} +} +else +{ +uint8_t x_287; +lean_dec(x_205); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_287 = !lean_is_exclusive(x_207); +if (x_287 == 0) +{ +return x_207; +} +else +{ +lean_object* x_288; lean_object* x_289; lean_object* x_290; +x_288 = lean_ctor_get(x_207, 0); +x_289 = lean_ctor_get(x_207, 1); lean_inc(x_289); -lean_dec(x_273); -x_290 = lean_ctor_get(x_289, 3); -lean_inc(x_290); -lean_dec(x_289); -x_291 = lean_nat_add(x_290, x_259); -lean_dec(x_259); -lean_dec(x_290); -x_292 = lean_unsigned_to_nat(0u); -x_293 = l_Lean_Expr_getAppNumArgsAux(x_263, x_292); -x_294 = lean_nat_dec_lt(x_291, x_293); -if (x_294 == 0) -{ -lean_object* x_295; -lean_dec(x_293); -lean_dec(x_291); -lean_dec(x_263); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_295 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_295, 0, x_1); -lean_ctor_set(x_295, 1, x_288); -return x_295; -} -else -{ -lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; -lean_dec(x_1); -x_296 = lean_nat_sub(x_293, x_291); -lean_dec(x_291); -lean_dec(x_293); -x_297 = lean_unsigned_to_nat(1u); -x_298 = lean_nat_sub(x_296, x_297); -lean_dec(x_296); -x_299 = l_Lean_Expr_getRevArg_x21(x_263, x_298); -lean_dec(x_263); -x_1 = x_299; -x_6 = x_288; -goto _start; -} -} -} -else -{ -uint8_t x_301; -lean_dec(x_273); -lean_dec(x_263); -lean_dec(x_259); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_301 = !lean_is_exclusive(x_267); -if (x_301 == 0) -{ -lean_object* x_302; -x_302 = lean_ctor_get(x_267, 0); -lean_dec(x_302); -lean_ctor_set(x_267, 0, x_1); -return x_267; -} -else -{ -lean_object* x_303; lean_object* x_304; -x_303 = lean_ctor_get(x_267, 1); -lean_inc(x_303); -lean_dec(x_267); -x_304 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_304, 0, x_1); -lean_ctor_set(x_304, 1, x_303); -return x_304; -} -} -} -} -else -{ -uint8_t x_305; -lean_dec(x_263); -lean_dec(x_259); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_305 = !lean_is_exclusive(x_267); -if (x_305 == 0) -{ -return x_267; -} -else -{ -lean_object* x_306; lean_object* x_307; lean_object* x_308; -x_306 = lean_ctor_get(x_267, 0); -x_307 = lean_ctor_get(x_267, 1); -lean_inc(x_307); -lean_inc(x_306); -lean_dec(x_267); -x_308 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_308, 0, x_306); -lean_ctor_set(x_308, 1, x_307); -return x_308; -} -} -} -else -{ -lean_dec(x_265); -lean_dec(x_263); -lean_dec(x_259); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_ctor_set(x_261, 0, x_1); -return x_261; -} -} -else -{ -lean_object* x_309; lean_object* x_310; lean_object* x_311; -x_309 = lean_ctor_get(x_261, 0); -x_310 = lean_ctor_get(x_261, 1); -lean_inc(x_310); -lean_inc(x_309); -lean_dec(x_261); -x_311 = l_Lean_Expr_getAppFn(x_309); -if (lean_obj_tag(x_311) == 4) -{ -lean_object* x_312; lean_object* x_313; -x_312 = lean_ctor_get(x_311, 0); -lean_inc(x_312); -lean_dec(x_311); -x_313 = l_Lean_Meta_getConst_x3f(x_312, x_2, x_3, x_4, x_5, x_310); -if (lean_obj_tag(x_313) == 0) -{ -lean_object* x_314; -x_314 = lean_ctor_get(x_313, 0); -lean_inc(x_314); -if (lean_obj_tag(x_314) == 0) -{ -lean_object* x_315; lean_object* x_316; lean_object* x_317; -lean_dec(x_309); -lean_dec(x_259); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_315 = lean_ctor_get(x_313, 1); -lean_inc(x_315); -if (lean_is_exclusive(x_313)) { - lean_ctor_release(x_313, 0); - lean_ctor_release(x_313, 1); - x_316 = x_313; -} else { - lean_dec_ref(x_313); - x_316 = lean_box(0); -} -if (lean_is_scalar(x_316)) { - x_317 = lean_alloc_ctor(0, 2, 0); -} else { - x_317 = x_316; -} -lean_ctor_set(x_317, 0, x_1); -lean_ctor_set(x_317, 1, x_315); -return x_317; -} -else -{ -lean_object* x_318; -x_318 = lean_ctor_get(x_314, 0); -lean_inc(x_318); -lean_dec(x_314); -if (lean_obj_tag(x_318) == 6) -{ -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; uint8_t x_326; -x_319 = lean_ctor_get(x_313, 1); -lean_inc(x_319); -if (lean_is_exclusive(x_313)) { - lean_ctor_release(x_313, 0); - lean_ctor_release(x_313, 1); - x_320 = x_313; -} else { - lean_dec_ref(x_313); - x_320 = lean_box(0); -} -x_321 = lean_ctor_get(x_318, 0); -lean_inc(x_321); -lean_dec(x_318); -x_322 = lean_ctor_get(x_321, 3); -lean_inc(x_322); -lean_dec(x_321); -x_323 = lean_nat_add(x_322, x_259); -lean_dec(x_259); -lean_dec(x_322); -x_324 = lean_unsigned_to_nat(0u); -x_325 = l_Lean_Expr_getAppNumArgsAux(x_309, x_324); -x_326 = lean_nat_dec_lt(x_323, x_325); -if (x_326 == 0) -{ -lean_object* x_327; -lean_dec(x_325); -lean_dec(x_323); -lean_dec(x_309); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -if (lean_is_scalar(x_320)) { - x_327 = lean_alloc_ctor(0, 2, 0); -} else { - x_327 = x_320; -} -lean_ctor_set(x_327, 0, x_1); -lean_ctor_set(x_327, 1, x_319); -return x_327; -} -else -{ -lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; -lean_dec(x_320); -lean_dec(x_1); -x_328 = lean_nat_sub(x_325, x_323); -lean_dec(x_323); -lean_dec(x_325); -x_329 = lean_unsigned_to_nat(1u); -x_330 = lean_nat_sub(x_328, x_329); -lean_dec(x_328); -x_331 = l_Lean_Expr_getRevArg_x21(x_309, x_330); -lean_dec(x_309); -x_1 = x_331; -x_6 = x_319; -goto _start; -} -} -else -{ -lean_object* x_333; lean_object* x_334; lean_object* x_335; -lean_dec(x_318); -lean_dec(x_309); -lean_dec(x_259); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_333 = lean_ctor_get(x_313, 1); -lean_inc(x_333); -if (lean_is_exclusive(x_313)) { - lean_ctor_release(x_313, 0); - lean_ctor_release(x_313, 1); - x_334 = x_313; -} else { - lean_dec_ref(x_313); - x_334 = lean_box(0); -} -if (lean_is_scalar(x_334)) { - x_335 = lean_alloc_ctor(0, 2, 0); -} else { - x_335 = x_334; -} -lean_ctor_set(x_335, 0, x_1); -lean_ctor_set(x_335, 1, x_333); -return x_335; -} -} -} -else -{ -lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; -lean_dec(x_309); -lean_dec(x_259); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_336 = lean_ctor_get(x_313, 0); -lean_inc(x_336); -x_337 = lean_ctor_get(x_313, 1); -lean_inc(x_337); -if (lean_is_exclusive(x_313)) { - lean_ctor_release(x_313, 0); - lean_ctor_release(x_313, 1); - x_338 = x_313; -} else { - lean_dec_ref(x_313); - x_338 = lean_box(0); -} -if (lean_is_scalar(x_338)) { - x_339 = lean_alloc_ctor(1, 2, 0); -} else { - x_339 = x_338; -} -lean_ctor_set(x_339, 0, x_336); -lean_ctor_set(x_339, 1, x_337); -return x_339; -} -} -else -{ -lean_object* x_340; -lean_dec(x_311); -lean_dec(x_309); -lean_dec(x_259); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_340 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_340, 0, x_1); -lean_ctor_set(x_340, 1, x_310); -return x_340; -} -} -} -else -{ -uint8_t x_341; -lean_dec(x_259); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_341 = !lean_is_exclusive(x_261); -if (x_341 == 0) -{ -return x_261; -} -else -{ -lean_object* x_342; lean_object* x_343; lean_object* x_344; -x_342 = lean_ctor_get(x_261, 0); -x_343 = lean_ctor_get(x_261, 1); -lean_inc(x_343); -lean_inc(x_342); -lean_dec(x_261); -x_344 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_344, 0, x_342); -lean_ctor_set(x_344, 1, x_343); -return x_344; +lean_inc(x_288); +lean_dec(x_207); +x_290 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_290, 0, x_288); +lean_ctor_set(x_290, 1, x_289); +return x_290; } } } default: { -lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_dec(x_1); -x_345 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_346 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__2; -x_347 = lean_panic_fn(x_345, x_346); -x_348 = lean_apply_5(x_347, x_2, x_3, x_4, x_5, x_90); -return x_348; +x_291 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_292 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__2; +x_293 = lean_panic_fn(x_291, x_292); +x_294 = lean_apply_5(x_293, x_2, x_3, x_4, x_5, x_90); +return x_294; } } } } case 5: { -lean_object* x_365; lean_object* x_625; lean_object* x_626; lean_object* x_627; uint8_t x_628; -x_625 = lean_st_ref_get(x_5, x_6); -x_626 = lean_ctor_get(x_625, 0); -lean_inc(x_626); -x_627 = lean_ctor_get(x_626, 3); -lean_inc(x_627); -lean_dec(x_626); -x_628 = lean_ctor_get_uint8(x_627, sizeof(void*)*1); -lean_dec(x_627); -if (x_628 == 0) +lean_object* x_311; lean_object* x_517; lean_object* x_518; lean_object* x_519; uint8_t x_520; +x_517 = lean_st_ref_get(x_5, x_6); +x_518 = lean_ctor_get(x_517, 0); +lean_inc(x_518); +x_519 = lean_ctor_get(x_518, 3); +lean_inc(x_519); +lean_dec(x_518); +x_520 = lean_ctor_get_uint8(x_519, sizeof(void*)*1); +lean_dec(x_519); +if (x_520 == 0) { -lean_object* x_629; -x_629 = lean_ctor_get(x_625, 1); -lean_inc(x_629); -lean_dec(x_625); -x_365 = x_629; -goto block_624; +lean_object* x_521; +x_521 = lean_ctor_get(x_517, 1); +lean_inc(x_521); +lean_dec(x_517); +x_311 = x_521; +goto block_516; } else { -lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; uint8_t x_634; -x_630 = lean_ctor_get(x_625, 1); -lean_inc(x_630); -lean_dec(x_625); -x_631 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__5; -x_632 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_631, x_2, x_3, x_4, x_5, x_630); -x_633 = lean_ctor_get(x_632, 0); -lean_inc(x_633); -x_634 = lean_unbox(x_633); -lean_dec(x_633); -if (x_634 == 0) +lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; uint8_t x_526; +x_522 = lean_ctor_get(x_517, 1); +lean_inc(x_522); +lean_dec(x_517); +x_523 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__5; +x_524 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_523, x_2, x_3, x_4, x_5, x_522); +x_525 = lean_ctor_get(x_524, 0); +lean_inc(x_525); +x_526 = lean_unbox(x_525); +lean_dec(x_525); +if (x_526 == 0) { -lean_object* x_635; -x_635 = lean_ctor_get(x_632, 1); -lean_inc(x_635); -lean_dec(x_632); -x_365 = x_635; -goto block_624; +lean_object* x_527; +x_527 = lean_ctor_get(x_524, 1); +lean_inc(x_527); +lean_dec(x_524); +x_311 = x_527; +goto block_516; } else { -lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; -x_636 = lean_ctor_get(x_632, 1); -lean_inc(x_636); -lean_dec(x_632); +lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; +x_528 = lean_ctor_get(x_524, 1); +lean_inc(x_528); +lean_dec(x_524); lean_inc(x_1); -x_637 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_637, 0, x_1); -x_638 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_631, x_637, x_2, x_3, x_4, x_5, x_636); -x_639 = lean_ctor_get(x_638, 1); -lean_inc(x_639); -lean_dec(x_638); -x_365 = x_639; -goto block_624; +x_529 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_529, 0, x_1); +x_530 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_523, x_529, x_2, x_3, x_4, x_5, x_528); +x_531 = lean_ctor_get(x_530, 1); +lean_inc(x_531); +lean_dec(x_530); +x_311 = x_531; +goto block_516; } } -block_624: +block_516: { switch (lean_obj_tag(x_1)) { case 4: { -lean_object* x_366; +lean_object* x_312; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_366 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_366, 0, x_1); -lean_ctor_set(x_366, 1, x_365); -return x_366; +x_312 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_312, 0, x_1); +lean_ctor_set(x_312, 1, x_311); +return x_312; } case 5: { -lean_object* x_367; lean_object* x_368; lean_object* x_369; -x_367 = lean_ctor_get(x_1, 0); -lean_inc(x_367); -x_368 = l_Lean_Expr_getAppFn(x_367); -lean_dec(x_367); +lean_object* x_313; lean_object* x_314; lean_object* x_315; +x_313 = lean_ctor_get(x_1, 0); +lean_inc(x_313); +x_314 = l_Lean_Expr_getAppFn(x_313); +lean_dec(x_313); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_368); -x_369 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2(x_368, x_2, x_3, x_4, x_5, x_365); -if (lean_obj_tag(x_369) == 0) +lean_inc(x_314); +x_315 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2(x_314, x_2, x_3, x_4, x_5, x_311); +if (lean_obj_tag(x_315) == 0) { -uint8_t x_370; -x_370 = !lean_is_exclusive(x_369); -if (x_370 == 0) +lean_object* x_316; lean_object* x_317; uint8_t 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_Lean_Expr_isLambda(x_316); +if (x_318 == 0) { -lean_object* x_371; lean_object* x_372; uint8_t x_373; -x_371 = lean_ctor_get(x_369, 0); -x_372 = lean_ctor_get(x_369, 1); -x_373 = l_Lean_Expr_isLambda(x_371); -if (x_373 == 0) -{ -if (lean_obj_tag(x_371) == 4) -{ -lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; -lean_free_object(x_369); -x_374 = lean_ctor_get(x_371, 0); -lean_inc(x_374); -x_375 = lean_ctor_get(x_371, 1); -lean_inc(x_375); +lean_object* x_319; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); lean_inc(x_1); -lean_inc(x_371); -lean_inc(x_368); -x_376 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___lambda__1___boxed), 9, 3); -lean_closure_set(x_376, 0, x_368); -lean_closure_set(x_376, 1, x_371); -lean_closure_set(x_376, 2, x_1); -x_377 = l_Lean_Meta_getConst_x3f(x_374, x_2, x_3, x_4, x_5, x_372); -if (lean_obj_tag(x_377) == 0) +x_319 = l_Lean_Meta_reduceMatcher_x3f(x_1, x_2, x_3, x_4, x_5, x_317); +if (lean_obj_tag(x_319) == 0) { -lean_object* x_378; -x_378 = lean_ctor_get(x_377, 0); -lean_inc(x_378); -if (lean_obj_tag(x_378) == 0) +lean_object* x_320; +x_320 = lean_ctor_get(x_319, 0); +lean_inc(x_320); +switch (lean_obj_tag(x_320)) { +case 0: { -uint8_t x_379; -lean_dec(x_376); -lean_dec(x_375); +lean_object* x_321; lean_object* x_322; +lean_dec(x_316); +lean_dec(x_314); +lean_dec(x_1); +x_321 = lean_ctor_get(x_319, 1); +lean_inc(x_321); +lean_dec(x_319); +x_322 = lean_ctor_get(x_320, 0); +lean_inc(x_322); +lean_dec(x_320); +x_1 = x_322; +x_6 = x_321; +goto _start; +} +case 2: +{ +if (lean_obj_tag(x_316) == 4) +{ +lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; +x_324 = lean_ctor_get(x_319, 1); +lean_inc(x_324); +lean_dec(x_319); +x_325 = lean_ctor_get(x_316, 0); +lean_inc(x_325); +x_326 = lean_ctor_get(x_316, 1); +lean_inc(x_326); +lean_inc(x_1); +lean_inc(x_316); +lean_inc(x_314); +x_327 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___lambda__1___boxed), 9, 3); +lean_closure_set(x_327, 0, x_314); +lean_closure_set(x_327, 1, x_316); +lean_closure_set(x_327, 2, x_1); +x_328 = l_Lean_Meta_getConst_x3f(x_325, x_2, x_3, x_4, x_5, x_324); +if (lean_obj_tag(x_328) == 0) +{ +lean_object* x_329; +x_329 = lean_ctor_get(x_328, 0); +lean_inc(x_329); +if (lean_obj_tag(x_329) == 0) +{ +uint8_t x_330; +lean_dec(x_327); +lean_dec(x_326); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_379 = !lean_is_exclusive(x_377); -if (x_379 == 0) +x_330 = !lean_is_exclusive(x_328); +if (x_330 == 0) { -lean_object* x_380; uint8_t x_381; -x_380 = lean_ctor_get(x_377, 0); -lean_dec(x_380); -x_381 = lean_expr_eqv(x_368, x_371); +lean_object* x_331; uint8_t x_332; +x_331 = lean_ctor_get(x_328, 0); +lean_dec(x_331); +x_332 = lean_expr_eqv(x_314, x_316); +lean_dec(x_314); +if (x_332 == 0) +{ +lean_object* x_333; +x_333 = l_Lean_Expr_updateFn(x_1, x_316); +lean_dec(x_316); +lean_ctor_set(x_328, 0, x_333); +return x_328; +} +else +{ +lean_dec(x_316); +lean_ctor_set(x_328, 0, x_1); +return x_328; +} +} +else +{ +lean_object* x_334; uint8_t x_335; +x_334 = lean_ctor_get(x_328, 1); +lean_inc(x_334); +lean_dec(x_328); +x_335 = lean_expr_eqv(x_314, x_316); +lean_dec(x_314); +if (x_335 == 0) +{ +lean_object* x_336; lean_object* x_337; +x_336 = l_Lean_Expr_updateFn(x_1, x_316); +lean_dec(x_316); +x_337 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_337, 0, x_336); +lean_ctor_set(x_337, 1, x_334); +return x_337; +} +else +{ +lean_object* x_338; +lean_dec(x_316); +x_338 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_338, 0, x_1); +lean_ctor_set(x_338, 1, x_334); +return x_338; +} +} +} +else +{ +lean_object* x_339; +x_339 = lean_ctor_get(x_329, 0); +lean_inc(x_339); +lean_dec(x_329); +switch (lean_obj_tag(x_339)) { +case 1: +{ +lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; uint8_t x_344; +lean_dec(x_327); +x_340 = lean_ctor_get(x_328, 1); +lean_inc(x_340); +lean_dec(x_328); +x_341 = l_Lean_ConstantInfo_name(x_339); +x_342 = l___private_Lean_Meta_WHNF_0__Lean_Meta_isAuxDefImp_x3f(x_341, x_2, x_3, x_4, x_5, x_340); +lean_dec(x_341); +x_343 = lean_ctor_get(x_342, 0); +lean_inc(x_343); +x_344 = lean_unbox(x_343); +lean_dec(x_343); +if (x_344 == 0) +{ +uint8_t x_345; +lean_dec(x_339); +lean_dec(x_326); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_345 = !lean_is_exclusive(x_342); +if (x_345 == 0) +{ +lean_object* x_346; uint8_t x_347; +x_346 = lean_ctor_get(x_342, 0); +lean_dec(x_346); +x_347 = lean_expr_eqv(x_314, x_316); +lean_dec(x_314); +if (x_347 == 0) +{ +lean_object* x_348; +x_348 = l_Lean_Expr_updateFn(x_1, x_316); +lean_dec(x_316); +lean_ctor_set(x_342, 0, x_348); +return x_342; +} +else +{ +lean_dec(x_316); +lean_ctor_set(x_342, 0, x_1); +return x_342; +} +} +else +{ +lean_object* x_349; uint8_t x_350; +x_349 = lean_ctor_get(x_342, 1); +lean_inc(x_349); +lean_dec(x_342); +x_350 = lean_expr_eqv(x_314, x_316); +lean_dec(x_314); +if (x_350 == 0) +{ +lean_object* x_351; lean_object* x_352; +x_351 = l_Lean_Expr_updateFn(x_1, x_316); +lean_dec(x_316); +x_352 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_352, 0, x_351); +lean_ctor_set(x_352, 1, x_349); +return x_352; +} +else +{ +lean_object* x_353; +lean_dec(x_316); +x_353 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_353, 0, x_1); +lean_ctor_set(x_353, 1, x_349); +return x_353; +} +} +} +else +{ +lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; +x_354 = lean_ctor_get(x_342, 1); +lean_inc(x_354); +lean_dec(x_342); +x_355 = lean_unsigned_to_nat(0u); +x_356 = l_Lean_Expr_getAppNumArgsAux(x_1, x_355); +x_357 = lean_mk_empty_array_with_capacity(x_356); +lean_dec(x_356); +lean_inc(x_1); +x_358 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_357); +x_359 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__1(x_1, x_314, x_316, x_339, x_326, x_358, x_2, x_3, x_4, x_5, x_354); +lean_dec(x_358); +lean_dec(x_326); +lean_dec(x_339); +lean_dec(x_316); +lean_dec(x_314); +return x_359; +} +} +case 4: +{ +lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; +lean_dec(x_316); +lean_dec(x_314); +x_360 = lean_ctor_get(x_328, 1); +lean_inc(x_360); +lean_dec(x_328); +x_361 = lean_ctor_get(x_339, 0); +lean_inc(x_361); +lean_dec(x_339); +x_362 = lean_unsigned_to_nat(0u); +x_363 = l_Lean_Expr_getAppNumArgsAux(x_1, x_362); +x_364 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_363); +x_365 = lean_mk_array(x_363, x_364); +x_366 = lean_unsigned_to_nat(1u); +x_367 = lean_nat_sub(x_363, x_366); +lean_dec(x_363); +x_368 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_365, x_367); +x_369 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; +x_370 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_361, x_326, x_368, x_327, x_369, x_2, x_3, x_4, x_5, x_360); lean_dec(x_368); -if (x_381 == 0) +lean_dec(x_326); +lean_dec(x_361); +return x_370; +} +case 7: { -lean_object* x_382; -x_382 = l_Lean_Expr_updateFn(x_1, x_371); -lean_dec(x_371); -lean_ctor_set(x_377, 0, x_382); -return x_377; +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_316); +lean_dec(x_314); +x_371 = lean_ctor_get(x_328, 1); +lean_inc(x_371); +lean_dec(x_328); +x_372 = lean_ctor_get(x_339, 0); +lean_inc(x_372); +lean_dec(x_339); +x_373 = lean_unsigned_to_nat(0u); +x_374 = l_Lean_Expr_getAppNumArgsAux(x_1, x_373); +x_375 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_374); +x_376 = lean_mk_array(x_374, x_375); +x_377 = lean_unsigned_to_nat(1u); +x_378 = lean_nat_sub(x_374, x_377); +lean_dec(x_374); +x_379 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_376, x_378); +x_380 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; +x_381 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_372, x_326, x_379, x_327, x_380, x_2, x_3, x_4, x_5, x_371); +lean_dec(x_379); +lean_dec(x_326); +return x_381; } -else +default: { -lean_dec(x_371); -lean_ctor_set(x_377, 0, x_1); -return x_377; -} -} -else +uint8_t x_382; +lean_dec(x_339); +lean_dec(x_327); +lean_dec(x_326); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_382 = !lean_is_exclusive(x_328); +if (x_382 == 0) { lean_object* x_383; uint8_t x_384; -x_383 = lean_ctor_get(x_377, 1); -lean_inc(x_383); -lean_dec(x_377); -x_384 = lean_expr_eqv(x_368, x_371); -lean_dec(x_368); +x_383 = lean_ctor_get(x_328, 0); +lean_dec(x_383); +x_384 = lean_expr_eqv(x_314, x_316); +lean_dec(x_314); if (x_384 == 0) { -lean_object* x_385; lean_object* x_386; -x_385 = l_Lean_Expr_updateFn(x_1, x_371); -lean_dec(x_371); -x_386 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_386, 0, x_385); -lean_ctor_set(x_386, 1, x_383); -return x_386; +lean_object* x_385; +x_385 = l_Lean_Expr_updateFn(x_1, x_316); +lean_dec(x_316); +lean_ctor_set(x_328, 0, x_385); +return x_328; } else { -lean_object* x_387; -lean_dec(x_371); -x_387 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_387, 0, x_1); -lean_ctor_set(x_387, 1, x_383); -return x_387; +lean_dec(x_316); +lean_ctor_set(x_328, 0, x_1); +return x_328; +} +} +else +{ +lean_object* x_386; uint8_t x_387; +x_386 = lean_ctor_get(x_328, 1); +lean_inc(x_386); +lean_dec(x_328); +x_387 = lean_expr_eqv(x_314, x_316); +lean_dec(x_314); +if (x_387 == 0) +{ +lean_object* x_388; lean_object* x_389; +x_388 = l_Lean_Expr_updateFn(x_1, x_316); +lean_dec(x_316); +x_389 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_389, 0, x_388); +lean_ctor_set(x_389, 1, x_386); +return x_389; +} +else +{ +lean_object* x_390; +lean_dec(x_316); +x_390 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_390, 0, x_1); +lean_ctor_set(x_390, 1, x_386); +return x_390; +} +} +} } } } else { -lean_object* x_388; -x_388 = lean_ctor_get(x_378, 0); -lean_inc(x_388); -lean_dec(x_378); -switch (lean_obj_tag(x_388)) { -case 1: -{ -lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; uint8_t x_393; -lean_dec(x_376); -x_389 = lean_ctor_get(x_377, 1); -lean_inc(x_389); -lean_dec(x_377); -x_390 = l_Lean_ConstantInfo_name(x_388); -x_391 = l___private_Lean_Meta_WHNF_0__Lean_Meta_isAuxDefImp_x3f(x_390, x_2, x_3, x_4, x_5, x_389); -lean_dec(x_390); -x_392 = lean_ctor_get(x_391, 0); -lean_inc(x_392); -x_393 = lean_unbox(x_392); -lean_dec(x_392); -if (x_393 == 0) -{ -uint8_t x_394; -lean_dec(x_388); -lean_dec(x_375); +uint8_t x_391; +lean_dec(x_327); +lean_dec(x_326); +lean_dec(x_316); +lean_dec(x_314); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_394 = !lean_is_exclusive(x_391); -if (x_394 == 0) +lean_dec(x_1); +x_391 = !lean_is_exclusive(x_328); +if (x_391 == 0) { -lean_object* x_395; uint8_t x_396; -x_395 = lean_ctor_get(x_391, 0); -lean_dec(x_395); -x_396 = lean_expr_eqv(x_368, x_371); -lean_dec(x_368); -if (x_396 == 0) -{ -lean_object* x_397; -x_397 = l_Lean_Expr_updateFn(x_1, x_371); -lean_dec(x_371); -lean_ctor_set(x_391, 0, x_397); -return x_391; +return x_328; } else { -lean_dec(x_371); -lean_ctor_set(x_391, 0, x_1); -return x_391; +lean_object* x_392; lean_object* x_393; lean_object* x_394; +x_392 = lean_ctor_get(x_328, 0); +x_393 = lean_ctor_get(x_328, 1); +lean_inc(x_393); +lean_inc(x_392); +lean_dec(x_328); +x_394 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_394, 0, x_392); +lean_ctor_set(x_394, 1, x_393); +return x_394; +} } } else { -lean_object* x_398; uint8_t x_399; -x_398 = lean_ctor_get(x_391, 1); -lean_inc(x_398); -lean_dec(x_391); -x_399 = lean_expr_eqv(x_368, x_371); -lean_dec(x_368); -if (x_399 == 0) +uint8_t x_395; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_395 = !lean_is_exclusive(x_319); +if (x_395 == 0) { -lean_object* x_400; lean_object* x_401; -x_400 = l_Lean_Expr_updateFn(x_1, x_371); -lean_dec(x_371); -x_401 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_401, 0, x_400); -lean_ctor_set(x_401, 1, x_398); -return x_401; +lean_object* x_396; uint8_t x_397; +x_396 = lean_ctor_get(x_319, 0); +lean_dec(x_396); +x_397 = lean_expr_eqv(x_314, x_316); +lean_dec(x_314); +if (x_397 == 0) +{ +lean_object* x_398; +x_398 = l_Lean_Expr_updateFn(x_1, x_316); +lean_dec(x_316); +lean_ctor_set(x_319, 0, x_398); +return x_319; } else { -lean_object* x_402; -lean_dec(x_371); +lean_dec(x_316); +lean_ctor_set(x_319, 0, x_1); +return x_319; +} +} +else +{ +lean_object* x_399; uint8_t x_400; +x_399 = lean_ctor_get(x_319, 1); +lean_inc(x_399); +lean_dec(x_319); +x_400 = lean_expr_eqv(x_314, x_316); +lean_dec(x_314); +if (x_400 == 0) +{ +lean_object* x_401; lean_object* x_402; +x_401 = l_Lean_Expr_updateFn(x_1, x_316); +lean_dec(x_316); x_402 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_402, 0, x_1); -lean_ctor_set(x_402, 1, x_398); +lean_ctor_set(x_402, 0, x_401); +lean_ctor_set(x_402, 1, x_399); return x_402; } -} -} else { -lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; -x_403 = lean_ctor_get(x_391, 1); -lean_inc(x_403); -lean_dec(x_391); -x_404 = lean_unsigned_to_nat(0u); -x_405 = l_Lean_Expr_getAppNumArgsAux(x_1, x_404); -x_406 = lean_mk_empty_array_with_capacity(x_405); +lean_object* x_403; +lean_dec(x_316); +x_403 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_403, 0, x_1); +lean_ctor_set(x_403, 1, x_399); +return x_403; +} +} +} +} +default: +{ +uint8_t x_404; +lean_dec(x_320); +lean_dec(x_316); +lean_dec(x_314); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_404 = !lean_is_exclusive(x_319); +if (x_404 == 0) +{ +lean_object* x_405; +x_405 = lean_ctor_get(x_319, 0); lean_dec(x_405); -lean_inc(x_1); -x_407 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_406); -x_408 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__1(x_1, x_368, x_371, x_388, x_375, x_407, x_2, x_3, x_4, x_5, x_403); -lean_dec(x_407); -lean_dec(x_375); -lean_dec(x_388); -lean_dec(x_371); -lean_dec(x_368); -return x_408; +lean_ctor_set(x_319, 0, x_1); +return x_319; } -} -case 4: +else { -lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; -lean_dec(x_371); -lean_dec(x_368); -x_409 = lean_ctor_get(x_377, 1); -lean_inc(x_409); -lean_dec(x_377); -x_410 = lean_ctor_get(x_388, 0); +lean_object* x_406; lean_object* x_407; +x_406 = lean_ctor_get(x_319, 1); +lean_inc(x_406); +lean_dec(x_319); +x_407 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_407, 0, x_1); +lean_ctor_set(x_407, 1, x_406); +return x_407; +} +} +} +} +else +{ +uint8_t x_408; +lean_dec(x_316); +lean_dec(x_314); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_408 = !lean_is_exclusive(x_319); +if (x_408 == 0) +{ +return x_319; +} +else +{ +lean_object* x_409; lean_object* x_410; lean_object* x_411; +x_409 = lean_ctor_get(x_319, 0); +x_410 = lean_ctor_get(x_319, 1); lean_inc(x_410); -lean_dec(x_388); -x_411 = lean_unsigned_to_nat(0u); -x_412 = l_Lean_Expr_getAppNumArgsAux(x_1, x_411); -x_413 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_412); -x_414 = lean_mk_array(x_412, x_413); -x_415 = lean_unsigned_to_nat(1u); -x_416 = lean_nat_sub(x_412, x_415); -lean_dec(x_412); -x_417 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_414, x_416); -x_418 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; -x_419 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_410, x_375, x_417, x_376, x_418, x_2, x_3, x_4, x_5, x_409); -lean_dec(x_417); -lean_dec(x_375); -lean_dec(x_410); -return x_419; +lean_inc(x_409); +lean_dec(x_319); +x_411 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_411, 0, x_409); +lean_ctor_set(x_411, 1, x_410); +return x_411; } -case 7: +} +} +else { -lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; -lean_dec(x_371); -lean_dec(x_368); -x_420 = lean_ctor_get(x_377, 1); +lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; +lean_dec(x_314); +x_412 = lean_unsigned_to_nat(0u); +x_413 = l_Lean_Expr_getAppNumArgsAux(x_1, x_412); +x_414 = lean_mk_empty_array_with_capacity(x_413); +lean_dec(x_413); +x_415 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_414); +x_416 = l_Lean_Expr_betaRev(x_316, x_415); +lean_dec(x_415); +lean_dec(x_316); +x_1 = x_416; +x_6 = x_317; +goto _start; +} +} +else +{ +uint8_t x_418; +lean_dec(x_314); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_418 = !lean_is_exclusive(x_315); +if (x_418 == 0) +{ +return x_315; +} +else +{ +lean_object* x_419; lean_object* x_420; lean_object* x_421; +x_419 = lean_ctor_get(x_315, 0); +x_420 = lean_ctor_get(x_315, 1); lean_inc(x_420); -lean_dec(x_377); -x_421 = lean_ctor_get(x_388, 0); -lean_inc(x_421); -lean_dec(x_388); -x_422 = lean_unsigned_to_nat(0u); -x_423 = l_Lean_Expr_getAppNumArgsAux(x_1, x_422); -x_424 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_423); -x_425 = lean_mk_array(x_423, x_424); -x_426 = lean_unsigned_to_nat(1u); -x_427 = lean_nat_sub(x_423, x_426); -lean_dec(x_423); -x_428 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_425, x_427); -x_429 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; -x_430 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_421, x_375, x_428, x_376, x_429, x_2, x_3, x_4, x_5, x_420); -lean_dec(x_428); -lean_dec(x_375); -return x_430; -} -default: -{ -uint8_t x_431; -lean_dec(x_388); -lean_dec(x_376); -lean_dec(x_375); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_431 = !lean_is_exclusive(x_377); -if (x_431 == 0) -{ -lean_object* x_432; uint8_t x_433; -x_432 = lean_ctor_get(x_377, 0); -lean_dec(x_432); -x_433 = lean_expr_eqv(x_368, x_371); -lean_dec(x_368); -if (x_433 == 0) -{ -lean_object* x_434; -x_434 = l_Lean_Expr_updateFn(x_1, x_371); -lean_dec(x_371); -lean_ctor_set(x_377, 0, x_434); -return x_377; -} -else -{ -lean_dec(x_371); -lean_ctor_set(x_377, 0, x_1); -return x_377; -} -} -else -{ -lean_object* x_435; uint8_t x_436; -x_435 = lean_ctor_get(x_377, 1); -lean_inc(x_435); -lean_dec(x_377); -x_436 = lean_expr_eqv(x_368, x_371); -lean_dec(x_368); -if (x_436 == 0) -{ -lean_object* x_437; lean_object* x_438; -x_437 = l_Lean_Expr_updateFn(x_1, x_371); -lean_dec(x_371); -x_438 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_438, 0, x_437); -lean_ctor_set(x_438, 1, x_435); -return x_438; -} -else -{ -lean_object* x_439; -lean_dec(x_371); -x_439 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_439, 0, x_1); -lean_ctor_set(x_439, 1, x_435); -return x_439; -} -} -} -} -} -} -else -{ -uint8_t x_440; -lean_dec(x_376); -lean_dec(x_375); -lean_dec(x_371); -lean_dec(x_368); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_440 = !lean_is_exclusive(x_377); -if (x_440 == 0) -{ -return x_377; -} -else -{ -lean_object* x_441; lean_object* x_442; lean_object* x_443; -x_441 = lean_ctor_get(x_377, 0); -x_442 = lean_ctor_get(x_377, 1); -lean_inc(x_442); -lean_inc(x_441); -lean_dec(x_377); -x_443 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_443, 0, x_441); -lean_ctor_set(x_443, 1, x_442); -return x_443; -} -} -} -else -{ -uint8_t x_444; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_444 = lean_expr_eqv(x_368, x_371); -lean_dec(x_368); -if (x_444 == 0) -{ -lean_object* x_445; -x_445 = l_Lean_Expr_updateFn(x_1, x_371); -lean_dec(x_371); -lean_ctor_set(x_369, 0, x_445); -return x_369; -} -else -{ -lean_dec(x_371); -lean_ctor_set(x_369, 0, x_1); -return x_369; -} -} -} -else -{ -lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; -lean_free_object(x_369); -lean_dec(x_368); -x_446 = lean_unsigned_to_nat(0u); -x_447 = l_Lean_Expr_getAppNumArgsAux(x_1, x_446); -x_448 = lean_mk_empty_array_with_capacity(x_447); -lean_dec(x_447); -x_449 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_448); -x_450 = l_Lean_Expr_betaRev(x_371, x_449); -lean_dec(x_449); -lean_dec(x_371); -x_1 = x_450; -x_6 = x_372; -goto _start; -} -} -else -{ -lean_object* x_452; lean_object* x_453; uint8_t x_454; -x_452 = lean_ctor_get(x_369, 0); -x_453 = lean_ctor_get(x_369, 1); -lean_inc(x_453); -lean_inc(x_452); -lean_dec(x_369); -x_454 = l_Lean_Expr_isLambda(x_452); -if (x_454 == 0) -{ -if (lean_obj_tag(x_452) == 4) -{ -lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; -x_455 = lean_ctor_get(x_452, 0); -lean_inc(x_455); -x_456 = lean_ctor_get(x_452, 1); -lean_inc(x_456); -lean_inc(x_1); -lean_inc(x_452); -lean_inc(x_368); -x_457 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___lambda__1___boxed), 9, 3); -lean_closure_set(x_457, 0, x_368); -lean_closure_set(x_457, 1, x_452); -lean_closure_set(x_457, 2, x_1); -x_458 = l_Lean_Meta_getConst_x3f(x_455, x_2, x_3, x_4, x_5, x_453); -if (lean_obj_tag(x_458) == 0) -{ -lean_object* x_459; -x_459 = lean_ctor_get(x_458, 0); -lean_inc(x_459); -if (lean_obj_tag(x_459) == 0) -{ -lean_object* x_460; lean_object* x_461; uint8_t x_462; -lean_dec(x_457); -lean_dec(x_456); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_460 = lean_ctor_get(x_458, 1); -lean_inc(x_460); -if (lean_is_exclusive(x_458)) { - lean_ctor_release(x_458, 0); - lean_ctor_release(x_458, 1); - x_461 = x_458; -} else { - lean_dec_ref(x_458); - x_461 = lean_box(0); -} -x_462 = lean_expr_eqv(x_368, x_452); -lean_dec(x_368); -if (x_462 == 0) -{ -lean_object* x_463; lean_object* x_464; -x_463 = l_Lean_Expr_updateFn(x_1, x_452); -lean_dec(x_452); -if (lean_is_scalar(x_461)) { - x_464 = lean_alloc_ctor(0, 2, 0); -} else { - x_464 = x_461; -} -lean_ctor_set(x_464, 0, x_463); -lean_ctor_set(x_464, 1, x_460); -return x_464; -} -else -{ -lean_object* x_465; -lean_dec(x_452); -if (lean_is_scalar(x_461)) { - x_465 = lean_alloc_ctor(0, 2, 0); -} else { - x_465 = x_461; -} -lean_ctor_set(x_465, 0, x_1); -lean_ctor_set(x_465, 1, x_460); -return x_465; -} -} -else -{ -lean_object* x_466; -x_466 = lean_ctor_get(x_459, 0); -lean_inc(x_466); -lean_dec(x_459); -switch (lean_obj_tag(x_466)) { -case 1: -{ -lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; uint8_t x_471; -lean_dec(x_457); -x_467 = lean_ctor_get(x_458, 1); -lean_inc(x_467); -lean_dec(x_458); -x_468 = l_Lean_ConstantInfo_name(x_466); -x_469 = l___private_Lean_Meta_WHNF_0__Lean_Meta_isAuxDefImp_x3f(x_468, x_2, x_3, x_4, x_5, x_467); -lean_dec(x_468); -x_470 = lean_ctor_get(x_469, 0); -lean_inc(x_470); -x_471 = lean_unbox(x_470); -lean_dec(x_470); -if (x_471 == 0) -{ -lean_object* x_472; lean_object* x_473; uint8_t x_474; -lean_dec(x_466); -lean_dec(x_456); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_472 = lean_ctor_get(x_469, 1); -lean_inc(x_472); -if (lean_is_exclusive(x_469)) { - lean_ctor_release(x_469, 0); - lean_ctor_release(x_469, 1); - x_473 = x_469; -} else { - lean_dec_ref(x_469); - x_473 = lean_box(0); -} -x_474 = lean_expr_eqv(x_368, x_452); -lean_dec(x_368); -if (x_474 == 0) -{ -lean_object* x_475; lean_object* x_476; -x_475 = l_Lean_Expr_updateFn(x_1, x_452); -lean_dec(x_452); -if (lean_is_scalar(x_473)) { - x_476 = lean_alloc_ctor(0, 2, 0); -} else { - x_476 = x_473; -} -lean_ctor_set(x_476, 0, x_475); -lean_ctor_set(x_476, 1, x_472); -return x_476; -} -else -{ -lean_object* x_477; -lean_dec(x_452); -if (lean_is_scalar(x_473)) { - x_477 = lean_alloc_ctor(0, 2, 0); -} else { - x_477 = x_473; -} -lean_ctor_set(x_477, 0, x_1); -lean_ctor_set(x_477, 1, x_472); -return x_477; -} -} -else -{ -lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; -x_478 = lean_ctor_get(x_469, 1); -lean_inc(x_478); -lean_dec(x_469); -x_479 = lean_unsigned_to_nat(0u); -x_480 = l_Lean_Expr_getAppNumArgsAux(x_1, x_479); -x_481 = lean_mk_empty_array_with_capacity(x_480); -lean_dec(x_480); -lean_inc(x_1); -x_482 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_481); -x_483 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__1(x_1, x_368, x_452, x_466, x_456, x_482, x_2, x_3, x_4, x_5, x_478); -lean_dec(x_482); -lean_dec(x_456); -lean_dec(x_466); -lean_dec(x_452); -lean_dec(x_368); -return x_483; -} -} -case 4: -{ -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_dec(x_452); -lean_dec(x_368); -x_484 = lean_ctor_get(x_458, 1); -lean_inc(x_484); -lean_dec(x_458); -x_485 = lean_ctor_get(x_466, 0); -lean_inc(x_485); -lean_dec(x_466); -x_486 = lean_unsigned_to_nat(0u); -x_487 = l_Lean_Expr_getAppNumArgsAux(x_1, x_486); -x_488 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_487); -x_489 = lean_mk_array(x_487, x_488); -x_490 = lean_unsigned_to_nat(1u); -x_491 = lean_nat_sub(x_487, x_490); -lean_dec(x_487); -x_492 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_489, x_491); -x_493 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; -x_494 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_485, x_456, x_492, x_457, x_493, x_2, x_3, x_4, x_5, x_484); -lean_dec(x_492); -lean_dec(x_456); -lean_dec(x_485); -return x_494; -} -case 7: -{ -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_dec(x_452); -lean_dec(x_368); -x_495 = lean_ctor_get(x_458, 1); -lean_inc(x_495); -lean_dec(x_458); -x_496 = lean_ctor_get(x_466, 0); -lean_inc(x_496); -lean_dec(x_466); -x_497 = lean_unsigned_to_nat(0u); -x_498 = l_Lean_Expr_getAppNumArgsAux(x_1, x_497); -x_499 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_498); -x_500 = lean_mk_array(x_498, x_499); -x_501 = lean_unsigned_to_nat(1u); -x_502 = lean_nat_sub(x_498, x_501); -lean_dec(x_498); -x_503 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_500, x_502); -x_504 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; -x_505 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_496, x_456, x_503, x_457, x_504, x_2, x_3, x_4, x_5, x_495); -lean_dec(x_503); -lean_dec(x_456); -return x_505; -} -default: -{ -lean_object* x_506; lean_object* x_507; uint8_t x_508; -lean_dec(x_466); -lean_dec(x_457); -lean_dec(x_456); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_506 = lean_ctor_get(x_458, 1); -lean_inc(x_506); -if (lean_is_exclusive(x_458)) { - lean_ctor_release(x_458, 0); - lean_ctor_release(x_458, 1); - x_507 = x_458; -} else { - lean_dec_ref(x_458); - x_507 = lean_box(0); -} -x_508 = lean_expr_eqv(x_368, x_452); -lean_dec(x_368); -if (x_508 == 0) -{ -lean_object* x_509; lean_object* x_510; -x_509 = l_Lean_Expr_updateFn(x_1, x_452); -lean_dec(x_452); -if (lean_is_scalar(x_507)) { - x_510 = lean_alloc_ctor(0, 2, 0); -} else { - x_510 = x_507; -} -lean_ctor_set(x_510, 0, x_509); -lean_ctor_set(x_510, 1, x_506); -return x_510; -} -else -{ -lean_object* x_511; -lean_dec(x_452); -if (lean_is_scalar(x_507)) { - x_511 = lean_alloc_ctor(0, 2, 0); -} else { - x_511 = x_507; -} -lean_ctor_set(x_511, 0, x_1); -lean_ctor_set(x_511, 1, x_506); -return x_511; -} -} -} -} -} -else -{ -lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; -lean_dec(x_457); -lean_dec(x_456); -lean_dec(x_452); -lean_dec(x_368); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_512 = lean_ctor_get(x_458, 0); -lean_inc(x_512); -x_513 = lean_ctor_get(x_458, 1); -lean_inc(x_513); -if (lean_is_exclusive(x_458)) { - lean_ctor_release(x_458, 0); - lean_ctor_release(x_458, 1); - x_514 = x_458; -} else { - lean_dec_ref(x_458); - x_514 = lean_box(0); -} -if (lean_is_scalar(x_514)) { - x_515 = lean_alloc_ctor(1, 2, 0); -} else { - x_515 = x_514; -} -lean_ctor_set(x_515, 0, x_512); -lean_ctor_set(x_515, 1, x_513); -return x_515; -} -} -else -{ -uint8_t x_516; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_516 = lean_expr_eqv(x_368, x_452); -lean_dec(x_368); -if (x_516 == 0) -{ -lean_object* x_517; lean_object* x_518; -x_517 = l_Lean_Expr_updateFn(x_1, x_452); -lean_dec(x_452); -x_518 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_518, 0, x_517); -lean_ctor_set(x_518, 1, x_453); -return x_518; -} -else -{ -lean_object* x_519; -lean_dec(x_452); -x_519 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_519, 0, x_1); -lean_ctor_set(x_519, 1, x_453); -return x_519; -} -} -} -else -{ -lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; -lean_dec(x_368); -x_520 = lean_unsigned_to_nat(0u); -x_521 = l_Lean_Expr_getAppNumArgsAux(x_1, x_520); -x_522 = lean_mk_empty_array_with_capacity(x_521); -lean_dec(x_521); -x_523 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_522); -x_524 = l_Lean_Expr_betaRev(x_452, x_523); -lean_dec(x_523); -lean_dec(x_452); -x_1 = x_524; -x_6 = x_453; -goto _start; -} -} -} -else -{ -uint8_t x_526; -lean_dec(x_368); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_526 = !lean_is_exclusive(x_369); -if (x_526 == 0) -{ -return x_369; -} -else -{ -lean_object* x_527; lean_object* x_528; lean_object* x_529; -x_527 = lean_ctor_get(x_369, 0); -x_528 = lean_ctor_get(x_369, 1); -lean_inc(x_528); -lean_inc(x_527); -lean_dec(x_369); -x_529 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_529, 0, x_527); -lean_ctor_set(x_529, 1, x_528); -return x_529; +lean_inc(x_419); +lean_dec(x_315); +x_421 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_421, 0, x_419); +lean_ctor_set(x_421, 1, x_420); +return x_421; } } } case 8: { -lean_object* x_530; lean_object* x_531; lean_object* x_532; -x_530 = lean_ctor_get(x_1, 2); -lean_inc(x_530); -x_531 = lean_ctor_get(x_1, 3); -lean_inc(x_531); +lean_object* x_422; lean_object* x_423; lean_object* x_424; +x_422 = lean_ctor_get(x_1, 2); +lean_inc(x_422); +x_423 = lean_ctor_get(x_1, 3); +lean_inc(x_423); lean_dec(x_1); -x_532 = lean_expr_instantiate1(x_531, x_530); -lean_dec(x_530); -lean_dec(x_531); -x_1 = x_532; -x_6 = x_365; +x_424 = lean_expr_instantiate1(x_423, x_422); +lean_dec(x_422); +lean_dec(x_423); +x_1 = x_424; +x_6 = x_311; goto _start; } case 11: { -lean_object* x_534; lean_object* x_535; lean_object* x_536; -x_534 = lean_ctor_get(x_1, 1); -lean_inc(x_534); -x_535 = lean_ctor_get(x_1, 2); -lean_inc(x_535); +lean_object* x_426; lean_object* x_427; lean_object* x_428; +x_426 = lean_ctor_get(x_1, 1); +lean_inc(x_426); +x_427 = lean_ctor_get(x_1, 2); +lean_inc(x_427); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_536 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_535, x_2, x_3, x_4, x_5, x_365); +x_428 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_427, x_2, x_3, x_4, x_5, x_311); +if (lean_obj_tag(x_428) == 0) +{ +uint8_t x_429; +x_429 = !lean_is_exclusive(x_428); +if (x_429 == 0) +{ +lean_object* x_430; lean_object* x_431; lean_object* x_432; +x_430 = lean_ctor_get(x_428, 0); +x_431 = lean_ctor_get(x_428, 1); +x_432 = l_Lean_Expr_getAppFn(x_430); +if (lean_obj_tag(x_432) == 4) +{ +lean_object* x_433; lean_object* x_434; +lean_free_object(x_428); +x_433 = lean_ctor_get(x_432, 0); +lean_inc(x_433); +lean_dec(x_432); +x_434 = l_Lean_Meta_getConst_x3f(x_433, x_2, x_3, x_4, x_5, x_431); +if (lean_obj_tag(x_434) == 0) +{ +lean_object* x_435; +x_435 = lean_ctor_get(x_434, 0); +lean_inc(x_435); +if (lean_obj_tag(x_435) == 0) +{ +uint8_t x_436; +lean_dec(x_430); +lean_dec(x_426); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_436 = !lean_is_exclusive(x_434); +if (x_436 == 0) +{ +lean_object* x_437; +x_437 = lean_ctor_get(x_434, 0); +lean_dec(x_437); +lean_ctor_set(x_434, 0, x_1); +return x_434; +} +else +{ +lean_object* x_438; lean_object* x_439; +x_438 = lean_ctor_get(x_434, 1); +lean_inc(x_438); +lean_dec(x_434); +x_439 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_439, 0, x_1); +lean_ctor_set(x_439, 1, x_438); +return x_439; +} +} +else +{ +lean_object* x_440; +x_440 = lean_ctor_get(x_435, 0); +lean_inc(x_440); +lean_dec(x_435); +if (lean_obj_tag(x_440) == 6) +{ +uint8_t x_441; +x_441 = !lean_is_exclusive(x_434); +if (x_441 == 0) +{ +lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; uint8_t x_449; +x_442 = lean_ctor_get(x_434, 1); +x_443 = lean_ctor_get(x_434, 0); +lean_dec(x_443); +x_444 = lean_ctor_get(x_440, 0); +lean_inc(x_444); +lean_dec(x_440); +x_445 = lean_ctor_get(x_444, 3); +lean_inc(x_445); +lean_dec(x_444); +x_446 = lean_nat_add(x_445, x_426); +lean_dec(x_426); +lean_dec(x_445); +x_447 = lean_unsigned_to_nat(0u); +x_448 = l_Lean_Expr_getAppNumArgsAux(x_430, x_447); +x_449 = lean_nat_dec_lt(x_446, x_448); +if (x_449 == 0) +{ +lean_dec(x_448); +lean_dec(x_446); +lean_dec(x_430); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_ctor_set(x_434, 0, x_1); +return x_434; +} +else +{ +lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; +lean_free_object(x_434); +lean_dec(x_1); +x_450 = lean_nat_sub(x_448, x_446); +lean_dec(x_446); +lean_dec(x_448); +x_451 = lean_unsigned_to_nat(1u); +x_452 = lean_nat_sub(x_450, x_451); +lean_dec(x_450); +x_453 = l_Lean_Expr_getRevArg_x21(x_430, x_452); +lean_dec(x_430); +x_1 = x_453; +x_6 = x_442; +goto _start; +} +} +else +{ +lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; uint8_t x_461; +x_455 = lean_ctor_get(x_434, 1); +lean_inc(x_455); +lean_dec(x_434); +x_456 = lean_ctor_get(x_440, 0); +lean_inc(x_456); +lean_dec(x_440); +x_457 = lean_ctor_get(x_456, 3); +lean_inc(x_457); +lean_dec(x_456); +x_458 = lean_nat_add(x_457, x_426); +lean_dec(x_426); +lean_dec(x_457); +x_459 = lean_unsigned_to_nat(0u); +x_460 = l_Lean_Expr_getAppNumArgsAux(x_430, x_459); +x_461 = lean_nat_dec_lt(x_458, x_460); +if (x_461 == 0) +{ +lean_object* x_462; +lean_dec(x_460); +lean_dec(x_458); +lean_dec(x_430); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_462 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_462, 0, x_1); +lean_ctor_set(x_462, 1, x_455); +return x_462; +} +else +{ +lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; +lean_dec(x_1); +x_463 = lean_nat_sub(x_460, x_458); +lean_dec(x_458); +lean_dec(x_460); +x_464 = lean_unsigned_to_nat(1u); +x_465 = lean_nat_sub(x_463, x_464); +lean_dec(x_463); +x_466 = l_Lean_Expr_getRevArg_x21(x_430, x_465); +lean_dec(x_430); +x_1 = x_466; +x_6 = x_455; +goto _start; +} +} +} +else +{ +uint8_t x_468; +lean_dec(x_440); +lean_dec(x_430); +lean_dec(x_426); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_468 = !lean_is_exclusive(x_434); +if (x_468 == 0) +{ +lean_object* x_469; +x_469 = lean_ctor_get(x_434, 0); +lean_dec(x_469); +lean_ctor_set(x_434, 0, x_1); +return x_434; +} +else +{ +lean_object* x_470; lean_object* x_471; +x_470 = lean_ctor_get(x_434, 1); +lean_inc(x_470); +lean_dec(x_434); +x_471 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_471, 0, x_1); +lean_ctor_set(x_471, 1, x_470); +return x_471; +} +} +} +} +else +{ +uint8_t x_472; +lean_dec(x_430); +lean_dec(x_426); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_472 = !lean_is_exclusive(x_434); +if (x_472 == 0) +{ +return x_434; +} +else +{ +lean_object* x_473; lean_object* x_474; lean_object* x_475; +x_473 = lean_ctor_get(x_434, 0); +x_474 = lean_ctor_get(x_434, 1); +lean_inc(x_474); +lean_inc(x_473); +lean_dec(x_434); +x_475 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_475, 0, x_473); +lean_ctor_set(x_475, 1, x_474); +return x_475; +} +} +} +else +{ +lean_dec(x_432); +lean_dec(x_430); +lean_dec(x_426); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_ctor_set(x_428, 0, x_1); +return x_428; +} +} +else +{ +lean_object* x_476; lean_object* x_477; lean_object* x_478; +x_476 = lean_ctor_get(x_428, 0); +x_477 = lean_ctor_get(x_428, 1); +lean_inc(x_477); +lean_inc(x_476); +lean_dec(x_428); +x_478 = l_Lean_Expr_getAppFn(x_476); +if (lean_obj_tag(x_478) == 4) +{ +lean_object* x_479; lean_object* x_480; +x_479 = lean_ctor_get(x_478, 0); +lean_inc(x_479); +lean_dec(x_478); +x_480 = l_Lean_Meta_getConst_x3f(x_479, x_2, x_3, x_4, x_5, x_477); +if (lean_obj_tag(x_480) == 0) +{ +lean_object* x_481; +x_481 = lean_ctor_get(x_480, 0); +lean_inc(x_481); +if (lean_obj_tag(x_481) == 0) +{ +lean_object* x_482; lean_object* x_483; lean_object* x_484; +lean_dec(x_476); +lean_dec(x_426); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_482 = lean_ctor_get(x_480, 1); +lean_inc(x_482); +if (lean_is_exclusive(x_480)) { + lean_ctor_release(x_480, 0); + lean_ctor_release(x_480, 1); + x_483 = x_480; +} else { + lean_dec_ref(x_480); + x_483 = lean_box(0); +} +if (lean_is_scalar(x_483)) { + x_484 = lean_alloc_ctor(0, 2, 0); +} else { + x_484 = x_483; +} +lean_ctor_set(x_484, 0, x_1); +lean_ctor_set(x_484, 1, x_482); +return x_484; +} +else +{ +lean_object* x_485; +x_485 = lean_ctor_get(x_481, 0); +lean_inc(x_485); +lean_dec(x_481); +if (lean_obj_tag(x_485) == 6) +{ +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; uint8_t x_493; +x_486 = lean_ctor_get(x_480, 1); +lean_inc(x_486); +if (lean_is_exclusive(x_480)) { + lean_ctor_release(x_480, 0); + lean_ctor_release(x_480, 1); + x_487 = x_480; +} else { + lean_dec_ref(x_480); + x_487 = lean_box(0); +} +x_488 = lean_ctor_get(x_485, 0); +lean_inc(x_488); +lean_dec(x_485); +x_489 = lean_ctor_get(x_488, 3); +lean_inc(x_489); +lean_dec(x_488); +x_490 = lean_nat_add(x_489, x_426); +lean_dec(x_426); +lean_dec(x_489); +x_491 = lean_unsigned_to_nat(0u); +x_492 = l_Lean_Expr_getAppNumArgsAux(x_476, x_491); +x_493 = lean_nat_dec_lt(x_490, x_492); +if (x_493 == 0) +{ +lean_object* x_494; +lean_dec(x_492); +lean_dec(x_490); +lean_dec(x_476); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +if (lean_is_scalar(x_487)) { + x_494 = lean_alloc_ctor(0, 2, 0); +} else { + x_494 = x_487; +} +lean_ctor_set(x_494, 0, x_1); +lean_ctor_set(x_494, 1, x_486); +return x_494; +} +else +{ +lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; +lean_dec(x_487); +lean_dec(x_1); +x_495 = lean_nat_sub(x_492, x_490); +lean_dec(x_490); +lean_dec(x_492); +x_496 = lean_unsigned_to_nat(1u); +x_497 = lean_nat_sub(x_495, x_496); +lean_dec(x_495); +x_498 = l_Lean_Expr_getRevArg_x21(x_476, x_497); +lean_dec(x_476); +x_1 = x_498; +x_6 = x_486; +goto _start; +} +} +else +{ +lean_object* x_500; lean_object* x_501; lean_object* x_502; +lean_dec(x_485); +lean_dec(x_476); +lean_dec(x_426); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_500 = lean_ctor_get(x_480, 1); +lean_inc(x_500); +if (lean_is_exclusive(x_480)) { + lean_ctor_release(x_480, 0); + lean_ctor_release(x_480, 1); + x_501 = x_480; +} else { + lean_dec_ref(x_480); + x_501 = lean_box(0); +} +if (lean_is_scalar(x_501)) { + x_502 = lean_alloc_ctor(0, 2, 0); +} else { + x_502 = x_501; +} +lean_ctor_set(x_502, 0, x_1); +lean_ctor_set(x_502, 1, x_500); +return x_502; +} +} +} +else +{ +lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; +lean_dec(x_476); +lean_dec(x_426); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_503 = lean_ctor_get(x_480, 0); +lean_inc(x_503); +x_504 = lean_ctor_get(x_480, 1); +lean_inc(x_504); +if (lean_is_exclusive(x_480)) { + lean_ctor_release(x_480, 0); + lean_ctor_release(x_480, 1); + x_505 = x_480; +} else { + lean_dec_ref(x_480); + x_505 = lean_box(0); +} +if (lean_is_scalar(x_505)) { + x_506 = lean_alloc_ctor(1, 2, 0); +} else { + x_506 = x_505; +} +lean_ctor_set(x_506, 0, x_503); +lean_ctor_set(x_506, 1, x_504); +return x_506; +} +} +else +{ +lean_object* x_507; +lean_dec(x_478); +lean_dec(x_476); +lean_dec(x_426); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_507 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_507, 0, x_1); +lean_ctor_set(x_507, 1, x_477); +return x_507; +} +} +} +else +{ +uint8_t x_508; +lean_dec(x_426); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_508 = !lean_is_exclusive(x_428); +if (x_508 == 0) +{ +return x_428; +} +else +{ +lean_object* x_509; lean_object* x_510; lean_object* x_511; +x_509 = lean_ctor_get(x_428, 0); +x_510 = lean_ctor_get(x_428, 1); +lean_inc(x_510); +lean_inc(x_509); +lean_dec(x_428); +x_511 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_511, 0, x_509); +lean_ctor_set(x_511, 1, x_510); +return x_511; +} +} +} +default: +{ +lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; +lean_dec(x_1); +x_512 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_513 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__2; +x_514 = lean_panic_fn(x_512, x_513); +x_515 = lean_apply_5(x_514, x_2, x_3, x_4, x_5, x_311); +return x_515; +} +} +} +} +case 8: +{ +lean_object* x_532; lean_object* x_738; lean_object* x_739; lean_object* x_740; uint8_t x_741; +x_738 = lean_st_ref_get(x_5, x_6); +x_739 = lean_ctor_get(x_738, 0); +lean_inc(x_739); +x_740 = lean_ctor_get(x_739, 3); +lean_inc(x_740); +lean_dec(x_739); +x_741 = lean_ctor_get_uint8(x_740, sizeof(void*)*1); +lean_dec(x_740); +if (x_741 == 0) +{ +lean_object* x_742; +x_742 = lean_ctor_get(x_738, 1); +lean_inc(x_742); +lean_dec(x_738); +x_532 = x_742; +goto block_737; +} +else +{ +lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; uint8_t x_747; +x_743 = lean_ctor_get(x_738, 1); +lean_inc(x_743); +lean_dec(x_738); +x_744 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__5; +x_745 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_744, x_2, x_3, x_4, x_5, x_743); +x_746 = lean_ctor_get(x_745, 0); +lean_inc(x_746); +x_747 = lean_unbox(x_746); +lean_dec(x_746); +if (x_747 == 0) +{ +lean_object* x_748; +x_748 = lean_ctor_get(x_745, 1); +lean_inc(x_748); +lean_dec(x_745); +x_532 = x_748; +goto block_737; +} +else +{ +lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; +x_749 = lean_ctor_get(x_745, 1); +lean_inc(x_749); +lean_dec(x_745); +lean_inc(x_1); +x_750 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_750, 0, x_1); +x_751 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_744, x_750, x_2, x_3, x_4, x_5, x_749); +x_752 = lean_ctor_get(x_751, 1); +lean_inc(x_752); +lean_dec(x_751); +x_532 = x_752; +goto block_737; +} +} +block_737: +{ +switch (lean_obj_tag(x_1)) { +case 4: +{ +lean_object* x_533; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_533 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_533, 0, x_1); +lean_ctor_set(x_533, 1, x_532); +return x_533; +} +case 5: +{ +lean_object* x_534; lean_object* x_535; lean_object* x_536; +x_534 = lean_ctor_get(x_1, 0); +lean_inc(x_534); +x_535 = l_Lean_Expr_getAppFn(x_534); +lean_dec(x_534); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_535); +x_536 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2(x_535, x_2, x_3, x_4, x_5, x_532); if (lean_obj_tag(x_536) == 0) { -uint8_t x_537; -x_537 = !lean_is_exclusive(x_536); -if (x_537 == 0) +lean_object* x_537; lean_object* x_538; uint8_t x_539; +x_537 = lean_ctor_get(x_536, 0); +lean_inc(x_537); +x_538 = lean_ctor_get(x_536, 1); +lean_inc(x_538); +lean_dec(x_536); +x_539 = l_Lean_Expr_isLambda(x_537); +if (x_539 == 0) { -lean_object* x_538; lean_object* x_539; lean_object* x_540; -x_538 = lean_ctor_get(x_536, 0); -x_539 = lean_ctor_get(x_536, 1); -x_540 = l_Lean_Expr_getAppFn(x_538); -if (lean_obj_tag(x_540) == 4) +lean_object* x_540; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_540 = l_Lean_Meta_reduceMatcher_x3f(x_1, x_2, x_3, x_4, x_5, x_538); +if (lean_obj_tag(x_540) == 0) { -lean_object* x_541; lean_object* x_542; -lean_free_object(x_536); +lean_object* x_541; x_541 = lean_ctor_get(x_540, 0); lean_inc(x_541); -lean_dec(x_540); -x_542 = l_Lean_Meta_getConst_x3f(x_541, x_2, x_3, x_4, x_5, x_539); -if (lean_obj_tag(x_542) == 0) +switch (lean_obj_tag(x_541)) { +case 0: { -lean_object* x_543; -x_543 = lean_ctor_get(x_542, 0); +lean_object* x_542; lean_object* x_543; +lean_dec(x_537); +lean_dec(x_535); +lean_dec(x_1); +x_542 = lean_ctor_get(x_540, 1); +lean_inc(x_542); +lean_dec(x_540); +x_543 = lean_ctor_get(x_541, 0); lean_inc(x_543); -if (lean_obj_tag(x_543) == 0) -{ -uint8_t x_544; -lean_dec(x_538); -lean_dec(x_534); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_544 = !lean_is_exclusive(x_542); -if (x_544 == 0) -{ -lean_object* x_545; -x_545 = lean_ctor_get(x_542, 0); -lean_dec(x_545); -lean_ctor_set(x_542, 0, x_1); -return x_542; -} -else -{ -lean_object* x_546; lean_object* x_547; -x_546 = lean_ctor_get(x_542, 1); -lean_inc(x_546); -lean_dec(x_542); -x_547 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_547, 0, x_1); -lean_ctor_set(x_547, 1, x_546); -return x_547; -} -} -else -{ -lean_object* x_548; -x_548 = lean_ctor_get(x_543, 0); -lean_inc(x_548); -lean_dec(x_543); -if (lean_obj_tag(x_548) == 6) -{ -uint8_t x_549; -x_549 = !lean_is_exclusive(x_542); -if (x_549 == 0) -{ -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; uint8_t x_557; -x_550 = lean_ctor_get(x_542, 1); -x_551 = lean_ctor_get(x_542, 0); -lean_dec(x_551); -x_552 = lean_ctor_get(x_548, 0); -lean_inc(x_552); -lean_dec(x_548); -x_553 = lean_ctor_get(x_552, 3); -lean_inc(x_553); -lean_dec(x_552); -x_554 = lean_nat_add(x_553, x_534); -lean_dec(x_534); -lean_dec(x_553); -x_555 = lean_unsigned_to_nat(0u); -x_556 = l_Lean_Expr_getAppNumArgsAux(x_538, x_555); -x_557 = lean_nat_dec_lt(x_554, x_556); -if (x_557 == 0) -{ -lean_dec(x_556); -lean_dec(x_554); -lean_dec(x_538); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_ctor_set(x_542, 0, x_1); -return x_542; -} -else -{ -lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; -lean_free_object(x_542); -lean_dec(x_1); -x_558 = lean_nat_sub(x_556, x_554); -lean_dec(x_554); -lean_dec(x_556); -x_559 = lean_unsigned_to_nat(1u); -x_560 = lean_nat_sub(x_558, x_559); -lean_dec(x_558); -x_561 = l_Lean_Expr_getRevArg_x21(x_538, x_560); -lean_dec(x_538); -x_1 = x_561; -x_6 = x_550; +lean_dec(x_541); +x_1 = x_543; +x_6 = x_542; goto _start; } -} -else +case 2: { -lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; uint8_t x_569; -x_563 = lean_ctor_get(x_542, 1); -lean_inc(x_563); -lean_dec(x_542); -x_564 = lean_ctor_get(x_548, 0); -lean_inc(x_564); -lean_dec(x_548); -x_565 = lean_ctor_get(x_564, 3); -lean_inc(x_565); -lean_dec(x_564); -x_566 = lean_nat_add(x_565, x_534); -lean_dec(x_534); -lean_dec(x_565); -x_567 = lean_unsigned_to_nat(0u); -x_568 = l_Lean_Expr_getAppNumArgsAux(x_538, x_567); -x_569 = lean_nat_dec_lt(x_566, x_568); -if (x_569 == 0) -{ -lean_object* x_570; -lean_dec(x_568); -lean_dec(x_566); -lean_dec(x_538); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_570 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_570, 0, x_1); -lean_ctor_set(x_570, 1, x_563); -return x_570; -} -else -{ -lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; -lean_dec(x_1); -x_571 = lean_nat_sub(x_568, x_566); -lean_dec(x_566); -lean_dec(x_568); -x_572 = lean_unsigned_to_nat(1u); -x_573 = lean_nat_sub(x_571, x_572); -lean_dec(x_571); -x_574 = l_Lean_Expr_getRevArg_x21(x_538, x_573); -lean_dec(x_538); -x_1 = x_574; -x_6 = x_563; -goto _start; -} -} -} -else -{ -uint8_t x_576; -lean_dec(x_548); -lean_dec(x_538); -lean_dec(x_534); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_576 = !lean_is_exclusive(x_542); -if (x_576 == 0) -{ -lean_object* x_577; -x_577 = lean_ctor_get(x_542, 0); -lean_dec(x_577); -lean_ctor_set(x_542, 0, x_1); -return x_542; -} -else -{ -lean_object* x_578; lean_object* x_579; -x_578 = lean_ctor_get(x_542, 1); -lean_inc(x_578); -lean_dec(x_542); -x_579 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_579, 0, x_1); -lean_ctor_set(x_579, 1, x_578); -return x_579; -} -} -} -} -else -{ -uint8_t x_580; -lean_dec(x_538); -lean_dec(x_534); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_580 = !lean_is_exclusive(x_542); -if (x_580 == 0) -{ -return x_542; -} -else -{ -lean_object* x_581; lean_object* x_582; lean_object* x_583; -x_581 = lean_ctor_get(x_542, 0); -x_582 = lean_ctor_get(x_542, 1); -lean_inc(x_582); -lean_inc(x_581); -lean_dec(x_542); -x_583 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_583, 0, x_581); -lean_ctor_set(x_583, 1, x_582); -return x_583; -} -} -} -else +if (lean_obj_tag(x_537) == 4) { +lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; +x_545 = lean_ctor_get(x_540, 1); +lean_inc(x_545); lean_dec(x_540); -lean_dec(x_538); -lean_dec(x_534); +x_546 = lean_ctor_get(x_537, 0); +lean_inc(x_546); +x_547 = lean_ctor_get(x_537, 1); +lean_inc(x_547); +lean_inc(x_1); +lean_inc(x_537); +lean_inc(x_535); +x_548 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___lambda__1___boxed), 9, 3); +lean_closure_set(x_548, 0, x_535); +lean_closure_set(x_548, 1, x_537); +lean_closure_set(x_548, 2, x_1); +x_549 = l_Lean_Meta_getConst_x3f(x_546, x_2, x_3, x_4, x_5, x_545); +if (lean_obj_tag(x_549) == 0) +{ +lean_object* x_550; +x_550 = lean_ctor_get(x_549, 0); +lean_inc(x_550); +if (lean_obj_tag(x_550) == 0) +{ +uint8_t x_551; +lean_dec(x_548); +lean_dec(x_547); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_ctor_set(x_536, 0, x_1); -return x_536; +x_551 = !lean_is_exclusive(x_549); +if (x_551 == 0) +{ +lean_object* x_552; uint8_t x_553; +x_552 = lean_ctor_get(x_549, 0); +lean_dec(x_552); +x_553 = lean_expr_eqv(x_535, x_537); +lean_dec(x_535); +if (x_553 == 0) +{ +lean_object* x_554; +x_554 = l_Lean_Expr_updateFn(x_1, x_537); +lean_dec(x_537); +lean_ctor_set(x_549, 0, x_554); +return x_549; +} +else +{ +lean_dec(x_537); +lean_ctor_set(x_549, 0, x_1); +return x_549; } } else { -lean_object* x_584; lean_object* x_585; lean_object* x_586; -x_584 = lean_ctor_get(x_536, 0); -x_585 = lean_ctor_get(x_536, 1); -lean_inc(x_585); +lean_object* x_555; uint8_t x_556; +x_555 = lean_ctor_get(x_549, 1); +lean_inc(x_555); +lean_dec(x_549); +x_556 = lean_expr_eqv(x_535, x_537); +lean_dec(x_535); +if (x_556 == 0) +{ +lean_object* x_557; lean_object* x_558; +x_557 = l_Lean_Expr_updateFn(x_1, x_537); +lean_dec(x_537); +x_558 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_558, 0, x_557); +lean_ctor_set(x_558, 1, x_555); +return x_558; +} +else +{ +lean_object* x_559; +lean_dec(x_537); +x_559 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_559, 0, x_1); +lean_ctor_set(x_559, 1, x_555); +return x_559; +} +} +} +else +{ +lean_object* x_560; +x_560 = lean_ctor_get(x_550, 0); +lean_inc(x_560); +lean_dec(x_550); +switch (lean_obj_tag(x_560)) { +case 1: +{ +lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; uint8_t x_565; +lean_dec(x_548); +x_561 = lean_ctor_get(x_549, 1); +lean_inc(x_561); +lean_dec(x_549); +x_562 = l_Lean_ConstantInfo_name(x_560); +x_563 = l___private_Lean_Meta_WHNF_0__Lean_Meta_isAuxDefImp_x3f(x_562, x_2, x_3, x_4, x_5, x_561); +lean_dec(x_562); +x_564 = lean_ctor_get(x_563, 0); +lean_inc(x_564); +x_565 = lean_unbox(x_564); +lean_dec(x_564); +if (x_565 == 0) +{ +uint8_t x_566; +lean_dec(x_560); +lean_dec(x_547); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_566 = !lean_is_exclusive(x_563); +if (x_566 == 0) +{ +lean_object* x_567; uint8_t x_568; +x_567 = lean_ctor_get(x_563, 0); +lean_dec(x_567); +x_568 = lean_expr_eqv(x_535, x_537); +lean_dec(x_535); +if (x_568 == 0) +{ +lean_object* x_569; +x_569 = l_Lean_Expr_updateFn(x_1, x_537); +lean_dec(x_537); +lean_ctor_set(x_563, 0, x_569); +return x_563; +} +else +{ +lean_dec(x_537); +lean_ctor_set(x_563, 0, x_1); +return x_563; +} +} +else +{ +lean_object* x_570; uint8_t x_571; +x_570 = lean_ctor_get(x_563, 1); +lean_inc(x_570); +lean_dec(x_563); +x_571 = lean_expr_eqv(x_535, x_537); +lean_dec(x_535); +if (x_571 == 0) +{ +lean_object* x_572; lean_object* x_573; +x_572 = l_Lean_Expr_updateFn(x_1, x_537); +lean_dec(x_537); +x_573 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_573, 0, x_572); +lean_ctor_set(x_573, 1, x_570); +return x_573; +} +else +{ +lean_object* x_574; +lean_dec(x_537); +x_574 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_574, 0, x_1); +lean_ctor_set(x_574, 1, x_570); +return x_574; +} +} +} +else +{ +lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; +x_575 = lean_ctor_get(x_563, 1); +lean_inc(x_575); +lean_dec(x_563); +x_576 = lean_unsigned_to_nat(0u); +x_577 = l_Lean_Expr_getAppNumArgsAux(x_1, x_576); +x_578 = lean_mk_empty_array_with_capacity(x_577); +lean_dec(x_577); +lean_inc(x_1); +x_579 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_578); +x_580 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__1(x_1, x_535, x_537, x_560, x_547, x_579, x_2, x_3, x_4, x_5, x_575); +lean_dec(x_579); +lean_dec(x_547); +lean_dec(x_560); +lean_dec(x_537); +lean_dec(x_535); +return x_580; +} +} +case 4: +{ +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_dec(x_537); +lean_dec(x_535); +x_581 = lean_ctor_get(x_549, 1); +lean_inc(x_581); +lean_dec(x_549); +x_582 = lean_ctor_get(x_560, 0); +lean_inc(x_582); +lean_dec(x_560); +x_583 = lean_unsigned_to_nat(0u); +x_584 = l_Lean_Expr_getAppNumArgsAux(x_1, x_583); +x_585 = l_Lean_Expr_getAppArgs___closed__1; lean_inc(x_584); -lean_dec(x_536); -x_586 = l_Lean_Expr_getAppFn(x_584); -if (lean_obj_tag(x_586) == 4) -{ -lean_object* x_587; lean_object* x_588; -x_587 = lean_ctor_get(x_586, 0); -lean_inc(x_587); -lean_dec(x_586); -x_588 = l_Lean_Meta_getConst_x3f(x_587, x_2, x_3, x_4, x_5, x_585); -if (lean_obj_tag(x_588) == 0) -{ -lean_object* x_589; -x_589 = lean_ctor_get(x_588, 0); -lean_inc(x_589); -if (lean_obj_tag(x_589) == 0) -{ -lean_object* x_590; lean_object* x_591; lean_object* x_592; +x_586 = lean_mk_array(x_584, x_585); +x_587 = lean_unsigned_to_nat(1u); +x_588 = lean_nat_sub(x_584, x_587); lean_dec(x_584); -lean_dec(x_534); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_590 = lean_ctor_get(x_588, 1); -lean_inc(x_590); -if (lean_is_exclusive(x_588)) { - lean_ctor_release(x_588, 0); - lean_ctor_release(x_588, 1); - x_591 = x_588; -} else { - lean_dec_ref(x_588); - x_591 = lean_box(0); -} -if (lean_is_scalar(x_591)) { - x_592 = lean_alloc_ctor(0, 2, 0); -} else { - x_592 = x_591; -} -lean_ctor_set(x_592, 0, x_1); -lean_ctor_set(x_592, 1, x_590); -return x_592; -} -else -{ -lean_object* x_593; -x_593 = lean_ctor_get(x_589, 0); -lean_inc(x_593); +x_589 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_586, x_588); +x_590 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; +x_591 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_582, x_547, x_589, x_548, x_590, x_2, x_3, x_4, x_5, x_581); lean_dec(x_589); -if (lean_obj_tag(x_593) == 6) -{ -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; uint8_t x_601; -x_594 = lean_ctor_get(x_588, 1); -lean_inc(x_594); -if (lean_is_exclusive(x_588)) { - lean_ctor_release(x_588, 0); - lean_ctor_release(x_588, 1); - x_595 = x_588; -} else { - lean_dec_ref(x_588); - x_595 = lean_box(0); +lean_dec(x_547); +lean_dec(x_582); +return x_591; } -x_596 = lean_ctor_get(x_593, 0); -lean_inc(x_596); -lean_dec(x_593); -x_597 = lean_ctor_get(x_596, 3); -lean_inc(x_597); -lean_dec(x_596); -x_598 = lean_nat_add(x_597, x_534); -lean_dec(x_534); -lean_dec(x_597); -x_599 = lean_unsigned_to_nat(0u); -x_600 = l_Lean_Expr_getAppNumArgsAux(x_584, x_599); -x_601 = lean_nat_dec_lt(x_598, x_600); -if (x_601 == 0) +case 7: { -lean_object* x_602; +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_dec(x_537); +lean_dec(x_535); +x_592 = lean_ctor_get(x_549, 1); +lean_inc(x_592); +lean_dec(x_549); +x_593 = lean_ctor_get(x_560, 0); +lean_inc(x_593); +lean_dec(x_560); +x_594 = lean_unsigned_to_nat(0u); +x_595 = l_Lean_Expr_getAppNumArgsAux(x_1, x_594); +x_596 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_595); +x_597 = lean_mk_array(x_595, x_596); +x_598 = lean_unsigned_to_nat(1u); +x_599 = lean_nat_sub(x_595, x_598); +lean_dec(x_595); +x_600 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_597, x_599); +x_601 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; +x_602 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_593, x_547, x_600, x_548, x_601, x_2, x_3, x_4, x_5, x_592); lean_dec(x_600); -lean_dec(x_598); -lean_dec(x_584); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -if (lean_is_scalar(x_595)) { - x_602 = lean_alloc_ctor(0, 2, 0); -} else { - x_602 = x_595; -} -lean_ctor_set(x_602, 0, x_1); -lean_ctor_set(x_602, 1, x_594); +lean_dec(x_547); return x_602; } -else +default: { -lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; -lean_dec(x_595); -lean_dec(x_1); -x_603 = lean_nat_sub(x_600, x_598); -lean_dec(x_598); -lean_dec(x_600); -x_604 = lean_unsigned_to_nat(1u); -x_605 = lean_nat_sub(x_603, x_604); -lean_dec(x_603); -x_606 = l_Lean_Expr_getRevArg_x21(x_584, x_605); -lean_dec(x_584); -x_1 = x_606; -x_6 = x_594; -goto _start; -} -} -else -{ -lean_object* x_608; lean_object* x_609; lean_object* x_610; -lean_dec(x_593); -lean_dec(x_584); -lean_dec(x_534); +uint8_t x_603; +lean_dec(x_560); +lean_dec(x_548); +lean_dec(x_547); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_608 = lean_ctor_get(x_588, 1); -lean_inc(x_608); -if (lean_is_exclusive(x_588)) { - lean_ctor_release(x_588, 0); - lean_ctor_release(x_588, 1); - x_609 = x_588; -} else { - lean_dec_ref(x_588); - x_609 = lean_box(0); +x_603 = !lean_is_exclusive(x_549); +if (x_603 == 0) +{ +lean_object* x_604; uint8_t x_605; +x_604 = lean_ctor_get(x_549, 0); +lean_dec(x_604); +x_605 = lean_expr_eqv(x_535, x_537); +lean_dec(x_535); +if (x_605 == 0) +{ +lean_object* x_606; +x_606 = l_Lean_Expr_updateFn(x_1, x_537); +lean_dec(x_537); +lean_ctor_set(x_549, 0, x_606); +return x_549; } -if (lean_is_scalar(x_609)) { - x_610 = lean_alloc_ctor(0, 2, 0); -} else { - x_610 = x_609; +else +{ +lean_dec(x_537); +lean_ctor_set(x_549, 0, x_1); +return x_549; } -lean_ctor_set(x_610, 0, x_1); -lean_ctor_set(x_610, 1, x_608); +} +else +{ +lean_object* x_607; uint8_t x_608; +x_607 = lean_ctor_get(x_549, 1); +lean_inc(x_607); +lean_dec(x_549); +x_608 = lean_expr_eqv(x_535, x_537); +lean_dec(x_535); +if (x_608 == 0) +{ +lean_object* x_609; lean_object* x_610; +x_609 = l_Lean_Expr_updateFn(x_1, x_537); +lean_dec(x_537); +x_610 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_610, 0, x_609); +lean_ctor_set(x_610, 1, x_607); return x_610; } +else +{ +lean_object* x_611; +lean_dec(x_537); +x_611 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_611, 0, x_1); +lean_ctor_set(x_611, 1, x_607); +return x_611; +} +} +} +} } } else { -lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; -lean_dec(x_584); -lean_dec(x_534); +uint8_t x_612; +lean_dec(x_548); +lean_dec(x_547); +lean_dec(x_537); +lean_dec(x_535); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_611 = lean_ctor_get(x_588, 0); -lean_inc(x_611); -x_612 = lean_ctor_get(x_588, 1); -lean_inc(x_612); -if (lean_is_exclusive(x_588)) { - lean_ctor_release(x_588, 0); - lean_ctor_release(x_588, 1); - x_613 = x_588; -} else { - lean_dec_ref(x_588); - x_613 = lean_box(0); -} -if (lean_is_scalar(x_613)) { - x_614 = lean_alloc_ctor(1, 2, 0); -} else { - x_614 = x_613; -} -lean_ctor_set(x_614, 0, x_611); -lean_ctor_set(x_614, 1, x_612); -return x_614; -} +x_612 = !lean_is_exclusive(x_549); +if (x_612 == 0) +{ +return x_549; } else { -lean_object* x_615; -lean_dec(x_586); -lean_dec(x_584); -lean_dec(x_534); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_615 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_615, 0, x_1); -lean_ctor_set(x_615, 1, x_585); +lean_object* x_613; lean_object* x_614; lean_object* x_615; +x_613 = lean_ctor_get(x_549, 0); +x_614 = lean_ctor_get(x_549, 1); +lean_inc(x_614); +lean_inc(x_613); +lean_dec(x_549); +x_615 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_615, 0, x_613); +lean_ctor_set(x_615, 1, x_614); return x_615; } } @@ -9245,1817 +10506,1112 @@ return x_615; else { uint8_t x_616; -lean_dec(x_534); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_616 = !lean_is_exclusive(x_540); +if (x_616 == 0) +{ +lean_object* x_617; uint8_t x_618; +x_617 = lean_ctor_get(x_540, 0); +lean_dec(x_617); +x_618 = lean_expr_eqv(x_535, x_537); +lean_dec(x_535); +if (x_618 == 0) +{ +lean_object* x_619; +x_619 = l_Lean_Expr_updateFn(x_1, x_537); +lean_dec(x_537); +lean_ctor_set(x_540, 0, x_619); +return x_540; +} +else +{ +lean_dec(x_537); +lean_ctor_set(x_540, 0, x_1); +return x_540; +} +} +else +{ +lean_object* x_620; uint8_t x_621; +x_620 = lean_ctor_get(x_540, 1); +lean_inc(x_620); +lean_dec(x_540); +x_621 = lean_expr_eqv(x_535, x_537); +lean_dec(x_535); +if (x_621 == 0) +{ +lean_object* x_622; lean_object* x_623; +x_622 = l_Lean_Expr_updateFn(x_1, x_537); +lean_dec(x_537); +x_623 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_623, 0, x_622); +lean_ctor_set(x_623, 1, x_620); +return x_623; +} +else +{ +lean_object* x_624; +lean_dec(x_537); +x_624 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_624, 0, x_1); +lean_ctor_set(x_624, 1, x_620); +return x_624; +} +} +} +} +default: +{ +uint8_t x_625; +lean_dec(x_541); +lean_dec(x_537); +lean_dec(x_535); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_625 = !lean_is_exclusive(x_540); +if (x_625 == 0) +{ +lean_object* x_626; +x_626 = lean_ctor_get(x_540, 0); +lean_dec(x_626); +lean_ctor_set(x_540, 0, x_1); +return x_540; +} +else +{ +lean_object* x_627; lean_object* x_628; +x_627 = lean_ctor_get(x_540, 1); +lean_inc(x_627); +lean_dec(x_540); +x_628 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_628, 0, x_1); +lean_ctor_set(x_628, 1, x_627); +return x_628; +} +} +} +} +else +{ +uint8_t x_629; +lean_dec(x_537); +lean_dec(x_535); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_616 = !lean_is_exclusive(x_536); -if (x_616 == 0) +x_629 = !lean_is_exclusive(x_540); +if (x_629 == 0) +{ +return x_540; +} +else +{ +lean_object* x_630; lean_object* x_631; lean_object* x_632; +x_630 = lean_ctor_get(x_540, 0); +x_631 = lean_ctor_get(x_540, 1); +lean_inc(x_631); +lean_inc(x_630); +lean_dec(x_540); +x_632 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_632, 0, x_630); +lean_ctor_set(x_632, 1, x_631); +return x_632; +} +} +} +else +{ +lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; +lean_dec(x_535); +x_633 = lean_unsigned_to_nat(0u); +x_634 = l_Lean_Expr_getAppNumArgsAux(x_1, x_633); +x_635 = lean_mk_empty_array_with_capacity(x_634); +lean_dec(x_634); +x_636 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_635); +x_637 = l_Lean_Expr_betaRev(x_537, x_636); +lean_dec(x_636); +lean_dec(x_537); +x_1 = x_637; +x_6 = x_538; +goto _start; +} +} +else +{ +uint8_t x_639; +lean_dec(x_535); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_639 = !lean_is_exclusive(x_536); +if (x_639 == 0) { return x_536; } else { -lean_object* x_617; lean_object* x_618; lean_object* x_619; -x_617 = lean_ctor_get(x_536, 0); -x_618 = lean_ctor_get(x_536, 1); -lean_inc(x_618); -lean_inc(x_617); +lean_object* x_640; lean_object* x_641; lean_object* x_642; +x_640 = lean_ctor_get(x_536, 0); +x_641 = lean_ctor_get(x_536, 1); +lean_inc(x_641); +lean_inc(x_640); lean_dec(x_536); -x_619 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_619, 0, x_617); -lean_ctor_set(x_619, 1, x_618); -return x_619; -} -} -} -default: -{ -lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; -lean_dec(x_1); -x_620 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_621 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__2; -x_622 = lean_panic_fn(x_620, x_621); -x_623 = lean_apply_5(x_622, x_2, x_3, x_4, x_5, x_365); -return x_623; -} +x_642 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_642, 0, x_640); +lean_ctor_set(x_642, 1, x_641); +return x_642; } } } case 8: { -lean_object* x_640; lean_object* x_900; lean_object* x_901; lean_object* x_902; uint8_t x_903; -x_900 = lean_st_ref_get(x_5, x_6); -x_901 = lean_ctor_get(x_900, 0); -lean_inc(x_901); -x_902 = lean_ctor_get(x_901, 3); -lean_inc(x_902); -lean_dec(x_901); -x_903 = lean_ctor_get_uint8(x_902, sizeof(void*)*1); -lean_dec(x_902); -if (x_903 == 0) -{ -lean_object* x_904; -x_904 = lean_ctor_get(x_900, 1); -lean_inc(x_904); -lean_dec(x_900); -x_640 = x_904; -goto block_899; -} -else -{ -lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; uint8_t x_909; -x_905 = lean_ctor_get(x_900, 1); -lean_inc(x_905); -lean_dec(x_900); -x_906 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__5; -x_907 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_906, x_2, x_3, x_4, x_5, x_905); -x_908 = lean_ctor_get(x_907, 0); -lean_inc(x_908); -x_909 = lean_unbox(x_908); -lean_dec(x_908); -if (x_909 == 0) -{ -lean_object* x_910; -x_910 = lean_ctor_get(x_907, 1); -lean_inc(x_910); -lean_dec(x_907); -x_640 = x_910; -goto block_899; -} -else -{ -lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; -x_911 = lean_ctor_get(x_907, 1); -lean_inc(x_911); -lean_dec(x_907); -lean_inc(x_1); -x_912 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_912, 0, x_1); -x_913 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_906, x_912, x_2, x_3, x_4, x_5, x_911); -x_914 = lean_ctor_get(x_913, 1); -lean_inc(x_914); -lean_dec(x_913); -x_640 = x_914; -goto block_899; -} -} -block_899: -{ -switch (lean_obj_tag(x_1)) { -case 4: -{ -lean_object* x_641; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_641 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_641, 0, x_1); -lean_ctor_set(x_641, 1, x_640); -return x_641; -} -case 5: -{ -lean_object* x_642; lean_object* x_643; lean_object* x_644; -x_642 = lean_ctor_get(x_1, 0); -lean_inc(x_642); -x_643 = l_Lean_Expr_getAppFn(x_642); -lean_dec(x_642); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); +lean_object* x_643; lean_object* x_644; lean_object* x_645; +x_643 = lean_ctor_get(x_1, 2); lean_inc(x_643); -x_644 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2(x_643, x_2, x_3, x_4, x_5, x_640); -if (lean_obj_tag(x_644) == 0) -{ -uint8_t x_645; -x_645 = !lean_is_exclusive(x_644); -if (x_645 == 0) -{ -lean_object* x_646; lean_object* x_647; uint8_t x_648; -x_646 = lean_ctor_get(x_644, 0); -x_647 = lean_ctor_get(x_644, 1); -x_648 = l_Lean_Expr_isLambda(x_646); -if (x_648 == 0) -{ -if (lean_obj_tag(x_646) == 4) -{ -lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; -lean_free_object(x_644); -x_649 = lean_ctor_get(x_646, 0); -lean_inc(x_649); -x_650 = lean_ctor_get(x_646, 1); -lean_inc(x_650); -lean_inc(x_1); -lean_inc(x_646); -lean_inc(x_643); -x_651 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___lambda__1___boxed), 9, 3); -lean_closure_set(x_651, 0, x_643); -lean_closure_set(x_651, 1, x_646); -lean_closure_set(x_651, 2, x_1); -x_652 = l_Lean_Meta_getConst_x3f(x_649, x_2, x_3, x_4, x_5, x_647); -if (lean_obj_tag(x_652) == 0) -{ -lean_object* x_653; -x_653 = lean_ctor_get(x_652, 0); -lean_inc(x_653); -if (lean_obj_tag(x_653) == 0) -{ -uint8_t x_654; -lean_dec(x_651); -lean_dec(x_650); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_654 = !lean_is_exclusive(x_652); -if (x_654 == 0) -{ -lean_object* x_655; uint8_t x_656; -x_655 = lean_ctor_get(x_652, 0); -lean_dec(x_655); -x_656 = lean_expr_eqv(x_643, x_646); -lean_dec(x_643); -if (x_656 == 0) -{ -lean_object* x_657; -x_657 = l_Lean_Expr_updateFn(x_1, x_646); -lean_dec(x_646); -lean_ctor_set(x_652, 0, x_657); -return x_652; -} -else -{ -lean_dec(x_646); -lean_ctor_set(x_652, 0, x_1); -return x_652; -} -} -else -{ -lean_object* x_658; uint8_t x_659; -x_658 = lean_ctor_get(x_652, 1); -lean_inc(x_658); -lean_dec(x_652); -x_659 = lean_expr_eqv(x_643, x_646); -lean_dec(x_643); -if (x_659 == 0) -{ -lean_object* x_660; lean_object* x_661; -x_660 = l_Lean_Expr_updateFn(x_1, x_646); -lean_dec(x_646); -x_661 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_661, 0, x_660); -lean_ctor_set(x_661, 1, x_658); -return x_661; -} -else -{ -lean_object* x_662; -lean_dec(x_646); -x_662 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_662, 0, x_1); -lean_ctor_set(x_662, 1, x_658); -return x_662; -} -} -} -else -{ -lean_object* x_663; -x_663 = lean_ctor_get(x_653, 0); -lean_inc(x_663); -lean_dec(x_653); -switch (lean_obj_tag(x_663)) { -case 1: -{ -lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; uint8_t x_668; -lean_dec(x_651); -x_664 = lean_ctor_get(x_652, 1); -lean_inc(x_664); -lean_dec(x_652); -x_665 = l_Lean_ConstantInfo_name(x_663); -x_666 = l___private_Lean_Meta_WHNF_0__Lean_Meta_isAuxDefImp_x3f(x_665, x_2, x_3, x_4, x_5, x_664); -lean_dec(x_665); -x_667 = lean_ctor_get(x_666, 0); -lean_inc(x_667); -x_668 = lean_unbox(x_667); -lean_dec(x_667); -if (x_668 == 0) -{ -uint8_t x_669; -lean_dec(x_663); -lean_dec(x_650); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_669 = !lean_is_exclusive(x_666); -if (x_669 == 0) -{ -lean_object* x_670; uint8_t x_671; -x_670 = lean_ctor_get(x_666, 0); -lean_dec(x_670); -x_671 = lean_expr_eqv(x_643, x_646); -lean_dec(x_643); -if (x_671 == 0) -{ -lean_object* x_672; -x_672 = l_Lean_Expr_updateFn(x_1, x_646); -lean_dec(x_646); -lean_ctor_set(x_666, 0, x_672); -return x_666; -} -else -{ -lean_dec(x_646); -lean_ctor_set(x_666, 0, x_1); -return x_666; -} -} -else -{ -lean_object* x_673; uint8_t x_674; -x_673 = lean_ctor_get(x_666, 1); -lean_inc(x_673); -lean_dec(x_666); -x_674 = lean_expr_eqv(x_643, x_646); -lean_dec(x_643); -if (x_674 == 0) -{ -lean_object* x_675; lean_object* x_676; -x_675 = l_Lean_Expr_updateFn(x_1, x_646); -lean_dec(x_646); -x_676 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_676, 0, x_675); -lean_ctor_set(x_676, 1, x_673); -return x_676; -} -else -{ -lean_object* x_677; -lean_dec(x_646); -x_677 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_677, 0, x_1); -lean_ctor_set(x_677, 1, x_673); -return x_677; -} -} -} -else -{ -lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; -x_678 = lean_ctor_get(x_666, 1); -lean_inc(x_678); -lean_dec(x_666); -x_679 = lean_unsigned_to_nat(0u); -x_680 = l_Lean_Expr_getAppNumArgsAux(x_1, x_679); -x_681 = lean_mk_empty_array_with_capacity(x_680); -lean_dec(x_680); -lean_inc(x_1); -x_682 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_681); -x_683 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__1(x_1, x_643, x_646, x_663, x_650, x_682, x_2, x_3, x_4, x_5, x_678); -lean_dec(x_682); -lean_dec(x_650); -lean_dec(x_663); -lean_dec(x_646); -lean_dec(x_643); -return x_683; -} -} -case 4: -{ -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_dec(x_646); -lean_dec(x_643); -x_684 = lean_ctor_get(x_652, 1); -lean_inc(x_684); -lean_dec(x_652); -x_685 = lean_ctor_get(x_663, 0); -lean_inc(x_685); -lean_dec(x_663); -x_686 = lean_unsigned_to_nat(0u); -x_687 = l_Lean_Expr_getAppNumArgsAux(x_1, x_686); -x_688 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_687); -x_689 = lean_mk_array(x_687, x_688); -x_690 = lean_unsigned_to_nat(1u); -x_691 = lean_nat_sub(x_687, x_690); -lean_dec(x_687); -x_692 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_689, x_691); -x_693 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; -x_694 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_685, x_650, x_692, x_651, x_693, x_2, x_3, x_4, x_5, x_684); -lean_dec(x_692); -lean_dec(x_650); -lean_dec(x_685); -return x_694; -} -case 7: -{ -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_dec(x_646); -lean_dec(x_643); -x_695 = lean_ctor_get(x_652, 1); -lean_inc(x_695); -lean_dec(x_652); -x_696 = lean_ctor_get(x_663, 0); -lean_inc(x_696); -lean_dec(x_663); -x_697 = lean_unsigned_to_nat(0u); -x_698 = l_Lean_Expr_getAppNumArgsAux(x_1, x_697); -x_699 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_698); -x_700 = lean_mk_array(x_698, x_699); -x_701 = lean_unsigned_to_nat(1u); -x_702 = lean_nat_sub(x_698, x_701); -lean_dec(x_698); -x_703 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_700, x_702); -x_704 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; -x_705 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_696, x_650, x_703, x_651, x_704, x_2, x_3, x_4, x_5, x_695); -lean_dec(x_703); -lean_dec(x_650); -return x_705; -} -default: -{ -uint8_t x_706; -lean_dec(x_663); -lean_dec(x_651); -lean_dec(x_650); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_706 = !lean_is_exclusive(x_652); -if (x_706 == 0) -{ -lean_object* x_707; uint8_t x_708; -x_707 = lean_ctor_get(x_652, 0); -lean_dec(x_707); -x_708 = lean_expr_eqv(x_643, x_646); -lean_dec(x_643); -if (x_708 == 0) -{ -lean_object* x_709; -x_709 = l_Lean_Expr_updateFn(x_1, x_646); -lean_dec(x_646); -lean_ctor_set(x_652, 0, x_709); -return x_652; -} -else -{ -lean_dec(x_646); -lean_ctor_set(x_652, 0, x_1); -return x_652; -} -} -else -{ -lean_object* x_710; uint8_t x_711; -x_710 = lean_ctor_get(x_652, 1); -lean_inc(x_710); -lean_dec(x_652); -x_711 = lean_expr_eqv(x_643, x_646); -lean_dec(x_643); -if (x_711 == 0) -{ -lean_object* x_712; lean_object* x_713; -x_712 = l_Lean_Expr_updateFn(x_1, x_646); -lean_dec(x_646); -x_713 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_713, 0, x_712); -lean_ctor_set(x_713, 1, x_710); -return x_713; -} -else -{ -lean_object* x_714; -lean_dec(x_646); -x_714 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_714, 0, x_1); -lean_ctor_set(x_714, 1, x_710); -return x_714; -} -} -} -} -} -} -else -{ -uint8_t x_715; -lean_dec(x_651); -lean_dec(x_650); -lean_dec(x_646); -lean_dec(x_643); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); +x_644 = lean_ctor_get(x_1, 3); +lean_inc(x_644); lean_dec(x_1); -x_715 = !lean_is_exclusive(x_652); -if (x_715 == 0) -{ -return x_652; -} -else -{ -lean_object* x_716; lean_object* x_717; lean_object* x_718; -x_716 = lean_ctor_get(x_652, 0); -x_717 = lean_ctor_get(x_652, 1); -lean_inc(x_717); -lean_inc(x_716); -lean_dec(x_652); -x_718 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_718, 0, x_716); -lean_ctor_set(x_718, 1, x_717); -return x_718; -} -} -} -else -{ -uint8_t x_719; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_719 = lean_expr_eqv(x_643, x_646); +x_645 = lean_expr_instantiate1(x_644, x_643); lean_dec(x_643); -if (x_719 == 0) -{ -lean_object* x_720; -x_720 = l_Lean_Expr_updateFn(x_1, x_646); -lean_dec(x_646); -lean_ctor_set(x_644, 0, x_720); -return x_644; -} -else -{ -lean_dec(x_646); -lean_ctor_set(x_644, 0, x_1); -return x_644; -} -} -} -else -{ -lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; -lean_free_object(x_644); -lean_dec(x_643); -x_721 = lean_unsigned_to_nat(0u); -x_722 = l_Lean_Expr_getAppNumArgsAux(x_1, x_721); -x_723 = lean_mk_empty_array_with_capacity(x_722); -lean_dec(x_722); -x_724 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_723); -x_725 = l_Lean_Expr_betaRev(x_646, x_724); -lean_dec(x_724); -lean_dec(x_646); -x_1 = x_725; -x_6 = x_647; -goto _start; -} -} -else -{ -lean_object* x_727; lean_object* x_728; uint8_t x_729; -x_727 = lean_ctor_get(x_644, 0); -x_728 = lean_ctor_get(x_644, 1); -lean_inc(x_728); -lean_inc(x_727); lean_dec(x_644); -x_729 = l_Lean_Expr_isLambda(x_727); -if (x_729 == 0) -{ -if (lean_obj_tag(x_727) == 4) -{ -lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; -x_730 = lean_ctor_get(x_727, 0); -lean_inc(x_730); -x_731 = lean_ctor_get(x_727, 1); -lean_inc(x_731); -lean_inc(x_1); -lean_inc(x_727); -lean_inc(x_643); -x_732 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___lambda__1___boxed), 9, 3); -lean_closure_set(x_732, 0, x_643); -lean_closure_set(x_732, 1, x_727); -lean_closure_set(x_732, 2, x_1); -x_733 = l_Lean_Meta_getConst_x3f(x_730, x_2, x_3, x_4, x_5, x_728); -if (lean_obj_tag(x_733) == 0) -{ -lean_object* x_734; -x_734 = lean_ctor_get(x_733, 0); -lean_inc(x_734); -if (lean_obj_tag(x_734) == 0) -{ -lean_object* x_735; lean_object* x_736; uint8_t x_737; -lean_dec(x_732); -lean_dec(x_731); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_735 = lean_ctor_get(x_733, 1); -lean_inc(x_735); -if (lean_is_exclusive(x_733)) { - lean_ctor_release(x_733, 0); - lean_ctor_release(x_733, 1); - x_736 = x_733; -} else { - lean_dec_ref(x_733); - x_736 = lean_box(0); -} -x_737 = lean_expr_eqv(x_643, x_727); -lean_dec(x_643); -if (x_737 == 0) -{ -lean_object* x_738; lean_object* x_739; -x_738 = l_Lean_Expr_updateFn(x_1, x_727); -lean_dec(x_727); -if (lean_is_scalar(x_736)) { - x_739 = lean_alloc_ctor(0, 2, 0); -} else { - x_739 = x_736; -} -lean_ctor_set(x_739, 0, x_738); -lean_ctor_set(x_739, 1, x_735); -return x_739; -} -else -{ -lean_object* x_740; -lean_dec(x_727); -if (lean_is_scalar(x_736)) { - x_740 = lean_alloc_ctor(0, 2, 0); -} else { - x_740 = x_736; -} -lean_ctor_set(x_740, 0, x_1); -lean_ctor_set(x_740, 1, x_735); -return x_740; -} -} -else -{ -lean_object* x_741; -x_741 = lean_ctor_get(x_734, 0); -lean_inc(x_741); -lean_dec(x_734); -switch (lean_obj_tag(x_741)) { -case 1: -{ -lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; uint8_t x_746; -lean_dec(x_732); -x_742 = lean_ctor_get(x_733, 1); -lean_inc(x_742); -lean_dec(x_733); -x_743 = l_Lean_ConstantInfo_name(x_741); -x_744 = l___private_Lean_Meta_WHNF_0__Lean_Meta_isAuxDefImp_x3f(x_743, x_2, x_3, x_4, x_5, x_742); -lean_dec(x_743); -x_745 = lean_ctor_get(x_744, 0); -lean_inc(x_745); -x_746 = lean_unbox(x_745); -lean_dec(x_745); -if (x_746 == 0) -{ -lean_object* x_747; lean_object* x_748; uint8_t x_749; -lean_dec(x_741); -lean_dec(x_731); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_747 = lean_ctor_get(x_744, 1); -lean_inc(x_747); -if (lean_is_exclusive(x_744)) { - lean_ctor_release(x_744, 0); - lean_ctor_release(x_744, 1); - x_748 = x_744; -} else { - lean_dec_ref(x_744); - x_748 = lean_box(0); -} -x_749 = lean_expr_eqv(x_643, x_727); -lean_dec(x_643); -if (x_749 == 0) -{ -lean_object* x_750; lean_object* x_751; -x_750 = l_Lean_Expr_updateFn(x_1, x_727); -lean_dec(x_727); -if (lean_is_scalar(x_748)) { - x_751 = lean_alloc_ctor(0, 2, 0); -} else { - x_751 = x_748; -} -lean_ctor_set(x_751, 0, x_750); -lean_ctor_set(x_751, 1, x_747); -return x_751; -} -else -{ -lean_object* x_752; -lean_dec(x_727); -if (lean_is_scalar(x_748)) { - x_752 = lean_alloc_ctor(0, 2, 0); -} else { - x_752 = x_748; -} -lean_ctor_set(x_752, 0, x_1); -lean_ctor_set(x_752, 1, x_747); -return x_752; -} -} -else -{ -lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; -x_753 = lean_ctor_get(x_744, 1); -lean_inc(x_753); -lean_dec(x_744); -x_754 = lean_unsigned_to_nat(0u); -x_755 = l_Lean_Expr_getAppNumArgsAux(x_1, x_754); -x_756 = lean_mk_empty_array_with_capacity(x_755); -lean_dec(x_755); -lean_inc(x_1); -x_757 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_756); -x_758 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__1(x_1, x_643, x_727, x_741, x_731, x_757, x_2, x_3, x_4, x_5, x_753); -lean_dec(x_757); -lean_dec(x_731); -lean_dec(x_741); -lean_dec(x_727); -lean_dec(x_643); -return x_758; -} -} -case 4: -{ -lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; -lean_dec(x_727); -lean_dec(x_643); -x_759 = lean_ctor_get(x_733, 1); -lean_inc(x_759); -lean_dec(x_733); -x_760 = lean_ctor_get(x_741, 0); -lean_inc(x_760); -lean_dec(x_741); -x_761 = lean_unsigned_to_nat(0u); -x_762 = l_Lean_Expr_getAppNumArgsAux(x_1, x_761); -x_763 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_762); -x_764 = lean_mk_array(x_762, x_763); -x_765 = lean_unsigned_to_nat(1u); -x_766 = lean_nat_sub(x_762, x_765); -lean_dec(x_762); -x_767 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_764, x_766); -x_768 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; -x_769 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_760, x_731, x_767, x_732, x_768, x_2, x_3, x_4, x_5, x_759); -lean_dec(x_767); -lean_dec(x_731); -lean_dec(x_760); -return x_769; -} -case 7: -{ -lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; -lean_dec(x_727); -lean_dec(x_643); -x_770 = lean_ctor_get(x_733, 1); -lean_inc(x_770); -lean_dec(x_733); -x_771 = lean_ctor_get(x_741, 0); -lean_inc(x_771); -lean_dec(x_741); -x_772 = lean_unsigned_to_nat(0u); -x_773 = l_Lean_Expr_getAppNumArgsAux(x_1, x_772); -x_774 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_773); -x_775 = lean_mk_array(x_773, x_774); -x_776 = lean_unsigned_to_nat(1u); -x_777 = lean_nat_sub(x_773, x_776); -lean_dec(x_773); -x_778 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_775, x_777); -x_779 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; -x_780 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_771, x_731, x_778, x_732, x_779, x_2, x_3, x_4, x_5, x_770); -lean_dec(x_778); -lean_dec(x_731); -return x_780; -} -default: -{ -lean_object* x_781; lean_object* x_782; uint8_t x_783; -lean_dec(x_741); -lean_dec(x_732); -lean_dec(x_731); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_781 = lean_ctor_get(x_733, 1); -lean_inc(x_781); -if (lean_is_exclusive(x_733)) { - lean_ctor_release(x_733, 0); - lean_ctor_release(x_733, 1); - x_782 = x_733; -} else { - lean_dec_ref(x_733); - x_782 = lean_box(0); -} -x_783 = lean_expr_eqv(x_643, x_727); -lean_dec(x_643); -if (x_783 == 0) -{ -lean_object* x_784; lean_object* x_785; -x_784 = l_Lean_Expr_updateFn(x_1, x_727); -lean_dec(x_727); -if (lean_is_scalar(x_782)) { - x_785 = lean_alloc_ctor(0, 2, 0); -} else { - x_785 = x_782; -} -lean_ctor_set(x_785, 0, x_784); -lean_ctor_set(x_785, 1, x_781); -return x_785; -} -else -{ -lean_object* x_786; -lean_dec(x_727); -if (lean_is_scalar(x_782)) { - x_786 = lean_alloc_ctor(0, 2, 0); -} else { - x_786 = x_782; -} -lean_ctor_set(x_786, 0, x_1); -lean_ctor_set(x_786, 1, x_781); -return x_786; -} -} -} -} -} -else -{ -lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; -lean_dec(x_732); -lean_dec(x_731); -lean_dec(x_727); -lean_dec(x_643); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_787 = lean_ctor_get(x_733, 0); -lean_inc(x_787); -x_788 = lean_ctor_get(x_733, 1); -lean_inc(x_788); -if (lean_is_exclusive(x_733)) { - lean_ctor_release(x_733, 0); - lean_ctor_release(x_733, 1); - x_789 = x_733; -} else { - lean_dec_ref(x_733); - x_789 = lean_box(0); -} -if (lean_is_scalar(x_789)) { - x_790 = lean_alloc_ctor(1, 2, 0); -} else { - x_790 = x_789; -} -lean_ctor_set(x_790, 0, x_787); -lean_ctor_set(x_790, 1, x_788); -return x_790; -} -} -else -{ -uint8_t x_791; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_791 = lean_expr_eqv(x_643, x_727); -lean_dec(x_643); -if (x_791 == 0) -{ -lean_object* x_792; lean_object* x_793; -x_792 = l_Lean_Expr_updateFn(x_1, x_727); -lean_dec(x_727); -x_793 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_793, 0, x_792); -lean_ctor_set(x_793, 1, x_728); -return x_793; -} -else -{ -lean_object* x_794; -lean_dec(x_727); -x_794 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_794, 0, x_1); -lean_ctor_set(x_794, 1, x_728); -return x_794; -} -} -} -else -{ -lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; -lean_dec(x_643); -x_795 = lean_unsigned_to_nat(0u); -x_796 = l_Lean_Expr_getAppNumArgsAux(x_1, x_795); -x_797 = lean_mk_empty_array_with_capacity(x_796); -lean_dec(x_796); -x_798 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_797); -x_799 = l_Lean_Expr_betaRev(x_727, x_798); -lean_dec(x_798); -lean_dec(x_727); -x_1 = x_799; -x_6 = x_728; -goto _start; -} -} -} -else -{ -uint8_t x_801; -lean_dec(x_643); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_801 = !lean_is_exclusive(x_644); -if (x_801 == 0) -{ -return x_644; -} -else -{ -lean_object* x_802; lean_object* x_803; lean_object* x_804; -x_802 = lean_ctor_get(x_644, 0); -x_803 = lean_ctor_get(x_644, 1); -lean_inc(x_803); -lean_inc(x_802); -lean_dec(x_644); -x_804 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_804, 0, x_802); -lean_ctor_set(x_804, 1, x_803); -return x_804; -} -} -} -case 8: -{ -lean_object* x_805; lean_object* x_806; lean_object* x_807; -x_805 = lean_ctor_get(x_1, 2); -lean_inc(x_805); -x_806 = lean_ctor_get(x_1, 3); -lean_inc(x_806); -lean_dec(x_1); -x_807 = lean_expr_instantiate1(x_806, x_805); -lean_dec(x_805); -lean_dec(x_806); -x_1 = x_807; -x_6 = x_640; +x_1 = x_645; +x_6 = x_532; goto _start; } case 11: { -lean_object* x_809; lean_object* x_810; lean_object* x_811; -x_809 = lean_ctor_get(x_1, 1); -lean_inc(x_809); -x_810 = lean_ctor_get(x_1, 2); -lean_inc(x_810); +lean_object* x_647; lean_object* x_648; lean_object* x_649; +x_647 = lean_ctor_get(x_1, 1); +lean_inc(x_647); +x_648 = lean_ctor_get(x_1, 2); +lean_inc(x_648); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_811 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_810, x_2, x_3, x_4, x_5, x_640); -if (lean_obj_tag(x_811) == 0) +x_649 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_648, x_2, x_3, x_4, x_5, x_532); +if (lean_obj_tag(x_649) == 0) { -uint8_t x_812; -x_812 = !lean_is_exclusive(x_811); -if (x_812 == 0) +uint8_t x_650; +x_650 = !lean_is_exclusive(x_649); +if (x_650 == 0) { -lean_object* x_813; lean_object* x_814; lean_object* x_815; -x_813 = lean_ctor_get(x_811, 0); -x_814 = lean_ctor_get(x_811, 1); -x_815 = l_Lean_Expr_getAppFn(x_813); -if (lean_obj_tag(x_815) == 4) +lean_object* x_651; lean_object* x_652; lean_object* x_653; +x_651 = lean_ctor_get(x_649, 0); +x_652 = lean_ctor_get(x_649, 1); +x_653 = l_Lean_Expr_getAppFn(x_651); +if (lean_obj_tag(x_653) == 4) { -lean_object* x_816; lean_object* x_817; -lean_free_object(x_811); -x_816 = lean_ctor_get(x_815, 0); -lean_inc(x_816); -lean_dec(x_815); -x_817 = l_Lean_Meta_getConst_x3f(x_816, x_2, x_3, x_4, x_5, x_814); -if (lean_obj_tag(x_817) == 0) +lean_object* x_654; lean_object* x_655; +lean_free_object(x_649); +x_654 = lean_ctor_get(x_653, 0); +lean_inc(x_654); +lean_dec(x_653); +x_655 = l_Lean_Meta_getConst_x3f(x_654, x_2, x_3, x_4, x_5, x_652); +if (lean_obj_tag(x_655) == 0) { -lean_object* x_818; -x_818 = lean_ctor_get(x_817, 0); -lean_inc(x_818); -if (lean_obj_tag(x_818) == 0) +lean_object* x_656; +x_656 = lean_ctor_get(x_655, 0); +lean_inc(x_656); +if (lean_obj_tag(x_656) == 0) { -uint8_t x_819; -lean_dec(x_813); -lean_dec(x_809); +uint8_t x_657; +lean_dec(x_651); +lean_dec(x_647); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_819 = !lean_is_exclusive(x_817); -if (x_819 == 0) +x_657 = !lean_is_exclusive(x_655); +if (x_657 == 0) { -lean_object* x_820; -x_820 = lean_ctor_get(x_817, 0); -lean_dec(x_820); -lean_ctor_set(x_817, 0, x_1); -return x_817; +lean_object* x_658; +x_658 = lean_ctor_get(x_655, 0); +lean_dec(x_658); +lean_ctor_set(x_655, 0, x_1); +return x_655; } else { -lean_object* x_821; lean_object* x_822; -x_821 = lean_ctor_get(x_817, 1); -lean_inc(x_821); -lean_dec(x_817); -x_822 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_822, 0, x_1); -lean_ctor_set(x_822, 1, x_821); -return x_822; +lean_object* x_659; lean_object* x_660; +x_659 = lean_ctor_get(x_655, 1); +lean_inc(x_659); +lean_dec(x_655); +x_660 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_660, 0, x_1); +lean_ctor_set(x_660, 1, x_659); +return x_660; } } else { -lean_object* x_823; -x_823 = lean_ctor_get(x_818, 0); -lean_inc(x_823); -lean_dec(x_818); -if (lean_obj_tag(x_823) == 6) +lean_object* x_661; +x_661 = lean_ctor_get(x_656, 0); +lean_inc(x_661); +lean_dec(x_656); +if (lean_obj_tag(x_661) == 6) { -uint8_t x_824; -x_824 = !lean_is_exclusive(x_817); -if (x_824 == 0) +uint8_t x_662; +x_662 = !lean_is_exclusive(x_655); +if (x_662 == 0) { -lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; uint8_t x_832; -x_825 = lean_ctor_get(x_817, 1); -x_826 = lean_ctor_get(x_817, 0); -lean_dec(x_826); -x_827 = lean_ctor_get(x_823, 0); -lean_inc(x_827); -lean_dec(x_823); -x_828 = lean_ctor_get(x_827, 3); -lean_inc(x_828); -lean_dec(x_827); -x_829 = lean_nat_add(x_828, x_809); -lean_dec(x_809); -lean_dec(x_828); -x_830 = lean_unsigned_to_nat(0u); -x_831 = l_Lean_Expr_getAppNumArgsAux(x_813, x_830); -x_832 = lean_nat_dec_lt(x_829, x_831); -if (x_832 == 0) +lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; uint8_t x_670; +x_663 = lean_ctor_get(x_655, 1); +x_664 = lean_ctor_get(x_655, 0); +lean_dec(x_664); +x_665 = lean_ctor_get(x_661, 0); +lean_inc(x_665); +lean_dec(x_661); +x_666 = lean_ctor_get(x_665, 3); +lean_inc(x_666); +lean_dec(x_665); +x_667 = lean_nat_add(x_666, x_647); +lean_dec(x_647); +lean_dec(x_666); +x_668 = lean_unsigned_to_nat(0u); +x_669 = l_Lean_Expr_getAppNumArgsAux(x_651, x_668); +x_670 = lean_nat_dec_lt(x_667, x_669); +if (x_670 == 0) { -lean_dec(x_831); -lean_dec(x_829); -lean_dec(x_813); +lean_dec(x_669); +lean_dec(x_667); +lean_dec(x_651); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_ctor_set(x_817, 0, x_1); -return x_817; +lean_ctor_set(x_655, 0, x_1); +return x_655; } else { -lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; -lean_free_object(x_817); +lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; +lean_free_object(x_655); lean_dec(x_1); -x_833 = lean_nat_sub(x_831, x_829); -lean_dec(x_829); -lean_dec(x_831); -x_834 = lean_unsigned_to_nat(1u); -x_835 = lean_nat_sub(x_833, x_834); -lean_dec(x_833); -x_836 = l_Lean_Expr_getRevArg_x21(x_813, x_835); -lean_dec(x_813); -x_1 = x_836; -x_6 = x_825; +x_671 = lean_nat_sub(x_669, x_667); +lean_dec(x_667); +lean_dec(x_669); +x_672 = lean_unsigned_to_nat(1u); +x_673 = lean_nat_sub(x_671, x_672); +lean_dec(x_671); +x_674 = l_Lean_Expr_getRevArg_x21(x_651, x_673); +lean_dec(x_651); +x_1 = x_674; +x_6 = x_663; goto _start; } } else { -lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; uint8_t x_844; -x_838 = lean_ctor_get(x_817, 1); -lean_inc(x_838); -lean_dec(x_817); -x_839 = lean_ctor_get(x_823, 0); -lean_inc(x_839); -lean_dec(x_823); -x_840 = lean_ctor_get(x_839, 3); -lean_inc(x_840); -lean_dec(x_839); -x_841 = lean_nat_add(x_840, x_809); -lean_dec(x_809); -lean_dec(x_840); -x_842 = lean_unsigned_to_nat(0u); -x_843 = l_Lean_Expr_getAppNumArgsAux(x_813, x_842); -x_844 = lean_nat_dec_lt(x_841, x_843); -if (x_844 == 0) +lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; uint8_t x_682; +x_676 = lean_ctor_get(x_655, 1); +lean_inc(x_676); +lean_dec(x_655); +x_677 = lean_ctor_get(x_661, 0); +lean_inc(x_677); +lean_dec(x_661); +x_678 = lean_ctor_get(x_677, 3); +lean_inc(x_678); +lean_dec(x_677); +x_679 = lean_nat_add(x_678, x_647); +lean_dec(x_647); +lean_dec(x_678); +x_680 = lean_unsigned_to_nat(0u); +x_681 = l_Lean_Expr_getAppNumArgsAux(x_651, x_680); +x_682 = lean_nat_dec_lt(x_679, x_681); +if (x_682 == 0) { -lean_object* x_845; -lean_dec(x_843); -lean_dec(x_841); -lean_dec(x_813); +lean_object* x_683; +lean_dec(x_681); +lean_dec(x_679); +lean_dec(x_651); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_845 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_845, 0, x_1); -lean_ctor_set(x_845, 1, x_838); -return x_845; +x_683 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_683, 0, x_1); +lean_ctor_set(x_683, 1, x_676); +return x_683; } else { -lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; +lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_dec(x_1); -x_846 = lean_nat_sub(x_843, x_841); -lean_dec(x_841); -lean_dec(x_843); -x_847 = lean_unsigned_to_nat(1u); -x_848 = lean_nat_sub(x_846, x_847); -lean_dec(x_846); -x_849 = l_Lean_Expr_getRevArg_x21(x_813, x_848); -lean_dec(x_813); -x_1 = x_849; -x_6 = x_838; +x_684 = lean_nat_sub(x_681, x_679); +lean_dec(x_679); +lean_dec(x_681); +x_685 = lean_unsigned_to_nat(1u); +x_686 = lean_nat_sub(x_684, x_685); +lean_dec(x_684); +x_687 = l_Lean_Expr_getRevArg_x21(x_651, x_686); +lean_dec(x_651); +x_1 = x_687; +x_6 = x_676; goto _start; } } } else { -uint8_t x_851; -lean_dec(x_823); -lean_dec(x_813); -lean_dec(x_809); +uint8_t x_689; +lean_dec(x_661); +lean_dec(x_651); +lean_dec(x_647); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_851 = !lean_is_exclusive(x_817); -if (x_851 == 0) +x_689 = !lean_is_exclusive(x_655); +if (x_689 == 0) { -lean_object* x_852; -x_852 = lean_ctor_get(x_817, 0); -lean_dec(x_852); -lean_ctor_set(x_817, 0, x_1); -return x_817; +lean_object* x_690; +x_690 = lean_ctor_get(x_655, 0); +lean_dec(x_690); +lean_ctor_set(x_655, 0, x_1); +return x_655; } else { -lean_object* x_853; lean_object* x_854; -x_853 = lean_ctor_get(x_817, 1); -lean_inc(x_853); -lean_dec(x_817); -x_854 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_854, 0, x_1); -lean_ctor_set(x_854, 1, x_853); -return x_854; +lean_object* x_691; lean_object* x_692; +x_691 = lean_ctor_get(x_655, 1); +lean_inc(x_691); +lean_dec(x_655); +x_692 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_692, 0, x_1); +lean_ctor_set(x_692, 1, x_691); +return x_692; } } } } else { -uint8_t x_855; -lean_dec(x_813); -lean_dec(x_809); +uint8_t x_693; +lean_dec(x_651); +lean_dec(x_647); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_855 = !lean_is_exclusive(x_817); -if (x_855 == 0) +x_693 = !lean_is_exclusive(x_655); +if (x_693 == 0) { -return x_817; +return x_655; } else { -lean_object* x_856; lean_object* x_857; lean_object* x_858; -x_856 = lean_ctor_get(x_817, 0); -x_857 = lean_ctor_get(x_817, 1); -lean_inc(x_857); -lean_inc(x_856); -lean_dec(x_817); -x_858 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_858, 0, x_856); -lean_ctor_set(x_858, 1, x_857); -return x_858; +lean_object* x_694; lean_object* x_695; lean_object* x_696; +x_694 = lean_ctor_get(x_655, 0); +x_695 = lean_ctor_get(x_655, 1); +lean_inc(x_695); +lean_inc(x_694); +lean_dec(x_655); +x_696 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_696, 0, x_694); +lean_ctor_set(x_696, 1, x_695); +return x_696; } } } else { -lean_dec(x_815); -lean_dec(x_813); -lean_dec(x_809); +lean_dec(x_653); +lean_dec(x_651); +lean_dec(x_647); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_ctor_set(x_811, 0, x_1); -return x_811; +lean_ctor_set(x_649, 0, x_1); +return x_649; } } else { -lean_object* x_859; lean_object* x_860; lean_object* x_861; -x_859 = lean_ctor_get(x_811, 0); -x_860 = lean_ctor_get(x_811, 1); -lean_inc(x_860); -lean_inc(x_859); -lean_dec(x_811); -x_861 = l_Lean_Expr_getAppFn(x_859); -if (lean_obj_tag(x_861) == 4) +lean_object* x_697; lean_object* x_698; lean_object* x_699; +x_697 = lean_ctor_get(x_649, 0); +x_698 = lean_ctor_get(x_649, 1); +lean_inc(x_698); +lean_inc(x_697); +lean_dec(x_649); +x_699 = l_Lean_Expr_getAppFn(x_697); +if (lean_obj_tag(x_699) == 4) { -lean_object* x_862; lean_object* x_863; -x_862 = lean_ctor_get(x_861, 0); -lean_inc(x_862); -lean_dec(x_861); -x_863 = l_Lean_Meta_getConst_x3f(x_862, x_2, x_3, x_4, x_5, x_860); -if (lean_obj_tag(x_863) == 0) +lean_object* x_700; lean_object* x_701; +x_700 = lean_ctor_get(x_699, 0); +lean_inc(x_700); +lean_dec(x_699); +x_701 = l_Lean_Meta_getConst_x3f(x_700, x_2, x_3, x_4, x_5, x_698); +if (lean_obj_tag(x_701) == 0) { -lean_object* x_864; -x_864 = lean_ctor_get(x_863, 0); -lean_inc(x_864); -if (lean_obj_tag(x_864) == 0) +lean_object* x_702; +x_702 = lean_ctor_get(x_701, 0); +lean_inc(x_702); +if (lean_obj_tag(x_702) == 0) { -lean_object* x_865; lean_object* x_866; lean_object* x_867; -lean_dec(x_859); -lean_dec(x_809); +lean_object* x_703; lean_object* x_704; lean_object* x_705; +lean_dec(x_697); +lean_dec(x_647); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_865 = lean_ctor_get(x_863, 1); -lean_inc(x_865); -if (lean_is_exclusive(x_863)) { - lean_ctor_release(x_863, 0); - lean_ctor_release(x_863, 1); - x_866 = x_863; +x_703 = lean_ctor_get(x_701, 1); +lean_inc(x_703); +if (lean_is_exclusive(x_701)) { + lean_ctor_release(x_701, 0); + lean_ctor_release(x_701, 1); + x_704 = x_701; } else { - lean_dec_ref(x_863); - x_866 = lean_box(0); + lean_dec_ref(x_701); + x_704 = lean_box(0); } -if (lean_is_scalar(x_866)) { - x_867 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_704)) { + x_705 = lean_alloc_ctor(0, 2, 0); } else { - x_867 = x_866; + x_705 = x_704; } -lean_ctor_set(x_867, 0, x_1); -lean_ctor_set(x_867, 1, x_865); -return x_867; +lean_ctor_set(x_705, 0, x_1); +lean_ctor_set(x_705, 1, x_703); +return x_705; } else { -lean_object* x_868; -x_868 = lean_ctor_get(x_864, 0); -lean_inc(x_868); -lean_dec(x_864); -if (lean_obj_tag(x_868) == 6) +lean_object* x_706; +x_706 = lean_ctor_get(x_702, 0); +lean_inc(x_706); +lean_dec(x_702); +if (lean_obj_tag(x_706) == 6) { -lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; uint8_t x_876; -x_869 = lean_ctor_get(x_863, 1); -lean_inc(x_869); -if (lean_is_exclusive(x_863)) { - lean_ctor_release(x_863, 0); - lean_ctor_release(x_863, 1); - x_870 = x_863; +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; uint8_t x_714; +x_707 = lean_ctor_get(x_701, 1); +lean_inc(x_707); +if (lean_is_exclusive(x_701)) { + lean_ctor_release(x_701, 0); + lean_ctor_release(x_701, 1); + x_708 = x_701; } else { - lean_dec_ref(x_863); - x_870 = lean_box(0); + lean_dec_ref(x_701); + x_708 = lean_box(0); } -x_871 = lean_ctor_get(x_868, 0); -lean_inc(x_871); -lean_dec(x_868); -x_872 = lean_ctor_get(x_871, 3); -lean_inc(x_872); -lean_dec(x_871); -x_873 = lean_nat_add(x_872, x_809); -lean_dec(x_809); -lean_dec(x_872); -x_874 = lean_unsigned_to_nat(0u); -x_875 = l_Lean_Expr_getAppNumArgsAux(x_859, x_874); -x_876 = lean_nat_dec_lt(x_873, x_875); -if (x_876 == 0) +x_709 = lean_ctor_get(x_706, 0); +lean_inc(x_709); +lean_dec(x_706); +x_710 = lean_ctor_get(x_709, 3); +lean_inc(x_710); +lean_dec(x_709); +x_711 = lean_nat_add(x_710, x_647); +lean_dec(x_647); +lean_dec(x_710); +x_712 = lean_unsigned_to_nat(0u); +x_713 = l_Lean_Expr_getAppNumArgsAux(x_697, x_712); +x_714 = lean_nat_dec_lt(x_711, x_713); +if (x_714 == 0) { -lean_object* x_877; -lean_dec(x_875); -lean_dec(x_873); -lean_dec(x_859); +lean_object* x_715; +lean_dec(x_713); +lean_dec(x_711); +lean_dec(x_697); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -if (lean_is_scalar(x_870)) { - x_877 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_708)) { + x_715 = lean_alloc_ctor(0, 2, 0); } else { - x_877 = x_870; + x_715 = x_708; } -lean_ctor_set(x_877, 0, x_1); -lean_ctor_set(x_877, 1, x_869); -return x_877; +lean_ctor_set(x_715, 0, x_1); +lean_ctor_set(x_715, 1, x_707); +return x_715; } else { -lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; -lean_dec(x_870); +lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; +lean_dec(x_708); lean_dec(x_1); -x_878 = lean_nat_sub(x_875, x_873); -lean_dec(x_873); -lean_dec(x_875); -x_879 = lean_unsigned_to_nat(1u); -x_880 = lean_nat_sub(x_878, x_879); -lean_dec(x_878); -x_881 = l_Lean_Expr_getRevArg_x21(x_859, x_880); -lean_dec(x_859); -x_1 = x_881; -x_6 = x_869; +x_716 = lean_nat_sub(x_713, x_711); +lean_dec(x_711); +lean_dec(x_713); +x_717 = lean_unsigned_to_nat(1u); +x_718 = lean_nat_sub(x_716, x_717); +lean_dec(x_716); +x_719 = l_Lean_Expr_getRevArg_x21(x_697, x_718); +lean_dec(x_697); +x_1 = x_719; +x_6 = x_707; goto _start; } } else { -lean_object* x_883; lean_object* x_884; lean_object* x_885; -lean_dec(x_868); -lean_dec(x_859); -lean_dec(x_809); +lean_object* x_721; lean_object* x_722; lean_object* x_723; +lean_dec(x_706); +lean_dec(x_697); +lean_dec(x_647); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_883 = lean_ctor_get(x_863, 1); -lean_inc(x_883); -if (lean_is_exclusive(x_863)) { - lean_ctor_release(x_863, 0); - lean_ctor_release(x_863, 1); - x_884 = x_863; +x_721 = lean_ctor_get(x_701, 1); +lean_inc(x_721); +if (lean_is_exclusive(x_701)) { + lean_ctor_release(x_701, 0); + lean_ctor_release(x_701, 1); + x_722 = x_701; } else { - lean_dec_ref(x_863); - x_884 = lean_box(0); + lean_dec_ref(x_701); + x_722 = lean_box(0); } -if (lean_is_scalar(x_884)) { - x_885 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_722)) { + x_723 = lean_alloc_ctor(0, 2, 0); } else { - x_885 = x_884; + x_723 = x_722; } -lean_ctor_set(x_885, 0, x_1); -lean_ctor_set(x_885, 1, x_883); -return x_885; +lean_ctor_set(x_723, 0, x_1); +lean_ctor_set(x_723, 1, x_721); +return x_723; } } } else { -lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; -lean_dec(x_859); -lean_dec(x_809); +lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; +lean_dec(x_697); +lean_dec(x_647); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_886 = lean_ctor_get(x_863, 0); -lean_inc(x_886); -x_887 = lean_ctor_get(x_863, 1); -lean_inc(x_887); -if (lean_is_exclusive(x_863)) { - lean_ctor_release(x_863, 0); - lean_ctor_release(x_863, 1); - x_888 = x_863; +x_724 = lean_ctor_get(x_701, 0); +lean_inc(x_724); +x_725 = lean_ctor_get(x_701, 1); +lean_inc(x_725); +if (lean_is_exclusive(x_701)) { + lean_ctor_release(x_701, 0); + lean_ctor_release(x_701, 1); + x_726 = x_701; } else { - lean_dec_ref(x_863); - x_888 = lean_box(0); + lean_dec_ref(x_701); + x_726 = lean_box(0); } -if (lean_is_scalar(x_888)) { - x_889 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_726)) { + x_727 = lean_alloc_ctor(1, 2, 0); } else { - x_889 = x_888; + x_727 = x_726; } -lean_ctor_set(x_889, 0, x_886); -lean_ctor_set(x_889, 1, x_887); -return x_889; +lean_ctor_set(x_727, 0, x_724); +lean_ctor_set(x_727, 1, x_725); +return x_727; } } else { -lean_object* x_890; -lean_dec(x_861); -lean_dec(x_859); -lean_dec(x_809); +lean_object* x_728; +lean_dec(x_699); +lean_dec(x_697); +lean_dec(x_647); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_890 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_890, 0, x_1); -lean_ctor_set(x_890, 1, x_860); -return x_890; +x_728 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_728, 0, x_1); +lean_ctor_set(x_728, 1, x_698); +return x_728; } } } else { -uint8_t x_891; -lean_dec(x_809); +uint8_t x_729; +lean_dec(x_647); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_891 = !lean_is_exclusive(x_811); -if (x_891 == 0) +x_729 = !lean_is_exclusive(x_649); +if (x_729 == 0) { -return x_811; +return x_649; } else { -lean_object* x_892; lean_object* x_893; lean_object* x_894; -x_892 = lean_ctor_get(x_811, 0); -x_893 = lean_ctor_get(x_811, 1); -lean_inc(x_893); -lean_inc(x_892); -lean_dec(x_811); -x_894 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_894, 0, x_892); -lean_ctor_set(x_894, 1, x_893); -return x_894; +lean_object* x_730; lean_object* x_731; lean_object* x_732; +x_730 = lean_ctor_get(x_649, 0); +x_731 = lean_ctor_get(x_649, 1); +lean_inc(x_731); +lean_inc(x_730); +lean_dec(x_649); +x_732 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_732, 0, x_730); +lean_ctor_set(x_732, 1, x_731); +return x_732; } } } default: { -lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; +lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_dec(x_1); -x_895 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_896 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__2; -x_897 = lean_panic_fn(x_895, x_896); -x_898 = lean_apply_5(x_897, x_2, x_3, x_4, x_5, x_640); -return x_898; +x_733 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_734 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__2; +x_735 = lean_panic_fn(x_733, x_734); +x_736 = lean_apply_5(x_735, x_2, x_3, x_4, x_5, x_532); +return x_736; } } } } case 10: { -lean_object* x_915; -x_915 = lean_ctor_get(x_1, 1); -lean_inc(x_915); +lean_object* x_753; +x_753 = lean_ctor_get(x_1, 1); +lean_inc(x_753); lean_dec(x_1); -x_1 = x_915; +x_1 = x_753; goto _start; } case 11: { -lean_object* x_917; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; uint8_t x_1180; -x_1177 = lean_st_ref_get(x_5, x_6); -x_1178 = lean_ctor_get(x_1177, 0); -lean_inc(x_1178); -x_1179 = lean_ctor_get(x_1178, 3); -lean_inc(x_1179); -lean_dec(x_1178); -x_1180 = lean_ctor_get_uint8(x_1179, sizeof(void*)*1); -lean_dec(x_1179); -if (x_1180 == 0) +lean_object* x_755; lean_object* x_961; lean_object* x_962; lean_object* x_963; uint8_t x_964; +x_961 = lean_st_ref_get(x_5, x_6); +x_962 = lean_ctor_get(x_961, 0); +lean_inc(x_962); +x_963 = lean_ctor_get(x_962, 3); +lean_inc(x_963); +lean_dec(x_962); +x_964 = lean_ctor_get_uint8(x_963, sizeof(void*)*1); +lean_dec(x_963); +if (x_964 == 0) { -lean_object* x_1181; -x_1181 = lean_ctor_get(x_1177, 1); -lean_inc(x_1181); -lean_dec(x_1177); -x_917 = x_1181; -goto block_1176; +lean_object* x_965; +x_965 = lean_ctor_get(x_961, 1); +lean_inc(x_965); +lean_dec(x_961); +x_755 = x_965; +goto block_960; } else { -lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; uint8_t x_1186; -x_1182 = lean_ctor_get(x_1177, 1); -lean_inc(x_1182); -lean_dec(x_1177); -x_1183 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__5; -x_1184 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1183, x_2, x_3, x_4, x_5, x_1182); -x_1185 = lean_ctor_get(x_1184, 0); -lean_inc(x_1185); -x_1186 = lean_unbox(x_1185); -lean_dec(x_1185); -if (x_1186 == 0) +lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; uint8_t x_970; +x_966 = lean_ctor_get(x_961, 1); +lean_inc(x_966); +lean_dec(x_961); +x_967 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__5; +x_968 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_967, x_2, x_3, x_4, x_5, x_966); +x_969 = lean_ctor_get(x_968, 0); +lean_inc(x_969); +x_970 = lean_unbox(x_969); +lean_dec(x_969); +if (x_970 == 0) { -lean_object* x_1187; -x_1187 = lean_ctor_get(x_1184, 1); -lean_inc(x_1187); -lean_dec(x_1184); -x_917 = x_1187; -goto block_1176; +lean_object* x_971; +x_971 = lean_ctor_get(x_968, 1); +lean_inc(x_971); +lean_dec(x_968); +x_755 = x_971; +goto block_960; } else { -lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; -x_1188 = lean_ctor_get(x_1184, 1); -lean_inc(x_1188); -lean_dec(x_1184); +lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; +x_972 = lean_ctor_get(x_968, 1); +lean_inc(x_972); +lean_dec(x_968); lean_inc(x_1); -x_1189 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1189, 0, x_1); -x_1190 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1183, x_1189, x_2, x_3, x_4, x_5, x_1188); -x_1191 = lean_ctor_get(x_1190, 1); -lean_inc(x_1191); -lean_dec(x_1190); -x_917 = x_1191; -goto block_1176; +x_973 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_973, 0, x_1); +x_974 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_967, x_973, x_2, x_3, x_4, x_5, x_972); +x_975 = lean_ctor_get(x_974, 1); +lean_inc(x_975); +lean_dec(x_974); +x_755 = x_975; +goto block_960; } } -block_1176: +block_960: { switch (lean_obj_tag(x_1)) { case 4: { -lean_object* x_918; +lean_object* x_756; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_918 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_918, 0, x_1); -lean_ctor_set(x_918, 1, x_917); -return x_918; +x_756 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_756, 0, x_1); +lean_ctor_set(x_756, 1, x_755); +return x_756; } case 5: { -lean_object* x_919; lean_object* x_920; lean_object* x_921; -x_919 = lean_ctor_get(x_1, 0); -lean_inc(x_919); -x_920 = l_Lean_Expr_getAppFn(x_919); -lean_dec(x_919); +lean_object* x_757; lean_object* x_758; lean_object* x_759; +x_757 = lean_ctor_get(x_1, 0); +lean_inc(x_757); +x_758 = l_Lean_Expr_getAppFn(x_757); +lean_dec(x_757); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_920); -x_921 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2(x_920, x_2, x_3, x_4, x_5, x_917); -if (lean_obj_tag(x_921) == 0) +lean_inc(x_758); +x_759 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2(x_758, x_2, x_3, x_4, x_5, x_755); +if (lean_obj_tag(x_759) == 0) { -uint8_t x_922; -x_922 = !lean_is_exclusive(x_921); -if (x_922 == 0) +lean_object* x_760; lean_object* x_761; uint8_t x_762; +x_760 = lean_ctor_get(x_759, 0); +lean_inc(x_760); +x_761 = lean_ctor_get(x_759, 1); +lean_inc(x_761); +lean_dec(x_759); +x_762 = l_Lean_Expr_isLambda(x_760); +if (x_762 == 0) { -lean_object* x_923; lean_object* x_924; uint8_t x_925; -x_923 = lean_ctor_get(x_921, 0); -x_924 = lean_ctor_get(x_921, 1); -x_925 = l_Lean_Expr_isLambda(x_923); -if (x_925 == 0) -{ -if (lean_obj_tag(x_923) == 4) -{ -lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; -lean_free_object(x_921); -x_926 = lean_ctor_get(x_923, 0); -lean_inc(x_926); -x_927 = lean_ctor_get(x_923, 1); -lean_inc(x_927); +lean_object* x_763; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); lean_inc(x_1); -lean_inc(x_923); -lean_inc(x_920); -x_928 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___lambda__1___boxed), 9, 3); -lean_closure_set(x_928, 0, x_920); -lean_closure_set(x_928, 1, x_923); -lean_closure_set(x_928, 2, x_1); -x_929 = l_Lean_Meta_getConst_x3f(x_926, x_2, x_3, x_4, x_5, x_924); -if (lean_obj_tag(x_929) == 0) +x_763 = l_Lean_Meta_reduceMatcher_x3f(x_1, x_2, x_3, x_4, x_5, x_761); +if (lean_obj_tag(x_763) == 0) { -lean_object* x_930; -x_930 = lean_ctor_get(x_929, 0); -lean_inc(x_930); -if (lean_obj_tag(x_930) == 0) +lean_object* x_764; +x_764 = lean_ctor_get(x_763, 0); +lean_inc(x_764); +switch (lean_obj_tag(x_764)) { +case 0: { -uint8_t x_931; -lean_dec(x_928); -lean_dec(x_927); +lean_object* x_765; lean_object* x_766; +lean_dec(x_760); +lean_dec(x_758); +lean_dec(x_1); +x_765 = lean_ctor_get(x_763, 1); +lean_inc(x_765); +lean_dec(x_763); +x_766 = lean_ctor_get(x_764, 0); +lean_inc(x_766); +lean_dec(x_764); +x_1 = x_766; +x_6 = x_765; +goto _start; +} +case 2: +{ +if (lean_obj_tag(x_760) == 4) +{ +lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; +x_768 = lean_ctor_get(x_763, 1); +lean_inc(x_768); +lean_dec(x_763); +x_769 = lean_ctor_get(x_760, 0); +lean_inc(x_769); +x_770 = lean_ctor_get(x_760, 1); +lean_inc(x_770); +lean_inc(x_1); +lean_inc(x_760); +lean_inc(x_758); +x_771 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___lambda__1___boxed), 9, 3); +lean_closure_set(x_771, 0, x_758); +lean_closure_set(x_771, 1, x_760); +lean_closure_set(x_771, 2, x_1); +x_772 = l_Lean_Meta_getConst_x3f(x_769, x_2, x_3, x_4, x_5, x_768); +if (lean_obj_tag(x_772) == 0) +{ +lean_object* x_773; +x_773 = lean_ctor_get(x_772, 0); +lean_inc(x_773); +if (lean_obj_tag(x_773) == 0) +{ +uint8_t x_774; +lean_dec(x_771); +lean_dec(x_770); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_931 = !lean_is_exclusive(x_929); -if (x_931 == 0) +x_774 = !lean_is_exclusive(x_772); +if (x_774 == 0) { -lean_object* x_932; uint8_t x_933; -x_932 = lean_ctor_get(x_929, 0); -lean_dec(x_932); -x_933 = lean_expr_eqv(x_920, x_923); -lean_dec(x_920); -if (x_933 == 0) +lean_object* x_775; uint8_t x_776; +x_775 = lean_ctor_get(x_772, 0); +lean_dec(x_775); +x_776 = lean_expr_eqv(x_758, x_760); +lean_dec(x_758); +if (x_776 == 0) { -lean_object* x_934; -x_934 = l_Lean_Expr_updateFn(x_1, x_923); -lean_dec(x_923); -lean_ctor_set(x_929, 0, x_934); -return x_929; +lean_object* x_777; +x_777 = l_Lean_Expr_updateFn(x_1, x_760); +lean_dec(x_760); +lean_ctor_set(x_772, 0, x_777); +return x_772; } else { -lean_dec(x_923); -lean_ctor_set(x_929, 0, x_1); -return x_929; +lean_dec(x_760); +lean_ctor_set(x_772, 0, x_1); +return x_772; } } else { -lean_object* x_935; uint8_t x_936; -x_935 = lean_ctor_get(x_929, 1); -lean_inc(x_935); -lean_dec(x_929); -x_936 = lean_expr_eqv(x_920, x_923); -lean_dec(x_920); -if (x_936 == 0) +lean_object* x_778; uint8_t x_779; +x_778 = lean_ctor_get(x_772, 1); +lean_inc(x_778); +lean_dec(x_772); +x_779 = lean_expr_eqv(x_758, x_760); +lean_dec(x_758); +if (x_779 == 0) { -lean_object* x_937; lean_object* x_938; -x_937 = l_Lean_Expr_updateFn(x_1, x_923); -lean_dec(x_923); -x_938 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_938, 0, x_937); -lean_ctor_set(x_938, 1, x_935); -return x_938; +lean_object* x_780; lean_object* x_781; +x_780 = l_Lean_Expr_updateFn(x_1, x_760); +lean_dec(x_760); +x_781 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_781, 0, x_780); +lean_ctor_set(x_781, 1, x_778); +return x_781; } else { -lean_object* x_939; -lean_dec(x_923); -x_939 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_939, 0, x_1); -lean_ctor_set(x_939, 1, x_935); -return x_939; +lean_object* x_782; +lean_dec(x_760); +x_782 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_782, 0, x_1); +lean_ctor_set(x_782, 1, x_778); +return x_782; } } } else { -lean_object* x_940; -x_940 = lean_ctor_get(x_930, 0); -lean_inc(x_940); -lean_dec(x_930); -switch (lean_obj_tag(x_940)) { +lean_object* x_783; +x_783 = lean_ctor_get(x_773, 0); +lean_inc(x_783); +lean_dec(x_773); +switch (lean_obj_tag(x_783)) { case 1: { -lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; uint8_t x_945; -lean_dec(x_928); -x_941 = lean_ctor_get(x_929, 1); -lean_inc(x_941); -lean_dec(x_929); -x_942 = l_Lean_ConstantInfo_name(x_940); -x_943 = l___private_Lean_Meta_WHNF_0__Lean_Meta_isAuxDefImp_x3f(x_942, x_2, x_3, x_4, x_5, x_941); -lean_dec(x_942); -x_944 = lean_ctor_get(x_943, 0); -lean_inc(x_944); -x_945 = lean_unbox(x_944); -lean_dec(x_944); -if (x_945 == 0) +lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; uint8_t x_788; +lean_dec(x_771); +x_784 = lean_ctor_get(x_772, 1); +lean_inc(x_784); +lean_dec(x_772); +x_785 = l_Lean_ConstantInfo_name(x_783); +x_786 = l___private_Lean_Meta_WHNF_0__Lean_Meta_isAuxDefImp_x3f(x_785, x_2, x_3, x_4, x_5, x_784); +lean_dec(x_785); +x_787 = lean_ctor_get(x_786, 0); +lean_inc(x_787); +x_788 = lean_unbox(x_787); +lean_dec(x_787); +if (x_788 == 0) { -uint8_t x_946; -lean_dec(x_940); -lean_dec(x_927); +uint8_t x_789; +lean_dec(x_783); +lean_dec(x_770); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_946 = !lean_is_exclusive(x_943); -if (x_946 == 0) +x_789 = !lean_is_exclusive(x_786); +if (x_789 == 0) { -lean_object* x_947; uint8_t x_948; -x_947 = lean_ctor_get(x_943, 0); -lean_dec(x_947); -x_948 = lean_expr_eqv(x_920, x_923); -lean_dec(x_920); -if (x_948 == 0) +lean_object* x_790; uint8_t x_791; +x_790 = lean_ctor_get(x_786, 0); +lean_dec(x_790); +x_791 = lean_expr_eqv(x_758, x_760); +lean_dec(x_758); +if (x_791 == 0) { -lean_object* x_949; -x_949 = l_Lean_Expr_updateFn(x_1, x_923); -lean_dec(x_923); -lean_ctor_set(x_943, 0, x_949); -return x_943; +lean_object* x_792; +x_792 = l_Lean_Expr_updateFn(x_1, x_760); +lean_dec(x_760); +lean_ctor_set(x_786, 0, x_792); +return x_786; } else { -lean_dec(x_923); -lean_ctor_set(x_943, 0, x_1); -return x_943; +lean_dec(x_760); +lean_ctor_set(x_786, 0, x_1); +return x_786; } } else { -lean_object* x_950; uint8_t x_951; -x_950 = lean_ctor_get(x_943, 1); -lean_inc(x_950); -lean_dec(x_943); -x_951 = lean_expr_eqv(x_920, x_923); -lean_dec(x_920); -if (x_951 == 0) +lean_object* x_793; uint8_t x_794; +x_793 = lean_ctor_get(x_786, 1); +lean_inc(x_793); +lean_dec(x_786); +x_794 = lean_expr_eqv(x_758, x_760); +lean_dec(x_758); +if (x_794 == 0) { -lean_object* x_952; lean_object* x_953; -x_952 = l_Lean_Expr_updateFn(x_1, x_923); -lean_dec(x_923); -x_953 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_953, 0, x_952); -lean_ctor_set(x_953, 1, x_950); -return x_953; +lean_object* x_795; lean_object* x_796; +x_795 = l_Lean_Expr_updateFn(x_1, x_760); +lean_dec(x_760); +x_796 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_796, 0, x_795); +lean_ctor_set(x_796, 1, x_793); +return x_796; } else { -lean_object* x_954; -lean_dec(x_923); -x_954 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_954, 0, x_1); -lean_ctor_set(x_954, 1, x_950); -return x_954; +lean_object* x_797; +lean_dec(x_760); +x_797 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_797, 0, x_1); +lean_ctor_set(x_797, 1, x_793); +return x_797; } } } else { -lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; -x_955 = lean_ctor_get(x_943, 1); -lean_inc(x_955); -lean_dec(x_943); -x_956 = lean_unsigned_to_nat(0u); -x_957 = l_Lean_Expr_getAppNumArgsAux(x_1, x_956); -x_958 = lean_mk_empty_array_with_capacity(x_957); -lean_dec(x_957); +lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; +x_798 = lean_ctor_get(x_786, 1); +lean_inc(x_798); +lean_dec(x_786); +x_799 = lean_unsigned_to_nat(0u); +x_800 = l_Lean_Expr_getAppNumArgsAux(x_1, x_799); +x_801 = lean_mk_empty_array_with_capacity(x_800); +lean_dec(x_800); lean_inc(x_1); -x_959 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_958); -x_960 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__1(x_1, x_920, x_923, x_940, x_927, x_959, x_2, x_3, x_4, x_5, x_955); -lean_dec(x_959); -lean_dec(x_927); -lean_dec(x_940); -lean_dec(x_923); -lean_dec(x_920); -return x_960; +x_802 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_801); +x_803 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__1(x_1, x_758, x_760, x_783, x_770, x_802, x_2, x_3, x_4, x_5, x_798); +lean_dec(x_802); +lean_dec(x_770); +lean_dec(x_783); +lean_dec(x_760); +lean_dec(x_758); +return x_803; } } case 4: { -lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; -lean_dec(x_923); -lean_dec(x_920); -x_961 = lean_ctor_get(x_929, 1); -lean_inc(x_961); -lean_dec(x_929); -x_962 = lean_ctor_get(x_940, 0); -lean_inc(x_962); -lean_dec(x_940); -x_963 = lean_unsigned_to_nat(0u); -x_964 = l_Lean_Expr_getAppNumArgsAux(x_1, x_963); -x_965 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_964); -x_966 = lean_mk_array(x_964, x_965); -x_967 = lean_unsigned_to_nat(1u); -x_968 = lean_nat_sub(x_964, x_967); -lean_dec(x_964); -x_969 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_966, x_968); -x_970 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; -x_971 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_962, x_927, x_969, x_928, x_970, x_2, x_3, x_4, x_5, x_961); -lean_dec(x_969); -lean_dec(x_927); -lean_dec(x_962); -return x_971; +lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; +lean_dec(x_760); +lean_dec(x_758); +x_804 = lean_ctor_get(x_772, 1); +lean_inc(x_804); +lean_dec(x_772); +x_805 = lean_ctor_get(x_783, 0); +lean_inc(x_805); +lean_dec(x_783); +x_806 = lean_unsigned_to_nat(0u); +x_807 = l_Lean_Expr_getAppNumArgsAux(x_1, x_806); +x_808 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_807); +x_809 = lean_mk_array(x_807, x_808); +x_810 = lean_unsigned_to_nat(1u); +x_811 = lean_nat_sub(x_807, x_810); +lean_dec(x_807); +x_812 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_809, x_811); +x_813 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; +x_814 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_805, x_770, x_812, x_771, x_813, x_2, x_3, x_4, x_5, x_804); +lean_dec(x_812); +lean_dec(x_770); +lean_dec(x_805); +return x_814; } case 7: { -lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; -lean_dec(x_923); -lean_dec(x_920); -x_972 = lean_ctor_get(x_929, 1); -lean_inc(x_972); -lean_dec(x_929); -x_973 = lean_ctor_get(x_940, 0); -lean_inc(x_973); -lean_dec(x_940); -x_974 = lean_unsigned_to_nat(0u); -x_975 = l_Lean_Expr_getAppNumArgsAux(x_1, x_974); -x_976 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_975); -x_977 = lean_mk_array(x_975, x_976); -x_978 = lean_unsigned_to_nat(1u); -x_979 = lean_nat_sub(x_975, x_978); -lean_dec(x_975); -x_980 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_977, x_979); -x_981 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; -x_982 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_973, x_927, x_980, x_928, x_981, x_2, x_3, x_4, x_5, x_972); -lean_dec(x_980); -lean_dec(x_927); -return x_982; +lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; +lean_dec(x_760); +lean_dec(x_758); +x_815 = lean_ctor_get(x_772, 1); +lean_inc(x_815); +lean_dec(x_772); +x_816 = lean_ctor_get(x_783, 0); +lean_inc(x_816); +lean_dec(x_783); +x_817 = lean_unsigned_to_nat(0u); +x_818 = l_Lean_Expr_getAppNumArgsAux(x_1, x_817); +x_819 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_818); +x_820 = lean_mk_array(x_818, x_819); +x_821 = lean_unsigned_to_nat(1u); +x_822 = lean_nat_sub(x_818, x_821); +lean_dec(x_818); +x_823 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_820, x_822); +x_824 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; +x_825 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_816, x_770, x_823, x_771, x_824, x_2, x_3, x_4, x_5, x_815); +lean_dec(x_823); +lean_dec(x_770); +return x_825; } default: { -uint8_t x_983; -lean_dec(x_940); -lean_dec(x_928); -lean_dec(x_927); +uint8_t x_826; +lean_dec(x_783); +lean_dec(x_771); +lean_dec(x_770); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_983 = !lean_is_exclusive(x_929); -if (x_983 == 0) +x_826 = !lean_is_exclusive(x_772); +if (x_826 == 0) { -lean_object* x_984; uint8_t x_985; -x_984 = lean_ctor_get(x_929, 0); -lean_dec(x_984); -x_985 = lean_expr_eqv(x_920, x_923); -lean_dec(x_920); -if (x_985 == 0) +lean_object* x_827; uint8_t x_828; +x_827 = lean_ctor_get(x_772, 0); +lean_dec(x_827); +x_828 = lean_expr_eqv(x_758, x_760); +lean_dec(x_758); +if (x_828 == 0) { -lean_object* x_986; -x_986 = l_Lean_Expr_updateFn(x_1, x_923); -lean_dec(x_923); -lean_ctor_set(x_929, 0, x_986); -return x_929; +lean_object* x_829; +x_829 = l_Lean_Expr_updateFn(x_1, x_760); +lean_dec(x_760); +lean_ctor_set(x_772, 0, x_829); +return x_772; } else { -lean_dec(x_923); -lean_ctor_set(x_929, 0, x_1); -return x_929; +lean_dec(x_760); +lean_ctor_set(x_772, 0, x_1); +return x_772; } } else { -lean_object* x_987; uint8_t x_988; -x_987 = lean_ctor_get(x_929, 1); -lean_inc(x_987); -lean_dec(x_929); -x_988 = lean_expr_eqv(x_920, x_923); -lean_dec(x_920); -if (x_988 == 0) +lean_object* x_830; uint8_t x_831; +x_830 = lean_ctor_get(x_772, 1); +lean_inc(x_830); +lean_dec(x_772); +x_831 = lean_expr_eqv(x_758, x_760); +lean_dec(x_758); +if (x_831 == 0) { -lean_object* x_989; lean_object* x_990; -x_989 = l_Lean_Expr_updateFn(x_1, x_923); -lean_dec(x_923); -x_990 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_990, 0, x_989); -lean_ctor_set(x_990, 1, x_987); -return x_990; +lean_object* x_832; lean_object* x_833; +x_832 = l_Lean_Expr_updateFn(x_1, x_760); +lean_dec(x_760); +x_833 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_833, 0, x_832); +lean_ctor_set(x_833, 1, x_830); +return x_833; } else { -lean_object* x_991; -lean_dec(x_923); -x_991 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_991, 0, x_1); -lean_ctor_set(x_991, 1, x_987); -return x_991; +lean_object* x_834; +lean_dec(x_760); +x_834 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_834, 0, x_1); +lean_ctor_set(x_834, 1, x_830); +return x_834; } } } @@ -11064,982 +11620,720 @@ return x_991; } else { -uint8_t x_992; -lean_dec(x_928); -lean_dec(x_927); -lean_dec(x_923); -lean_dec(x_920); +uint8_t x_835; +lean_dec(x_771); +lean_dec(x_770); +lean_dec(x_760); +lean_dec(x_758); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_992 = !lean_is_exclusive(x_929); -if (x_992 == 0) +x_835 = !lean_is_exclusive(x_772); +if (x_835 == 0) { -return x_929; +return x_772; } else { -lean_object* x_993; lean_object* x_994; lean_object* x_995; -x_993 = lean_ctor_get(x_929, 0); -x_994 = lean_ctor_get(x_929, 1); -lean_inc(x_994); -lean_inc(x_993); -lean_dec(x_929); -x_995 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_995, 0, x_993); -lean_ctor_set(x_995, 1, x_994); -return x_995; +lean_object* x_836; lean_object* x_837; lean_object* x_838; +x_836 = lean_ctor_get(x_772, 0); +x_837 = lean_ctor_get(x_772, 1); +lean_inc(x_837); +lean_inc(x_836); +lean_dec(x_772); +x_838 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_838, 0, x_836); +lean_ctor_set(x_838, 1, x_837); +return x_838; } } } else { -uint8_t x_996; +uint8_t x_839; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_996 = lean_expr_eqv(x_920, x_923); -lean_dec(x_920); -if (x_996 == 0) +x_839 = !lean_is_exclusive(x_763); +if (x_839 == 0) { -lean_object* x_997; -x_997 = l_Lean_Expr_updateFn(x_1, x_923); -lean_dec(x_923); -lean_ctor_set(x_921, 0, x_997); -return x_921; +lean_object* x_840; uint8_t x_841; +x_840 = lean_ctor_get(x_763, 0); +lean_dec(x_840); +x_841 = lean_expr_eqv(x_758, x_760); +lean_dec(x_758); +if (x_841 == 0) +{ +lean_object* x_842; +x_842 = l_Lean_Expr_updateFn(x_1, x_760); +lean_dec(x_760); +lean_ctor_set(x_763, 0, x_842); +return x_763; } else { -lean_dec(x_923); -lean_ctor_set(x_921, 0, x_1); -return x_921; +lean_dec(x_760); +lean_ctor_set(x_763, 0, x_1); +return x_763; +} +} +else +{ +lean_object* x_843; uint8_t x_844; +x_843 = lean_ctor_get(x_763, 1); +lean_inc(x_843); +lean_dec(x_763); +x_844 = lean_expr_eqv(x_758, x_760); +lean_dec(x_758); +if (x_844 == 0) +{ +lean_object* x_845; lean_object* x_846; +x_845 = l_Lean_Expr_updateFn(x_1, x_760); +lean_dec(x_760); +x_846 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_846, 0, x_845); +lean_ctor_set(x_846, 1, x_843); +return x_846; +} +else +{ +lean_object* x_847; +lean_dec(x_760); +x_847 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_847, 0, x_1); +lean_ctor_set(x_847, 1, x_843); +return x_847; +} +} +} +} +default: +{ +uint8_t x_848; +lean_dec(x_764); +lean_dec(x_760); +lean_dec(x_758); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_848 = !lean_is_exclusive(x_763); +if (x_848 == 0) +{ +lean_object* x_849; +x_849 = lean_ctor_get(x_763, 0); +lean_dec(x_849); +lean_ctor_set(x_763, 0, x_1); +return x_763; +} +else +{ +lean_object* x_850; lean_object* x_851; +x_850 = lean_ctor_get(x_763, 1); +lean_inc(x_850); +lean_dec(x_763); +x_851 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_851, 0, x_1); +lean_ctor_set(x_851, 1, x_850); +return x_851; +} } } } else { -lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; -lean_free_object(x_921); -lean_dec(x_920); -x_998 = lean_unsigned_to_nat(0u); -x_999 = l_Lean_Expr_getAppNumArgsAux(x_1, x_998); -x_1000 = lean_mk_empty_array_with_capacity(x_999); -lean_dec(x_999); -x_1001 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_1000); -x_1002 = l_Lean_Expr_betaRev(x_923, x_1001); -lean_dec(x_1001); -lean_dec(x_923); -x_1 = x_1002; -x_6 = x_924; +uint8_t x_852; +lean_dec(x_760); +lean_dec(x_758); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_852 = !lean_is_exclusive(x_763); +if (x_852 == 0) +{ +return x_763; +} +else +{ +lean_object* x_853; lean_object* x_854; lean_object* x_855; +x_853 = lean_ctor_get(x_763, 0); +x_854 = lean_ctor_get(x_763, 1); +lean_inc(x_854); +lean_inc(x_853); +lean_dec(x_763); +x_855 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_855, 0, x_853); +lean_ctor_set(x_855, 1, x_854); +return x_855; +} +} +} +else +{ +lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; +lean_dec(x_758); +x_856 = lean_unsigned_to_nat(0u); +x_857 = l_Lean_Expr_getAppNumArgsAux(x_1, x_856); +x_858 = lean_mk_empty_array_with_capacity(x_857); +lean_dec(x_857); +x_859 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_858); +x_860 = l_Lean_Expr_betaRev(x_760, x_859); +lean_dec(x_859); +lean_dec(x_760); +x_1 = x_860; +x_6 = x_761; goto _start; } } else { -lean_object* x_1004; lean_object* x_1005; uint8_t x_1006; -x_1004 = lean_ctor_get(x_921, 0); -x_1005 = lean_ctor_get(x_921, 1); -lean_inc(x_1005); -lean_inc(x_1004); -lean_dec(x_921); -x_1006 = l_Lean_Expr_isLambda(x_1004); -if (x_1006 == 0) -{ -if (lean_obj_tag(x_1004) == 4) -{ -lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; -x_1007 = lean_ctor_get(x_1004, 0); -lean_inc(x_1007); -x_1008 = lean_ctor_get(x_1004, 1); -lean_inc(x_1008); -lean_inc(x_1); -lean_inc(x_1004); -lean_inc(x_920); -x_1009 = lean_alloc_closure((void*)(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___lambda__1___boxed), 9, 3); -lean_closure_set(x_1009, 0, x_920); -lean_closure_set(x_1009, 1, x_1004); -lean_closure_set(x_1009, 2, x_1); -x_1010 = l_Lean_Meta_getConst_x3f(x_1007, x_2, x_3, x_4, x_5, x_1005); -if (lean_obj_tag(x_1010) == 0) -{ -lean_object* x_1011; -x_1011 = lean_ctor_get(x_1010, 0); -lean_inc(x_1011); -if (lean_obj_tag(x_1011) == 0) -{ -lean_object* x_1012; lean_object* x_1013; uint8_t x_1014; -lean_dec(x_1009); -lean_dec(x_1008); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1012 = lean_ctor_get(x_1010, 1); -lean_inc(x_1012); -if (lean_is_exclusive(x_1010)) { - lean_ctor_release(x_1010, 0); - lean_ctor_release(x_1010, 1); - x_1013 = x_1010; -} else { - lean_dec_ref(x_1010); - x_1013 = lean_box(0); -} -x_1014 = lean_expr_eqv(x_920, x_1004); -lean_dec(x_920); -if (x_1014 == 0) -{ -lean_object* x_1015; lean_object* x_1016; -x_1015 = l_Lean_Expr_updateFn(x_1, x_1004); -lean_dec(x_1004); -if (lean_is_scalar(x_1013)) { - x_1016 = lean_alloc_ctor(0, 2, 0); -} else { - x_1016 = x_1013; -} -lean_ctor_set(x_1016, 0, x_1015); -lean_ctor_set(x_1016, 1, x_1012); -return x_1016; -} -else -{ -lean_object* x_1017; -lean_dec(x_1004); -if (lean_is_scalar(x_1013)) { - x_1017 = lean_alloc_ctor(0, 2, 0); -} else { - x_1017 = x_1013; -} -lean_ctor_set(x_1017, 0, x_1); -lean_ctor_set(x_1017, 1, x_1012); -return x_1017; -} -} -else -{ -lean_object* x_1018; -x_1018 = lean_ctor_get(x_1011, 0); -lean_inc(x_1018); -lean_dec(x_1011); -switch (lean_obj_tag(x_1018)) { -case 1: -{ -lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; uint8_t x_1023; -lean_dec(x_1009); -x_1019 = lean_ctor_get(x_1010, 1); -lean_inc(x_1019); -lean_dec(x_1010); -x_1020 = l_Lean_ConstantInfo_name(x_1018); -x_1021 = l___private_Lean_Meta_WHNF_0__Lean_Meta_isAuxDefImp_x3f(x_1020, x_2, x_3, x_4, x_5, x_1019); -lean_dec(x_1020); -x_1022 = lean_ctor_get(x_1021, 0); -lean_inc(x_1022); -x_1023 = lean_unbox(x_1022); -lean_dec(x_1022); -if (x_1023 == 0) -{ -lean_object* x_1024; lean_object* x_1025; uint8_t x_1026; -lean_dec(x_1018); -lean_dec(x_1008); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1024 = lean_ctor_get(x_1021, 1); -lean_inc(x_1024); -if (lean_is_exclusive(x_1021)) { - lean_ctor_release(x_1021, 0); - lean_ctor_release(x_1021, 1); - x_1025 = x_1021; -} else { - lean_dec_ref(x_1021); - x_1025 = lean_box(0); -} -x_1026 = lean_expr_eqv(x_920, x_1004); -lean_dec(x_920); -if (x_1026 == 0) -{ -lean_object* x_1027; lean_object* x_1028; -x_1027 = l_Lean_Expr_updateFn(x_1, x_1004); -lean_dec(x_1004); -if (lean_is_scalar(x_1025)) { - x_1028 = lean_alloc_ctor(0, 2, 0); -} else { - x_1028 = x_1025; -} -lean_ctor_set(x_1028, 0, x_1027); -lean_ctor_set(x_1028, 1, x_1024); -return x_1028; -} -else -{ -lean_object* x_1029; -lean_dec(x_1004); -if (lean_is_scalar(x_1025)) { - x_1029 = lean_alloc_ctor(0, 2, 0); -} else { - x_1029 = x_1025; -} -lean_ctor_set(x_1029, 0, x_1); -lean_ctor_set(x_1029, 1, x_1024); -return x_1029; -} -} -else -{ -lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; -x_1030 = lean_ctor_get(x_1021, 1); -lean_inc(x_1030); -lean_dec(x_1021); -x_1031 = lean_unsigned_to_nat(0u); -x_1032 = l_Lean_Expr_getAppNumArgsAux(x_1, x_1031); -x_1033 = lean_mk_empty_array_with_capacity(x_1032); -lean_dec(x_1032); -lean_inc(x_1); -x_1034 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_1033); -x_1035 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__1(x_1, x_920, x_1004, x_1018, x_1008, x_1034, x_2, x_3, x_4, x_5, x_1030); -lean_dec(x_1034); -lean_dec(x_1008); -lean_dec(x_1018); -lean_dec(x_1004); -lean_dec(x_920); -return x_1035; -} -} -case 4: -{ -lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; -lean_dec(x_1004); -lean_dec(x_920); -x_1036 = lean_ctor_get(x_1010, 1); -lean_inc(x_1036); -lean_dec(x_1010); -x_1037 = lean_ctor_get(x_1018, 0); -lean_inc(x_1037); -lean_dec(x_1018); -x_1038 = lean_unsigned_to_nat(0u); -x_1039 = l_Lean_Expr_getAppNumArgsAux(x_1, x_1038); -x_1040 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_1039); -x_1041 = lean_mk_array(x_1039, x_1040); -x_1042 = lean_unsigned_to_nat(1u); -x_1043 = lean_nat_sub(x_1039, x_1042); -lean_dec(x_1039); -x_1044 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_1041, x_1043); -x_1045 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; -x_1046 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg(x_1037, x_1008, x_1044, x_1009, x_1045, x_2, x_3, x_4, x_5, x_1036); -lean_dec(x_1044); -lean_dec(x_1008); -lean_dec(x_1037); -return x_1046; -} -case 7: -{ -lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; -lean_dec(x_1004); -lean_dec(x_920); -x_1047 = lean_ctor_get(x_1010, 1); -lean_inc(x_1047); -lean_dec(x_1010); -x_1048 = lean_ctor_get(x_1018, 0); -lean_inc(x_1048); -lean_dec(x_1018); -x_1049 = lean_unsigned_to_nat(0u); -x_1050 = l_Lean_Expr_getAppNumArgsAux(x_1, x_1049); -x_1051 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_1050); -x_1052 = lean_mk_array(x_1050, x_1051); -x_1053 = lean_unsigned_to_nat(1u); -x_1054 = lean_nat_sub(x_1050, x_1053); -lean_dec(x_1050); -x_1055 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_1052, x_1054); -x_1056 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__3; -x_1057 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(x_1048, x_1008, x_1055, x_1009, x_1056, x_2, x_3, x_4, x_5, x_1047); -lean_dec(x_1055); -lean_dec(x_1008); -return x_1057; -} -default: -{ -lean_object* x_1058; lean_object* x_1059; uint8_t x_1060; -lean_dec(x_1018); -lean_dec(x_1009); -lean_dec(x_1008); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1058 = lean_ctor_get(x_1010, 1); -lean_inc(x_1058); -if (lean_is_exclusive(x_1010)) { - lean_ctor_release(x_1010, 0); - lean_ctor_release(x_1010, 1); - x_1059 = x_1010; -} else { - lean_dec_ref(x_1010); - x_1059 = lean_box(0); -} -x_1060 = lean_expr_eqv(x_920, x_1004); -lean_dec(x_920); -if (x_1060 == 0) -{ -lean_object* x_1061; lean_object* x_1062; -x_1061 = l_Lean_Expr_updateFn(x_1, x_1004); -lean_dec(x_1004); -if (lean_is_scalar(x_1059)) { - x_1062 = lean_alloc_ctor(0, 2, 0); -} else { - x_1062 = x_1059; -} -lean_ctor_set(x_1062, 0, x_1061); -lean_ctor_set(x_1062, 1, x_1058); -return x_1062; -} -else -{ -lean_object* x_1063; -lean_dec(x_1004); -if (lean_is_scalar(x_1059)) { - x_1063 = lean_alloc_ctor(0, 2, 0); -} else { - x_1063 = x_1059; -} -lean_ctor_set(x_1063, 0, x_1); -lean_ctor_set(x_1063, 1, x_1058); -return x_1063; -} -} -} -} -} -else -{ -lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; -lean_dec(x_1009); -lean_dec(x_1008); -lean_dec(x_1004); -lean_dec(x_920); +uint8_t x_862; +lean_dec(x_758); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1064 = lean_ctor_get(x_1010, 0); -lean_inc(x_1064); -x_1065 = lean_ctor_get(x_1010, 1); -lean_inc(x_1065); -if (lean_is_exclusive(x_1010)) { - lean_ctor_release(x_1010, 0); - lean_ctor_release(x_1010, 1); - x_1066 = x_1010; -} else { - lean_dec_ref(x_1010); - x_1066 = lean_box(0); -} -if (lean_is_scalar(x_1066)) { - x_1067 = lean_alloc_ctor(1, 2, 0); -} else { - x_1067 = x_1066; -} -lean_ctor_set(x_1067, 0, x_1064); -lean_ctor_set(x_1067, 1, x_1065); -return x_1067; -} +x_862 = !lean_is_exclusive(x_759); +if (x_862 == 0) +{ +return x_759; } else { -uint8_t x_1068; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1068 = lean_expr_eqv(x_920, x_1004); -lean_dec(x_920); -if (x_1068 == 0) -{ -lean_object* x_1069; lean_object* x_1070; -x_1069 = l_Lean_Expr_updateFn(x_1, x_1004); -lean_dec(x_1004); -x_1070 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1070, 0, x_1069); -lean_ctor_set(x_1070, 1, x_1005); -return x_1070; -} -else -{ -lean_object* x_1071; -lean_dec(x_1004); -x_1071 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1071, 0, x_1); -lean_ctor_set(x_1071, 1, x_1005); -return x_1071; -} -} -} -else -{ -lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; -lean_dec(x_920); -x_1072 = lean_unsigned_to_nat(0u); -x_1073 = l_Lean_Expr_getAppNumArgsAux(x_1, x_1072); -x_1074 = lean_mk_empty_array_with_capacity(x_1073); -lean_dec(x_1073); -x_1075 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_1074); -x_1076 = l_Lean_Expr_betaRev(x_1004, x_1075); -lean_dec(x_1075); -lean_dec(x_1004); -x_1 = x_1076; -x_6 = x_1005; -goto _start; -} -} -} -else -{ -uint8_t x_1078; -lean_dec(x_920); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_1078 = !lean_is_exclusive(x_921); -if (x_1078 == 0) -{ -return x_921; -} -else -{ -lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; -x_1079 = lean_ctor_get(x_921, 0); -x_1080 = lean_ctor_get(x_921, 1); -lean_inc(x_1080); -lean_inc(x_1079); -lean_dec(x_921); -x_1081 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1081, 0, x_1079); -lean_ctor_set(x_1081, 1, x_1080); -return x_1081; +lean_object* x_863; lean_object* x_864; lean_object* x_865; +x_863 = lean_ctor_get(x_759, 0); +x_864 = lean_ctor_get(x_759, 1); +lean_inc(x_864); +lean_inc(x_863); +lean_dec(x_759); +x_865 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_865, 0, x_863); +lean_ctor_set(x_865, 1, x_864); +return x_865; } } } case 8: { -lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; -x_1082 = lean_ctor_get(x_1, 2); -lean_inc(x_1082); -x_1083 = lean_ctor_get(x_1, 3); -lean_inc(x_1083); +lean_object* x_866; lean_object* x_867; lean_object* x_868; +x_866 = lean_ctor_get(x_1, 2); +lean_inc(x_866); +x_867 = lean_ctor_get(x_1, 3); +lean_inc(x_867); lean_dec(x_1); -x_1084 = lean_expr_instantiate1(x_1083, x_1082); -lean_dec(x_1082); -lean_dec(x_1083); -x_1 = x_1084; -x_6 = x_917; +x_868 = lean_expr_instantiate1(x_867, x_866); +lean_dec(x_866); +lean_dec(x_867); +x_1 = x_868; +x_6 = x_755; goto _start; } case 11: { -lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; -x_1086 = lean_ctor_get(x_1, 1); -lean_inc(x_1086); -x_1087 = lean_ctor_get(x_1, 2); -lean_inc(x_1087); +lean_object* x_870; lean_object* x_871; lean_object* x_872; +x_870 = lean_ctor_get(x_1, 1); +lean_inc(x_870); +x_871 = lean_ctor_get(x_1, 2); +lean_inc(x_871); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_1088 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_1087, x_2, x_3, x_4, x_5, x_917); -if (lean_obj_tag(x_1088) == 0) +x_872 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_871, x_2, x_3, x_4, x_5, x_755); +if (lean_obj_tag(x_872) == 0) { -uint8_t x_1089; -x_1089 = !lean_is_exclusive(x_1088); -if (x_1089 == 0) +uint8_t x_873; +x_873 = !lean_is_exclusive(x_872); +if (x_873 == 0) { -lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; -x_1090 = lean_ctor_get(x_1088, 0); -x_1091 = lean_ctor_get(x_1088, 1); -x_1092 = l_Lean_Expr_getAppFn(x_1090); -if (lean_obj_tag(x_1092) == 4) +lean_object* x_874; lean_object* x_875; lean_object* x_876; +x_874 = lean_ctor_get(x_872, 0); +x_875 = lean_ctor_get(x_872, 1); +x_876 = l_Lean_Expr_getAppFn(x_874); +if (lean_obj_tag(x_876) == 4) { -lean_object* x_1093; lean_object* x_1094; -lean_free_object(x_1088); -x_1093 = lean_ctor_get(x_1092, 0); -lean_inc(x_1093); -lean_dec(x_1092); -x_1094 = l_Lean_Meta_getConst_x3f(x_1093, x_2, x_3, x_4, x_5, x_1091); -if (lean_obj_tag(x_1094) == 0) +lean_object* x_877; lean_object* x_878; +lean_free_object(x_872); +x_877 = lean_ctor_get(x_876, 0); +lean_inc(x_877); +lean_dec(x_876); +x_878 = l_Lean_Meta_getConst_x3f(x_877, x_2, x_3, x_4, x_5, x_875); +if (lean_obj_tag(x_878) == 0) { -lean_object* x_1095; -x_1095 = lean_ctor_get(x_1094, 0); -lean_inc(x_1095); -if (lean_obj_tag(x_1095) == 0) +lean_object* x_879; +x_879 = lean_ctor_get(x_878, 0); +lean_inc(x_879); +if (lean_obj_tag(x_879) == 0) { -uint8_t x_1096; -lean_dec(x_1090); -lean_dec(x_1086); +uint8_t x_880; +lean_dec(x_874); +lean_dec(x_870); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1096 = !lean_is_exclusive(x_1094); -if (x_1096 == 0) +x_880 = !lean_is_exclusive(x_878); +if (x_880 == 0) { -lean_object* x_1097; -x_1097 = lean_ctor_get(x_1094, 0); -lean_dec(x_1097); -lean_ctor_set(x_1094, 0, x_1); -return x_1094; +lean_object* x_881; +x_881 = lean_ctor_get(x_878, 0); +lean_dec(x_881); +lean_ctor_set(x_878, 0, x_1); +return x_878; } else { -lean_object* x_1098; lean_object* x_1099; -x_1098 = lean_ctor_get(x_1094, 1); -lean_inc(x_1098); -lean_dec(x_1094); -x_1099 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1099, 0, x_1); -lean_ctor_set(x_1099, 1, x_1098); -return x_1099; +lean_object* x_882; lean_object* x_883; +x_882 = lean_ctor_get(x_878, 1); +lean_inc(x_882); +lean_dec(x_878); +x_883 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_883, 0, x_1); +lean_ctor_set(x_883, 1, x_882); +return x_883; } } else { -lean_object* x_1100; -x_1100 = lean_ctor_get(x_1095, 0); -lean_inc(x_1100); -lean_dec(x_1095); -if (lean_obj_tag(x_1100) == 6) +lean_object* x_884; +x_884 = lean_ctor_get(x_879, 0); +lean_inc(x_884); +lean_dec(x_879); +if (lean_obj_tag(x_884) == 6) { -uint8_t x_1101; -x_1101 = !lean_is_exclusive(x_1094); -if (x_1101 == 0) +uint8_t x_885; +x_885 = !lean_is_exclusive(x_878); +if (x_885 == 0) { -lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; uint8_t x_1109; -x_1102 = lean_ctor_get(x_1094, 1); -x_1103 = lean_ctor_get(x_1094, 0); -lean_dec(x_1103); -x_1104 = lean_ctor_get(x_1100, 0); -lean_inc(x_1104); -lean_dec(x_1100); -x_1105 = lean_ctor_get(x_1104, 3); -lean_inc(x_1105); -lean_dec(x_1104); -x_1106 = lean_nat_add(x_1105, x_1086); -lean_dec(x_1086); -lean_dec(x_1105); -x_1107 = lean_unsigned_to_nat(0u); -x_1108 = l_Lean_Expr_getAppNumArgsAux(x_1090, x_1107); -x_1109 = lean_nat_dec_lt(x_1106, x_1108); -if (x_1109 == 0) +lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; uint8_t x_893; +x_886 = lean_ctor_get(x_878, 1); +x_887 = lean_ctor_get(x_878, 0); +lean_dec(x_887); +x_888 = lean_ctor_get(x_884, 0); +lean_inc(x_888); +lean_dec(x_884); +x_889 = lean_ctor_get(x_888, 3); +lean_inc(x_889); +lean_dec(x_888); +x_890 = lean_nat_add(x_889, x_870); +lean_dec(x_870); +lean_dec(x_889); +x_891 = lean_unsigned_to_nat(0u); +x_892 = l_Lean_Expr_getAppNumArgsAux(x_874, x_891); +x_893 = lean_nat_dec_lt(x_890, x_892); +if (x_893 == 0) { -lean_dec(x_1108); -lean_dec(x_1106); -lean_dec(x_1090); +lean_dec(x_892); +lean_dec(x_890); +lean_dec(x_874); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_ctor_set(x_1094, 0, x_1); -return x_1094; +lean_ctor_set(x_878, 0, x_1); +return x_878; } else { -lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; -lean_free_object(x_1094); +lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; +lean_free_object(x_878); lean_dec(x_1); -x_1110 = lean_nat_sub(x_1108, x_1106); -lean_dec(x_1106); -lean_dec(x_1108); -x_1111 = lean_unsigned_to_nat(1u); -x_1112 = lean_nat_sub(x_1110, x_1111); -lean_dec(x_1110); -x_1113 = l_Lean_Expr_getRevArg_x21(x_1090, x_1112); -lean_dec(x_1090); -x_1 = x_1113; -x_6 = x_1102; +x_894 = lean_nat_sub(x_892, x_890); +lean_dec(x_890); +lean_dec(x_892); +x_895 = lean_unsigned_to_nat(1u); +x_896 = lean_nat_sub(x_894, x_895); +lean_dec(x_894); +x_897 = l_Lean_Expr_getRevArg_x21(x_874, x_896); +lean_dec(x_874); +x_1 = x_897; +x_6 = x_886; goto _start; } } else { -lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; uint8_t x_1121; -x_1115 = lean_ctor_get(x_1094, 1); -lean_inc(x_1115); -lean_dec(x_1094); -x_1116 = lean_ctor_get(x_1100, 0); -lean_inc(x_1116); -lean_dec(x_1100); -x_1117 = lean_ctor_get(x_1116, 3); -lean_inc(x_1117); -lean_dec(x_1116); -x_1118 = lean_nat_add(x_1117, x_1086); -lean_dec(x_1086); -lean_dec(x_1117); -x_1119 = lean_unsigned_to_nat(0u); -x_1120 = l_Lean_Expr_getAppNumArgsAux(x_1090, x_1119); -x_1121 = lean_nat_dec_lt(x_1118, x_1120); -if (x_1121 == 0) +lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; uint8_t x_905; +x_899 = lean_ctor_get(x_878, 1); +lean_inc(x_899); +lean_dec(x_878); +x_900 = lean_ctor_get(x_884, 0); +lean_inc(x_900); +lean_dec(x_884); +x_901 = lean_ctor_get(x_900, 3); +lean_inc(x_901); +lean_dec(x_900); +x_902 = lean_nat_add(x_901, x_870); +lean_dec(x_870); +lean_dec(x_901); +x_903 = lean_unsigned_to_nat(0u); +x_904 = l_Lean_Expr_getAppNumArgsAux(x_874, x_903); +x_905 = lean_nat_dec_lt(x_902, x_904); +if (x_905 == 0) { -lean_object* x_1122; -lean_dec(x_1120); -lean_dec(x_1118); -lean_dec(x_1090); +lean_object* x_906; +lean_dec(x_904); +lean_dec(x_902); +lean_dec(x_874); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1122 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1122, 0, x_1); -lean_ctor_set(x_1122, 1, x_1115); -return x_1122; +x_906 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_906, 0, x_1); +lean_ctor_set(x_906, 1, x_899); +return x_906; } else { -lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; +lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_dec(x_1); -x_1123 = lean_nat_sub(x_1120, x_1118); -lean_dec(x_1118); -lean_dec(x_1120); -x_1124 = lean_unsigned_to_nat(1u); -x_1125 = lean_nat_sub(x_1123, x_1124); -lean_dec(x_1123); -x_1126 = l_Lean_Expr_getRevArg_x21(x_1090, x_1125); -lean_dec(x_1090); -x_1 = x_1126; -x_6 = x_1115; +x_907 = lean_nat_sub(x_904, x_902); +lean_dec(x_902); +lean_dec(x_904); +x_908 = lean_unsigned_to_nat(1u); +x_909 = lean_nat_sub(x_907, x_908); +lean_dec(x_907); +x_910 = l_Lean_Expr_getRevArg_x21(x_874, x_909); +lean_dec(x_874); +x_1 = x_910; +x_6 = x_899; goto _start; } } } else { -uint8_t x_1128; -lean_dec(x_1100); -lean_dec(x_1090); -lean_dec(x_1086); +uint8_t x_912; +lean_dec(x_884); +lean_dec(x_874); +lean_dec(x_870); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1128 = !lean_is_exclusive(x_1094); -if (x_1128 == 0) +x_912 = !lean_is_exclusive(x_878); +if (x_912 == 0) { -lean_object* x_1129; -x_1129 = lean_ctor_get(x_1094, 0); -lean_dec(x_1129); -lean_ctor_set(x_1094, 0, x_1); -return x_1094; +lean_object* x_913; +x_913 = lean_ctor_get(x_878, 0); +lean_dec(x_913); +lean_ctor_set(x_878, 0, x_1); +return x_878; } else { -lean_object* x_1130; lean_object* x_1131; -x_1130 = lean_ctor_get(x_1094, 1); -lean_inc(x_1130); -lean_dec(x_1094); -x_1131 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1131, 0, x_1); -lean_ctor_set(x_1131, 1, x_1130); -return x_1131; +lean_object* x_914; lean_object* x_915; +x_914 = lean_ctor_get(x_878, 1); +lean_inc(x_914); +lean_dec(x_878); +x_915 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_915, 0, x_1); +lean_ctor_set(x_915, 1, x_914); +return x_915; } } } } else { -uint8_t x_1132; -lean_dec(x_1090); -lean_dec(x_1086); +uint8_t x_916; +lean_dec(x_874); +lean_dec(x_870); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1132 = !lean_is_exclusive(x_1094); -if (x_1132 == 0) +x_916 = !lean_is_exclusive(x_878); +if (x_916 == 0) { -return x_1094; +return x_878; } else { -lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; -x_1133 = lean_ctor_get(x_1094, 0); -x_1134 = lean_ctor_get(x_1094, 1); -lean_inc(x_1134); -lean_inc(x_1133); -lean_dec(x_1094); -x_1135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1135, 0, x_1133); -lean_ctor_set(x_1135, 1, x_1134); -return x_1135; +lean_object* x_917; lean_object* x_918; lean_object* x_919; +x_917 = lean_ctor_get(x_878, 0); +x_918 = lean_ctor_get(x_878, 1); +lean_inc(x_918); +lean_inc(x_917); +lean_dec(x_878); +x_919 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_919, 0, x_917); +lean_ctor_set(x_919, 1, x_918); +return x_919; } } } else { -lean_dec(x_1092); -lean_dec(x_1090); -lean_dec(x_1086); +lean_dec(x_876); +lean_dec(x_874); +lean_dec(x_870); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_ctor_set(x_1088, 0, x_1); -return x_1088; +lean_ctor_set(x_872, 0, x_1); +return x_872; } } else { -lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; -x_1136 = lean_ctor_get(x_1088, 0); -x_1137 = lean_ctor_get(x_1088, 1); -lean_inc(x_1137); -lean_inc(x_1136); -lean_dec(x_1088); -x_1138 = l_Lean_Expr_getAppFn(x_1136); -if (lean_obj_tag(x_1138) == 4) +lean_object* x_920; lean_object* x_921; lean_object* x_922; +x_920 = lean_ctor_get(x_872, 0); +x_921 = lean_ctor_get(x_872, 1); +lean_inc(x_921); +lean_inc(x_920); +lean_dec(x_872); +x_922 = l_Lean_Expr_getAppFn(x_920); +if (lean_obj_tag(x_922) == 4) { -lean_object* x_1139; lean_object* x_1140; -x_1139 = lean_ctor_get(x_1138, 0); -lean_inc(x_1139); -lean_dec(x_1138); -x_1140 = l_Lean_Meta_getConst_x3f(x_1139, x_2, x_3, x_4, x_5, x_1137); -if (lean_obj_tag(x_1140) == 0) +lean_object* x_923; lean_object* x_924; +x_923 = lean_ctor_get(x_922, 0); +lean_inc(x_923); +lean_dec(x_922); +x_924 = l_Lean_Meta_getConst_x3f(x_923, x_2, x_3, x_4, x_5, x_921); +if (lean_obj_tag(x_924) == 0) { -lean_object* x_1141; -x_1141 = lean_ctor_get(x_1140, 0); -lean_inc(x_1141); -if (lean_obj_tag(x_1141) == 0) +lean_object* x_925; +x_925 = lean_ctor_get(x_924, 0); +lean_inc(x_925); +if (lean_obj_tag(x_925) == 0) { -lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; -lean_dec(x_1136); -lean_dec(x_1086); +lean_object* x_926; lean_object* x_927; lean_object* x_928; +lean_dec(x_920); +lean_dec(x_870); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1142 = lean_ctor_get(x_1140, 1); -lean_inc(x_1142); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1143 = x_1140; +x_926 = lean_ctor_get(x_924, 1); +lean_inc(x_926); +if (lean_is_exclusive(x_924)) { + lean_ctor_release(x_924, 0); + lean_ctor_release(x_924, 1); + x_927 = x_924; } else { - lean_dec_ref(x_1140); - x_1143 = lean_box(0); + lean_dec_ref(x_924); + x_927 = lean_box(0); } -if (lean_is_scalar(x_1143)) { - x_1144 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_927)) { + x_928 = lean_alloc_ctor(0, 2, 0); } else { - x_1144 = x_1143; + x_928 = x_927; } -lean_ctor_set(x_1144, 0, x_1); -lean_ctor_set(x_1144, 1, x_1142); -return x_1144; +lean_ctor_set(x_928, 0, x_1); +lean_ctor_set(x_928, 1, x_926); +return x_928; } else { -lean_object* x_1145; -x_1145 = lean_ctor_get(x_1141, 0); -lean_inc(x_1145); -lean_dec(x_1141); -if (lean_obj_tag(x_1145) == 6) +lean_object* x_929; +x_929 = lean_ctor_get(x_925, 0); +lean_inc(x_929); +lean_dec(x_925); +if (lean_obj_tag(x_929) == 6) { -lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; uint8_t x_1153; -x_1146 = lean_ctor_get(x_1140, 1); -lean_inc(x_1146); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1147 = x_1140; +lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; uint8_t x_937; +x_930 = lean_ctor_get(x_924, 1); +lean_inc(x_930); +if (lean_is_exclusive(x_924)) { + lean_ctor_release(x_924, 0); + lean_ctor_release(x_924, 1); + x_931 = x_924; } else { - lean_dec_ref(x_1140); - x_1147 = lean_box(0); + lean_dec_ref(x_924); + x_931 = lean_box(0); } -x_1148 = lean_ctor_get(x_1145, 0); -lean_inc(x_1148); -lean_dec(x_1145); -x_1149 = lean_ctor_get(x_1148, 3); -lean_inc(x_1149); -lean_dec(x_1148); -x_1150 = lean_nat_add(x_1149, x_1086); -lean_dec(x_1086); -lean_dec(x_1149); -x_1151 = lean_unsigned_to_nat(0u); -x_1152 = l_Lean_Expr_getAppNumArgsAux(x_1136, x_1151); -x_1153 = lean_nat_dec_lt(x_1150, x_1152); -if (x_1153 == 0) +x_932 = lean_ctor_get(x_929, 0); +lean_inc(x_932); +lean_dec(x_929); +x_933 = lean_ctor_get(x_932, 3); +lean_inc(x_933); +lean_dec(x_932); +x_934 = lean_nat_add(x_933, x_870); +lean_dec(x_870); +lean_dec(x_933); +x_935 = lean_unsigned_to_nat(0u); +x_936 = l_Lean_Expr_getAppNumArgsAux(x_920, x_935); +x_937 = lean_nat_dec_lt(x_934, x_936); +if (x_937 == 0) { -lean_object* x_1154; -lean_dec(x_1152); -lean_dec(x_1150); -lean_dec(x_1136); +lean_object* x_938; +lean_dec(x_936); +lean_dec(x_934); +lean_dec(x_920); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -if (lean_is_scalar(x_1147)) { - x_1154 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_931)) { + x_938 = lean_alloc_ctor(0, 2, 0); } else { - x_1154 = x_1147; + x_938 = x_931; } -lean_ctor_set(x_1154, 0, x_1); -lean_ctor_set(x_1154, 1, x_1146); -return x_1154; +lean_ctor_set(x_938, 0, x_1); +lean_ctor_set(x_938, 1, x_930); +return x_938; } else { -lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; -lean_dec(x_1147); +lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; +lean_dec(x_931); lean_dec(x_1); -x_1155 = lean_nat_sub(x_1152, x_1150); -lean_dec(x_1150); -lean_dec(x_1152); -x_1156 = lean_unsigned_to_nat(1u); -x_1157 = lean_nat_sub(x_1155, x_1156); -lean_dec(x_1155); -x_1158 = l_Lean_Expr_getRevArg_x21(x_1136, x_1157); -lean_dec(x_1136); -x_1 = x_1158; -x_6 = x_1146; +x_939 = lean_nat_sub(x_936, x_934); +lean_dec(x_934); +lean_dec(x_936); +x_940 = lean_unsigned_to_nat(1u); +x_941 = lean_nat_sub(x_939, x_940); +lean_dec(x_939); +x_942 = l_Lean_Expr_getRevArg_x21(x_920, x_941); +lean_dec(x_920); +x_1 = x_942; +x_6 = x_930; goto _start; } } else { -lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; -lean_dec(x_1145); -lean_dec(x_1136); -lean_dec(x_1086); +lean_object* x_944; lean_object* x_945; lean_object* x_946; +lean_dec(x_929); +lean_dec(x_920); +lean_dec(x_870); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1160 = lean_ctor_get(x_1140, 1); -lean_inc(x_1160); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1161 = x_1140; +x_944 = lean_ctor_get(x_924, 1); +lean_inc(x_944); +if (lean_is_exclusive(x_924)) { + lean_ctor_release(x_924, 0); + lean_ctor_release(x_924, 1); + x_945 = x_924; } else { - lean_dec_ref(x_1140); - x_1161 = lean_box(0); + lean_dec_ref(x_924); + x_945 = lean_box(0); } -if (lean_is_scalar(x_1161)) { - x_1162 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_945)) { + x_946 = lean_alloc_ctor(0, 2, 0); } else { - x_1162 = x_1161; + x_946 = x_945; } -lean_ctor_set(x_1162, 0, x_1); -lean_ctor_set(x_1162, 1, x_1160); -return x_1162; +lean_ctor_set(x_946, 0, x_1); +lean_ctor_set(x_946, 1, x_944); +return x_946; } } } else { -lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; -lean_dec(x_1136); -lean_dec(x_1086); +lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; +lean_dec(x_920); +lean_dec(x_870); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1163 = lean_ctor_get(x_1140, 0); -lean_inc(x_1163); -x_1164 = lean_ctor_get(x_1140, 1); -lean_inc(x_1164); -if (lean_is_exclusive(x_1140)) { - lean_ctor_release(x_1140, 0); - lean_ctor_release(x_1140, 1); - x_1165 = x_1140; +x_947 = lean_ctor_get(x_924, 0); +lean_inc(x_947); +x_948 = lean_ctor_get(x_924, 1); +lean_inc(x_948); +if (lean_is_exclusive(x_924)) { + lean_ctor_release(x_924, 0); + lean_ctor_release(x_924, 1); + x_949 = x_924; } else { - lean_dec_ref(x_1140); - x_1165 = lean_box(0); + lean_dec_ref(x_924); + x_949 = lean_box(0); } -if (lean_is_scalar(x_1165)) { - x_1166 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_949)) { + x_950 = lean_alloc_ctor(1, 2, 0); } else { - x_1166 = x_1165; + x_950 = x_949; } -lean_ctor_set(x_1166, 0, x_1163); -lean_ctor_set(x_1166, 1, x_1164); -return x_1166; +lean_ctor_set(x_950, 0, x_947); +lean_ctor_set(x_950, 1, x_948); +return x_950; } } else { -lean_object* x_1167; -lean_dec(x_1138); -lean_dec(x_1136); -lean_dec(x_1086); +lean_object* x_951; +lean_dec(x_922); +lean_dec(x_920); +lean_dec(x_870); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1167 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1167, 0, x_1); -lean_ctor_set(x_1167, 1, x_1137); -return x_1167; +x_951 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_951, 0, x_1); +lean_ctor_set(x_951, 1, x_921); +return x_951; } } } else { -uint8_t x_1168; -lean_dec(x_1086); +uint8_t x_952; +lean_dec(x_870); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1168 = !lean_is_exclusive(x_1088); -if (x_1168 == 0) +x_952 = !lean_is_exclusive(x_872); +if (x_952 == 0) { -return x_1088; +return x_872; } else { -lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; -x_1169 = lean_ctor_get(x_1088, 0); -x_1170 = lean_ctor_get(x_1088, 1); -lean_inc(x_1170); -lean_inc(x_1169); -lean_dec(x_1088); -x_1171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1171, 0, x_1169); -lean_ctor_set(x_1171, 1, x_1170); -return x_1171; +lean_object* x_953; lean_object* x_954; lean_object* x_955; +x_953 = lean_ctor_get(x_872, 0); +x_954 = lean_ctor_get(x_872, 1); +lean_inc(x_954); +lean_inc(x_953); +lean_dec(x_872); +x_955 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_955, 0, x_953); +lean_ctor_set(x_955, 1, x_954); +return x_955; } } } default: { -lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; +lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_dec(x_1); -x_1172 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_1173 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__2; -x_1174 = lean_panic_fn(x_1172, x_1173); -x_1175 = lean_apply_5(x_1174, x_2, x_3, x_4, x_5, x_917); -return x_1175; +x_956 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_957 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCoreImp___spec__2___closed__2; +x_958 = lean_panic_fn(x_956, x_957); +x_959 = lean_apply_5(x_958, x_2, x_3, x_4, x_5, x_755); +return x_959; } } } } default: { -lean_object* x_1192; +lean_object* x_976; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1192 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1192, 0, x_1); -lean_ctor_set(x_1192, 1, x_6); -return x_1192; +x_976 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_976, 0, x_1); +lean_ctor_set(x_976, 1, x_6); +return x_976; } } } @@ -19225,7 +19519,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__2; x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___closed__1; -x_3 = lean_unsigned_to_nat(411u); +x_3 = lean_unsigned_to_nat(449u); x_4 = lean_unsigned_to_nat(34u); 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); @@ -19436,7 +19730,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__2; x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___closed__1; -x_3 = lean_unsigned_to_nat(421u); +x_3 = lean_unsigned_to_nat(459u); x_4 = lean_unsigned_to_nat(34u); 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); @@ -24207,7 +24501,7 @@ lean_dec(x_1); return x_8; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_4377_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_4766_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -24221,6 +24515,7 @@ lean_object* initialize_Lean_ToExpr(lean_object*); lean_object* initialize_Lean_AuxRecursor(lean_object*); lean_object* initialize_Lean_Meta_Basic(lean_object*); lean_object* initialize_Lean_Meta_LevelDefEq(lean_object*); +lean_object* initialize_Lean_Meta_Match_MatcherInfo(lean_object*); static bool _G_initialized = false; lean_object* initialize_Lean_Meta_WHNF(lean_object* w) { lean_object * res; @@ -24241,6 +24536,9 @@ lean_dec_ref(res); res = initialize_Lean_Meta_LevelDefEq(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Meta_Match_MatcherInfo(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Meta_smartUnfoldingSuffix___closed__1 = _init_l_Lean_Meta_smartUnfoldingSuffix___closed__1(); lean_mark_persistent(l_Lean_Meta_smartUnfoldingSuffix___closed__1); l_Lean_Meta_smartUnfoldingSuffix = _init_l_Lean_Meta_smartUnfoldingSuffix(); @@ -24360,7 +24658,7 @@ lean_mark_persistent(l_Lean_Meta_setWHNFRef___closed__1); res = l_Lean_Meta_setWHNFRef(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_WHNF___hyg_4377_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_4766_(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/Basic.c b/stage0/stdlib/Lean/Parser/Basic.c index 8071ebf21e..9b28070354 100644 --- a/stage0/stdlib/Lean/Parser/Basic.c +++ b/stage0/stdlib/Lean/Parser/Basic.c @@ -438,7 +438,6 @@ lean_object* l_Lean_Parser_strLitFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__12; lean_object* l_Lean_Parser_ParserState_mkErrorAt_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_charLit___closed__3; -extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; lean_object* l_Lean_Parser_FirstTokens_seq_match__1(lean_object*); lean_object* l_Lean_Parser_ParserContext_savedPos_x3f___default; size_t l_Lean_Name_hash(lean_object*); @@ -737,6 +736,7 @@ lean_object* l_Array_qsort_sort___at_Lean_Parser_Error_toString___spec__1(lean_o lean_object* l_Std_RBNode_ins___at_Lean_Parser_TokenMap_insert___spec__6___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Lean_Parser_Basic___instance__6___rarg___boxed(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9; lean_object* l_Lean_Parser_epsilonInfo___closed__2; lean_object* l_Lean_Parser_rawCh___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_numberFnAux___closed__1; @@ -26814,7 +26814,7 @@ static lean_object* _init_l_Lean_Parser_mkAntiquot___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; x_2 = l_String_trim(x_1); return x_2; } diff --git a/stage0/stdlib/Lean/Parser/Extra.c b/stage0/stdlib/Lean/Parser/Extra.c index 4513c7cd84..c30667a9f8 100644 --- a/stage0/stdlib/Lean/Parser/Extra.c +++ b/stage0/stdlib/Lean/Parser/Extra.c @@ -146,7 +146,6 @@ lean_object* l_Lean_PrettyPrinter_Formatter_toggleInsideQuot_formatter(lean_obje lean_object* l_Lean_PrettyPrinter_Formatter_node_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__6; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__16; -extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; lean_object* l_Lean_Parser_manyIndent(lean_object*); lean_object* l_Lean_Parser_antiquotNestedExpr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ppSpace; @@ -255,6 +254,7 @@ lean_object* l_Lean_Parser_ident_parenthesizer(lean_object*, lean_object*, lean_ extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_checkNoImmediateColon_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_196____closed__30; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9; extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2392____closed__32; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_Lean_Parser_numLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -684,7 +684,7 @@ static lean_object* _init_l_Lean_Parser_mkAntiquot_formatter___closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; diff --git a/stage0/stdlib/Lean/Parser/Level.c b/stage0/stdlib/Lean/Parser/Level.c index e0cfdf502f..0c3cac88e6 100644 --- a/stage0/stdlib/Lean/Parser/Level.c +++ b/stage0/stdlib/Lean/Parser/Level.c @@ -52,6 +52,7 @@ extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1841 lean_object* l_Lean_Parser_Level_imax___closed__7; lean_object* l_Lean_Parser_nonReservedSymbolFn(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Level_max(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14; lean_object* l_Lean_Parser_Level_max___elambda__1___closed__1; lean_object* l_Lean_Parser_Level_hole_formatter___closed__1; lean_object* l_Lean_Parser_Level_ident_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -107,7 +108,6 @@ lean_object* l_Lean_Parser_Level_addLit_formatter___closed__1; lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__1; lean_object* l_Lean_Parser_Level_ident___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Level_paren(lean_object*); -extern lean_object* l_Lean_Name_appendIndexAfter___closed__1; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Level___hyg_4____closed__1; lean_object* l___regBuiltin_Lean_Parser_Level_num_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Level_paren_formatter___closed__1; @@ -196,11 +196,11 @@ lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__10; lean_object* l___regBuiltin_Lean_Parser_Level_ident_formatter___closed__1; lean_object* l_Lean_Parser_Level_paren_parenthesizer___closed__5; lean_object* l_Lean_Parser_symbolInfo(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__12; lean_object* l_Lean_Parser_orelseFnCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_epsilonInfo; lean_object* l_Lean_Parser_Level_max___elambda__1___closed__10; lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__6; -extern lean_object* l_Lean_mkHole___closed__1; lean_object* l_Lean_Parser_categoryParser___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Level_addLit(lean_object*); @@ -1520,7 +1520,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1___closed__2; -x_2 = l_Lean_mkHole___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1539,7 +1539,7 @@ static lean_object* _init_l_Lean_Parser_Level_hole___elambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_mkHole___closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_2 = l_Lean_Parser_Level_hole___elambda__1___closed__2; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -1550,7 +1550,7 @@ static lean_object* _init_l_Lean_Parser_Level_hole___elambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Name_appendIndexAfter___closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14; x_2 = l_String_trim(x_1); return x_2; } @@ -1688,7 +1688,7 @@ static lean_object* _init_l_Lean_Parser_Level_hole_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_mkHole___closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_2 = l_Lean_Parser_Level_hole___elambda__1___closed__2; x_3 = 1; x_4 = lean_box(x_3); @@ -1703,7 +1703,7 @@ static lean_object* _init_l_Lean_Parser_Level_hole_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Name_appendIndexAfter___closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index fecbfb3e8b..159cbca272 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -104,6 +104,7 @@ lean_object* l_Lean_Parser_Term_proj_parenthesizer(lean_object*, lean_object*, l lean_object* l_Lean_Parser_Term_letrec_formatter___closed__9; lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_explicit_formatter(lean_object*); +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__5; lean_object* l_Lean_Parser_Term_cdot___closed__2; lean_object* l_Lean_Parser_Term_char___closed__2; lean_object* l_Lean_Parser_Term_suffices___closed__1; @@ -223,11 +224,11 @@ lean_object* l_Lean_Parser_Term_fun___closed__7; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_496____closed__6; lean_object* l_Lean_Parser_Term_parser_x21___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_match__syntax_parenthesizer___closed__2; -extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__3; lean_object* l_Lean_Parser_Term_syntheticHole_formatter___closed__3; lean_object* l_Lean_Parser_Term_arrow___closed__5; lean_object* l_Lean_Parser_Term_inaccessible___closed__1; lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__11; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8; 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_not___closed__6; @@ -615,6 +616,7 @@ lean_object* l_Lean_Parser_Term_letPatDecl___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_attributes_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__4; lean_object* l_Lean_Parser_Term_letRecDecls; lean_object* l_Lean_Parser_Term_quotedName___closed__5; lean_object* l_Lean_Parser_Term_attributes___closed__7; @@ -669,11 +671,11 @@ lean_object* l_Lean_Parser_Term_letRecDecls_formatter___closed__2; lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_fun_formatter___closed__6; lean_object* l_Lean_Parser_Term_match___elambda__1___closed__11; +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; lean_object* l_Lean_Parser_Term_dollar_formatter___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_ctorName___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_dollarProj_formatter___closed__1; -extern lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__9; lean_object* l___regBuiltinParser_Lean_Parser_Term_let_x21(lean_object*); lean_object* l_Lean_Parser_Term_let___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_suffices_parenthesizer___closed__2; @@ -699,7 +701,6 @@ lean_object* l_Lean_Parser_Level_quot_formatter___closed__1; lean_object* l_Lean_Parser_Term_syntheticHole___closed__7; lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__7; extern lean_object* l_Lean_Parser_leadPrec___closed__1; -extern lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__8; lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__8; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_dbgTrace___closed__6; @@ -950,6 +951,7 @@ lean_object* l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_basicFun_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_inaccessible; lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__4; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__7; extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1841____closed__15; lean_object* l_Lean_Parser_Term_structInst_formatter___closed__8; lean_object* l___regBuiltin_Lean_Parser_Term_type_formatter(lean_object*); @@ -1067,7 +1069,6 @@ lean_object* l_Lean_Parser_Term_letPatDecl___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_namedPattern_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_ellipsis___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_binderType___elambda__1(lean_object*, lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__10; lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_hole_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__5; @@ -1102,6 +1103,7 @@ lean_object* l_Lean_Parser_Term_hole___closed__4; lean_object* l_Lean_Parser_Term_structInstLVal___closed__3; lean_object* l_Lean_Parser_Term_fun___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_dollar_parenthesizer(lean_object*); +extern lean_object* l_myMacro____x40_Init_Tactics___hyg_508____closed__5; lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__6; extern lean_object* l_Lean_Parser_numLit___closed__2; lean_object* l_Lean_Parser_Tactic_quotSeq_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1536,6 +1538,7 @@ lean_object* l_Lean_Parser_Term_cdot_formatter___closed__2; lean_object* l_Lean_Parser_Term_typeSpec_formatter___closed__2; lean_object* l_Lean_Parser_Term_depArrow___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Term_let_x2a(lean_object*); lean_object* l_Lean_Parser_Term_panic___closed__4; lean_object* l_Lean_Parser_Term_have_formatter___closed__5; @@ -1892,7 +1895,6 @@ lean_object* l_Lean_Parser_Term_sorry_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_matchAlts_formatter___closed__2; lean_object* l_Lean_Parser_Term_nativeDecide___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_explicitUniv___closed__4; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__11; lean_object* l_Lean_Parser_Term_hole_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_nomatch_formatter___closed__2; lean_object* l_Lean_Parser_Term_optExprPrecedence___closed__3; @@ -1972,6 +1974,7 @@ lean_object* l_Lean_Parser_Term_hole___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_letPatDecl_formatter___closed__3; lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__3; lean_object* l_Lean_Parser_Term_namedArgument___closed__2; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_7200____closed__12; lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_letEqnsDecl; lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___closed__1; @@ -2400,7 +2403,6 @@ lean_object* l_Lean_Parser_Term_depArrow_formatter___closed__3; lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_binderDefault___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_nomatch___closed__2; -extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; lean_object* l_Lean_Parser_Term_haveDecl___closed__1; lean_object* l_Lean_Parser_Term_bracketedBinder_parenthesizer(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_emptyC_formatter___closed__3; @@ -2421,7 +2423,6 @@ lean_object* l_Lean_Parser_Term_let_x2a___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_binderType___boxed(lean_object*); lean_object* l_Lean_Parser_Term_funImplicitBinder___closed__4; lean_object* l_Lean_Parser_Term_letDecl_formatter___closed__3; -lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__25; lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_char_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_paren_formatter___closed__1; @@ -2433,6 +2434,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_match__syntax(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4____closed__3; lean_object* l_Lean_Parser_Term_sort___closed__6; lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__7; +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__6; lean_object* l_Lean_Parser_Term_simpleBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_decide_formatter___closed__2; @@ -2638,6 +2640,7 @@ lean_object* l_Lean_Parser_symbolInfo(lean_object*); lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_optIdent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_explicit_formatter___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__12; lean_object* l_Lean_Parser_Term_match___closed__9; lean_object* l_Lean_Parser_Term_tupleTail___closed__5; lean_object* l_Lean_Parser_charLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2716,7 +2719,6 @@ lean_object* l_Lean_Parser_Term_matchAlts_formatter___closed__9; lean_object* l_Lean_Parser_Term_letIdDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Tactic_quotSeq(lean_object*); lean_object* l_Lean_Parser_Term_attributes_parenthesizer___closed__2; -extern lean_object* l_Lean_mkHole___closed__1; lean_object* l_Lean_Parser_Term_basicFun___closed__3; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__11; lean_object* l_Lean_Parser_Term_forall___closed__4; @@ -3024,7 +3026,6 @@ lean_object* l_Lean_Parser_Term_sort_parenthesizer(lean_object*, lean_object*, l lean_object* l_Lean_Parser_Term_attrInstance_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_basicFun_formatter___closed__2; lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer___closed__2; -extern lean_object* l_Lean_mkHole___closed__2; lean_object* l_Lean_Parser_Term_parenSpecial___elambda__1___closed__1; extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2048____closed__3; lean_object* l_Lean_Parser_Term_type___closed__5; @@ -3052,7 +3053,6 @@ lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_have___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_fun_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_optExprPrecedence_parenthesizer___closed__2; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__9; lean_object* l_Lean_Parser_Term_structInstField_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__5; @@ -3178,7 +3178,6 @@ lean_object* l_Lean_Parser_Term_depArrow___elambda__1(lean_object*, lean_object* lean_object* l_Lean_Parser_Term_app___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer___closed__5; lean_object* l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_letrec___closed__6; lean_object* l_Lean_Parser_Term_simpleBinderWithoutType___closed__1; @@ -3206,6 +3205,7 @@ lean_object* l_Lean_Parser_Term_type___closed__4; lean_object* l_Lean_Parser_Term_fun_formatter___closed__2; lean_object* l_Lean_Parser_Term_optSemicolon_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_paren___elambda__1(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__13; lean_object* l_Lean_Parser_Tactic_tacticSeq___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_6360____closed__10; lean_object* l_Lean_Parser_Term_namedArgument_parenthesizer___closed__3; @@ -4505,7 +4505,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1__ _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_2 = l_String_trim(x_1); return x_2; } @@ -5310,7 +5310,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___cl _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -7672,7 +7672,7 @@ static lean_object* _init_l_Lean_Parser_Term_hole___elambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkHole___closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -7682,7 +7682,7 @@ static lean_object* _init_l_Lean_Parser_Term_hole___elambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_mkHole___closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_2 = l_Lean_Parser_Term_hole___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -7693,7 +7693,7 @@ static lean_object* _init_l_Lean_Parser_Term_hole___elambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_mkHole___closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_2 = l_Lean_Parser_Level_hole___elambda__1___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -7730,7 +7730,7 @@ static lean_object* _init_l_Lean_Parser_Term_hole___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_mkHole___closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_2 = l_Lean_Parser_Level_hole___closed__1; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -7791,7 +7791,7 @@ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_2 = l___kind_term____x40_Init_Notation___hyg_3____closed__16; -x_3 = l_Lean_mkHole___closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_4 = 1; x_5 = l_Lean_Parser_Term_hole; x_6 = lean_unsigned_to_nat(0u); @@ -7803,7 +7803,7 @@ static lean_object* _init_l_Lean_Parser_Term_hole_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_mkHole___closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__12; x_2 = l_Lean_Parser_Term_hole___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -7818,7 +7818,7 @@ static lean_object* _init_l_Lean_Parser_Term_hole_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_mkHole___closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Level_hole_formatter___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -7851,7 +7851,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_formatterAttribute; -x_3 = l_Lean_mkHole___closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_4 = l___regBuiltin_Lean_Parser_Term_hole_formatter___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -7874,7 +7874,7 @@ static lean_object* _init_l_Lean_Parser_Term_hole_parenthesizer___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_mkHole___closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -7907,7 +7907,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute; -x_3 = l_Lean_mkHole___closed__2; +x_3 = l_myMacro____x40_Init_Notation___hyg_7262____closed__13; x_4 = l___regBuiltin_Lean_Parser_Term_hole_parenthesizer___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -9306,7 +9306,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeAscription___elambda__1___close _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -9316,7 +9316,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeAscription___elambda__1___close _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__3; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__7; x_2 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -9358,7 +9358,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeAscription___elambda__1___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_2 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -9416,7 +9416,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeAscription___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_2 = l_Lean_Parser_Term_typeAscription___closed__2; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -10151,7 +10151,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeAscription_formatter___closed__ _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__3; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__7; x_2 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -10188,7 +10188,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeAscription_formatter___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_typeAscription_formatter___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -10477,7 +10477,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeAscription_parenthesizer___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_typeAscription_parenthesizer___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -11436,7 +11436,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__1 _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__9; +x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -11446,7 +11446,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__2 _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__8; +x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__4; x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -11488,7 +11488,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__6 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__9; +x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5; x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -11546,7 +11546,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__9; +x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5; x_2 = l_Lean_Parser_Term_haveAssign___closed__2; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -12156,7 +12156,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_formatter___closed__1() _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__8; +x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__4; x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -12193,7 +12193,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_formatter___closed__4() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__9; +x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_haveAssign_formatter___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -12528,7 +12528,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_parenthesizer___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__9; +x_1 = l_myMacro____x40_Init_Tactics___hyg_508____closed__5; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_typeAscription_parenthesizer___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -14639,9 +14639,10 @@ return x_2; static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__15() { _start: { -lean_object* x_1; -x_1 = lean_mk_string(" }"); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l___kind_term____x40_Init_Notation___hyg_7200____closed__12; +x_2 = l_String_trim(x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__16() { @@ -14649,25 +14650,28 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__15; -x_2 = l_String_trim(x_1); +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_structInst___elambda__1___closed__17() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__16; -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; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__14; +x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__16; +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_structInst___elambda__1___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__14; +x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__12; x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__17; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -14679,7 +14683,7 @@ static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__1 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__12; +x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__9; x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__18; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -14691,7 +14695,7 @@ static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__2 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__9; +x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__8; x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__19; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -14703,7 +14707,7 @@ static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__2 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__8; +x_1 = l_Lean_Parser_Lean_Parser_Basic___instance__8___closed__2; x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__20; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -14715,7 +14719,7 @@ static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__2 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Lean_Parser_Basic___instance__8___closed__2; +x_1 = l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__6; x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__21; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -14727,9 +14731,9 @@ static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__2 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__6; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__22; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +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; @@ -14739,20 +14743,8 @@ static lean_object* _init_l_Lean_Parser_Term_structInst___elambda__1___closed__2 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; -x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__23; -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_structInst___elambda__1___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; -x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__24; +x_2 = l_Lean_Parser_Term_structInst___elambda__1___closed__23; 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); @@ -14766,7 +14758,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_structInst___elambda__1___closed__2; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_Term_structInst___elambda__1___closed__25; +x_5 = l_Lean_Parser_Term_structInst___elambda__1___closed__24; x_6 = 1; x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); return x_7; @@ -14857,7 +14849,7 @@ static lean_object* _init_l_Lean_Parser_Term_structInst___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__16; +x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__15; x_2 = l_Lean_Parser_symbolInfo(x_1); return x_2; } @@ -15375,7 +15367,7 @@ static lean_object* _init_l_Lean_Parser_Term_structInst_formatter___closed__11() _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_structInst___elambda__1___closed__15; +x_1 = l___kind_term____x40_Init_Notation___hyg_7200____closed__12; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -15918,7 +15910,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeSpec___elambda__1___closed__1() _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -15928,7 +15920,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeSpec___elambda__1___closed__2() _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__10; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__7; x_2 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -15939,7 +15931,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeSpec___elambda__1___closed__3() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_2 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -15976,7 +15968,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeSpec___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_2 = l_Lean_Parser_Term_typeAscription___closed__2; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -19279,7 +19271,7 @@ static lean_object* _init_l_Lean_Parser_Term_simpleBinder___elambda__1___closed_ _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__9; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__6; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -19289,7 +19281,7 @@ static lean_object* _init_l_Lean_Parser_Term_simpleBinder___elambda__1___closed_ _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__5; x_2 = l_Lean_Parser_Term_simpleBinder___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -19312,7 +19304,7 @@ static lean_object* _init_l_Lean_Parser_Term_simpleBinder___elambda__1___closed_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__9; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__6; x_2 = l_Lean_Parser_Term_simpleBinder___elambda__1___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -19363,7 +19355,7 @@ static lean_object* _init_l_Lean_Parser_Term_simpleBinder___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__9; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__6; x_2 = l_Lean_Parser_Term_simpleBinder___closed__1; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -19757,7 +19749,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeSpec_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__10; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__7; x_2 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -19772,7 +19764,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeSpec_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_typeAscription_formatter___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -19813,7 +19805,7 @@ static lean_object* _init_l_Lean_Parser_Term_simpleBinder_formatter___closed__1( _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__5; x_2 = l_Lean_Parser_Term_simpleBinder___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -19848,7 +19840,7 @@ static lean_object* _init_l_Lean_Parser_Term_simpleBinder_formatter___closed__4( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__9; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__6; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_simpleBinder_formatter___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -20052,7 +20044,7 @@ static lean_object* _init_l_Lean_Parser_Term_typeSpec_parenthesizer___closed__2( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__11; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_typeAscription_parenthesizer___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -20126,7 +20118,7 @@ static lean_object* _init_l_Lean_Parser_Term_simpleBinder_parenthesizer___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__9; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__6; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_simpleBinder_parenthesizer___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -26145,7 +26137,7 @@ if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = l_Lean_Parser_pushNone___elambda__1___rarg(x_13); -x_16 = l_Lean_expandExplicitBindersAux_loop___closed__9; +x_16 = l_Lean_expandExplicitBindersAux_loop___closed__6; x_17 = l_Lean_Parser_ParserState_mkNode(x_15, x_16, x_4); return x_17; } @@ -26153,7 +26145,7 @@ else { lean_object* x_18; lean_object* x_19; lean_dec(x_14); -x_18 = l_Lean_expandExplicitBindersAux_loop___closed__9; +x_18 = l_Lean_expandExplicitBindersAux_loop___closed__6; x_19 = l_Lean_Parser_ParserState_mkNode(x_13, x_18, x_4); return x_19; } @@ -26172,7 +26164,7 @@ if (lean_obj_tag(x_22) == 0) { lean_object* x_23; lean_object* x_24; lean_object* x_25; x_23 = l_Lean_Parser_pushNone___elambda__1___rarg(x_21); -x_24 = l_Lean_expandExplicitBindersAux_loop___closed__9; +x_24 = l_Lean_expandExplicitBindersAux_loop___closed__6; x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_4); return x_25; } @@ -26180,7 +26172,7 @@ else { lean_object* x_26; lean_object* x_27; lean_dec(x_22); -x_26 = l_Lean_expandExplicitBindersAux_loop___closed__9; +x_26 = l_Lean_expandExplicitBindersAux_loop___closed__6; x_27 = l_Lean_Parser_ParserState_mkNode(x_21, x_26, x_4); return x_27; } @@ -26205,7 +26197,7 @@ static lean_object* _init_l_Lean_Parser_Term_simpleBinderWithoutType___closed__2 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__9; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__6; x_2 = l_Lean_Parser_Term_simpleBinderWithoutType___closed__1; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -27339,7 +27331,7 @@ lean_object* l_Lean_Parser_Term_simpleBinderWithoutType_formatter(lean_object* x _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_expandExplicitBindersAux_loop___closed__9; +x_6 = l_Lean_expandExplicitBindersAux_loop___closed__6; x_7 = l_Lean_Parser_Term_simpleBinderWithoutType_formatter___closed__1; x_8 = l_Lean_PrettyPrinter_Formatter_node_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; @@ -27780,7 +27772,7 @@ lean_object* l_Lean_Parser_Term_simpleBinderWithoutType_parenthesizer(lean_objec _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_expandExplicitBindersAux_loop___closed__9; +x_6 = l_Lean_expandExplicitBindersAux_loop___closed__6; x_7 = l_Lean_Parser_Term_simpleBinderWithoutType_parenthesizer___closed__1; x_8 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; @@ -44254,8 +44246,6 @@ l_Lean_Parser_Term_structInst___elambda__1___closed__23 = _init_l_Lean_Parser_Te lean_mark_persistent(l_Lean_Parser_Term_structInst___elambda__1___closed__23); l_Lean_Parser_Term_structInst___elambda__1___closed__24 = _init_l_Lean_Parser_Term_structInst___elambda__1___closed__24(); lean_mark_persistent(l_Lean_Parser_Term_structInst___elambda__1___closed__24); -l_Lean_Parser_Term_structInst___elambda__1___closed__25 = _init_l_Lean_Parser_Term_structInst___elambda__1___closed__25(); -lean_mark_persistent(l_Lean_Parser_Term_structInst___elambda__1___closed__25); l_Lean_Parser_Term_structInst___closed__1 = _init_l_Lean_Parser_Term_structInst___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_structInst___closed__1); l_Lean_Parser_Term_structInst___closed__2 = _init_l_Lean_Parser_Term_structInst___closed__2(); diff --git a/stage0/stdlib/Lean/Structure.c b/stage0/stdlib/Lean/Structure.c index 92f923dc68..096d023b99 100644 --- a/stage0/stdlib/Lean/Structure.c +++ b/stage0/stdlib/Lean/Structure.c @@ -37,6 +37,7 @@ lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_getPathToBaseStructureAux___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_getStructureCtor_match__2(lean_object*); extern lean_object* l_Lean_Lean_Declaration___instance__4; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__14; 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*); @@ -55,7 +56,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Structure_0__Lean_get lean_object* l_Lean_isStructureLike___boxed(lean_object*, lean_object*); lean_object* l_Lean_getStructureCtor_match__1(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_getParentStructures___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Name_appendIndexAfter___closed__1; lean_object* l_Lean_getStructureFieldsFlattened(lean_object*, lean_object*); lean_object* l___private_Lean_Structure_0__Lean_hasProjFn_match__1(lean_object*); lean_object* l___private_Lean_Structure_0__Lean_isSubobjectFieldAux___closed__3; @@ -321,7 +321,7 @@ lean_object* l_Lean_mkInternalSubobjectFieldName(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Name_appendIndexAfter___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14; x_3 = l_Lean_Name_appendBefore(x_1, x_2); return x_3; } @@ -1128,7 +1128,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_obj x_4 = l_Lean_getStructureCtor(x_1, x_2); x_5 = lean_ctor_get(x_4, 3); lean_inc(x_5); -x_6 = l_Lean_Name_appendIndexAfter___closed__1; +x_6 = l_myMacro____x40_Init_Notation___hyg_7262____closed__14; x_7 = l_Lean_Name_appendBefore(x_3, x_6); x_8 = lean_ctor_get(x_4, 0); lean_inc(x_8); diff --git a/stage0/stdlib/Lean/Syntax.c b/stage0/stdlib/Lean/Syntax.c index a195ebaa5e..a2a3fd7ad2 100644 --- a/stage0/stdlib/Lean/Syntax.c +++ b/stage0/stdlib/Lean/Syntax.c @@ -147,7 +147,6 @@ extern lean_object* l_Lean_Format_join___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_reprint___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_setArgs(lean_object*, lean_object*); lean_object* l_Lean_Syntax_structEq_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2; lean_object* l_Nat_repr(lean_object*); lean_object* l___private_Lean_Syntax_0__Lean_Syntax_reprintLeaf___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStxAux_match__1(lean_object*); @@ -236,6 +235,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__4; lean_object* l_List_beq___at_Lean_Syntax_structEq___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_mkSimpleAtom(lean_object*); lean_object* l___private_Lean_Syntax_0__Lean_Syntax_formatInfo_match__3(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__9; lean_object* l___private_Lean_Syntax_0__Lean_Syntax_formatInfo(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goDown___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_List_beq___at_Lean_Syntax_structEq___spec__3___boxed(lean_object*, lean_object*); @@ -4182,7 +4182,7 @@ static lean_object* _init_l___private_Lean_Syntax_0__Lean_Syntax_formatInfo___cl _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Util_0__mkPanicMessage___closed__2; +x_1 = l_myMacro____x40_Init_Notation___hyg_7262____closed__9; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; diff --git a/stage0/stdlib/Lean/Util/Recognizers.c b/stage0/stdlib/Lean/Util/Recognizers.c index 9fc9f6a40a..c7f5b3e36e 100644 --- a/stage0/stdlib/Lean/Util/Recognizers.c +++ b/stage0/stdlib/Lean/Util/Recognizers.c @@ -55,6 +55,7 @@ lean_object* l_Lean_Expr_isConstructorApp_x3f___closed__2; extern lean_object* l_Lean_Literal_type___closed__2; lean_object* l_Lean_Expr_constructorApp_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Recognizers_0__Lean_Expr_getConstructorVal_x3f(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Core___hyg_185____closed__4; lean_object* l_Lean_Expr_app3_x3f(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_6957____closed__5; lean_object* l_Lean_Expr_heq_x3f___boxed(lean_object*); @@ -65,7 +66,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__4; lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l_Lean_Expr_arrow_x3f(lean_object*); lean_object* l_Lean_Expr_isConstructorApp_x3f_match__3(lean_object*); -extern lean_object* l_myMacro____x40_Init_Core___hyg_190____closed__4; lean_object* l_Lean_Expr_constructorApp_x3f_match__1(lean_object*); lean_object* l_Lean_Expr_isConstructorApp_x3f___closed__1; lean_object* l_Lean_Expr_app1_x3f(lean_object*, lean_object*); @@ -304,7 +304,7 @@ lean_object* l_Lean_Expr_iff_x3f(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; -x_2 = l_myMacro____x40_Init_Core___hyg_190____closed__4; +x_2 = l_myMacro____x40_Init_Core___hyg_185____closed__4; x_3 = lean_unsigned_to_nat(2u); x_4 = l_Lean_Expr_isAppOfArity(x_1, x_2, x_3); if (x_4 == 0) diff --git a/stage0/stdlib/Lean/Util/Trace.c b/stage0/stdlib/Lean/Util/Trace.c index 46b983b3a6..3458e16cdd 100644 --- a/stage0/stdlib/Lean/Util/Trace.c +++ b/stage0/stdlib/Lean/Util/Trace.c @@ -14,7 +14,6 @@ extern "C" { #endif lean_object* lean_string_push(lean_object*, uint32_t); -extern lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__7; lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__3; size_t l_USize_add(size_t, size_t); extern lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__8; @@ -24,6 +23,7 @@ lean_object* l_Lean_stringToMessageData(lean_object*); uint8_t l_Lean_MessageData_isNest(lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__7; lean_object* l_Lean_isTracingEnabledFor___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__8; lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); @@ -72,6 +72,7 @@ lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__5; extern lean_object* l_Lean_interpolatedStrKind; lean_object* l_Lean_getTraces(lean_object*); +extern lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3; lean_object* l_Lean_isTracingEnabledFor___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__5___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -84,14 +85,12 @@ lean_object* l_Lean_traceM___rarg___lambda__1___boxed(lean_object*, lean_object* uint8_t l_USize_decLt(size_t, size_t); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__4; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__13; lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_1249____closed__7; lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_885____closed__3; lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_withNestedTraces___spec__3___boxed(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_1249____closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__6; lean_object* l_Lean_traceCtx___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_1249_; lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_885_; @@ -128,7 +127,6 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_885____closed__2; lean_object* l_Lean_registerTraceClass___closed__2; lean_object* l_Lean_traceCtx___rarg___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__7; uint8_t l_Lean_MessageData_isNil(lean_object*); lean_object* l_Std_PersistentArray_foldlM___at_Lean_withNestedTraces___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -180,8 +178,10 @@ lean_object* l_Lean_modifyTraces___rarg(lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_885____closed__11; +extern lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__4; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7262____closed__11; lean_object* l_Lean_resetTraceState(lean_object*); lean_object* l_Lean_MonadTracer_trace(lean_object*); lean_object* l_Lean_setTraceState___rarg(lean_object*, lean_object*); @@ -191,7 +191,6 @@ lean_object* l_Lean_traceCtx(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionAux_match__1(lean_object*); lean_object* l_Lean_TraceState_traces___default; -extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___rarg___lambda__2___closed__1; lean_object* l_IO_println___at_Lean_printTraces___spec__1(lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1331____closed__3; @@ -247,6 +246,7 @@ lean_object* l_Lean_getTraces___rarg(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forMAux___at_Lean_printTraces___spec__3(lean_object*); lean_object* l_Std_PersistentArray_forMAux___at_Lean_printTraces___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_885____closed__10; +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__4___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_trace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lean_Util_Trace___instance__1; @@ -2695,7 +2695,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__7; +x_2 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__5; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -2781,18 +2781,18 @@ x_26 = l_Array_empty___closed__1; x_27 = lean_array_push(x_26, x_25); x_28 = lean_array_push(x_26, x_15); x_29 = lean_array_push(x_26, x_17); -x_30 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__6; +x_30 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__4; x_31 = l_Lean_addMacroScope(x_19, x_30, x_18); -x_32 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__5; +x_32 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3; x_33 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__7; x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_22); lean_ctor_set(x_34, 1, x_32); lean_ctor_set(x_34, 2, x_31); lean_ctor_set(x_34, 3, x_33); -x_35 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_35 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_36 = lean_array_push(x_35, x_34); -x_37 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_37 = l_myMacro____x40_Init_Notation___hyg_7262____closed__8; x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); @@ -2813,7 +2813,7 @@ x_48 = l_myMacro____x40_Init_Notation___hyg_6360____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 = l_Lean_expandExplicitBindersAux_loop___closed__7; +x_50 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_51 = lean_array_push(x_50, x_49); x_52 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15; x_53 = lean_alloc_ctor(1, 2, 0); @@ -3061,18 +3061,18 @@ lean_dec(x_15); x_32 = l___private_Init_Meta_0__Lean_quoteName(x_31); x_33 = lean_array_push(x_29, x_32); x_34 = lean_array_push(x_29, x_17); -x_35 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__6; +x_35 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__4; x_36 = l_Lean_addMacroScope(x_22, x_35, x_21); -x_37 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__5; +x_37 = l_Lean_myMacro____x40_Lean_Message___hyg_1881____closed__3; x_38 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__7; x_39 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_39, 0, x_25); lean_ctor_set(x_39, 1, x_37); lean_ctor_set(x_39, 2, x_36); lean_ctor_set(x_39, 3, x_38); -x_40 = l_Lean_expandExplicitBindersAux_loop___closed__13; +x_40 = l_myMacro____x40_Init_Notation___hyg_7262____closed__11; x_41 = lean_array_push(x_40, x_39); -x_42 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__4; +x_42 = l_myMacro____x40_Init_Notation___hyg_7262____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); @@ -3093,7 +3093,7 @@ x_53 = l_myMacro____x40_Init_Notation___hyg_6360____closed__8; x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); -x_55 = l_Lean_expandExplicitBindersAux_loop___closed__7; +x_55 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_56 = lean_array_push(x_55, x_54); x_57 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15; x_58 = lean_alloc_ctor(1, 2, 0); @@ -3149,7 +3149,7 @@ x_84 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__8; x_85 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_85, 0, x_84); lean_ctor_set(x_85, 1, x_83); -x_86 = l_Lean_expandExplicitBindersAux_loop___closed__7; +x_86 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_87 = lean_array_push(x_86, x_85); x_88 = l_myMacro____x40_Init_Notation___hyg_6360____closed__15; x_89 = lean_alloc_ctor(1, 2, 0); diff --git a/stage0/stdlib/Std/Data/PersistentArray.c b/stage0/stdlib/Std/Data/PersistentArray.c index 23ca275fff..6457095183 100644 --- a/stage0/stdlib/Std/Data/PersistentArray.c +++ b/stage0/stdlib/Std/Data/PersistentArray.c @@ -128,6 +128,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Std_PersistentArray_append___spec__9 lean_object* l_Array_foldlMUnsafe_fold___at_Std_PersistentArray_collectStats___spec__1(lean_object*); lean_object* l_Std_PersistentArray_forInAux_match__4(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_append(lean_object*); +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Std_PersistentArray_filter___spec__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_getOp(lean_object*); lean_object* l_Array_findSomeRevM_x3f_find___at_Std_PersistentArray_findSomeRev_x3f___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -540,7 +541,6 @@ lean_object* l_Std_PersistentArray_findSomeMAux___rarg___lambda__1(lean_object*, lean_object* l_Array_foldlMUnsafe_fold___at_Std_PersistentArray_foldl___spec__8___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Std_PersistentArray_foldlM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_modifyAux_match__1(lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; lean_object* l_Array_foldlMUnsafe_fold___at_Std_PersistentArray_filter___spec__6___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Std_PersistentArray_collectStats___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Std_PersistentArray_allM___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t); @@ -12690,7 +12690,7 @@ lean_dec(x_1); x_14 = l_Nat_repr(x_13); x_15 = lean_string_append(x_12, x_14); lean_dec(x_14); -x_16 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_16 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_17 = lean_string_append(x_15, x_16); return x_17; } diff --git a/stage0/stdlib/Std/Data/PersistentHashMap.c b/stage0/stdlib/Std/Data/PersistentHashMap.c index 55edbe2dd6..02cc451622 100644 --- a/stage0/stdlib/Std/Data/PersistentHashMap.c +++ b/stage0/stdlib/Std/Data/PersistentHashMap.c @@ -60,6 +60,7 @@ lean_object* l_Std_PersistentHashMap_root___default___closed__2; lean_object* l_Std_PersistentHashMap_findAux_match__2___rarg(lean_object*, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_findEntry_x3f_match__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_erase_match__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; lean_object* l_Std_PersistentHashMap_foldlMAux___at_Std_PersistentHashMap_toList___spec__2(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_Stats_toString(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -245,7 +246,6 @@ lean_object* l_Std_PersistentHashMap_Stats_toString___closed__1; lean_object* l_Std_PersistentHashMap_foldlM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_eraseAux___rarg(lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Std_PersistentHashMap_eraseAux_match__1___boxed(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; lean_object* l_Std_PersistentHashMap_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_isUnaryNode_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_eraseAux_match__6(lean_object*, lean_object*, lean_object*); @@ -5010,7 +5010,7 @@ lean_dec(x_1); x_19 = l_Nat_repr(x_18); x_20 = lean_string_append(x_17, x_19); lean_dec(x_19); -x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__24; +x_21 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__22; x_22 = lean_string_append(x_20, x_21); return x_22; }