From 64f65d28e74ff7ef85fdadfd12c558e823d31bf5 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Tue, 3 Aug 2021 18:44:25 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Lean/Data/Options.lean | 6 +- stage0/src/Lean/Elab/PatternVar.lean | 7 +- stage0/src/Lean/Elab/Tactic/Induction.lean | 3 + stage0/src/Lean/Environment.lean | 3 +- stage0/src/Lean/Expr.lean | 4 + stage0/src/Lean/ImportingFlag.lean | 13 +- stage0/src/Lean/Meta/AppBuilder.lean | 3 + stage0/src/Lean/Meta/Basic.lean | 18 +- stage0/src/Lean/Meta/DiscrTree.lean | 4 +- stage0/src/Lean/Meta/ExprDefEq.lean | 4 +- stage0/src/Lean/Meta/FunInfo.lean | 5 +- stage0/src/Lean/Parser/Extension.lean | 4 +- .../Delaborator/TopDownAnalyze.lean | 2 +- stage0/stdlib/Lean/Attributes.c | 2 +- stage0/stdlib/Lean/Class.c | 2 +- stage0/stdlib/Lean/Compiler/ClosedTermCache.c | 2 +- stage0/stdlib/Lean/Compiler/ExportAttr.c | 2 +- stage0/stdlib/Lean/Compiler/ExternAttr.c | 6 +- stage0/stdlib/Lean/Compiler/IR/CompilerM.c | 2 +- .../Lean/Compiler/IR/ElimDeadBranches.c | 2 +- .../stdlib/Lean/Compiler/ImplementedByAttr.c | 2 +- stage0/stdlib/Lean/Compiler/InitAttr.c | 2 +- stage0/stdlib/Lean/Compiler/InlineAttrs.c | 2 +- stage0/stdlib/Lean/Compiler/Specialize.c | 2 +- stage0/stdlib/Lean/Data/Options.c | 676 +++++++++--------- stage0/stdlib/Lean/DeclarationRange.c | 2 +- stage0/stdlib/Lean/DocString.c | 2 +- stage0/stdlib/Lean/Elab/PatternVar.c | 81 ++- stage0/stdlib/Lean/Elab/PreDefinition/Main.c | 6 +- stage0/stdlib/Lean/Elab/Quotation.c | 4 +- stage0/stdlib/Lean/Elab/Tactic/Induction.c | 607 ++++++++-------- stage0/stdlib/Lean/Environment.c | 192 ++--- stage0/stdlib/Lean/Expr.c | 126 +++- stage0/stdlib/Lean/ImportingFlag.c | 10 +- stage0/stdlib/Lean/KeyedDeclsAttribute.c | 2 +- stage0/stdlib/Lean/Meta/AppBuilder.c | 362 +++++----- stage0/stdlib/Lean/Meta/Basic.c | 221 +++--- stage0/stdlib/Lean/Meta/Closure.c | 12 +- stage0/stdlib/Lean/Meta/DiscrTree.c | 250 +++++-- stage0/stdlib/Lean/Meta/ExprDefEq.c | 279 ++++---- stage0/stdlib/Lean/Meta/FunInfo.c | 150 ++-- stage0/stdlib/Lean/Meta/GlobalInstances.c | 2 +- stage0/stdlib/Lean/Meta/Instances.c | 2 +- stage0/stdlib/Lean/Meta/Match/Match.c | 2 +- stage0/stdlib/Lean/Meta/Match/MatcherInfo.c | 2 +- stage0/stdlib/Lean/Meta/RecursorInfo.c | 2 +- stage0/stdlib/Lean/Meta/Tactic/AuxLemma.c | 2 +- .../Lean/Meta/Tactic/Simp/CongrLemmas.c | 2 +- stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c | 4 +- .../stdlib/Lean/Meta/Tactic/Simp/SimpLemmas.c | 4 +- stage0/stdlib/Lean/Meta/Transform.c | 10 +- stage0/stdlib/Lean/Meta/UnificationHint.c | 2 +- stage0/stdlib/Lean/MetavarContext.c | 14 +- stage0/stdlib/Lean/Parser/Basic.c | 2 +- stage0/stdlib/Lean/Parser/Extension.c | 254 +++---- stage0/stdlib/Lean/ParserCompiler/Attribute.c | 2 +- .../Delaborator/TopDownAnalyze.c | 472 +++++------- stage0/stdlib/Lean/ProjFns.c | 2 +- stage0/stdlib/Lean/ReducibilityAttrs.c | 2 +- stage0/stdlib/Lean/ResolveName.c | 2 +- stage0/stdlib/Lean/ScopedEnvExtension.c | 2 +- stage0/stdlib/Lean/Structure.c | 2 +- stage0/stdlib/Lean/Util/PPExt.c | 2 +- 63 files changed, 2035 insertions(+), 1839 deletions(-) diff --git a/stage0/src/Lean/Data/Options.lean b/stage0/src/Lean/Data/Options.lean index b1954d9f01..3d368ef569 100644 --- a/stage0/src/Lean/Data/Options.lean +++ b/stage0/src/Lean/Data/Options.lean @@ -26,11 +26,7 @@ def OptionDecls := NameMap OptionDecl instance : Inhabited OptionDecls := ⟨({} : NameMap OptionDecl)⟩ -private def initOptionDeclsRef : IO (IO.Ref OptionDecls) := - IO.mkRef (mkNameMap OptionDecl) - -@[builtinInit initOptionDeclsRef] -private constant optionDeclsRef : IO.Ref OptionDecls +private builtin_initialize optionDeclsRef : IO.Ref OptionDecls ← IO.mkRef (mkNameMap OptionDecl) @[export lean_register_option] def registerOption (name : Name) (decl : OptionDecl) : IO Unit := do diff --git a/stage0/src/Lean/Elab/PatternVar.lean b/stage0/src/Lean/Elab/PatternVar.lean index 965ee9ec66..8e576dedc6 100644 --- a/stage0/src/Lean/Elab/PatternVar.lean +++ b/stage0/src/Lean/Elab/PatternVar.lean @@ -296,9 +296,10 @@ where processCtorAppContext ctx | none => let ctx ← match d.2 with - | BinderInfo.implicit => processImplicitArg accessible ctx - | BinderInfo.instImplicit => processImplicitArg accessible ctx - | _ => processExplicitArg accessible ctx + | BinderInfo.implicit => processImplicitArg accessible ctx + | BinderInfo.strictImplicit => processImplicitArg accessible ctx + | BinderInfo.instImplicit => processImplicitArg accessible ctx + | _ => processExplicitArg accessible ctx processCtorAppContext ctx processCtorAppCore (f : Syntax) (namedArgs : Array NamedArg) (args : Array Arg) (ellipsis : Bool) : M Syntax := do diff --git a/stage0/src/Lean/Elab/Tactic/Induction.lean b/stage0/src/Lean/Elab/Tactic/Induction.lean index 9556f4f9ed..33cb49ee35 100644 --- a/stage0/src/Lean/Elab/Tactic/Induction.lean +++ b/stage0/src/Lean/Elab/Tactic/Induction.lean @@ -123,6 +123,9 @@ partial def mkElimApp (elimName : Name) (elimInfo : ElimInfo) (targets : Array E | BinderInfo.implicit => let arg ← mkFreshExprMVar (← getArgExpectedType) addNewArg arg + | BinderInfo.strictImplicit => + let arg ← mkFreshExprMVar (← getArgExpectedType) + addNewArg arg | BinderInfo.instImplicit => let arg ← mkFreshExprMVar (← getArgExpectedType) (kind := MetavarKind.synthetic) (userName := appendTag tag binderName) modify fun s => { s with insts := s.insts.push arg.mvarId! } diff --git a/stage0/src/Lean/Environment.lean b/stage0/src/Lean/Environment.lean index be2dfc68fe..f845fbfa8d 100644 --- a/stage0/src/Lean/Environment.lean +++ b/stage0/src/Lean/Environment.lean @@ -170,8 +170,7 @@ structure Ext (σ : Type) where mkInitial : IO σ deriving Inhabited -private def mkEnvExtensionsRef : IO (IO.Ref (Array (Ext EnvExtensionState))) := IO.mkRef #[] -@[builtinInit mkEnvExtensionsRef] private constant envExtensionsRef : IO.Ref (Array (Ext EnvExtensionState)) +private builtin_initialize envExtensionsRef : IO.Ref (Array (Ext EnvExtensionState)) ← IO.mkRef #[] /-- User-defined environment extensions are declared using the `initialize` command. diff --git a/stage0/src/Lean/Expr.lean b/stage0/src/Lean/Expr.lean index d0f71ca6fc..bfb6d4e759 100644 --- a/stage0/src/Lean/Expr.lean +++ b/stage0/src/Lean/Expr.lean @@ -57,6 +57,10 @@ def BinderInfo.isImplicit : BinderInfo → Bool | BinderInfo.implicit => true | _ => false +def BinderInfo.isStrictImplicit : BinderInfo → Bool + | BinderInfo.strictImplicit => true + | _ => false + def BinderInfo.isAuxDecl : BinderInfo → Bool | BinderInfo.auxDecl => true | _ => false diff --git a/stage0/src/Lean/ImportingFlag.lean b/stage0/src/Lean/ImportingFlag.lean index 250bb7c355..540287cfb0 100644 --- a/stage0/src/Lean/ImportingFlag.lean +++ b/stage0/src/Lean/ImportingFlag.lean @@ -5,13 +5,24 @@ Authors: Leonardo de Moura -/ namespace Lean -builtin_initialize importingRef : IO.Ref Bool ← IO.mkRef false +private builtin_initialize importingRef : IO.Ref Bool ← IO.mkRef false /- We say Lean is "initializing" when it is executing `builtin_initialize` declarations and importing modules. Recall that Lean excutes `initialize` declarations while importing modules. -/ def initializing : IO Bool := IO.initializing <||> importingRef.get +/-- + Excute `x` with "importing" flag turned on. + When the "importing" flag is set to true, we allow user-extensions defined with with + the `initialize` command to update global references. + + IMPORTANT: There is no semaphore controlling the access to these global references. + We assume these global references are updated by a single execution thread. + This is true in the Lean frontend where we process the `import` commands at the beginning + of the execution only. Users must make sure that `importModules` is used, there is only + one execution thread accessing the global references. +-/ def withImporting (x : IO α) : IO α := try importingRef.set true diff --git a/stage0/src/Lean/Meta/AppBuilder.lean b/stage0/src/Lean/Meta/AppBuilder.lean index 467224c434..0eaa15b16d 100644 --- a/stage0/src/Lean/Meta/AppBuilder.lean +++ b/stage0/src/Lean/Meta/AppBuilder.lean @@ -204,6 +204,9 @@ private partial def mkAppMArgs (f : Expr) (fType : Expr) (xs : Array Expr) : Met | BinderInfo.implicit => let mvar ← mkFreshExprMVar d MetavarKind.natural n loop b i j (args.push mvar) instMVars + | BinderInfo.strictImplicit => + let mvar ← mkFreshExprMVar d MetavarKind.natural n + loop b i j (args.push mvar) instMVars | BinderInfo.instImplicit => let mvar ← mkFreshExprMVar d MetavarKind.synthetic n loop b i j (args.push mvar) (instMVars.push mvar.mvarId!) diff --git a/stage0/src/Lean/Meta/Basic.lean b/stage0/src/Lean/Meta/Basic.lean index 2d137ddb16..619d69c015 100644 --- a/stage0/src/Lean/Meta/Basic.lean +++ b/stage0/src/Lean/Meta/Basic.lean @@ -67,14 +67,22 @@ structure Config where assignSyntheticOpaque : Bool := false structure ParamInfo where - implicit : Bool := false - instImplicit : Bool := false - hasFwdDeps : Bool := false - backDeps : Array Nat := #[] + binderInfo : BinderInfo := BinderInfo.default + hasFwdDeps : Bool := false + backDeps : Array Nat := #[] deriving Inhabited +def ParamInfo.isImplicit (p : ParamInfo) : Bool := + p.binderInfo == BinderInfo.implicit + +def ParamInfo.isInstImplicit (p : ParamInfo) : Bool := + p.binderInfo == BinderInfo.instImplicit + +def ParamInfo.isStrictImplicit (p : ParamInfo) : Bool := + p.binderInfo == BinderInfo.strictImplicit + def ParamInfo.isExplicit (p : ParamInfo) : Bool := - !p.implicit && !p.instImplicit + p.binderInfo == BinderInfo.default || p.binderInfo == BinderInfo.auxDecl structure FunInfo where paramInfo : Array ParamInfo := #[] diff --git a/stage0/src/Lean/Meta/DiscrTree.lean b/stage0/src/Lean/Meta/DiscrTree.lean index 65e7726068..2f1ff9180e 100644 --- a/stage0/src/Lean/Meta/DiscrTree.lean +++ b/stage0/src/Lean/Meta/DiscrTree.lean @@ -148,9 +148,9 @@ instance : Inhabited (DiscrTree α) where private def ignoreArg (a : Expr) (i : Nat) (infos : Array ParamInfo) : MetaM Bool := do if h : i < infos.size then let info := infos.get ⟨i, h⟩ - if info.instImplicit then + if info.isInstImplicit then return true - else if info.implicit then + else if info.isImplicit || info.isStrictImplicit then return not (← isType a) else isProof a diff --git a/stage0/src/Lean/Meta/ExprDefEq.lean b/stage0/src/Lean/Meta/ExprDefEq.lean index 4a81ca9458..eaa03b4bb6 100644 --- a/stage0/src/Lean/Meta/ExprDefEq.lean +++ b/stage0/src/Lean/Meta/ExprDefEq.lean @@ -122,7 +122,7 @@ private partial def isDefEqArgsFirstPass let info := paramInfo.get ⟨i, h⟩ let a₁ := args₁[i] let a₂ := args₂[i] - if info.implicit || info.instImplicit then + if !info.isExplicit then if (← isEtaUnassignedMVar a₁ <||> isEtaUnassignedMVar a₂) then if (← Meta.isExprDefEqAux a₁ a₂) then loop (i+1) postponed @@ -166,7 +166,7 @@ private partial def isDefEqArgs (f : Expr) (args₁ args₂ : Array Expr) : Meta let a₁ := args₁[i] let a₂ := args₂[i] let info := finfo.paramInfo[i] - if info.instImplicit then + if info.isInstImplicit then discard <| trySynthPending a₁ discard <| trySynthPending a₂ withAtLeastTransparency TransparencyMode.default <| Meta.isExprDefEqAux a₁ a₂ diff --git a/stage0/src/Lean/Meta/FunInfo.lean b/stage0/src/Lean/Meta/FunInfo.lean index 73fd7cf917..db10b9f68b 100644 --- a/stage0/src/Lean/Meta/FunInfo.lean +++ b/stage0/src/Lean/Meta/FunInfo.lean @@ -62,9 +62,8 @@ private def getFunInfoAux (fn : Expr) (maxArgs? : Option Nat) : MetaM FunInfo := let backDeps := collectDeps fvars decl.type pinfo := updateHasFwdDeps pinfo backDeps pinfo := pinfo.push { - backDeps := backDeps, - implicit := decl.binderInfo == BinderInfo.implicit, - instImplicit := decl.binderInfo == BinderInfo.instImplicit + backDeps := backDeps + binderInfo := decl.binderInfo } let resultDeps := collectDeps fvars type pinfo := updateHasFwdDeps pinfo resultDeps diff --git a/stage0/src/Lean/Parser/Extension.lean b/stage0/src/Lean/Parser/Extension.lean index c2365138d2..784a8e0d71 100644 --- a/stage0/src/Lean/Parser/Extension.lean +++ b/stage0/src/Lean/Parser/Extension.lean @@ -366,7 +366,7 @@ def categoryParserFnImpl (catName : Name) : ParserFn := fun ctx s => prattParser catName cat.tables cat.behavior (mkCategoryAntiquotParserFn catName) ctx s | none => s.mkUnexpectedError ("unknown parser category '" ++ toString catName ++ "'") -@[builtinInit] def setCategoryParserFnRef : IO Unit := +builtin_initialize categoryParserFnRef.set categoryParserFnImpl def addToken (tk : Token) (kind : AttributeKind) : AttrM Unit := do @@ -504,7 +504,7 @@ def mkParserAttributeImpl (attrName : Name) (catName : Name) : AttributeImpl whe def registerBuiltinDynamicParserAttribute (attrName : Name) (catName : Name) : IO Unit := do registerBuiltinAttribute (mkParserAttributeImpl attrName catName) -@[builtinInit] private def registerParserAttributeImplBuilder : IO Unit := +builtin_initialize registerAttributeImplBuilder `parserAttr fun args => match args with | [DataValue.ofName attrName, DataValue.ofName catName] => pure $ mkParserAttributeImpl attrName catName diff --git a/stage0/src/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.lean b/stage0/src/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.lean index 85422acf4b..1f3459f09b 100644 --- a/stage0/src/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.lean +++ b/stage0/src/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.lean @@ -545,7 +545,7 @@ mutual else provided := false modify fun s => { s with provideds := s.provideds.set! i provided } | BinderInfo.auxDecl => pure () - | BinderInfo.strictImplicit => unreachable! + | BinderInfo.strictImplicit => pure () -- TODO: add support for strict implicit unreachable! if (← get).provideds[i] then withKnowing (not (← typeUnknown mvars[i])) true analyze tryUnify mvars[i] args[i] diff --git a/stage0/stdlib/Lean/Attributes.c b/stage0/stdlib/Lean/Attributes.c index 9d54a2e74b..5efcede687 100644 --- a/stage0/stdlib/Lean/Attributes.c +++ b/stage0/stdlib/Lean/Attributes.c @@ -4639,7 +4639,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_TagAttribute_hasTag___spec__2___closed__2; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_TagAttribute_hasTag___spec__2___closed__3; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Class.c b/stage0/stdlib/Lean/Class.c index f2fd08a8e2..9695830e9d 100644 --- a/stage0/stdlib/Lean/Class.c +++ b/stage0/stdlib/Lean/Class.c @@ -1512,7 +1512,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_isClass___spec__3___closed__3; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_isClass___spec__3___closed__4; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/ClosedTermCache.c b/stage0/stdlib/Lean/Compiler/ClosedTermCache.c index 8c646b8c13..7dccd512a1 100644 --- a/stage0/stdlib/Lean/Compiler/ClosedTermCache.c +++ b/stage0/stdlib/Lean/Compiler/ClosedTermCache.c @@ -214,7 +214,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_getClosedTermName_x3f___spec__1___closed__1; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_getClosedTermName_x3f___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/ExportAttr.c b/stage0/stdlib/Lean/Compiler/ExportAttr.c index 447797d063..df6fba2faa 100644 --- a/stage0/stdlib/Lean/Compiler/ExportAttr.c +++ b/stage0/stdlib/Lean/Compiler/ExportAttr.c @@ -2535,7 +2535,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_getExportNameFor___spec__3___closed__2; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_getExportNameFor___spec__3___closed__3; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/ExternAttr.c b/stage0/stdlib/Lean/Compiler/ExternAttr.c index 2860de29a4..c068d46f88 100644 --- a/stage0/stdlib/Lean/Compiler/ExternAttr.c +++ b/stage0/stdlib/Lean/Compiler/ExternAttr.c @@ -140,7 +140,6 @@ lean_object* l_Lean_expandExternPatternAux___boxed(lean_object*, lean_object*, l static lean_object* l_Lean_getExternConstArityExport___closed__3; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); lean_object* l_Lean_ExternEntry_backend_match__1(lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____spec__1(lean_object*, lean_object*); lean_object* l_Lean_expandExternPatternAux_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getExternConstArity___closed__13; lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__3(lean_object*, lean_object*, lean_object*); @@ -195,6 +194,7 @@ lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____lambda__ static lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_344____spec__1___lambda__4___closed__4; lean_object* l_Lean_getConstInfo___at_Lean_getExternConstArity___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____spec__1(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_getExternConstArity___spec__1___closed__1; @@ -852,7 +852,7 @@ else { lean_object* x_17; uint8_t x_18; x_17 = lean_box(0); -x_18 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____spec__1(x_14, x_17); +x_18 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____spec__1(x_14, x_17); if (x_18 == 0) { lean_object* x_19; lean_object* x_20; @@ -3125,7 +3125,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_getExternAttrData___spec__3___closed__2; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_getExternAttrData___spec__3___closed__3; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/IR/CompilerM.c b/stage0/stdlib/Lean/Compiler/IR/CompilerM.c index 0907213686..56fdaa0a61 100644 --- a/stage0/stdlib/Lean/Compiler/IR/CompilerM.c +++ b/stage0/stdlib/Lean/Compiler/IR/CompilerM.c @@ -2355,7 +2355,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_IR_findEnvDecl___spec__3___closed__4; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_IR_findEnvDecl___spec__3___closed__5; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/IR/ElimDeadBranches.c b/stage0/stdlib/Lean/Compiler/IR/ElimDeadBranches.c index 1938118cfe..ea34450621 100644 --- a/stage0/stdlib/Lean/Compiler/IR/ElimDeadBranches.c +++ b/stage0/stdlib/Lean/Compiler/IR/ElimDeadBranches.c @@ -4502,7 +4502,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__3___closed__4; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__3___closed__5; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/ImplementedByAttr.c b/stage0/stdlib/Lean/Compiler/ImplementedByAttr.c index 202574f52c..bfe4ff2e32 100644 --- a/stage0/stdlib/Lean/Compiler/ImplementedByAttr.c +++ b/stage0/stdlib/Lean/Compiler/ImplementedByAttr.c @@ -3297,7 +3297,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Compiler_getImplementedBy___spec__3___closed__2; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Compiler_getImplementedBy___spec__3___closed__3; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/InitAttr.c b/stage0/stdlib/Lean/Compiler/InitAttr.c index 9c8819bbbe..d03bd2384d 100644 --- a/stage0/stdlib/Lean/Compiler/InitAttr.c +++ b/stage0/stdlib/Lean/Compiler/InitAttr.c @@ -4295,7 +4295,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_getInitFnNameForCore_x3f___spec__3___closed__2; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_getInitFnNameForCore_x3f___spec__3___closed__3; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/InlineAttrs.c b/stage0/stdlib/Lean/Compiler/InlineAttrs.c index 632800993e..29fac67dbf 100644 --- a/stage0/stdlib/Lean/Compiler/InlineAttrs.c +++ b/stage0/stdlib/Lean/Compiler/InlineAttrs.c @@ -2487,7 +2487,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_hasInlineAttrAux___spec__3___closed__2; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_hasInlineAttrAux___spec__3___closed__3; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Compiler/Specialize.c b/stage0/stdlib/Lean/Compiler/Specialize.c index b0c434514d..e1f70bf9b8 100644 --- a/stage0/stdlib/Lean/Compiler/Specialize.c +++ b/stage0/stdlib/Lean/Compiler/Specialize.c @@ -2295,7 +2295,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at___private_Lean_Compiler_Specialize_0__Lean_Compiler_hasSpecializeAttrAux___spec__3___closed__2; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at___private_Lean_Compiler_Specialize_0__Lean_Compiler_hasSpecializeAttrAux___spec__3___closed__3; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Data/Options.c b/stage0/stdlib/Lean/Data/Options.c index 94fd9a69e8..fc8f291936 100644 --- a/stage0/stdlib/Lean/Data/Options.c +++ b/stage0/stdlib/Lean/Data/Options.c @@ -16,35 +16,39 @@ extern "C" { lean_object* l_Lean_getBoolOption___rarg(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_initializing(lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__26; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__32; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__10; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); lean_object* l_Lean_KVMap_setBool(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__12; lean_object* l_Lean_setOptionFromString_match__1(lean_object*); static lean_object* l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__6; lean_object* l_Lean_Option_register(lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__31; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d__; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__26; lean_object* lean_name_mk_string(lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__12; lean_object* l_Lean_OptionDecl_group___default; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__11; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__36; lean_object* l_Std_RBNode_find___at_Lean_getOptionDecl___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__36; lean_object* l_Lean_registerOption___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KVMap_setNat(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__3; lean_object* l_Lean_Option_Decl_group___default; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__27; lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__42; lean_object* l_Lean_KVMap_setString(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__18; lean_object* l_Lean_setOptionFromString_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__9; uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_getOptionDeclsArray___closed__1; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__15; lean_object* l_Lean_Option_get___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__37; lean_object* l_Lean_getOptionDefaulValue(lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__3; lean_object* l_Lean_getOptionDecls(lean_object*); lean_object* l_Lean_Option_get_x3f(lean_object*); static lean_object* l_Lean_instInhabitedOptionDecl___closed__1; @@ -52,127 +56,122 @@ lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_String_toInt_x3f(lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__14; lean_object* lean_string_append(lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__40; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__44; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__18; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__30; static lean_object* l_Lean_instForInOptionsProdNameDataValue___closed__1; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__7; static lean_object* l_Lean_instInhabitedOptionDecl___closed__2; lean_object* l_Lean_KVMap_instToStringKVMap(lean_object*); lean_object* l_String_splitOn(lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__15; lean_object* lean_string_utf8_byte_size(lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__4; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__20; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__28; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__14; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__5; static lean_object* l_Lean_getOptionDecl___closed__1; uint8_t l_Lean_NameMap_contains___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__17; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__8; extern lean_object* l_Lean_nameLitKind; lean_object* l_Lean_setOptionFromString_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__1; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__28; static lean_object* l_Lean_setOptionFromString___closed__9; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__18; static lean_object* l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__9; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__15; lean_object* l_Lean_instInhabitedOptions; static lean_object* l_Lean_setOptionFromString___closed__10; lean_object* l_Lean_setOptionFromString_match__4___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__16; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__1; lean_object* l_Lean_getNatOption(lean_object*); lean_object* l_Lean_getBoolOption___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_get___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__32; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__24; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__10; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__8; static lean_object* l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__2; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__43; lean_object* l_Lean_Option_setIfNotSet___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_registerOption___closed__1; static lean_object* l_Lean_registerOption___closed__2; lean_object* l_Lean_Option_setIfNotSet(lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__5; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__44; lean_object* l_Lean_KVMap_instForInKVMapProdNameDataValue(lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__5; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__30; lean_object* l___private_Lean_Data_Options_0__Lean_optionDeclsRef; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__10; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__27; static lean_object* l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__8; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__17; lean_object* l_String_toName(lean_object*); static lean_object* l_Lean_setOptionFromString___closed__4; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__4; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__20; lean_object* l_Lean_instMonadOptions(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__3; lean_object* l_Lean_getOptionDecl(lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__42; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__9; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__40; static lean_object* l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__4; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__6; lean_object* l_Lean_OptionDecl_descr___default; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__1; lean_object* l_Lean_instToStringOptions; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__37; uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__23; lean_object* l_Lean_setOptionFromString_match__4(lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__21; lean_object* l_Lean_instMonadOptions___rarg(lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__12; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__26; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__13; -lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_107_(lean_object*); +lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038_(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_setOptionFromString___closed__8; uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__3; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__6; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__43; static lean_object* l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__1; lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteNameMk(lean_object*); lean_object* lean_get_option_decls_array(lean_object*); lean_object* l_Lean_Option_commandRegister__option_____x3a___x3a_x3d__; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__20; static lean_object* l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__5; lean_object* l_Lean_getNatOption___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KVMap_setInt(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__31; lean_object* l_Lean_instForInOptionsProdNameDataValue(lean_object*); uint8_t l_Lean_KVMap_contains(lean_object*, lean_object*); lean_object* l_Lean_Options_empty; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__38; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__2; static lean_object* l_Lean_OptionDecl_group___default___closed__1; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__21; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__23; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__14; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__25; static lean_object* l_Lean_setOptionFromString___closed__5; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__29; lean_object* l_Lean_Option_set___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__22; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__34; lean_object* l_Lean_instInhabitedOptionDecl; lean_object* l_Lean_getBoolOption___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KVMap_getNat(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__25; lean_object* l_Lean_getOptionDecl_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__41; lean_object* l_Std_RBNode_fold___at_Lean_getOptionDeclsArray___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__13; lean_object* l_Lean_KVMap_setName(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__7; lean_object* l_Lean_Option_register___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__7; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__24; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__16; lean_object* l_String_intercalate(lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__2; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__2; lean_object* l_Std_RBNode_find___at_Lean_getOptionDecl___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Option_get_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__1; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__19; static lean_object* l_Lean_registerOption___lambda__2___closed__1; lean_object* l_Lean_setOptionFromString(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__35; static lean_object* l_Lean_setOptionFromString___closed__6; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__39; lean_object* l_Lean_registerOption___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__33; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__19; static lean_object* l_Lean_setOptionFromString___closed__1; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__11; lean_object* l_Lean_setOptionFromString_match__3(lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__22; lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getBoolOption___rarg___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_getNatOption___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -182,48 +181,49 @@ static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a lean_object* l_Lean_registerOption___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_registerOption___lambda__2___closed__2; lean_object* l_Lean_instInhabitedOption(lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__11; static lean_object* l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__10; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_Decl_descr___default; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__17; static lean_object* l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__7; lean_object* l_Lean_getBoolOption(lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__33; lean_object* l_Lean_KVMap_findCore(lean_object*, lean_object*); lean_object* l_Lean_Option_set(lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__4; lean_object* l_String_trim(lean_object*); lean_object* l_Lean_getOptionDecl_match__1(lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__2; lean_object* l_Lean_setOptionFromString_match__2(lean_object*); static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__9; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__39; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__16; static lean_object* l_Lean_instToStringOptions___closed__1; static lean_object* l_Lean_getOptionDecl___closed__2; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__24; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__2; lean_object* l_Std_RBNode_fold___at_Lean_getOptionDeclsArray___spec__1___boxed(lean_object*, lean_object*); lean_object* l_List_map___at_Lean_setOptionFromString___spec__1(lean_object*); -lean_object* l___private_Lean_Data_Options_0__Lean_initOptionDeclsRef(lean_object*); lean_object* l_Lean_Option_get(lean_object*); static lean_object* l_Lean_setOptionFromString___closed__2; static lean_object* l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__19; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__35; lean_object* l_IO_mkRef___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__6; lean_object* l_String_toNat_x3f(lean_object*); lean_object* l_Lean_registerOption___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__41; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__23; static lean_object* l_Lean_setOptionFromString___closed__7; lean_object* l_Lean_instInhabitedOptionDecls; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__34; lean_object* l_Lean_setOptionFromString_match__2___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__38; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__21; +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__13; lean_object* l_Lean_getOptionDescr(lean_object*, lean_object*); static lean_object* l_Lean_setOptionFromString___closed__3; -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__25; lean_object* l_Lean_getNatOption___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__29; lean_object* l_Lean_instInhabitedOption___rarg(lean_object*); +static lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__22; lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_Options_empty() { _start: @@ -337,7 +337,7 @@ x_1 = lean_box(0); return x_1; } } -lean_object* l___private_Lean_Data_Options_0__Lean_initOptionDeclsRef(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_107_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -2418,7 +2418,7 @@ x_1 = l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____close return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__1() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__1() { _start: { lean_object* x_1; @@ -2426,17 +2426,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__2() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__2; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__1; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__3() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__3() { _start: { lean_object* x_1; @@ -2444,17 +2444,17 @@ x_1 = lean_mk_string("Command"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__4() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__2; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__3; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__2; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__5() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__5() { _start: { lean_object* x_1; @@ -2462,17 +2462,17 @@ x_1 = lean_mk_string("builtin_initialize"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__6() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__4; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__5; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__4; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__7() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__7() { _start: { lean_object* x_1; @@ -2480,21 +2480,21 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__8() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__7; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__9() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__8; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__8; x_2 = l_Lean_getOptionDeclsArray___closed__1; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2502,7 +2502,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__10() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__10() { _start: { lean_object* x_1; @@ -2510,17 +2510,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__11() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__2; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__10; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__2; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__12() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__12() { _start: { lean_object* x_1; @@ -2528,17 +2528,17 @@ x_1 = lean_mk_string("typeSpec"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__13() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__11; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__12; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__11; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__14() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__14() { _start: { lean_object* x_1; @@ -2546,7 +2546,7 @@ x_1 = lean_mk_string(":"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__15() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__15() { _start: { lean_object* x_1; @@ -2554,17 +2554,17 @@ x_1 = lean_mk_string("app"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__16() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__11; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__15; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__11; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__15; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__17() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__17() { _start: { lean_object* x_1; @@ -2572,22 +2572,22 @@ x_1 = lean_mk_string("Lean.Option"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__18() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__18() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__17; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__17; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__19() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__17; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__17; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__18; +x_3 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__18; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2595,7 +2595,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__20() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -2607,19 +2607,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__21() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__20; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____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_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__22() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__22() { _start: { lean_object* x_1; lean_object* x_2; @@ -2628,7 +2628,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__23() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__23() { _start: { lean_object* x_1; lean_object* x_2; @@ -2637,7 +2637,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__24() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__24() { _start: { lean_object* x_1; @@ -2645,7 +2645,7 @@ x_1 = lean_mk_string("←"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__25() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__25() { _start: { lean_object* x_1; lean_object* x_2; @@ -2654,7 +2654,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__26() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__26() { _start: { lean_object* x_1; @@ -2662,17 +2662,17 @@ x_1 = lean_mk_string("doSeqIndent"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__27() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__11; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__26; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__11; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__26; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__28() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__28() { _start: { lean_object* x_1; @@ -2680,17 +2680,17 @@ x_1 = lean_mk_string("doSeqItem"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__29() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__11; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__28; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__11; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__28; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__30() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__30() { _start: { lean_object* x_1; @@ -2698,17 +2698,17 @@ x_1 = lean_mk_string("doExpr"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__31() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__11; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__30; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__11; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__30; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__32() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__32() { _start: { lean_object* x_1; @@ -2716,22 +2716,22 @@ x_1 = lean_mk_string("Lean.Option.register"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__33() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__33() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__32; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__32; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__34() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__32; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__32; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__33; +x_3 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__33; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2739,7 +2739,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__35() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__35() { _start: { lean_object* x_1; @@ -2747,41 +2747,41 @@ x_1 = lean_mk_string("register"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__36() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__36() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__4; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__35; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__35; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__37() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__36; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__36; 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_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__38() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__37; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__37; 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_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__39() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__39() { _start: { lean_object* x_1; lean_object* x_2; @@ -2790,17 +2790,17 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__40() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__40() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__39; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__9; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__39; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__9; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__41() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__41() { _start: { lean_object* x_1; @@ -2808,17 +2808,17 @@ x_1 = lean_mk_string("quotedName"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__42() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__42() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__11; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__41; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__11; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__41; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__43() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__43() { _start: { lean_object* x_1; @@ -2826,7 +2826,7 @@ x_1 = lean_mk_string("."); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__44() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__44() { _start: { lean_object* x_1; @@ -2834,7 +2834,7 @@ x_1 = lean_mk_string("`"); return x_1; } } -lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -2873,12 +2873,12 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_2, 1); lean_inc(x_18); lean_dec(x_2); -x_19 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__5; +x_19 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__5; lean_inc(x_16); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_16); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__14; +x_21 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__14; lean_inc(x_16); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_16); @@ -2888,39 +2888,39 @@ lean_inc(x_17); lean_inc(x_18); x_24 = l_Lean_addMacroScope(x_18, x_23, x_17); x_25 = lean_box(0); -x_26 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__19; -x_27 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__21; +x_26 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__19; +x_27 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__21; lean_inc(x_16); x_28 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_28, 0, x_16); lean_ctor_set(x_28, 1, x_26); lean_ctor_set(x_28, 2, x_24); lean_ctor_set(x_28, 3, x_27); -x_29 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__22; +x_29 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__22; x_30 = lean_array_push(x_29, x_11); -x_31 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__8; +x_31 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__8; x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); -x_33 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__23; +x_33 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__23; x_34 = lean_array_push(x_33, x_28); x_35 = lean_array_push(x_34, x_32); -x_36 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__16; +x_36 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__16; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); x_38 = lean_array_push(x_33, x_22); x_39 = lean_array_push(x_38, x_37); -x_40 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__13; +x_40 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__13; x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); -x_42 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__24; +x_42 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__24; lean_inc(x_16); x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_16); lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__25; +x_44 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__25; lean_inc(x_9); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_41); @@ -2928,10 +2928,10 @@ x_47 = lean_array_push(x_46, x_43); x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_31); lean_ctor_set(x_48, 1, x_47); -x_49 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__36; +x_49 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__36; x_50 = l_Lean_addMacroScope(x_18, x_49, x_17); -x_51 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__34; -x_52 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__38; +x_51 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__34; +x_52 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__38; x_53 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_53, 0, x_16); lean_ctor_set(x_53, 1, x_51); @@ -2942,7 +2942,7 @@ lean_dec(x_9); lean_inc(x_54); x_55 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_25, x_54); x_56 = lean_array_push(x_33, x_53); -x_57 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__40; +x_57 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__40; x_58 = lean_array_push(x_57, x_20); x_59 = lean_array_push(x_58, x_48); if (lean_obj_tag(x_55) == 0) @@ -2959,14 +2959,14 @@ x_65 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_65, 0, x_36); lean_ctor_set(x_65, 1, x_64); x_66 = lean_array_push(x_29, x_65); -x_67 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__31; +x_67 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__31; x_68 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_68, 0, x_67); lean_ctor_set(x_68, 1, x_66); x_69 = lean_array_push(x_33, x_68); -x_70 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__9; +x_70 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__9; x_71 = lean_array_push(x_69, x_70); -x_72 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__29; +x_72 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__29; x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); @@ -2975,12 +2975,12 @@ x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_31); lean_ctor_set(x_75, 1, x_74); x_76 = lean_array_push(x_29, x_75); -x_77 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__27; +x_77 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__27; x_78 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_78, 0, x_77); lean_ctor_set(x_78, 1, x_76); x_79 = lean_array_push(x_59, x_78); -x_80 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__6; +x_80 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__6; x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); @@ -2994,16 +2994,16 @@ lean_dec(x_54); x_82 = lean_ctor_get(x_55, 0); lean_inc(x_82); lean_dec(x_55); -x_83 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__43; +x_83 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__43; x_84 = l_String_intercalate(x_83, x_82); -x_85 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__44; +x_85 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__44; x_86 = lean_string_append(x_85, x_84); lean_dec(x_84); x_87 = l_Lean_nameLitKind; x_88 = lean_box(2); x_89 = l_Lean_Syntax_mkLit(x_87, x_86, x_88); x_90 = lean_array_push(x_29, x_89); -x_91 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__42; +x_91 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__42; x_92 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_92, 0, x_91); lean_ctor_set(x_92, 1, x_90); @@ -3017,14 +3017,14 @@ x_97 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_97, 0, x_36); lean_ctor_set(x_97, 1, x_96); x_98 = lean_array_push(x_29, x_97); -x_99 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__31; +x_99 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__31; x_100 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_100, 0, x_99); lean_ctor_set(x_100, 1, x_98); x_101 = lean_array_push(x_33, x_100); -x_102 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__9; +x_102 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__9; x_103 = lean_array_push(x_101, x_102); -x_104 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__29; +x_104 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__29; x_105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_105, 0, x_104); lean_ctor_set(x_105, 1, x_103); @@ -3033,12 +3033,12 @@ x_107 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_107, 0, x_31); lean_ctor_set(x_107, 1, x_106); x_108 = lean_array_push(x_29, x_107); -x_109 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__27; +x_109 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__27; x_110 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_110, 0, x_109); lean_ctor_set(x_110, 1, x_108); x_111 = lean_array_push(x_59, x_110); -x_112 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__6; +x_112 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__6; x_113 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_113, 0, x_112); lean_ctor_set(x_113, 1, x_111); @@ -3059,12 +3059,12 @@ lean_inc(x_116); x_117 = lean_ctor_get(x_2, 1); lean_inc(x_117); lean_dec(x_2); -x_118 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__5; +x_118 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__5; lean_inc(x_114); x_119 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_119, 0, x_114); lean_ctor_set(x_119, 1, x_118); -x_120 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__14; +x_120 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__14; lean_inc(x_114); x_121 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_121, 0, x_114); @@ -3074,39 +3074,39 @@ lean_inc(x_116); lean_inc(x_117); x_123 = l_Lean_addMacroScope(x_117, x_122, x_116); x_124 = lean_box(0); -x_125 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__19; -x_126 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__21; +x_125 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__19; +x_126 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__21; lean_inc(x_114); x_127 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_127, 0, x_114); lean_ctor_set(x_127, 1, x_125); lean_ctor_set(x_127, 2, x_123); lean_ctor_set(x_127, 3, x_126); -x_128 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__22; +x_128 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__22; x_129 = lean_array_push(x_128, x_11); -x_130 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__8; +x_130 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__8; x_131 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_131, 0, x_130); lean_ctor_set(x_131, 1, x_129); -x_132 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__23; +x_132 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__23; x_133 = lean_array_push(x_132, x_127); x_134 = lean_array_push(x_133, x_131); -x_135 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__16; +x_135 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__16; x_136 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_136, 0, x_135); lean_ctor_set(x_136, 1, x_134); x_137 = lean_array_push(x_132, x_121); x_138 = lean_array_push(x_137, x_136); -x_139 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__13; +x_139 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__13; x_140 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_140, 0, x_139); lean_ctor_set(x_140, 1, x_138); -x_141 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__24; +x_141 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__24; lean_inc(x_114); x_142 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_142, 0, x_114); lean_ctor_set(x_142, 1, x_141); -x_143 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__25; +x_143 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__25; lean_inc(x_9); x_144 = lean_array_push(x_143, x_9); x_145 = lean_array_push(x_144, x_140); @@ -3114,10 +3114,10 @@ x_146 = lean_array_push(x_145, x_142); x_147 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_147, 0, x_130); lean_ctor_set(x_147, 1, x_146); -x_148 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__36; +x_148 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__36; x_149 = l_Lean_addMacroScope(x_117, x_148, x_116); -x_150 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__34; -x_151 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__38; +x_150 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__34; +x_151 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__38; x_152 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_152, 0, x_114); lean_ctor_set(x_152, 1, x_150); @@ -3128,7 +3128,7 @@ lean_dec(x_9); lean_inc(x_153); x_154 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_124, x_153); x_155 = lean_array_push(x_132, x_152); -x_156 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__40; +x_156 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__40; x_157 = lean_array_push(x_156, x_119); x_158 = lean_array_push(x_157, x_147); if (lean_obj_tag(x_154) == 0) @@ -3145,14 +3145,14 @@ x_164 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_164, 0, x_135); lean_ctor_set(x_164, 1, x_163); x_165 = lean_array_push(x_128, x_164); -x_166 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__31; +x_166 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__31; x_167 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_167, 0, x_166); lean_ctor_set(x_167, 1, x_165); x_168 = lean_array_push(x_132, x_167); -x_169 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__9; +x_169 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__9; x_170 = lean_array_push(x_168, x_169); -x_171 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__29; +x_171 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__29; x_172 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_172, 0, x_171); lean_ctor_set(x_172, 1, x_170); @@ -3161,12 +3161,12 @@ x_174 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_174, 0, x_130); lean_ctor_set(x_174, 1, x_173); x_175 = lean_array_push(x_128, x_174); -x_176 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__27; +x_176 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__27; x_177 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_177, 0, x_176); lean_ctor_set(x_177, 1, x_175); x_178 = lean_array_push(x_158, x_177); -x_179 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__6; +x_179 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__6; x_180 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_180, 0, x_179); lean_ctor_set(x_180, 1, x_178); @@ -3182,16 +3182,16 @@ lean_dec(x_153); x_182 = lean_ctor_get(x_154, 0); lean_inc(x_182); lean_dec(x_154); -x_183 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__43; +x_183 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__43; x_184 = l_String_intercalate(x_183, x_182); -x_185 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__44; +x_185 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__44; x_186 = lean_string_append(x_185, x_184); lean_dec(x_184); x_187 = l_Lean_nameLitKind; x_188 = lean_box(2); x_189 = l_Lean_Syntax_mkLit(x_187, x_186, x_188); x_190 = lean_array_push(x_128, x_189); -x_191 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__42; +x_191 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__42; x_192 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_192, 0, x_191); lean_ctor_set(x_192, 1, x_190); @@ -3205,14 +3205,14 @@ x_197 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_197, 0, x_135); lean_ctor_set(x_197, 1, x_196); x_198 = lean_array_push(x_128, x_197); -x_199 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__31; +x_199 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__31; x_200 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_200, 0, x_199); lean_ctor_set(x_200, 1, x_198); x_201 = lean_array_push(x_132, x_200); -x_202 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__9; +x_202 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__9; x_203 = lean_array_push(x_201, x_202); -x_204 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__29; +x_204 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__29; x_205 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_205, 0, x_204); lean_ctor_set(x_205, 1, x_203); @@ -3221,12 +3221,12 @@ x_207 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_207, 0, x_130); lean_ctor_set(x_207, 1, x_206); x_208 = lean_array_push(x_128, x_207); -x_209 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__27; +x_209 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__27; x_210 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_210, 0, x_209); lean_ctor_set(x_210, 1, x_208); x_211 = lean_array_push(x_158, x_210); -x_212 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__6; +x_212 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__6; x_213 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_213, 0, x_212); lean_ctor_set(x_213, 1, x_211); @@ -3367,7 +3367,7 @@ x_1 = l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__10; return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__1() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__1() { _start: { lean_object* x_1; @@ -3375,17 +3375,17 @@ x_1 = lean_mk_string("initialize"); return x_1; } } -static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__2() { +static lean_object* _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__4; -x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__1; +x_1 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__4; +x_2 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -3424,12 +3424,12 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_2, 1); lean_inc(x_18); lean_dec(x_2); -x_19 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__1; +x_19 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__1; lean_inc(x_16); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_16); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__14; +x_21 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__14; lean_inc(x_16); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_16); @@ -3439,39 +3439,39 @@ lean_inc(x_17); lean_inc(x_18); x_24 = l_Lean_addMacroScope(x_18, x_23, x_17); x_25 = lean_box(0); -x_26 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__19; -x_27 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__21; +x_26 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__19; +x_27 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__21; lean_inc(x_16); x_28 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_28, 0, x_16); lean_ctor_set(x_28, 1, x_26); lean_ctor_set(x_28, 2, x_24); lean_ctor_set(x_28, 3, x_27); -x_29 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__22; +x_29 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__22; x_30 = lean_array_push(x_29, x_11); -x_31 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__8; +x_31 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__8; x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); -x_33 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__23; +x_33 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__23; x_34 = lean_array_push(x_33, x_28); x_35 = lean_array_push(x_34, x_32); -x_36 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__16; +x_36 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__16; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); x_38 = lean_array_push(x_33, x_22); x_39 = lean_array_push(x_38, x_37); -x_40 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__13; +x_40 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__13; x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); -x_42 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__24; +x_42 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__24; lean_inc(x_16); x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_16); lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__25; +x_44 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__25; lean_inc(x_9); x_45 = lean_array_push(x_44, x_9); x_46 = lean_array_push(x_45, x_41); @@ -3479,10 +3479,10 @@ x_47 = lean_array_push(x_46, x_43); x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_31); lean_ctor_set(x_48, 1, x_47); -x_49 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__36; +x_49 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__36; x_50 = l_Lean_addMacroScope(x_18, x_49, x_17); -x_51 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__34; -x_52 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__38; +x_51 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__34; +x_52 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__38; x_53 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_53, 0, x_16); lean_ctor_set(x_53, 1, x_51); @@ -3493,7 +3493,7 @@ lean_dec(x_9); lean_inc(x_54); x_55 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_25, x_54); x_56 = lean_array_push(x_33, x_53); -x_57 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__40; +x_57 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__40; x_58 = lean_array_push(x_57, x_20); x_59 = lean_array_push(x_58, x_48); if (lean_obj_tag(x_55) == 0) @@ -3510,14 +3510,14 @@ x_65 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_65, 0, x_36); lean_ctor_set(x_65, 1, x_64); x_66 = lean_array_push(x_29, x_65); -x_67 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__31; +x_67 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__31; x_68 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_68, 0, x_67); lean_ctor_set(x_68, 1, x_66); x_69 = lean_array_push(x_33, x_68); -x_70 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__9; +x_70 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__9; x_71 = lean_array_push(x_69, x_70); -x_72 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__29; +x_72 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__29; x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); @@ -3526,12 +3526,12 @@ x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_31); lean_ctor_set(x_75, 1, x_74); x_76 = lean_array_push(x_29, x_75); -x_77 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__27; +x_77 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__27; x_78 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_78, 0, x_77); lean_ctor_set(x_78, 1, x_76); x_79 = lean_array_push(x_59, x_78); -x_80 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__2; +x_80 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__2; x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); @@ -3545,16 +3545,16 @@ lean_dec(x_54); x_82 = lean_ctor_get(x_55, 0); lean_inc(x_82); lean_dec(x_55); -x_83 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__43; +x_83 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__43; x_84 = l_String_intercalate(x_83, x_82); -x_85 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__44; +x_85 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__44; x_86 = lean_string_append(x_85, x_84); lean_dec(x_84); x_87 = l_Lean_nameLitKind; x_88 = lean_box(2); x_89 = l_Lean_Syntax_mkLit(x_87, x_86, x_88); x_90 = lean_array_push(x_29, x_89); -x_91 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__42; +x_91 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__42; x_92 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_92, 0, x_91); lean_ctor_set(x_92, 1, x_90); @@ -3568,14 +3568,14 @@ x_97 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_97, 0, x_36); lean_ctor_set(x_97, 1, x_96); x_98 = lean_array_push(x_29, x_97); -x_99 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__31; +x_99 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__31; x_100 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_100, 0, x_99); lean_ctor_set(x_100, 1, x_98); x_101 = lean_array_push(x_33, x_100); -x_102 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__9; +x_102 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__9; x_103 = lean_array_push(x_101, x_102); -x_104 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__29; +x_104 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__29; x_105 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_105, 0, x_104); lean_ctor_set(x_105, 1, x_103); @@ -3584,12 +3584,12 @@ x_107 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_107, 0, x_31); lean_ctor_set(x_107, 1, x_106); x_108 = lean_array_push(x_29, x_107); -x_109 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__27; +x_109 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__27; x_110 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_110, 0, x_109); lean_ctor_set(x_110, 1, x_108); x_111 = lean_array_push(x_59, x_110); -x_112 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__2; +x_112 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__2; x_113 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_113, 0, x_112); lean_ctor_set(x_113, 1, x_111); @@ -3610,12 +3610,12 @@ lean_inc(x_116); x_117 = lean_ctor_get(x_2, 1); lean_inc(x_117); lean_dec(x_2); -x_118 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__1; +x_118 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__1; lean_inc(x_114); x_119 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_119, 0, x_114); lean_ctor_set(x_119, 1, x_118); -x_120 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__14; +x_120 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__14; lean_inc(x_114); x_121 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_121, 0, x_114); @@ -3625,39 +3625,39 @@ lean_inc(x_116); lean_inc(x_117); x_123 = l_Lean_addMacroScope(x_117, x_122, x_116); x_124 = lean_box(0); -x_125 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__19; -x_126 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__21; +x_125 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__19; +x_126 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__21; lean_inc(x_114); x_127 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_127, 0, x_114); lean_ctor_set(x_127, 1, x_125); lean_ctor_set(x_127, 2, x_123); lean_ctor_set(x_127, 3, x_126); -x_128 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__22; +x_128 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__22; x_129 = lean_array_push(x_128, x_11); -x_130 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__8; +x_130 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__8; x_131 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_131, 0, x_130); lean_ctor_set(x_131, 1, x_129); -x_132 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__23; +x_132 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__23; x_133 = lean_array_push(x_132, x_127); x_134 = lean_array_push(x_133, x_131); -x_135 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__16; +x_135 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__16; x_136 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_136, 0, x_135); lean_ctor_set(x_136, 1, x_134); x_137 = lean_array_push(x_132, x_121); x_138 = lean_array_push(x_137, x_136); -x_139 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__13; +x_139 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__13; x_140 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_140, 0, x_139); lean_ctor_set(x_140, 1, x_138); -x_141 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__24; +x_141 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__24; lean_inc(x_114); x_142 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_142, 0, x_114); lean_ctor_set(x_142, 1, x_141); -x_143 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__25; +x_143 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__25; lean_inc(x_9); x_144 = lean_array_push(x_143, x_9); x_145 = lean_array_push(x_144, x_140); @@ -3665,10 +3665,10 @@ x_146 = lean_array_push(x_145, x_142); x_147 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_147, 0, x_130); lean_ctor_set(x_147, 1, x_146); -x_148 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__36; +x_148 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__36; x_149 = l_Lean_addMacroScope(x_117, x_148, x_116); -x_150 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__34; -x_151 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__38; +x_150 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__34; +x_151 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__38; x_152 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_152, 0, x_114); lean_ctor_set(x_152, 1, x_150); @@ -3679,7 +3679,7 @@ lean_dec(x_9); lean_inc(x_153); x_154 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_124, x_153); x_155 = lean_array_push(x_132, x_152); -x_156 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__40; +x_156 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__40; x_157 = lean_array_push(x_156, x_119); x_158 = lean_array_push(x_157, x_147); if (lean_obj_tag(x_154) == 0) @@ -3696,14 +3696,14 @@ x_164 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_164, 0, x_135); lean_ctor_set(x_164, 1, x_163); x_165 = lean_array_push(x_128, x_164); -x_166 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__31; +x_166 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__31; x_167 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_167, 0, x_166); lean_ctor_set(x_167, 1, x_165); x_168 = lean_array_push(x_132, x_167); -x_169 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__9; +x_169 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__9; x_170 = lean_array_push(x_168, x_169); -x_171 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__29; +x_171 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__29; x_172 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_172, 0, x_171); lean_ctor_set(x_172, 1, x_170); @@ -3712,12 +3712,12 @@ x_174 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_174, 0, x_130); lean_ctor_set(x_174, 1, x_173); x_175 = lean_array_push(x_128, x_174); -x_176 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__27; +x_176 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__27; x_177 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_177, 0, x_176); lean_ctor_set(x_177, 1, x_175); x_178 = lean_array_push(x_158, x_177); -x_179 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__2; +x_179 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__2; x_180 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_180, 0, x_179); lean_ctor_set(x_180, 1, x_178); @@ -3733,16 +3733,16 @@ lean_dec(x_153); x_182 = lean_ctor_get(x_154, 0); lean_inc(x_182); lean_dec(x_154); -x_183 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__43; +x_183 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__43; x_184 = l_String_intercalate(x_183, x_182); -x_185 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__44; +x_185 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__44; x_186 = lean_string_append(x_185, x_184); lean_dec(x_184); x_187 = l_Lean_nameLitKind; x_188 = lean_box(2); x_189 = l_Lean_Syntax_mkLit(x_187, x_186, x_188); x_190 = lean_array_push(x_128, x_189); -x_191 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__42; +x_191 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__42; x_192 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_192, 0, x_191); lean_ctor_set(x_192, 1, x_190); @@ -3756,14 +3756,14 @@ x_197 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_197, 0, x_135); lean_ctor_set(x_197, 1, x_196); x_198 = lean_array_push(x_128, x_197); -x_199 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__31; +x_199 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__31; x_200 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_200, 0, x_199); lean_ctor_set(x_200, 1, x_198); x_201 = lean_array_push(x_132, x_200); -x_202 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__9; +x_202 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__9; x_203 = lean_array_push(x_201, x_202); -x_204 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__29; +x_204 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__29; x_205 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_205, 0, x_204); lean_ctor_set(x_205, 1, x_203); @@ -3772,12 +3772,12 @@ x_207 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_207, 0, x_130); lean_ctor_set(x_207, 1, x_206); x_208 = lean_array_push(x_128, x_207); -x_209 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__27; +x_209 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__27; x_210 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_210, 0, x_209); lean_ctor_set(x_210, 1, x_208); x_211 = lean_array_push(x_158, x_210); -x_212 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__2; +x_212 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__2; x_213 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_213, 0, x_212); lean_ctor_set(x_213, 1, x_211); @@ -3831,7 +3831,7 @@ l_Lean_instInhabitedOptionDecl = _init_l_Lean_instInhabitedOptionDecl(); lean_mark_persistent(l_Lean_instInhabitedOptionDecl); l_Lean_instInhabitedOptionDecls = _init_l_Lean_instInhabitedOptionDecls(); lean_mark_persistent(l_Lean_instInhabitedOptionDecls); -res = l___private_Lean_Data_Options_0__Lean_initOptionDeclsRef(lean_io_mk_world()); +res = l_Lean_initFn____x40_Lean_Data_Options___hyg_107_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l___private_Lean_Data_Options_0__Lean_optionDeclsRef = lean_io_result_get_value(res); lean_mark_persistent(l___private_Lean_Data_Options_0__Lean_optionDeclsRef); @@ -3928,94 +3928,94 @@ l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__26 lean_mark_persistent(l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d_____closed__26); l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d__ = _init_l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d__(); lean_mark_persistent(l_Lean_Option_commandRegister__builtin__option_____x3a___x3a_x3d__); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__1 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__1(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__1); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__2 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__2(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__2); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__3 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__3(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__3); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__4 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__4(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__4); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__5 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__5(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__5); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__6 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__6(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__6); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__7 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__7(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__7); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__8 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__8(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__8); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__9 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__9(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__9); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__10 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__10(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__10); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__11 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__11(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__11); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__12 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__12(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__12); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__13 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__13(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__13); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__14 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__14(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__14); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__15 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__15(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__15); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__16 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__16(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__16); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__17 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__17(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__17); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__18 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__18(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__18); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__19 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__19(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__19); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__20 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__20(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__20); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__21 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__21(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__21); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__22 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__22(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__22); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__23 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__23(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__23); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__24 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__24(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__24); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__25 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__25(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__25); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__26 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__26(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__26); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__27 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__27(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__27); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__28 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__28(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__28); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__29 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__29(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__29); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__30 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__30(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__30); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__31 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__31(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__31); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__32 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__32(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__32); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__33 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__33(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__33); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__34 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__34(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__34); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__35 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__35(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__35); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__36 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__36(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__36); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__37 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__37(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__37); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__38 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__38(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__38); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__39 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__39(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__39); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__40 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__40(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__40); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__41 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__41(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__41); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__42 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__42(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__42); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__43 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__43(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__43); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__44 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__44(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1034____closed__44); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__1 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__1(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__1); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__2 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__2(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__2); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__3 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__3(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__3); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__4 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__4(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__4); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__5 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__5(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__5); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__6 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__6(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__6); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__7 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__7(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__7); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__8 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__8(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__8); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__9 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__9(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__9); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__10 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__10(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__10); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__11 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__11(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__11); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__12 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__12(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__12); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__13 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__13(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__13); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__14 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__14(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__14); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__15 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__15(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__15); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__16 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__16(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__16); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__17 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__17(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__17); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__18 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__18(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__18); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__19 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__19(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__19); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__20 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__20(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__20); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__21 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__21(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__21); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__22 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__22(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__22); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__23 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__23(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__23); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__24 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__24(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__24); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__25 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__25(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__25); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__26 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__26(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__26); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__27 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__27(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__27); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__28 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__28(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__28); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__29 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__29(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__29); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__30 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__30(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__30); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__31 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__31(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__31); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__32 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__32(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__32); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__33 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__33(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__33); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__34 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__34(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__34); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__35 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__35(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__35); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__36 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__36(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__36); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__37 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__37(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__37); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__38 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__38(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__38); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__39 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__39(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__39); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__40 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__40(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__40); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__41 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__41(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__41); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__42 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__42(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__42); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__43 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__43(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__43); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__44 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__44(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1038____closed__44); l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__1 = _init_l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__1(); lean_mark_persistent(l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__1); l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__2 = _init_l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__2(); @@ -4038,10 +4038,10 @@ l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__10 = _init_l lean_mark_persistent(l_Lean_Option_commandRegister__option_____x3a___x3a_x3d_____closed__10); l_Lean_Option_commandRegister__option_____x3a___x3a_x3d__ = _init_l_Lean_Option_commandRegister__option_____x3a___x3a_x3d__(); lean_mark_persistent(l_Lean_Option_commandRegister__option_____x3a___x3a_x3d__); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__1 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__1(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__1); -l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__2 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__2(); -lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1292____closed__2); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__1 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__1(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__1); +l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__2 = _init_l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__2(); +lean_mark_persistent(l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_1296____closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/DeclarationRange.c b/stage0/stdlib/Lean/DeclarationRange.c index 80b05579a8..f5cf072f0e 100644 --- a/stage0/stdlib/Lean/DeclarationRange.c +++ b/stage0/stdlib/Lean/DeclarationRange.c @@ -1985,7 +1985,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_findDeclarationRangesCore_x3f___spec__4___closed__3; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_findDeclarationRangesCore_x3f___spec__4___closed__4; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/DocString.c b/stage0/stdlib/Lean/DocString.c index eee608ad5d..5791ddda48 100644 --- a/stage0/stdlib/Lean/DocString.c +++ b/stage0/stdlib/Lean/DocString.c @@ -1389,7 +1389,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_findDocString_x3f___spec__4___closed__3; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_findDocString_x3f___spec__4___closed__4; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PatternVar.c b/stage0/stdlib/Lean/Elab/PatternVar.c index 458d024394..3ad5487195 100644 --- a/stage0/stdlib/Lean/Elab/PatternVar.c +++ b/stage0/stdlib/Lean/Elab/PatternVar.c @@ -281,7 +281,7 @@ lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVa lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__13; -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_doubleQuotedNameToPattern___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); @@ -475,7 +475,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__4; lean_object* l_Lean_mkConst(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__14; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternVars___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4440,39 +4440,52 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_pro return x_2; } } -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; -x_5 = lean_box(x_1); -switch (lean_obj_tag(x_5)) { +lean_object* x_6; +x_6 = lean_box(x_1); +switch (lean_obj_tag(x_6)) { case 1: { -lean_object* x_6; lean_object* x_7; +lean_object* x_7; lean_object* x_8; +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_6 = lean_box(0); -x_7 = lean_apply_1(x_2, x_6); -return x_7; +x_7 = lean_box(0); +x_8 = lean_apply_1(x_2, x_7); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_9 = lean_box(0); +x_10 = lean_apply_1(x_3, x_9); +return x_10; } case 3: { -lean_object* x_8; lean_object* x_9; -lean_dec(x_4); -lean_dec(x_2); -x_8 = lean_box(0); -x_9 = lean_apply_1(x_3, x_8); -return x_9; -} -default: -{ -lean_object* x_10; lean_object* x_11; +lean_object* x_11; lean_object* x_12; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_10 = lean_box(x_1); -x_11 = lean_apply_1(x_4, x_10); -return x_11; +x_11 = lean_box(0); +x_12 = lean_apply_1(x_4, x_11); +return x_12; +} +default: +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_13 = lean_box(x_1); +x_14 = lean_apply_1(x_5, x_13); +return x_14; } } } @@ -4481,18 +4494,18 @@ lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_m _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg___boxed), 5, 0); return x_2; } } -lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_5; lean_object* x_6; -x_5 = lean_unbox(x_1); +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_1); lean_dec(x_1); -x_6 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg(x_5, x_2, x_3, x_4); -return x_6; +x_7 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__1___rarg(x_6, x_2, x_3, x_4, x_5); +return x_7; } } lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -5816,7 +5829,7 @@ x_29 = lean_ctor_get(x_14, 1); lean_inc(x_29); lean_dec(x_14); switch (lean_obj_tag(x_29)) { -case 1: +case 0: { lean_object* x_30; lean_inc(x_8); @@ -5826,7 +5839,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_30 = l_Lean_Elab_Term_CollectPatternVars_collect_processImplicitArg(x_11, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_30 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg(x_11, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_30) == 0) { lean_object* x_31; lean_object* x_32; lean_object* x_33; @@ -5868,7 +5881,7 @@ return x_37; } } } -case 3: +case 4: { lean_object* x_38; lean_inc(x_8); @@ -5878,7 +5891,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_38 = l_Lean_Elab_Term_CollectPatternVars_collect_processImplicitArg(x_11, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_38 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg(x_11, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_38) == 0) { lean_object* x_39; lean_object* x_40; lean_object* x_41; @@ -5931,7 +5944,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_46 = l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg(x_11, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_46 = l_Lean_Elab_Term_CollectPatternVars_collect_processImplicitArg(x_11, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_46) == 0) { lean_object* x_47; lean_object* x_48; lean_object* x_49; diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c index 584df992d0..809e98e7d5 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c @@ -89,7 +89,6 @@ lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompile lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__7___boxed(lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__4(lean_object*, lean_object*, size_t, size_t); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____spec__1(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___lambda__1___closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_getMVarsAtPreDef___closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__3___closed__1; @@ -120,6 +119,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_addPreDefinitions___spec__2__ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__19(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___closed__2; size_t lean_usize_modn(size_t, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____spec__1(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__7___lambda__1___closed__4; 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*); @@ -2235,7 +2235,7 @@ lean_inc(x_24); x_25 = lean_ctor_get(x_22, 0); lean_inc(x_25); lean_dec(x_22); -x_26 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____spec__1(x_24, x_25); +x_26 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____spec__1(x_24, x_25); lean_dec(x_25); lean_dec(x_24); if (x_26 == 0) @@ -2268,7 +2268,7 @@ lean_inc(x_31); x_32 = lean_ctor_get(x_29, 0); lean_inc(x_32); lean_dec(x_29); -x_33 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____spec__1(x_31, x_32); +x_33 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____spec__1(x_31, x_32); lean_dec(x_32); lean_dec(x_31); if (x_33 == 0) diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index e78bbba68b..a8ca8576e7 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -425,7 +425,6 @@ lean_object* l_Lean_Syntax_mkCApp(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___closed__9; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__8; -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__1___rarg___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__17; @@ -597,6 +596,7 @@ lean_object* l_Std_RBNode_find___at___private_Lean_Hygiene_0__Lean_sanitizeSynta lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___closed__5; lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_9771_(lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__3; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -17212,7 +17212,7 @@ lean_object* x_10; lean_object* x_11; uint8_t x_12; x_10 = lean_array_get_size(x_2); x_11 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_11, 0, x_10); -x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____spec__1(x_7, x_11); +x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____spec__1(x_7, x_11); lean_dec(x_11); if (x_12 == 0) { diff --git a/stage0/stdlib/Lean/Elab/Tactic/Induction.c b/stage0/stdlib/Lean/Elab/Tactic/Induction.c index 60b2a59c57..1e400adee2 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Induction.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Induction.c @@ -36,7 +36,7 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Ind lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalInduction___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*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___spec__1___closed__1; -lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4482_(lean_object*); +lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4523_(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_go_match__6(lean_object*); @@ -97,7 +97,7 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction___closed__5; lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp(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_getMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields_match__1___rarg(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*); @@ -146,7 +146,6 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Ind lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames_match__1(lean_object*); lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4482____closed__2; lean_object* l_Lean_Elab_Tactic_evalInduction_match__1___rarg(lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); uint8_t l_Lean_Elab_Tactic_isHoleRHS(lean_object*); @@ -155,7 +154,6 @@ lean_object* l_Lean_Meta_addImplicitTargets(lean_object*, lean_object*, lean_obj static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__2___closed__3; lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm_match__1(lean_object*); lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4482____closed__1; lean_object* l_Lean_Meta_appendTag(lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; lean_object* lean_nat_add(lean_object*, lean_object*); @@ -297,7 +295,7 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1___lambda__2___closed__3; extern lean_object* l_Lean_instInhabitedExpr; lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___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___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_altHasExplicitModifier___boxed(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___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*); @@ -321,6 +319,7 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___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_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_go_match__3___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4523____closed__1; lean_object* l_Lean_mkFVar(lean_object*); uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); size_t lean_usize_of_nat(lean_object*); @@ -490,6 +489,7 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__1___closed__2; lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverloadCore___spec__2(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction___closed__2; +static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4523____closed__2; static lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__3___closed__2; lean_object* l_Lean_indentExpr(lean_object*); static lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__3___closed__1; @@ -2004,39 +2004,52 @@ x_1 = l_Lean_Elab_Tactic_ElimApp_State_alts___default___closed__1; return x_1; } } -lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; -x_5 = lean_box(x_1); -switch (lean_obj_tag(x_5)) { +lean_object* x_6; +x_6 = lean_box(x_1); +switch (lean_obj_tag(x_6)) { case 1: { -lean_object* x_6; lean_object* x_7; +lean_object* x_7; lean_object* x_8; +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_6 = lean_box(0); -x_7 = lean_apply_1(x_2, x_6); -return x_7; +x_7 = lean_box(0); +x_8 = lean_apply_1(x_2, x_7); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_9 = lean_box(0); +x_10 = lean_apply_1(x_3, x_9); +return x_10; } case 3: { -lean_object* x_8; lean_object* x_9; -lean_dec(x_4); -lean_dec(x_2); -x_8 = lean_box(0); -x_9 = lean_apply_1(x_3, x_8); -return x_9; -} -default: -{ -lean_object* x_10; lean_object* x_11; +lean_object* x_11; lean_object* x_12; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_10 = lean_box(x_1); -x_11 = lean_apply_1(x_4, x_10); -return x_11; +x_11 = lean_box(0); +x_12 = lean_apply_1(x_4, x_11); +return x_12; +} +default: +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_13 = lean_box(x_1); +x_14 = lean_apply_1(x_5, x_13); +return x_14; } } } @@ -2045,18 +2058,18 @@ lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1(lean_object* x_1 _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1___rarg___boxed), 5, 0); return x_2; } } -lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_5; lean_object* x_6; -x_5 = lean_unbox(x_1); +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_1); lean_dec(x_1); -x_6 = l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1___rarg(x_5, x_2, x_3, x_4); -return x_6; +x_7 = l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__1___rarg(x_6, x_2, x_3, x_4, x_5); +return x_7; } } lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -2425,9 +2438,10 @@ lean_dec(x_40); x_11 = x_41; goto _start; } -case 3: +case 2: { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t 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_dec(x_15); x_43 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getArgExpectedType___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); @@ -2436,176 +2450,203 @@ lean_inc(x_45); lean_dec(x_43); x_46 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_46, 0, x_44); -lean_inc(x_2); -x_47 = l_Lean_Meta_appendTag(x_2, x_15); -x_48 = 1; +x_47 = 0; +x_48 = lean_box(0); lean_inc(x_7); -x_49 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_46, x_48, x_47, x_7, x_8, x_9, x_10, x_45); +x_49 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_46, x_47, x_48, x_7, x_8, x_9, x_10, x_45); x_50 = lean_ctor_get(x_49, 0); lean_inc(x_50); x_51 = lean_ctor_get(x_49, 1); lean_inc(x_51); lean_dec(x_49); -x_52 = lean_st_ref_get(x_10, x_51); +x_52 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_addNewArg(x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_51); x_53 = lean_ctor_get(x_52, 1); lean_inc(x_53); lean_dec(x_52); -x_54 = lean_st_ref_take(x_4, x_53); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = !lean_is_exclusive(x_55); -if (x_57 == 0) +x_11 = x_53; +goto _start; +} +case 3: { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_58 = lean_ctor_get(x_55, 5); -x_59 = l_Lean_Expr_mvarId_x21(x_50); -x_60 = lean_array_push(x_58, x_59); -lean_ctor_set(x_55, 5, x_60); -x_61 = lean_st_ref_set(x_4, x_55, x_56); -x_62 = lean_ctor_get(x_61, 1); +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_61; 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; uint8_t x_69; +x_55 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getArgExpectedType___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_56); +lean_inc(x_2); +x_59 = l_Lean_Meta_appendTag(x_2, x_15); +x_60 = 1; +lean_inc(x_7); +x_61 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_58, x_60, x_59, x_7, x_8, x_9, x_10, x_57); +x_62 = lean_ctor_get(x_61, 0); lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); lean_dec(x_61); -x_63 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_addNewArg(x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_62); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -lean_dec(x_63); -x_11 = x_64; +x_64 = lean_st_ref_get(x_10, x_63); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +x_66 = lean_st_ref_take(x_4, x_65); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = !lean_is_exclusive(x_67); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_70 = lean_ctor_get(x_67, 5); +x_71 = l_Lean_Expr_mvarId_x21(x_62); +x_72 = lean_array_push(x_70, x_71); +lean_ctor_set(x_67, 5, x_72); +x_73 = lean_st_ref_set(x_4, x_67, x_68); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); +x_75 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_addNewArg(x_62, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_74); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +lean_dec(x_75); +x_11 = x_76; goto _start; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; 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 = lean_ctor_get(x_55, 0); -x_67 = lean_ctor_get(x_55, 1); -x_68 = lean_ctor_get(x_55, 2); -x_69 = lean_ctor_get(x_55, 3); -x_70 = lean_ctor_get(x_55, 4); -x_71 = lean_ctor_get(x_55, 5); -lean_inc(x_71); -lean_inc(x_70); -lean_inc(x_69); -lean_inc(x_68); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_55); -x_72 = l_Lean_Expr_mvarId_x21(x_50); -x_73 = lean_array_push(x_71, x_72); -x_74 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_74, 0, x_66); -lean_ctor_set(x_74, 1, x_67); -lean_ctor_set(x_74, 2, x_68); -lean_ctor_set(x_74, 3, x_69); -lean_ctor_set(x_74, 4, x_70); -lean_ctor_set(x_74, 5, x_73); -x_75 = lean_st_ref_set(x_4, x_74, x_56); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -lean_dec(x_75); -x_77 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_addNewArg(x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_76); -x_78 = lean_ctor_get(x_77, 1); +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_78 = lean_ctor_get(x_67, 0); +x_79 = lean_ctor_get(x_67, 1); +x_80 = lean_ctor_get(x_67, 2); +x_81 = lean_ctor_get(x_67, 3); +x_82 = lean_ctor_get(x_67, 4); +x_83 = lean_ctor_get(x_67, 5); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); lean_inc(x_78); -lean_dec(x_77); -x_11 = x_78; +lean_dec(x_67); +x_84 = l_Lean_Expr_mvarId_x21(x_62); +x_85 = lean_array_push(x_83, x_84); +x_86 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_86, 0, x_78); +lean_ctor_set(x_86, 1, x_79); +lean_ctor_set(x_86, 2, x_80); +lean_ctor_set(x_86, 3, x_81); +lean_ctor_set(x_86, 4, x_82); +lean_ctor_set(x_86, 5, x_85); +x_87 = lean_st_ref_set(x_4, x_86, x_68); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +x_89 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_addNewArg(x_62, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_88); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +lean_dec(x_89); +x_11 = x_90; goto _start; } } default: { -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; uint8_t x_95; +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; uint8_t x_107; lean_dec(x_30); -x_80 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getArgExpectedType___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -lean_inc(x_2); -x_83 = l_Lean_Meta_appendTag(x_2, x_15); -lean_inc(x_7); -x_84 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_81, x_83, x_7, x_8, x_9, x_10, x_82); -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec(x_84); -x_87 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getBindingName___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_86); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_90 = lean_st_ref_get(x_10, x_89); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec(x_90); -x_92 = lean_st_ref_take(x_4, x_91); +x_92 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getArgExpectedType___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); x_93 = lean_ctor_get(x_92, 0); lean_inc(x_93); x_94 = lean_ctor_get(x_92, 1); lean_inc(x_94); lean_dec(x_92); -x_95 = !lean_is_exclusive(x_93); -if (x_95 == 0) -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_96 = lean_ctor_get(x_93, 4); -x_97 = l_Lean_Expr_mvarId_x21(x_85); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_88); -lean_ctor_set(x_98, 1, x_97); -x_99 = lean_array_push(x_96, x_98); -lean_ctor_set(x_93, 4, x_99); -x_100 = lean_st_ref_set(x_4, x_93, x_94); -x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_2); +x_95 = l_Lean_Meta_appendTag(x_2, x_15); +lean_inc(x_7); +x_96 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_93, x_95, x_7, x_8, x_9, x_10, x_94); +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +lean_dec(x_96); +x_99 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getBindingName___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_98); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); lean_inc(x_101); -lean_dec(x_100); -x_102 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_addNewArg(x_85, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_101); +lean_dec(x_99); +x_102 = lean_st_ref_get(x_10, x_101); x_103 = lean_ctor_get(x_102, 1); lean_inc(x_103); lean_dec(x_102); -x_11 = x_103; -goto _start; -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_105 = lean_ctor_get(x_93, 0); -x_106 = lean_ctor_get(x_93, 1); -x_107 = lean_ctor_get(x_93, 2); -x_108 = lean_ctor_get(x_93, 3); -x_109 = lean_ctor_get(x_93, 4); -x_110 = lean_ctor_get(x_93, 5); -lean_inc(x_110); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -lean_inc(x_106); +x_104 = lean_st_ref_take(x_4, x_103); +x_105 = lean_ctor_get(x_104, 0); lean_inc(x_105); -lean_dec(x_93); -x_111 = l_Lean_Expr_mvarId_x21(x_85); -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_88); -lean_ctor_set(x_112, 1, x_111); -x_113 = lean_array_push(x_109, x_112); -x_114 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_114, 0, x_105); -lean_ctor_set(x_114, 1, x_106); -lean_ctor_set(x_114, 2, x_107); -lean_ctor_set(x_114, 3, x_108); -lean_ctor_set(x_114, 4, x_113); -lean_ctor_set(x_114, 5, x_110); -x_115 = lean_st_ref_set(x_4, x_114, x_94); -x_116 = lean_ctor_get(x_115, 1); -lean_inc(x_116); -lean_dec(x_115); -x_117 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_addNewArg(x_85, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_116); -x_118 = lean_ctor_get(x_117, 1); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_107 = !lean_is_exclusive(x_105); +if (x_107 == 0) +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_108 = lean_ctor_get(x_105, 4); +x_109 = l_Lean_Expr_mvarId_x21(x_97); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_100); +lean_ctor_set(x_110, 1, x_109); +x_111 = lean_array_push(x_108, x_110); +lean_ctor_set(x_105, 4, x_111); +x_112 = lean_st_ref_set(x_4, x_105, x_106); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +lean_dec(x_112); +x_114 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_addNewArg(x_97, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_113); +x_115 = lean_ctor_get(x_114, 1); +lean_inc(x_115); +lean_dec(x_114); +x_11 = x_115; +goto _start; +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_117 = lean_ctor_get(x_105, 0); +x_118 = lean_ctor_get(x_105, 1); +x_119 = lean_ctor_get(x_105, 2); +x_120 = lean_ctor_get(x_105, 3); +x_121 = lean_ctor_get(x_105, 4); +x_122 = lean_ctor_get(x_105, 5); +lean_inc(x_122); +lean_inc(x_121); +lean_inc(x_120); +lean_inc(x_119); lean_inc(x_118); -lean_dec(x_117); -x_11 = x_118; +lean_inc(x_117); +lean_dec(x_105); +x_123 = l_Lean_Expr_mvarId_x21(x_97); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_100); +lean_ctor_set(x_124, 1, x_123); +x_125 = lean_array_push(x_121, x_124); +x_126 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_126, 0, x_117); +lean_ctor_set(x_126, 1, x_118); +lean_ctor_set(x_126, 2, x_119); +lean_ctor_set(x_126, 3, x_120); +lean_ctor_set(x_126, 4, x_125); +lean_ctor_set(x_126, 5, x_122); +x_127 = lean_st_ref_set(x_4, x_126, x_106); +x_128 = lean_ctor_get(x_127, 1); +lean_inc(x_128); +lean_dec(x_127); +x_129 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_addNewArg(x_97, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_128); +x_130 = lean_ctor_get(x_129, 1); +lean_inc(x_130); +lean_dec(x_129); +x_11 = x_130; goto _start; } } @@ -2613,44 +2654,44 @@ goto _start; } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; lean_dec(x_15); lean_dec(x_2); -x_120 = lean_st_ref_get(x_10, x_21); -x_121 = lean_ctor_get(x_120, 1); -lean_inc(x_121); -lean_dec(x_120); -x_122 = lean_st_ref_get(x_4, x_121); -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); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -x_126 = lean_ctor_get(x_3, 1); -lean_inc(x_126); -x_127 = lean_array_get_size(x_126); -lean_dec(x_126); -x_128 = lean_nat_dec_lt(x_125, x_127); -lean_dec(x_127); -lean_dec(x_125); -if (x_128 == 0) +x_132 = lean_st_ref_get(x_10, x_21); +x_133 = lean_ctor_get(x_132, 1); +lean_inc(x_133); +lean_dec(x_132); +x_134 = lean_st_ref_get(x_4, x_133); +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_134, 1); +lean_inc(x_136); +lean_dec(x_134); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +x_138 = lean_ctor_get(x_3, 1); +lean_inc(x_138); +x_139 = lean_array_get_size(x_138); +lean_dec(x_138); +x_140 = lean_nat_dec_lt(x_137, x_139); +lean_dec(x_139); +lean_dec(x_137); +if (x_140 == 0) { -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; -lean_dec(x_123); +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; +lean_dec(x_135); lean_dec(x_23); -x_129 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_129, 0, x_1); -x_130 = l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___closed__2; -x_131 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_131, 0, x_130); -lean_ctor_set(x_131, 1, x_129); -x_132 = l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___closed__4; -x_133 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_133, 0, x_131); -lean_ctor_set(x_133, 1, x_132); -x_134 = l_Lean_throwError___at_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___spec__1(x_133, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_124); +x_141 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_141, 0, x_1); +x_142 = l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___closed__2; +x_143 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_141); +x_144 = l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___closed__4; +x_145 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +x_146 = l_Lean_throwError___at_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___spec__1(x_145, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_136); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -2659,73 +2700,73 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_135 = !lean_is_exclusive(x_134); -if (x_135 == 0) +x_147 = !lean_is_exclusive(x_146); +if (x_147 == 0) { -return x_134; +return x_146; } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_ctor_get(x_134, 0); -x_137 = lean_ctor_get(x_134, 1); -lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_134); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -return x_138; +lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_148 = lean_ctor_get(x_146, 0); +x_149 = lean_ctor_get(x_146, 1); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_146); +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_148); +lean_ctor_set(x_150, 1, x_149); +return x_150; } } else { -lean_object* x_139; lean_object* x_140; +lean_object* x_151; lean_object* x_152; lean_dec(x_1); -x_139 = lean_box(0); +x_151 = lean_box(0); lean_inc(x_3); -x_140 = l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___lambda__2(x_3, x_123, x_23, x_139, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_124); -lean_dec(x_123); +x_152 = l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___lambda__2(x_3, x_135, x_23, x_151, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_136); +lean_dec(x_135); lean_dec(x_3); -return x_140; +return x_152; } } } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t 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_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_dec(x_24); lean_dec(x_23); lean_dec(x_22); lean_dec(x_15); -x_141 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getArgExpectedType___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_144 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_144, 0, x_142); -x_145 = 2; -x_146 = lean_box(0); +x_153 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getArgExpectedType___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +x_156 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_156, 0, x_154); +x_157 = 2; +x_158 = lean_box(0); lean_inc(x_7); -x_147 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_144, x_145, x_146, x_7, x_8, x_9, x_10, x_143); -x_148 = lean_ctor_get(x_147, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 1); -lean_inc(x_149); -lean_dec(x_147); -x_150 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_addNewArg(x_148, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_149); -x_151 = lean_ctor_get(x_150, 1); -lean_inc(x_151); -lean_dec(x_150); -x_11 = x_151; +x_159 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_156, x_157, x_158, x_7, x_8, x_9, x_10, x_155); +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_159, 1); +lean_inc(x_161); +lean_dec(x_159); +x_162 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_addNewArg(x_160, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_161); +x_163 = lean_ctor_get(x_162, 1); +lean_inc(x_163); +lean_dec(x_162); +x_11 = x_163; goto _start; } } else { -uint8_t x_153; +uint8_t x_165; lean_dec(x_13); lean_dec(x_10); lean_dec(x_9); @@ -2737,33 +2778,33 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_153 = !lean_is_exclusive(x_12); -if (x_153 == 0) +x_165 = !lean_is_exclusive(x_12); +if (x_165 == 0) { -lean_object* x_154; lean_object* x_155; -x_154 = lean_ctor_get(x_12, 0); -lean_dec(x_154); -x_155 = lean_box(0); -lean_ctor_set(x_12, 0, x_155); +lean_object* x_166; lean_object* x_167; +x_166 = lean_ctor_get(x_12, 0); +lean_dec(x_166); +x_167 = lean_box(0); +lean_ctor_set(x_12, 0, x_167); return x_12; } else { -lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_156 = lean_ctor_get(x_12, 1); -lean_inc(x_156); +lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_168 = lean_ctor_get(x_12, 1); +lean_inc(x_168); lean_dec(x_12); -x_157 = lean_box(0); -x_158 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_158, 0, x_157); -lean_ctor_set(x_158, 1, x_156); -return x_158; +x_169 = lean_box(0); +x_170 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_168); +return x_170; } } } else { -uint8_t x_159; +uint8_t x_171; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -2774,23 +2815,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_159 = !lean_is_exclusive(x_12); -if (x_159 == 0) +x_171 = !lean_is_exclusive(x_12); +if (x_171 == 0) { return x_12; } else { -lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_160 = lean_ctor_get(x_12, 0); -x_161 = lean_ctor_get(x_12, 1); -lean_inc(x_161); -lean_inc(x_160); +lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_172 = lean_ctor_get(x_12, 0); +x_173 = lean_ctor_get(x_12, 1); +lean_inc(x_173); +lean_inc(x_172); lean_dec(x_12); -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_160); -lean_ctor_set(x_162, 1, x_161); -return x_162; +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_172); +lean_ctor_set(x_174, 1, x_173); +return x_174; } } } @@ -14964,7 +15005,7 @@ x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabTargets___spec__1(x_13, return x_15; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4482____closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4523____closed__1() { _start: { lean_object* x_1; @@ -14972,21 +15013,21 @@ x_1 = lean_mk_string("cases"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4482____closed__2() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4523____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___closed__2; -x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4482____closed__1; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4523____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4482_(lean_object* x_1) { +lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4523_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4482____closed__2; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4523____closed__2; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -15915,7 +15956,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Tactic_evalInduction___closed__2; -x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4482____closed__1; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4523____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -16226,11 +16267,11 @@ l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___lamb lean_mark_persistent(l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___lambda__1___closed__2); l_Lean_Elab_Tactic_elabTargets___boxed__const__1 = _init_l_Lean_Elab_Tactic_elabTargets___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Tactic_elabTargets___boxed__const__1); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4482____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4482____closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4482____closed__1); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4482____closed__2 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4482____closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4482____closed__2); -res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4482_(lean_io_mk_world()); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4523____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4523____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4523____closed__1); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4523____closed__2 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4523____closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4523____closed__2); +res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4523_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Tactic_evalCases___lambda__2___boxed__const__1 = _init_l_Lean_Elab_Tactic_evalCases___lambda__2___boxed__const__1(); diff --git a/stage0/stdlib/Lean/Environment.c b/stage0/stdlib/Lean/Environment.c index d0a401f4a1..92a9a0e77f 100644 --- a/stage0/stdlib/Lean/Environment.c +++ b/stage0/stdlib/Lean/Environment.c @@ -46,7 +46,6 @@ static lean_object* l_Lean_mkMapDeclarationExtension___rarg___closed__2; lean_object* l_Lean_updateEnvAttributesRef; lean_object* l_Std_HashMap_insert_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkMapDeclarationExtension___rarg___lambda__2___boxed(lean_object*); -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__6(lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_SimplePersistentEnvExtension_getState___spec__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_instInhabitedEnvExtensionInterface___closed__2; @@ -63,14 +62,15 @@ static lean_object* l_Lean_mkEmptyEnvironment___lambda__1___closed__2; lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_mkModuleData___spec__4___rarg(lean_object*, lean_object*); lean_object* l_Lean_Environment_isConstructor_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_withImportModules(lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__2(lean_object*, size_t, size_t, lean_object*); uint8_t l_Lean_Environment_isNamespace(lean_object*, lean_object*); lean_object* l_Lean_instInhabitedEnvironmentHeader; extern lean_object* l_Lean_NameSet_instInhabitedNameSet; lean_object* l_Lean_namespacesExt___elambda__3(lean_object*, lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkMapDeclarationExtension___spec__6(lean_object*); lean_object* lean_environment_free_regions(lean_object*, lean_object*); +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__6(lean_object*, lean_object*); lean_object* l_Lean_EnvExtension_setState(lean_object*); +lean_object* l_Lean_EnvExtensionInterfaceUnsafe_initFn____x40_Lean_Environment___hyg_910_(lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Environment_find_x3f___spec__3___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Environment_0__Lean_setImportedEntries(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Environment_displayStats___closed__1; @@ -97,6 +97,7 @@ lean_object* l_Lean_SimplePersistentEnvExtension_getState(lean_object*, lean_obj lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_mkModuleData___spec__5___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Environment_displayStats___closed__8; lean_object* l_Lean_SMap_numBuckets___at_Lean_Environment_displayStats___spec__5___boxed(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Environment_getModuleIdxFor_x3f___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_MapDeclarationExtension_find_x3f___spec__4(lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__7___closed__3; @@ -154,6 +155,7 @@ lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Environment_find_x3f___spec__2_ lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l___private_Lean_Environment_0__Lean_getEntriesFor(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_EnvExtension_getState(lean_object*); static lean_object* l_Lean_instInhabitedEnvExtensionInterface___closed__6; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_setState___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -185,7 +187,7 @@ lean_object* l_Lean_Environment_compileDecl___boxed(lean_object*, lean_object*, lean_object* l_Lean_SMap_size___at_Lean_Environment_displayStats___spec__3(lean_object*); lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___at_Lean_MapDeclarationExtension_contains___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Environment_0__Lean_Environment_throwUnexpectedType___rarg(lean_object*, lean_object*); -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__5(lean_object*, lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4025____lambda__2___boxed(lean_object*); static lean_object* l_Lean_namespacesExt___closed__2; lean_object* l_Lean_namespacesExt___elambda__3___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_freeRegions___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -344,25 +346,26 @@ lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Environment_r lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_MapDeclarationExtension_contains___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedModuleData___closed__1; +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg(lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_PersistentEnvExtension_getModuleEntries___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_SMap_contains___at_Lean_Environment_contains___spec__1(lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_modifyState(lean_object*); lean_object* l_Std_AssocList_find_x3f___at_Lean_Environment_find_x3f___spec__3(lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__5; lean_object* l_Lean_SimplePersistentEnvExtension_getEntries___rarg___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__7(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__1(lean_object*); lean_object* l_Lean_registerPersistentEnvExtension(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Environment_displayStats___closed__3; lean_object* l_Lean_importModules_importMods___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_qpartition_loop___at_Lean_mkMapDeclarationExtension___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__5; static lean_object* l_Lean_mkEmptyEnvironment___closed__2; lean_object* l_Lean_importModules_importMods___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_format_pretty(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -uint8_t l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__7(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_importModules_importMods___closed__1; lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); @@ -372,6 +375,7 @@ lean_object* l_Array_qpartition_loop___at_Lean_mkMapDeclarationExtension___spec_ static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_MapDeclarationExtension_find_x3f___spec__6___rarg___closed__2; static lean_object* l_Lean_importModules___closed__3; lean_object* l_Lean_SimplePersistentEnvExtension_modifyState___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__3; lean_object* l_Lean_instMonadEnv___rarg(lean_object*, lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_mkMapDeclarationExtension___spec__7(lean_object*); lean_object* l_Lean_EnvExtension_instInhabitedEnvExtension(lean_object*, lean_object*); @@ -382,10 +386,8 @@ lean_object* lean_array_to_list(lean_object*, lean_object*); lean_object* lean_eval_const(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_MapDeclarationExtension_find_x3f___spec__6___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_SMap_contains___at_Lean_Environment_contains___spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__3; lean_object* l_Lean_SimplePersistentEnvExtension_getEntries___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); -lean_object* l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__3___boxed(lean_object*); uint32_t lean_environment_trust_level(lean_object*); lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -400,7 +402,6 @@ lean_object* l_Lean_mkMapDeclarationExtension(lean_object*); lean_object* l_Lean_ImportState_regions___default; lean_object* lean_environment_add(lean_object*, lean_object*); lean_object* lean_save_module_data(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__1___boxed(lean_object*, lean_object*); uint8_t l_Std_AssocList_contains___at_Lean_Environment_contains___spec__3(lean_object*, lean_object*); lean_object* l_Lean_withImportModules___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ImportState_moduleNames___default; @@ -408,7 +409,6 @@ lean_object* l_Lean_EnvExtension_getState___rarg___boxed(lean_object*, lean_obje lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___at_Lean_MapDeclarationExtension_find_x3f___spec__5___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_qsort_sort___at_Lean_mkMapDeclarationExtension___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*); size_t lean_usize_modn(size_t, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__6; lean_object* l_Lean_saveModuleData___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkModuleData(lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_instInhabitedMapDeclarationExtension(lean_object*); @@ -432,7 +432,6 @@ lean_object* l_Lean_EnvExtensionEntrySpec; lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_mkModuleData___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_importModules___closed__1; lean_object* l_Array_qpartition_loop___at_Lean_mkTagDeclarationExtension___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Environment_addDecl___boxed(lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_modifyState___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceImp___elambda__6(lean_object*); @@ -445,7 +444,6 @@ static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_modifyState___rarg___clos static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__7___lambda__1___closed__2; static lean_object* l_Lean_EnvExtensionInterfaceImp___closed__6; static lean_object* l_Lean_TagDeclarationExtension_instInhabitedTagDeclarationExtension___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_importModules_importMods_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___at_Lean_SimplePersistentEnvExtension_getEntries___spec__1(lean_object*, lean_object*); @@ -460,12 +458,12 @@ lean_object* l_Std_AssocList_contains___at_Lean_Environment_contains___spec__3__ lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_mkModuleData___spec__4___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_MapDeclarationExtension_instInhabitedMapDeclarationExtension___closed__1; static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___closed__2; -lean_object* l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_mkEnvExtensionsRef(lean_object*); lean_object* l_Lean_SMap_stageSizes___at_Lean_Environment_displayStats___spec__4(lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceImp___elambda__3___boxed(lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); lean_object* l_Lean_Environment_evalConstCheck___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__1(lean_object*, lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvironmentHeader_regions___default; static lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_mkModuleData___spec__5___closed__1; @@ -491,7 +489,6 @@ lean_object* l_Lean_PersistentEnvExtension_setState___rarg___lambda__1(lean_obje lean_object* l_Lean_namespacesExt___elambda__2(lean_object*); lean_object* l_Lean_PersistentEnvExtension_modifyState___rarg___lambda__1(lean_object*, lean_object*); extern lean_object* l_Lean_Expr_FindImpl_initCache; -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__1; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_setState___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_environment(uint32_t, lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -512,6 +509,7 @@ static lean_object* l_Lean_instToStringImport___closed__1; lean_object* l_Lean_importModules_match__3(lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___at_Lean_SimplePersistentEnvExtension_getState___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___at_Lean_Environment_registerNamespace___spec__2(lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__1; static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___closed__4; lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__3(lean_object*); lean_object* l_Lean_EnvExtensionInterfaceImp___elambda__3(lean_object*, lean_object*); @@ -534,6 +532,7 @@ lean_object* l_Lean_PersistentEnvExtension_getState___at_Lean_MapDeclarationExte lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__4(lean_object*); lean_object* l_Array_qsort_sort___at_Lean_mkMapDeclarationExtension___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Id_instMonadId; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_importModules___spec__2___closed__1; extern lean_object* l_Lean_SMap_empty___at_Lean_NameSSet_empty___spec__1; @@ -543,6 +542,7 @@ static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_MapDec lean_object* l_Lean_MapDeclarationExtension_find_x3f(lean_object*); static lean_object* l_Lean_importModules_importMods___closed__3; lean_object* l_Lean_importModules_match__3___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3014____closed__1; lean_object* l_Lean_PersistentEnvExtension_getModuleEntries(lean_object*, lean_object*, lean_object*); uint8_t l_Array_binSearchAux___at_Lean_TagDeclarationExtension_isTagged___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_modifyState___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -560,7 +560,6 @@ lean_object* l_Std_RBNode_find___at_Lean_MapDeclarationExtension_find_x3f___spec lean_object* l_Lean_Environment_getNamespaceSet(lean_object*); static lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___closed__1; static lean_object* l_Lean_EnvExtensionInterfaceImp___closed__2; -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4021____lambda__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_Environment_throwUnexpectedType___rarg___closed__3; static lean_object* l_Lean_namespacesExt___closed__3; static lean_object* l_List_toString___at_Lean_Environment_displayStats___spec__1___closed__1; @@ -572,11 +571,12 @@ static lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda_ lean_object* l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___closed__2; lean_object* l_Lean_EnvExtensionInterfaceImp___elambda__4(lean_object*, lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4025____lambda__1(lean_object*, lean_object*); lean_object* l_Lean_EnvExtension_instInhabitedEnvExtension___boxed(lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_mkInitialExtStates___boxed__const__1; lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___at_Lean_TagDeclarationExtension_isTagged___spec__4___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__2; static lean_object* l_Lean_instInhabitedEnvExtensionInterface___closed__3; +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__2; lean_object* l_Std_mkHashMap___at_Lean_instInhabitedEnvironment___spec__2(lean_object*); lean_object* l_Lean_importModules___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___at_Lean_MapDeclarationExtension_contains___spec__4(lean_object*); @@ -586,6 +586,7 @@ static lean_object* l_Lean_instToStringImport___closed__2; lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___boxed(lean_object*); lean_object* l_Lean_instMonadEnv___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_MapDeclarationExtension_find_x3f___spec__6___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__6; lean_object* l_Lean_Environment_hasUnsafe_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___at_Lean_SimplePersistentEnvExtension_getEntries___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___closed__3; @@ -600,11 +601,12 @@ lean_object* l_Lean_SimplePersistentEnvExtension_getState___at_Lean_TagDeclarati lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtensionDescr_statsFn___default(lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4021_(lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3010_(lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_1766_(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4025_(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3014_(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_1770_(lean_object*); lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_mkModuleData___spec__4(lean_object*, lean_object*); lean_object* l_Lean_instInhabitedPersistentEnvExtensionState___rarg(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4025____lambda__2(lean_object*); static lean_object* l_Lean_instInhabitedEnvExtensionInterface___closed__5; static lean_object* l___private_Lean_Environment_0__Lean_getEntriesFor___closed__1; lean_object* l_Lean_EnvExtension_modifyState___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -659,10 +661,12 @@ static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed_ lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_mkInitialExtStates(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkStateFromImportedEntries___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instToStringImport(lean_object*); lean_object* l_Lean_instInhabitedPersistentEnvExtension(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4021____lambda__2___boxed(lean_object*); +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__5(lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__4; lean_object* l_Array_anyMUnsafe_any___at_Lean_mkTagDeclarationExtension___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceImp___elambda__1(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__7___lambda__1(lean_object*, lean_object*, lean_object*); @@ -680,7 +684,6 @@ lean_object* l___private_Lean_Environment_0__Lean_finalizePersistentExtensions_l lean_object* l_Array_mapMUnsafe_map___at_Lean_EnvExtensionInterfaceUnsafe_mkInitialExtStates___spec__1(size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceImp___elambda__7___rarg(lean_object*); lean_object* l_Lean_importModules_match__1(lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__4; static lean_object* l_Lean_namespacesExt___closed__4; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_PersistentEnvExtension_getState___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_importModules_importMods_match__2(lean_object*); @@ -693,6 +696,7 @@ static lean_object* l_Lean_EnvExtensionInterfaceImp___closed__3; lean_object* l_Lean_importModules___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__4(lean_object*); lean_object* l_Lean_EnvExtensionInterfaceImp___elambda__5(lean_object*, lean_object*); +lean_object* l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvironmentHeader_imports___default; lean_object* l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_envExtensionsRef; @@ -703,9 +707,8 @@ uint8_t l_Std_HashMapImp_contains___at_Lean_Environment_contains___spec__2(lean_ lean_object* l_Array_forInUnsafe_loop___at_Lean_importModules___spec__3(size_t, lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_EnvExtensionInterfaceImp___closed__1; lean_object* l_Lean_SMap_insert___at_Lean_Environment_addAux___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__4(lean_object*); lean_object* l_Lean_registerEnvExtension___rarg(lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_TagDeclarationExtension_isTagged___spec__3(lean_object*, lean_object*); @@ -716,7 +719,6 @@ uint32_t lean_uint32_of_nat(lean_object*); static lean_object* l_Lean_EnvExtensionInterfaceImp___closed__5; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_mkModuleData___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__4(lean_object*); lean_object* l_Lean_importModules_match__4(lean_object*); lean_object* l_Lean_mkTagDeclarationExtension___lambda__3(lean_object*); lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_mkModuleData___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -730,6 +732,7 @@ static lean_object* l_Lean_Environment_displayStats___closed__9; lean_object* l_Array_anyMUnsafe_any___at_Lean_registerPersistentEnvExtensionUnsafe___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_TagDeclarationExtension_isTagged___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_SimplePersistentEnvExtension_getState___spec__2(lean_object*, lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3014____lambda__1(lean_object*, lean_object*); lean_object* lean_uint32_to_nat(uint32_t); lean_object* l_Array_qsort_sort___at_Lean_mkMapDeclarationExtension___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Std_PersistentHashMap_containsAux___at_Lean_Environment_contains___spec__5___closed__2; @@ -738,9 +741,7 @@ lean_object* l_Lean_PersistentEnvExtension_getState___at_Lean_MapDeclarationExte static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_modifyState___rarg___closed__2; lean_object* lean_nat_to_int(lean_object*); static lean_object* l_Lean_mkTagDeclarationExtension___closed__3; -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4021____lambda__2(lean_object*); lean_object* l_Lean_EnvExtensionInterfaceImp___elambda__7___rarg___boxed(lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3010____closed__1; static lean_object* l_Lean_importModules___closed__2; static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_TagDeclarationExtension_isTagged___spec__3___closed__1; lean_object* l_Lean_Kernel_isDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -761,7 +762,6 @@ lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_mkModuleData_ static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_mkModuleData___spec__2___closed__1; lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_mkModuleData___spec__7(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Environment_0__Lean_Environment_registerNamePrefixes_match__1(lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3010____lambda__1(lean_object*, lean_object*); static lean_object* l_Array_qsort_sort___at_Lean_mkMapDeclarationExtension___spec__1___rarg___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); extern lean_object* l_Lean_Name_instBEqName; @@ -2332,7 +2332,7 @@ x_2 = l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___closed__2; return x_2; } } -lean_object* l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_mkEnvExtensionsRef(lean_object* x_1) { +lean_object* l_Lean_EnvExtensionInterfaceUnsafe_initFn____x40_Lean_Environment___hyg_910_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -2604,7 +2604,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_setState___rarg___closed__1; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_setState___rarg___closed__2; -x_3 = lean_unsigned_to_nat(201u); +x_3 = lean_unsigned_to_nat(200u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -2725,7 +2725,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_setState___rarg___closed__1; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_modifyState___rarg___closed__1; -x_3 = lean_unsigned_to_nat(211u); +x_3 = lean_unsigned_to_nat(210u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -2856,7 +2856,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_setState___rarg___closed__1; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg___closed__1; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -4554,7 +4554,7 @@ lean_dec(x_1); return x_4; } } -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_1766_(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_1770_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -9397,7 +9397,7 @@ lean_dec(x_2); return x_5; } } -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3010____lambda__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3014____lambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -9407,19 +9407,19 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_3010____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_3014____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Environment___hyg_3010____lambda__1), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Environment___hyg_3014____lambda__1), 2, 0); return x_1; } } -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3010_(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_3014_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_3010____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_3014____closed__1; x_3 = l_IO_mkRef___rarg(x_2, x_1); return x_3; } @@ -11799,7 +11799,7 @@ x_7 = l_Lean_withImportModules___rarg(x_1, x_2, x_6, x_4, x_5); return x_7; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -11822,7 +11822,7 @@ return x_4; } } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -11860,7 +11860,7 @@ 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_initFn____x40_Lean_Environment___hyg_4021____spec__2(x_6, x_15, x_16, x_4); +x_17 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__2(x_6, x_15, x_16, x_4); lean_dec(x_6); x_2 = x_11; x_4 = x_17; @@ -11874,7 +11874,7 @@ return x_4; } } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -11901,13 +11901,13 @@ 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_initFn____x40_Lean_Environment___hyg_4021____spec__3(x_2, x_7, x_8, x_1); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__3(x_2, x_7, x_8, x_1); return x_9; } } } } -lean_object* l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__4(lean_object* x_1) { +lean_object* l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__4(lean_object* x_1) { _start: { uint8_t x_2; @@ -11945,7 +11945,7 @@ return x_8; } } } -uint8_t l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +uint8_t l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { uint8_t x_5; @@ -11983,7 +11983,7 @@ return x_14; } } } -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__6(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__6(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -12028,7 +12028,7 @@ 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_initFn____x40_Lean_Environment___hyg_4021____spec__7(x_1, x_6, x_16, x_17); +x_18 = l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__7(x_1, x_6, x_16, x_17); lean_dec(x_6); if (x_18 == 0) { @@ -12099,7 +12099,7 @@ 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_initFn____x40_Lean_Environment___hyg_4021____spec__7(x_1, x_29, x_39, x_40); +x_41 = l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__7(x_1, x_29, x_39, x_40); lean_dec(x_29); if (x_41 == 0) { @@ -12133,7 +12133,7 @@ return x_52; } } } -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__5(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__5(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; @@ -12166,11 +12166,11 @@ 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_initFn____x40_Lean_Environment___hyg_4021____spec__6(x_14, x_2); +x_15 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__6(x_14, x_2); return x_15; } } -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4021____lambda__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4025____lambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; @@ -12179,17 +12179,17 @@ x_4 = l_Lean_SMap_insert___at_Lean_NameSSet_insert___spec__1(x_1, x_2, x_3); return x_4; } } -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4021____lambda__2(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4025____lambda__2(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = l_Lean_SMap_empty___at_Lean_NameSSet_empty___spec__1; -x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__1(x_2, x_1); -x_4 = l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__4(x_3); +x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__1(x_2, x_1); +x_4 = l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__4(x_3); return x_4; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__1() { _start: { lean_object* x_1; @@ -12197,17 +12197,17 @@ x_1 = lean_mk_string("namespaces"); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__3() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__3() { _start: { lean_object* x_1; @@ -12216,30 +12216,30 @@ lean_closure_set(x_1, 0, lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__4() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Environment___hyg_4021____lambda__1), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Environment___hyg_4025____lambda__1), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__5() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Environment___hyg_4021____lambda__2___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Environment___hyg_4025____lambda__2___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__6() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__6() { _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_initFn____x40_Lean_Environment___hyg_4021____closed__2; -x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__4; -x_3 = l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__5; -x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__3; +x_1 = l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__2; +x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__4; +x_3 = l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__5; +x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__3; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -12248,16 +12248,16 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4021_(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4025_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__6; -x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__5(x_2, x_1); +x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__6; +x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__5(x_2, x_1); return x_3; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4025____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; @@ -12265,12 +12265,12 @@ 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_initFn____x40_Lean_Environment___hyg_4021____spec__2(x_1, x_5, x_6, x_4); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4025____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_initFn____x40_Lean_Environment___hyg_4021____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4025____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; @@ -12278,21 +12278,21 @@ 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_initFn____x40_Lean_Environment___hyg_4021____spec__3(x_1, x_5, x_6, x_4); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__3(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__1(x_1, x_2); +x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__1(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Environment___hyg_4021____spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__7___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; @@ -12300,18 +12300,18 @@ 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_initFn____x40_Lean_Environment___hyg_4021____spec__7(x_1, x_2, x_5, x_6); +x_7 = l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Environment___hyg_4025____spec__7(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_initFn____x40_Lean_Environment___hyg_4021____lambda__2___boxed(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4025____lambda__2___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_4021____lambda__2(x_1); +x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_4025____lambda__2(x_1); lean_dec(x_1); return x_2; } @@ -14407,7 +14407,7 @@ l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___closed__1 = _init_l_Lean_E lean_mark_persistent(l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___closed__1); l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___closed__2 = _init_l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___closed__2(); lean_mark_persistent(l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___closed__2); -res = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_mkEnvExtensionsRef(lean_io_mk_world()); +res = l_Lean_EnvExtensionInterfaceUnsafe_initFn____x40_Lean_Environment___hyg_910_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_envExtensionsRef = lean_io_result_get_value(res); lean_mark_persistent(l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_envExtensionsRef); @@ -14494,7 +14494,7 @@ l_Lean_instInhabitedPersistentEnvExtension___closed__4 = _init_l_Lean_instInhabi lean_mark_persistent(l_Lean_instInhabitedPersistentEnvExtension___closed__4); l_Lean_instInhabitedPersistentEnvExtension___closed__5 = _init_l_Lean_instInhabitedPersistentEnvExtension___closed__5(); lean_mark_persistent(l_Lean_instInhabitedPersistentEnvExtension___closed__5); -res = l_Lean_initFn____x40_Lean_Environment___hyg_1766_(lean_io_mk_world()); +res = l_Lean_initFn____x40_Lean_Environment___hyg_1770_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_persistentEnvExtensionsRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_persistentEnvExtensionsRef); @@ -14555,9 +14555,9 @@ l_Std_PersistentHashMap_foldlMAux___at_Lean_mkModuleData___spec__5___closed__1 = lean_mark_persistent(l_Std_PersistentHashMap_foldlMAux___at_Lean_mkModuleData___spec__5___closed__1); l___private_Lean_Environment_0__Lean_getEntriesFor___closed__1 = _init_l___private_Lean_Environment_0__Lean_getEntriesFor___closed__1(); lean_mark_persistent(l___private_Lean_Environment_0__Lean_getEntriesFor___closed__1); -l_Lean_initFn____x40_Lean_Environment___hyg_3010____closed__1 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_3010____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_3010____closed__1); -res = l_Lean_initFn____x40_Lean_Environment___hyg_3010_(lean_io_mk_world()); +l_Lean_initFn____x40_Lean_Environment___hyg_3014____closed__1 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_3014____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_3014____closed__1); +res = l_Lean_initFn____x40_Lean_Environment___hyg_3014_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_updateEnvAttributesRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_updateEnvAttributesRef); @@ -14586,18 +14586,18 @@ l_Lean_importModules___closed__2 = _init_l_Lean_importModules___closed__2(); lean_mark_persistent(l_Lean_importModules___closed__2); l_Lean_importModules___closed__3 = _init_l_Lean_importModules___closed__3(); lean_mark_persistent(l_Lean_importModules___closed__3); -l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__1 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__1); -l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__2 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__2); -l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__3 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__3(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__3); -l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__4 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__4(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__4); -l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__5 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__5(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__5); -l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__6 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__6(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4021____closed__6); +l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__1 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__1); +l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__2 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__2); +l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__3 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__3); +l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__4 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__4(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__4); +l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__5 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__5(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__5); +l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__6 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__6(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4025____closed__6); l_Lean_namespacesExt___closed__1 = _init_l_Lean_namespacesExt___closed__1(); lean_mark_persistent(l_Lean_namespacesExt___closed__1); l_Lean_namespacesExt___closed__2 = _init_l_Lean_namespacesExt___closed__2(); @@ -14608,7 +14608,7 @@ l_Lean_namespacesExt___closed__4 = _init_l_Lean_namespacesExt___closed__4(); lean_mark_persistent(l_Lean_namespacesExt___closed__4); l_Lean_namespacesExt___closed__5 = _init_l_Lean_namespacesExt___closed__5(); lean_mark_persistent(l_Lean_namespacesExt___closed__5); -res = l_Lean_initFn____x40_Lean_Environment___hyg_4021_(lean_io_mk_world()); +res = l_Lean_initFn____x40_Lean_Environment___hyg_4025_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_namespacesExt = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_namespacesExt); diff --git a/stage0/stdlib/Lean/Expr.c b/stage0/stdlib/Lean/Expr.c index 197484e243..979556d46d 100644 --- a/stage0/stdlib/Lean/Expr.c +++ b/stage0/stdlib/Lean/Expr.c @@ -316,6 +316,7 @@ lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAnnotation(lean_object*, lean_object*); lean_object* l_Lean_Expr_isLit_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_isHeadBetaTargetFn_match__1(lean_object*); +uint8_t l_Lean_BinderInfo_isStrictImplicit(uint8_t); lean_object* l_Lean_Expr_isMData_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_looseBVarRangeEx___boxed(lean_object*); uint8_t l_Lean_Expr_hasExprMVar(lean_object*); @@ -524,6 +525,7 @@ lean_object* l_Lean_Expr_getAppNumArgsAux___boxed(lean_object*, lean_object*); uint64_t l_Lean_Literal_hash(lean_object*); lean_object* l_Lean_mkLambdaEx___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasMVar(lean_object*); +lean_object* l_Lean_BinderInfo_isStrictImplicit_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_betaRev(lean_object*, lean_object*); uint64_t l_Lean_instInhabitedData__1; static lean_object* l_Lean_instBEqLiteral___closed__1; @@ -542,6 +544,7 @@ lean_object* l_Lean_BinderInfo_isImplicit_match__1(lean_object*); lean_object* l_Lean_Expr_mkDataForBinder___boxed__const__1; static lean_object* l_Lean_Expr_bvarIdx_x21___closed__1; lean_object* lean_panic_fn(lean_object*, lean_object*); +lean_object* l_Lean_BinderInfo_isStrictImplicit___boxed(lean_object*); static lean_object* l_Lean_mkNatLit___closed__10; lean_object* l_Lean_Expr_withApp___rarg(lean_object*, lean_object*); lean_object* l_Lean_Expr_isAppOfArity___boxed(lean_object*, lean_object*, lean_object*); @@ -571,6 +574,7 @@ static lean_object* l_Lean_Expr_bvarIdx_x21___closed__2; lean_object* l_Lean_Expr_instantiateLevelParamsCore_visit(lean_object*, lean_object*); static lean_object* l_Lean_Expr_appArg_x21___closed__1; uint8_t l_Lean_Expr_Data_hasLevelParam(uint64_t); +lean_object* l_Lean_BinderInfo_isStrictImplicit_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Expr_dbgToString___boxed(lean_object*); lean_object* l_Lean_Expr_isForall___boxed(lean_object*); lean_object* l_Lean_Expr_isMData___boxed(lean_object*); @@ -645,6 +649,7 @@ lean_object* l_Lean_mkApp2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_instBEqExpr; lean_object* l_Lean_instInhabitedExprStructEq; uint8_t l_List_foldr___at_Lean_mkConst___spec__3(uint8_t, lean_object*); +lean_object* l_Lean_BinderInfo_isStrictImplicit_match__1(lean_object*); static lean_object* l_Lean_Expr_ctorName___closed__6; lean_object* l___private_Lean_Expr_0__Lean_Expr_etaExpandedBody_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint32_t lean_expr_loose_bvar_range(lean_object*); @@ -2020,6 +2025,79 @@ x_4 = lean_box(x_3); return x_4; } } +lean_object* l_Lean_BinderInfo_isStrictImplicit_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_box(x_1); +if (lean_obj_tag(x_4) == 2) +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_box(0); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +lean_dec(x_2); +x_7 = lean_box(x_1); +x_8 = lean_apply_1(x_3, x_7); +return x_8; +} +} +} +lean_object* l_Lean_BinderInfo_isStrictImplicit_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_BinderInfo_isStrictImplicit_match__1___rarg___boxed), 3, 0); +return x_2; +} +} +lean_object* l_Lean_BinderInfo_isStrictImplicit_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_1); +lean_dec(x_1); +x_5 = l_Lean_BinderInfo_isStrictImplicit_match__1___rarg(x_4, x_2, x_3); +return x_5; +} +} +uint8_t l_Lean_BinderInfo_isStrictImplicit(uint8_t x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(x_1); +if (lean_obj_tag(x_2) == 2) +{ +uint8_t x_3; +x_3 = 1; +return x_3; +} +else +{ +uint8_t x_4; +lean_dec(x_2); +x_4 = 0; +return x_4; +} +} +} +lean_object* l_Lean_BinderInfo_isStrictImplicit___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; lean_object* x_4; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_BinderInfo_isStrictImplicit(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} lean_object* l_Lean_BinderInfo_isAuxDecl_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -2348,7 +2426,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l___private_Lean_Expr_0__Lean_Expr_mkDataCore___closed__3; -x_3 = lean_unsigned_to_nat(127u); +x_3 = lean_unsigned_to_nat(131u); x_4 = lean_unsigned_to_nat(44u); x_5 = l___private_Lean_Expr_0__Lean_Expr_mkDataCore___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -7956,7 +8034,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_getRevArg_x21___closed__1; -x_3 = lean_unsigned_to_nat(504u); +x_3 = lean_unsigned_to_nat(508u); x_4 = lean_unsigned_to_nat(22u); x_5 = l_Lean_Expr_getRevArg_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -8271,7 +8349,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_appFn_x21___closed__1; -x_3 = lean_unsigned_to_nat(524u); +x_3 = lean_unsigned_to_nat(528u); x_4 = lean_unsigned_to_nat(17u); x_5 = l_Lean_Expr_appFn_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -8321,7 +8399,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_appArg_x21___closed__1; -x_3 = lean_unsigned_to_nat(528u); +x_3 = lean_unsigned_to_nat(532u); x_4 = lean_unsigned_to_nat(17u); x_5 = l_Lean_Expr_appFn_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -8650,7 +8728,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_constName_x21___closed__1; -x_3 = lean_unsigned_to_nat(547u); +x_3 = lean_unsigned_to_nat(551u); x_4 = lean_unsigned_to_nat(19u); x_5 = l_Lean_Expr_constName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -8729,7 +8807,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_constLevels_x21___closed__1; -x_3 = lean_unsigned_to_nat(555u); +x_3 = lean_unsigned_to_nat(559u); x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_Expr_constName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -8787,7 +8865,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_bvarIdx_x21___closed__1; -x_3 = lean_unsigned_to_nat(559u); +x_3 = lean_unsigned_to_nat(563u); x_4 = lean_unsigned_to_nat(18u); x_5 = l_Lean_Expr_bvarIdx_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -8845,7 +8923,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_fvarId_x21___closed__1; -x_3 = lean_unsigned_to_nat(563u); +x_3 = lean_unsigned_to_nat(567u); x_4 = lean_unsigned_to_nat(16u); x_5 = l_Lean_Expr_fvarId_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -8903,7 +8981,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_mvarId_x21___closed__1; -x_3 = lean_unsigned_to_nat(567u); +x_3 = lean_unsigned_to_nat(571u); x_4 = lean_unsigned_to_nat(16u); x_5 = l_Lean_Expr_mvarId_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9018,7 +9096,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_bindingName_x21___closed__1; -x_3 = lean_unsigned_to_nat(572u); +x_3 = lean_unsigned_to_nat(576u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Expr_bindingName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9077,7 +9155,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_bindingDomain_x21___closed__1; -x_3 = lean_unsigned_to_nat(577u); +x_3 = lean_unsigned_to_nat(581u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Expr_bindingName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9136,7 +9214,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_bindingBody_x21___closed__1; -x_3 = lean_unsigned_to_nat(582u); +x_3 = lean_unsigned_to_nat(586u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Expr_bindingName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9195,7 +9273,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_bindingInfo_x21___closed__1; -x_3 = lean_unsigned_to_nat(587u); +x_3 = lean_unsigned_to_nat(591u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Expr_bindingName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9266,7 +9344,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_letName_x21___closed__1; -x_3 = lean_unsigned_to_nat(591u); +x_3 = lean_unsigned_to_nat(595u); x_4 = lean_unsigned_to_nat(22u); x_5 = l_Lean_Expr_letName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11672,7 +11750,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_updateApp_x21___closed__1; -x_3 = lean_unsigned_to_nat(863u); +x_3 = lean_unsigned_to_nat(867u); x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_Expr_appFn_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11744,7 +11822,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_updateConst_x21___closed__1; -x_3 = lean_unsigned_to_nat(872u); +x_3 = lean_unsigned_to_nat(876u); x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_Expr_constName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11823,7 +11901,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_updateSort_x21___closed__1; -x_3 = lean_unsigned_to_nat(881u); +x_3 = lean_unsigned_to_nat(885u); x_4 = lean_unsigned_to_nat(16u); x_5 = l_Lean_Expr_updateSort_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11907,7 +11985,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_updateMData_x21___closed__1; -x_3 = lean_unsigned_to_nat(898u); +x_3 = lean_unsigned_to_nat(902u); x_4 = lean_unsigned_to_nat(19u); x_5 = l_Lean_Expr_updateMData_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11978,7 +12056,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_updateProj_x21___closed__1; -x_3 = lean_unsigned_to_nat(903u); +x_3 = lean_unsigned_to_nat(907u); x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_Expr_updateProj_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -12062,7 +12140,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_updateForall_x21___closed__1; -x_3 = lean_unsigned_to_nat(912u); +x_3 = lean_unsigned_to_nat(916u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Expr_updateForall_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -12139,7 +12217,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_updateForallE_x21___closed__1; -x_3 = lean_unsigned_to_nat(917u); +x_3 = lean_unsigned_to_nat(921u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Expr_updateForall_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -12227,7 +12305,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_updateLambda_x21___closed__1; -x_3 = lean_unsigned_to_nat(926u); +x_3 = lean_unsigned_to_nat(930u); x_4 = lean_unsigned_to_nat(19u); x_5 = l_Lean_Expr_updateLambda_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -12304,7 +12382,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_updateLambdaE_x21___closed__1; -x_3 = lean_unsigned_to_nat(931u); +x_3 = lean_unsigned_to_nat(935u); x_4 = lean_unsigned_to_nat(19u); x_5 = l_Lean_Expr_updateLambda_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -12382,7 +12460,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_Expr_0__Lean_Expr_mkDataCore___closed__2; x_2 = l_Lean_Expr_updateLet_x21___closed__1; -x_3 = lean_unsigned_to_nat(940u); +x_3 = lean_unsigned_to_nat(944u); x_4 = lean_unsigned_to_nat(22u); x_5 = l_Lean_Expr_letName_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/ImportingFlag.c b/stage0/stdlib/Lean/ImportingFlag.c index 917edcf172..7c64b66176 100644 --- a/stage0/stdlib/Lean/ImportingFlag.c +++ b/stage0/stdlib/Lean/ImportingFlag.c @@ -15,8 +15,8 @@ extern "C" { #endif lean_object* l_Lean_initializing(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +lean_object* l___private_Lean_ImportingFlag_0__Lean_importingRef; lean_object* l_Lean_withImporting(lean_object*); -lean_object* l_Lean_importingRef; lean_object* l_Lean_withImporting___rarg(lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_initFn____x40_Lean_ImportingFlag___hyg_3_(lean_object*); @@ -50,7 +50,7 @@ lean_dec(x_3); x_5 = lean_ctor_get(x_2, 1); lean_inc(x_5); lean_dec(x_2); -x_6 = l_Lean_importingRef; +x_6 = l___private_Lean_ImportingFlag_0__Lean_importingRef; x_7 = lean_st_ref_get(x_6, x_5); x_8 = !lean_is_exclusive(x_7); if (x_8 == 0) @@ -123,7 +123,7 @@ lean_object* l_Lean_withImporting___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_3 = l_Lean_importingRef; +x_3 = l___private_Lean_ImportingFlag_0__Lean_importingRef; x_4 = 1; x_5 = lean_box(x_4); x_6 = lean_st_ref_set(x_3, x_5, x_2); @@ -217,8 +217,8 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); res = l_Lean_initFn____x40_Lean_ImportingFlag___hyg_3_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; -l_Lean_importingRef = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_importingRef); +l___private_Lean_ImportingFlag_0__Lean_importingRef = lean_io_result_get_value(res); +lean_mark_persistent(l___private_Lean_ImportingFlag_0__Lean_importingRef); lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } diff --git a/stage0/stdlib/Lean/KeyedDeclsAttribute.c b/stage0/stdlib/Lean/KeyedDeclsAttribute.c index 88493d4277..cd92afd3b2 100644 --- a/stage0/stdlib/Lean/KeyedDeclsAttribute.c +++ b/stage0/stdlib/Lean/KeyedDeclsAttribute.c @@ -3501,7 +3501,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_KeyedDeclsAttribute_getEntries___spec__3___rarg___closed__3; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_KeyedDeclsAttribute_getEntries___spec__3___rarg___closed__4; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/AppBuilder.c b/stage0/stdlib/Lean/Meta/AppBuilder.c index c9702118b2..32779ebfe2 100644 --- a/stage0/stdlib/Lean/Meta/AppBuilder.c +++ b/stage0/stdlib/Lean/Meta/AppBuilder.c @@ -121,7 +121,7 @@ static lean_object* l_Lean_Meta_mkDecide___closed__1; static lean_object* l_Lean_Meta_mkProjection___closed__4; static lean_object* l_Lean_Meta_mkSorry___closed__9; uint8_t l_USize_decLt(size_t, size_t); -lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkCongrArg___closed__2; lean_object* l_Lean_Meta_mkAppOptM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkHEqSymm___closed__3; @@ -153,7 +153,7 @@ lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkHEq___closed__2; lean_object* l_Lean_Meta_mkEqFalse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkFalseElim___closed__4; static lean_object* l_Lean_Meta_mkDecide___closed__3; @@ -349,7 +349,7 @@ static lean_object* l_Lean_Meta_mkSorry___closed__3; static lean_object* l_Lean_Meta_mkEqOfHEq___closed__3; static lean_object* l_Lean_Meta_mkEqMPR___closed__1; lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_4550_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_4575_(lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___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_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -5371,39 +5371,52 @@ lean_dec(x_3); return x_10; } } -lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; -x_5 = lean_box(x_1); -switch (lean_obj_tag(x_5)) { +lean_object* x_6; +x_6 = lean_box(x_1); +switch (lean_obj_tag(x_6)) { case 1: { -lean_object* x_6; lean_object* x_7; +lean_object* x_7; lean_object* x_8; +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_6 = lean_box(0); -x_7 = lean_apply_1(x_2, x_6); -return x_7; +x_7 = lean_box(0); +x_8 = lean_apply_1(x_2, x_7); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_9 = lean_box(0); +x_10 = lean_apply_1(x_3, x_9); +return x_10; } case 3: { -lean_object* x_8; lean_object* x_9; -lean_dec(x_4); -lean_dec(x_2); -x_8 = lean_box(0); -x_9 = lean_apply_1(x_3, x_8); -return x_9; -} -default: -{ -lean_object* x_10; lean_object* x_11; +lean_object* x_11; lean_object* x_12; lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_10 = lean_box(x_1); -x_11 = lean_apply_1(x_4, x_10); -return x_11; +x_11 = lean_box(0); +x_12 = lean_apply_1(x_4, x_11); +return x_12; +} +default: +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_13 = lean_box(x_1); +x_14 = lean_apply_1(x_5, x_13); +return x_14; } } } @@ -5412,18 +5425,18 @@ lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop_match _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop_match__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop_match__1___rarg___boxed), 5, 0); return x_2; } } -lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_5; lean_object* x_6; -x_5 = lean_unbox(x_1); +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_1); lean_dec(x_1); -x_6 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop_match__1___rarg(x_5, x_2, x_3, x_4); -return x_6; +x_7 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop_match__1___rarg(x_6, x_2, x_3, x_4, x_5); +return x_7; } } static lean_object* _init_l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__1() { @@ -5562,12 +5575,12 @@ x_6 = x_28; x_12 = x_27; goto _start; } -case 3: +case 2: { -lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; x_30 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_30, 0, x_20); -x_31 = 1; +x_31 = 0; lean_inc(x_8); x_32 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_30, x_31, x_15, x_8, x_9, x_10, x_11, x_12); x_33 = lean_ctor_get(x_32, 0); @@ -5575,87 +5588,106 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); lean_dec(x_32); -lean_inc(x_33); x_35 = lean_array_push(x_6, x_33); -x_36 = l_Lean_Expr_mvarId_x21(x_33); -lean_dec(x_33); -x_37 = lean_array_push(x_7, x_36); x_3 = x_17; x_6 = x_35; -x_7 = x_37; x_12 = x_34; goto _start; } +case 3: +{ +lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_37 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_37, 0, x_20); +x_38 = 1; +lean_inc(x_8); +x_39 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_37, x_38, x_15, x_8, x_9, x_10, x_11, x_12); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +lean_inc(x_40); +x_42 = lean_array_push(x_6, x_40); +x_43 = l_Lean_Expr_mvarId_x21(x_40); +lean_dec(x_40); +x_44 = lean_array_push(x_7, x_43); +x_3 = x_17; +x_6 = x_42; +x_7 = x_44; +x_12 = x_41; +goto _start; +} default: { -lean_object* x_39; lean_object* x_40; lean_object* x_41; +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_dec(x_22); lean_dec(x_15); -x_39 = l_Lean_instInhabitedExpr; -x_40 = lean_array_get(x_39, x_2, x_4); +x_46 = l_Lean_instInhabitedExpr; +x_47 = lean_array_get(x_46, x_2, x_4); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_40); -x_41 = lean_infer_type(x_40, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_41) == 0) +lean_inc(x_47); +x_48 = lean_infer_type(x_47, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_44 = l_Lean_Meta_isExprDefEq(x_20, x_42, x_8, x_9, x_10, x_11, x_43); -if (lean_obj_tag(x_44) == 0) +x_51 = l_Lean_Meta_isExprDefEq(x_20, x_49, x_8, x_9, x_10, x_11, x_50); +if (lean_obj_tag(x_51) == 0) { -lean_object* x_45; uint8_t x_46; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_unbox(x_45); -lean_dec(x_45); -if (x_46 == 0) +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_unbox(x_52); +lean_dec(x_52); +if (x_53 == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_dec(x_17); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); -lean_dec(x_44); -x_48 = l_Lean_mkAppN(x_1, x_6); +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_dec(x_51); +x_55 = l_Lean_mkAppN(x_1, x_6); lean_dec(x_6); -x_49 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__10; -x_50 = l_Lean_Meta_throwAppTypeMismatch___rarg(x_48, x_40, x_49, x_8, x_9, x_10, x_11, x_47); -return x_50; +x_56 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__10; +x_57 = l_Lean_Meta_throwAppTypeMismatch___rarg(x_55, x_47, x_56, x_8, x_9, x_10, x_11, x_54); +return x_57; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_51 = lean_ctor_get(x_44, 1); -lean_inc(x_51); -lean_dec(x_44); -x_52 = lean_unsigned_to_nat(1u); -x_53 = lean_nat_add(x_4, x_52); +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_58 = lean_ctor_get(x_51, 1); +lean_inc(x_58); +lean_dec(x_51); +x_59 = lean_unsigned_to_nat(1u); +x_60 = lean_nat_add(x_4, x_59); lean_dec(x_4); -x_54 = lean_array_push(x_6, x_40); +x_61 = lean_array_push(x_6, x_47); x_3 = x_17; -x_4 = x_53; -x_6 = x_54; -x_12 = x_51; +x_4 = x_60; +x_6 = x_61; +x_12 = x_58; goto _start; } } else { -uint8_t x_56; -lean_dec(x_40); +uint8_t x_63; +lean_dec(x_47); lean_dec(x_17); lean_dec(x_11); lean_dec(x_10); @@ -5666,30 +5698,30 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_44); -if (x_56 == 0) +x_63 = !lean_is_exclusive(x_51); +if (x_63 == 0) { -return x_44; +return x_51; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_44, 0); -x_58 = lean_ctor_get(x_44, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_44); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_51, 0); +x_65 = lean_ctor_get(x_51, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_51); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; } } } else { -uint8_t x_60; -lean_dec(x_40); +uint8_t x_67; +lean_dec(x_47); lean_dec(x_20); lean_dec(x_17); lean_dec(x_11); @@ -5701,23 +5733,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_60 = !lean_is_exclusive(x_41); -if (x_60 == 0) +x_67 = !lean_is_exclusive(x_48); +if (x_67 == 0) { -return x_41; +return x_48; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_41, 0); -x_62 = lean_ctor_get(x_41, 1); -lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_41); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -return x_63; +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_48, 0); +x_69 = lean_ctor_get(x_48, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_48); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } } @@ -5725,73 +5757,73 @@ return x_63; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_array_get_size(x_6); -x_65 = lean_expr_instantiate_rev_range(x_3, x_5, x_64, x_6); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_array_get_size(x_6); +x_72 = lean_expr_instantiate_rev_range(x_3, x_5, x_71, x_6); lean_dec(x_5); lean_dec(x_3); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_66 = l_Lean_Meta_whnfD(x_65, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_66) == 0) +x_73 = l_Lean_Meta_whnfD(x_72, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_67; lean_object* x_68; uint8_t x_69; -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = l_Lean_Expr_isForall(x_67); -if (x_69 == 0) +lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = l_Lean_Expr_isForall(x_74); +if (x_76 == 0) { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; 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_dec(x_67); -lean_dec(x_64); +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_dec(x_74); +lean_dec(x_71); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); -x_70 = l_Lean_indentExpr(x_1); -x_71 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__4; -x_72 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -x_73 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__6; -x_74 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -x_75 = lean_unsigned_to_nat(0u); -x_76 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__9; -x_77 = l_Lean_MessageData_arrayExpr_toMessageData(x_2, x_75, x_76); -x_78 = l_Lean_indentD(x_77); +x_77 = l_Lean_indentExpr(x_1); +x_78 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__4; x_79 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_79, 0, x_74); -lean_ctor_set(x_79, 1, x_78); -x_80 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_hasTypeMsg___closed__2; +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__6; x_81 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_81, 0, x_79); lean_ctor_set(x_81, 1, x_80); -x_82 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__2; -x_83 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_throwAppBuilderException___rarg(x_82, x_81, x_8, x_9, x_10, x_11, x_68); +x_82 = lean_unsigned_to_nat(0u); +x_83 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__9; +x_84 = l_Lean_MessageData_arrayExpr_toMessageData(x_2, x_82, x_83); +x_85 = l_Lean_indentD(x_84); +x_86 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_86, 0, x_81); +lean_ctor_set(x_86, 1, x_85); +x_87 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_hasTypeMsg___closed__2; +x_88 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +x_89 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__2; +x_90 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_throwAppBuilderException___rarg(x_89, x_88, x_8, x_9, x_10, x_11, x_75); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -return x_83; +return x_90; } else { -x_3 = x_67; -x_5 = x_64; -x_12 = x_68; +x_3 = x_74; +x_5 = x_71; +x_12 = x_75; goto _start; } } else { -uint8_t x_85; -lean_dec(x_64); +uint8_t x_92; +lean_dec(x_71); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -5800,38 +5832,38 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -x_85 = !lean_is_exclusive(x_66); -if (x_85 == 0) +x_92 = !lean_is_exclusive(x_73); +if (x_92 == 0) { -return x_66; +return x_73; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_66, 0); -x_87 = lean_ctor_get(x_66, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_66); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_86); -lean_ctor_set(x_88, 1, x_87); -return x_88; +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_73, 0); +x_94 = lean_ctor_get(x_73, 1); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_73); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +return x_95; } } } } else { -lean_object* x_89; lean_object* x_90; +lean_object* x_96; lean_object* x_97; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_89 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__2; -x_90 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal(x_89, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_96 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__2; +x_97 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal(x_96, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_7); lean_dec(x_6); -return x_90; +return x_97; } } } @@ -13289,7 +13321,7 @@ x_10 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkBinaryOp(x_8, x_9, x_1, x return x_10; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_4550_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_4575_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -13721,7 +13753,7 @@ l_Lean_Meta_mkMul___closed__3 = _init_l_Lean_Meta_mkMul___closed__3(); lean_mark_persistent(l_Lean_Meta_mkMul___closed__3); l_Lean_Meta_mkMul___closed__4 = _init_l_Lean_Meta_mkMul___closed__4(); lean_mark_persistent(l_Lean_Meta_mkMul___closed__4); -res = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_4550_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_4575_(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/Basic.c b/stage0/stdlib/Lean/Meta/Basic.c index e13fb1f644..6ba3459230 100644 --- a/stage0/stdlib/Lean/Meta/Basic.c +++ b/stage0/stdlib/Lean/Meta/Basic.c @@ -25,7 +25,6 @@ lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarAtCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instMonadMetaM___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_getMVarDecl_match__1(lean_object*); -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl(lean_object*); @@ -34,7 +33,6 @@ lean_object* l_Lean_Meta_liftMkBindingM___rarg(lean_object*, lean_object*, lean_ lean_object* lean_io_get_num_heartbeats(lean_object*); lean_object* l_Lean_Meta_Cache_synthInstance___default; lean_object* l_Lean_Meta_mkFreshLevelMVar(lean_object*); -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); uint8_t l_Lean_Meta_Config_transparency___default; lean_object* l_Lean_Meta_withLetDecl(lean_object*); @@ -71,6 +69,7 @@ lean_object* l_Lean_Meta_mapMetaM___rarg___lambda__1(lean_object*, lean_object*, lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); +uint8_t l_Lean_Meta_ParamInfo_binderInfo___default; uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* lean_io_error_to_string(lean_object*); @@ -100,6 +99,7 @@ lean_object* l_Lean_Meta_forallMetaTelescope___boxed(lean_object*, lean_object*, lean_object* l_Lean_Meta_MetaM_run(lean_object*); extern lean_object* l_Lean_ExprStructEq_instHashableExprStructEq; uint8_t l___private_Lean_Meta_TransparencyMode_0__Lean_Meta_beqTransparencyMode____x40_Lean_Meta_TransparencyMode___hyg_11_(uint8_t, uint8_t); +lean_object* l_Lean_Meta_ParamInfo_isInstImplicit___boxed(lean_object*); lean_object* l_Lean_Meta_mapError(lean_object*, lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; static lean_object* l_Lean_Meta_instMonadMetaM___closed__1; @@ -146,11 +146,10 @@ lean_object* l_Lean_Meta_dependsOn(lean_object*, lean_object*, lean_object*, lea lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDeclsD_match__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_setMCtx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__4; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp(lean_object*); lean_object* l_Lean_Meta_withAssignableSyntheticOpaque___rarg___lambda__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_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254__match__1(lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVarsFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__4; static lean_object* l_Lean_Meta_ParamInfo_backDeps___default___closed__1; lean_object* l_Lean_Meta_mkFreshExprMVarWithId___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_fullApproxDefEq(lean_object*); @@ -164,9 +163,9 @@ lean_object* l_Lean_Meta_withLetDecl___rarg(lean_object*, lean_object*, lean_obj lean_object* l_Lean_throwError___at_Lean_Meta_getMVarDecl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateLevelMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_map1MetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__1; lean_object* l_Lean_MetavarContext_getDelayedAssignment_x3f(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__2; lean_object* l_Lean_Meta_saveState___boxed(lean_object*); lean_object* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope(lean_object*); @@ -182,6 +181,7 @@ lean_object* l_Lean_Meta_withLocalDeclsD___rarg(lean_object*, lean_object*, lean lean_object* l_Lean_Meta_hasAssignableMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Meta_setMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__1; lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLCtx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateLevelMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -201,6 +201,7 @@ lean_object* l_Lean_Meta_getZetaFVarIds___boxed(lean_object*); lean_object* l_Lean_Meta_orelseMergeErrors___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_Meta_Basic_0__Lean_Meta_withLocalContextImp(lean_object*); lean_object* l_Lean_Meta_map1MetaM___rarg___lambda__2(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_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____boxed(lean_object*, lean_object*); static size_t l_Lean_Meta_instInhabitedState___closed__2; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewBinderInfosImp(lean_object*); lean_object* l_Lean_Meta_isReadOnlyLevelMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -222,7 +223,7 @@ lean_object* l_Lean_Meta_withMVarContext(lean_object*); lean_object* l_Lean_Meta_lambdaMetaTelescope_process_match__2(lean_object*); lean_object* l_Lean_Meta_modifyInferTypeCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getPostponed___boxed(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154_(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3_(lean_object*); lean_object* l_Lean_Meta_getPostponed___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDeclD(lean_object*); @@ -237,7 +238,7 @@ lean_object* l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instanti lean_object* l_Lean_Meta_withTransparency___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2(lean_object*); lean_object* l_Lean_isReducible___at___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__3; +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Array_isEqvAux___at___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux___closed__1; lean_object* l_Lean_Meta_forallTelescopeReducing(lean_object*); @@ -277,6 +278,7 @@ extern lean_object* l_Lean_Compiler_inlineAttrs; static lean_object* l_Lean_Meta_State_postponed___default___closed__1; lean_object* l_Lean_Meta_restoreSynthInstanceCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux___closed__2; +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279__match__1(lean_object*); uint8_t l_Lean_Meta_Config_assignSyntheticOpaque___default; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux_process___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -298,7 +300,6 @@ lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Meta_withNewBinderInfos___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___at___private_Lean_Meta_Basic_0__Lean_Meta_withExistingLocalDeclsImp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp(lean_object*); lean_object* l_Lean_Meta_map2MetaM(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); @@ -312,6 +313,7 @@ static lean_object* l_Lean_Meta_Cache_inferType___default___closed__2; lean_object* l_Lean_Meta_withTrackingZeta___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_getConstTemp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__3; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp_process(lean_object*); lean_object* l_Lean_Meta_instMonadBacktrackSavedStateMetaM; lean_object* l_Lean_Meta_getZetaFVarIds___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -330,7 +332,6 @@ lean_object* l_Lean_Meta_instantiateForall___boxed(lean_object*, lean_object*, l lean_object* l_Lean_Meta_withMCtx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_modifyCache___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_ParamInfo_isExplicit___boxed(lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMCtxImp(lean_object*); lean_object* l_Lean_Meta_isReadOnlyOrSyntheticOpaqueExprMVar_match__1___rarg(uint8_t, lean_object*, lean_object*); @@ -396,6 +397,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux lean_object* l_Lean_Meta_instantiateLocalDeclMVars_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); lean_object* l_Lean_Meta_setInlineAttribute_match__1___rarg(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Meta_ParamInfo_isInstImplicit(lean_object*); lean_object* l_Lean_Meta_savingCache___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getDelayedAssignment_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); @@ -416,7 +418,6 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstanceImp(le lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Lean_Meta_MetaM_run_x27(lean_object*); -uint8_t l_Lean_Meta_ParamInfo_instImplicit___default; static lean_object* l_Lean_Meta_Cache_defEqDefault___default___closed__1; lean_object* l_Lean_Meta_setMVarKind(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setPostponed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -455,6 +456,7 @@ uint8_t l_Lean_Meta_Config_ctxApprox___default; lean_object* l_Lean_Meta_map1MetaM(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp_process_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_dependsOn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____spec__1(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_isReadOnlyLevelMVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedSavedState___closed__4; lean_object* l_Array_reverse___rarg(lean_object*); @@ -494,7 +496,7 @@ lean_object* l_Lean_throwError___at_Lean_Meta_withIncRecDepth___spec__1___boxed( lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallMetaTelescopeReducing___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254_(lean_object*, lean_object*); +uint8_t l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279_(lean_object*, lean_object*); lean_object* l_Lean_mkFVar(lean_object*); lean_object* l_Lean_Meta_getParamNames___lambda__1___boxed__const__1; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -637,9 +639,11 @@ lean_object* l_Lean_LocalContext_addDecl(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux___closed__2; static lean_object* l_Lean_Meta_instInhabitedMetaM___rarg___closed__1; lean_object* l_Lean_Meta_getLocalDeclFromUserName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Meta_ParamInfo_isImplicit(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImp(lean_object*); lean_object* l_Lean_Meta_withLCtx(lean_object*); static lean_object* l_Lean_Meta_instMonadMCtxMetaM___closed__3; +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_resettingSynthInstanceCacheImpl(lean_object*); lean_object* l_Lean_Meta_lambdaTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getExprMVarAssignment_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -664,7 +668,6 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_throwUnknownFVar___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_savingCacheImpl(lean_object*); lean_object* l_Lean_Meta_throwIsDefEqStuck___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_approxDefEqImp(lean_object*); lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -675,6 +678,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getTransparency___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecls_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); @@ -717,8 +721,8 @@ lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey_match__1(lean_object*); lean_object* l___private_Lean_Expr_0__Lean_mkAppRangeAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_312_(uint8_t, uint8_t); static lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__7; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__2; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_withLocalDeclsD___spec__1(lean_object*); static lean_object* l_Lean_Meta_Cache_inferType___default___closed__1; uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); @@ -748,6 +752,7 @@ lean_object* l_Lean_throwError___at_Lean_Meta_withIncRecDepth___spec__1(lean_obj lean_object* l_Lean_Meta_withoutProofIrrelevance(lean_object*); lean_object* l_Lean_Meta_MetaM_toIO_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_shouldReduceReducibleOnly(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_ParamInfo_isImplicit___boxed(lean_object*); lean_object* l_Lean_Meta_mkFreshTypeMVar(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnumAttributes_setValue___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process_match__1(lean_object*); @@ -782,7 +787,6 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducin lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarCore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___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_unsafeCast(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Meta_ParamInfo_implicit___default; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarWithIdCore___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_saveAndResetSynthInstanceCache(lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(lean_object*, lean_object*); @@ -818,6 +822,7 @@ lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Meta_Basic_0__Lean_ static lean_object* l_Lean_Meta_Cache_inferType___default___closed__3; static lean_object* l_Lean_Meta_getLocalDeclFromUserName___closed__2; lean_object* l_Lean_Meta_setPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_ParamInfo_isStrictImplicit___boxed(lean_object*); lean_object* l_Lean_Meta_saveState___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withReducible(lean_object*); lean_object* l_Lean_Meta_withoutProofIrrelevance___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -860,6 +865,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassImp_x3f_match__1(le lean_object* l_Lean_Meta_instMonadLCtxMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Meta_ParamInfo_isStrictImplicit(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp(lean_object*); lean_object* l_Lean_mkFreshId___at_Lean_Meta_mkFreshExprMVarAt___spec__1___rarg___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassImp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -994,15 +1000,7 @@ x_1 = 0; return x_1; } } -static uint8_t _init_l_Lean_Meta_ParamInfo_implicit___default() { -_start: -{ -uint8_t x_1; -x_1 = 0; -return x_1; -} -} -static uint8_t _init_l_Lean_Meta_ParamInfo_instImplicit___default() { +static uint8_t _init_l_Lean_Meta_ParamInfo_binderInfo___default() { _start: { uint8_t x_1; @@ -1038,15 +1036,15 @@ return x_1; static lean_object* _init_l_Lean_Meta_instInhabitedParamInfo___closed__1() { _start: { -uint8_t x_1; lean_object* x_2; lean_object* x_3; +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; x_1 = 0; -x_2 = l_Lean_Meta_ParamInfo_backDeps___default___closed__1; -x_3 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1 + 1, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1 + 2, x_1); -return x_3; +x_2 = 0; +x_3 = l_Lean_Meta_ParamInfo_backDeps___default___closed__1; +x_4 = lean_alloc_ctor(0, 1, 2); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set_uint8(x_4, sizeof(void*)*1, x_1); +lean_ctor_set_uint8(x_4, sizeof(void*)*1 + 1, x_2); +return x_4; } } static lean_object* _init_l_Lean_Meta_instInhabitedParamInfo() { @@ -1057,34 +1055,86 @@ x_1 = l_Lean_Meta_instInhabitedParamInfo___closed__1; return x_1; } } +uint8_t l_Lean_Meta_ParamInfo_isImplicit(lean_object* x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; uint8_t x_4; +x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*1); +x_3 = 1; +x_4 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_312_(x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_Meta_ParamInfo_isImplicit___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Meta_ParamInfo_isImplicit(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +uint8_t l_Lean_Meta_ParamInfo_isInstImplicit(lean_object* x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; uint8_t x_4; +x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*1); +x_3 = 3; +x_4 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_312_(x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_Meta_ParamInfo_isInstImplicit___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Meta_ParamInfo_isInstImplicit(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +uint8_t l_Lean_Meta_ParamInfo_isStrictImplicit(lean_object* x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; uint8_t x_4; +x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*1); +x_3 = 2; +x_4 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_312_(x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_Meta_ParamInfo_isStrictImplicit___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Meta_ParamInfo_isStrictImplicit(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} uint8_t l_Lean_Meta_ParamInfo_isExplicit(lean_object* x_1) { _start: { -uint8_t x_2; +uint8_t x_2; uint8_t x_3; uint8_t x_4; x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*1); -if (x_2 == 0) +x_3 = 0; +x_4 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_312_(x_2, x_3); +if (x_4 == 0) { -uint8_t x_3; -x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*1 + 1); -if (x_3 == 0) -{ -uint8_t x_4; -x_4 = 1; -return x_4; -} -else -{ -uint8_t x_5; -x_5 = 0; -return x_5; -} -} -else -{ -uint8_t x_6; -x_6 = 0; +uint8_t x_5; uint8_t x_6; +x_5 = 4; +x_6 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_312_(x_2, x_5); return x_6; } +else +{ +uint8_t x_7; +x_7 = 1; +return x_7; +} } } lean_object* l_Lean_Meta_ParamInfo_isExplicit___boxed(lean_object* x_1) { @@ -1156,7 +1206,7 @@ x_1 = l_Lean_Meta_instInhabitedInfoCacheKey___closed__3; return x_1; } } -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -1178,24 +1228,24 @@ x_13 = lean_apply_6(x_3, x_11, x_6, x_7, x_12, x_9, x_10); return x_13; } } -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254__match__1(lean_object* x_1) { +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279__match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254__match__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279__match__1___rarg___boxed), 4, 0); return x_2; } } -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254__match__1___rarg(x_1, x_2, x_3, x_4); +x_5 = l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279__match__1___rarg(x_1, x_2, x_3, x_4); lean_dec(x_4); return x_5; } } -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____spec__1(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1232,7 +1282,7 @@ return x_8; } } } -uint8_t l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254_(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279_(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -1262,28 +1312,28 @@ return x_12; else { uint8_t x_13; -x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____spec__1(x_5, x_8); +x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____spec__1(x_5, x_8); return x_13; } } } } -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____spec__1(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254_(x_1, x_2); +x_3 = l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -1294,7 +1344,7 @@ static lean_object* _init_l_Lean_Meta_instBEqInfoCacheKey___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____boxed), 2, 0); return x_1; } } @@ -4138,7 +4188,7 @@ lean_dec(x_2); return x_6; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__1() { _start: { lean_object* x_1; @@ -4146,17 +4196,17 @@ x_1 = lean_mk_string("Meta"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____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_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__3() { _start: { lean_object* x_1; @@ -4164,21 +4214,21 @@ x_1 = lean_mk_string("debug"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__2; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__2; x_3 = l_Lean_registerTraceClass(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -4186,7 +4236,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__4; +x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__4; x_6 = l_Lean_registerTraceClass(x_5, x_4); return x_6; } @@ -29406,8 +29456,7 @@ l_Lean_Meta_Config_trackZeta___default = _init_l_Lean_Meta_Config_trackZeta___de l_Lean_Meta_Config_unificationHints___default = _init_l_Lean_Meta_Config_unificationHints___default(); l_Lean_Meta_Config_proofIrrelevance___default = _init_l_Lean_Meta_Config_proofIrrelevance___default(); l_Lean_Meta_Config_assignSyntheticOpaque___default = _init_l_Lean_Meta_Config_assignSyntheticOpaque___default(); -l_Lean_Meta_ParamInfo_implicit___default = _init_l_Lean_Meta_ParamInfo_implicit___default(); -l_Lean_Meta_ParamInfo_instImplicit___default = _init_l_Lean_Meta_ParamInfo_instImplicit___default(); +l_Lean_Meta_ParamInfo_binderInfo___default = _init_l_Lean_Meta_ParamInfo_binderInfo___default(); l_Lean_Meta_ParamInfo_hasFwdDeps___default = _init_l_Lean_Meta_ParamInfo_hasFwdDeps___default(); l_Lean_Meta_ParamInfo_backDeps___default___closed__1 = _init_l_Lean_Meta_ParamInfo_backDeps___default___closed__1(); lean_mark_persistent(l_Lean_Meta_ParamInfo_backDeps___default___closed__1); @@ -29600,15 +29649,15 @@ l_Lean_Meta_instMetaEvalMetaM___rarg___closed__7 = _init_l_Lean_Meta_instMetaEva lean_mark_persistent(l_Lean_Meta_instMetaEvalMetaM___rarg___closed__7); l_Lean_Meta_throwIsDefEqStuck___rarg___closed__1 = _init_l_Lean_Meta_throwIsDefEqStuck___rarg___closed__1(); lean_mark_persistent(l_Lean_Meta_throwIsDefEqStuck___rarg___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129____closed__4); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1129_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154____closed__4); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1154_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Meta_withIncRecDepth___rarg___lambda__2___closed__1 = _init_l_Lean_Meta_withIncRecDepth___rarg___lambda__2___closed__1(); diff --git a/stage0/stdlib/Lean/Meta/Closure.c b/stage0/stdlib/Lean/Meta/Closure.c index fc2b5be8fc..ad78e1ca44 100644 --- a/stage0/stdlib/Lean/Meta/Closure.c +++ b/stage0/stdlib/Lean/Meta/Closure.c @@ -4156,7 +4156,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Closure_collectExprAux___closed__1; x_2 = l_Lean_Meta_Closure_collectExprAux___closed__2; -x_3 = lean_unsigned_to_nat(898u); +x_3 = lean_unsigned_to_nat(902u); x_4 = lean_unsigned_to_nat(19u); x_5 = l_Lean_Meta_Closure_collectExprAux___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -4185,7 +4185,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Closure_collectExprAux___closed__1; x_2 = l_Lean_Meta_Closure_collectExprAux___closed__5; -x_3 = lean_unsigned_to_nat(903u); +x_3 = lean_unsigned_to_nat(907u); x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_Meta_Closure_collectExprAux___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -4214,7 +4214,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Closure_collectExprAux___closed__1; x_2 = l_Lean_Meta_Closure_collectExprAux___closed__8; -x_3 = lean_unsigned_to_nat(863u); +x_3 = lean_unsigned_to_nat(867u); x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_Meta_Closure_collectExprAux___closed__9; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -4243,7 +4243,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Closure_collectExprAux___closed__1; x_2 = l_Lean_Meta_Closure_collectExprAux___closed__11; -x_3 = lean_unsigned_to_nat(931u); +x_3 = lean_unsigned_to_nat(935u); x_4 = lean_unsigned_to_nat(19u); x_5 = l_Lean_Meta_Closure_collectExprAux___closed__12; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -4272,7 +4272,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Closure_collectExprAux___closed__1; x_2 = l_Lean_Meta_Closure_collectExprAux___closed__14; -x_3 = lean_unsigned_to_nat(917u); +x_3 = lean_unsigned_to_nat(921u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Meta_Closure_collectExprAux___closed__15; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -4301,7 +4301,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Closure_collectExprAux___closed__1; x_2 = l_Lean_Meta_Closure_collectExprAux___closed__17; -x_3 = lean_unsigned_to_nat(940u); +x_3 = lean_unsigned_to_nat(944u); x_4 = lean_unsigned_to_nat(22u); x_5 = l_Lean_Meta_Closure_collectExprAux___closed__18; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/DiscrTree.c b/stage0/stdlib/Lean/Meta/DiscrTree.c index 6b3f393d5f..369c70296f 100644 --- a/stage0/stdlib/Lean/Meta/DiscrTree.c +++ b/stage0/stdlib/Lean/Meta/DiscrTree.c @@ -171,6 +171,7 @@ lean_object* l_Array_back___at_Lean_Meta_DiscrTree_mkPathAux___spec__1(lean_obje uint8_t l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isNumeral(lean_object*); lean_object* l_Lean_Meta_DiscrTree_Trie_format_match__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isNumeral___closed__4; +uint8_t l_Lean_Meta_ParamInfo_isInstImplicit(lean_object*); static lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_isOffset___closed__2; extern lean_object* l_Lean_Meta_DiscrTree_instBEqKey; lean_object* l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getUnify_process___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -283,6 +284,7 @@ lean_object* l_Lean_Meta_DiscrTree_insertCore_match__1___rarg(lean_object*, lean lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_ignoreArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_Meta_DiscrTree_getUnify___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_DiscrTree_instToFormatKey; +uint8_t l_Lean_Meta_ParamInfo_isImplicit(lean_object*); uint8_t l_Lean_Meta_DiscrTree_Key_lt(lean_object*, lean_object*); lean_object* l_Array_binSearchAux___at_Lean_Meta_DiscrTree_getUnify_process___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_DiscrTree_empty___closed__2; @@ -358,6 +360,7 @@ lean_object* l_Lean_Meta_DiscrTree_instInhabitedTrie(lean_object*); lean_object* l_Lean_Meta_DiscrTree_Key_lt_match__1(lean_object*); static lean_object* l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__1; lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_findKey(lean_object*); +uint8_t l_Lean_Meta_ParamInfo_isStrictImplicit(lean_object*); static lean_object* l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__2; lean_object* l_Lean_Meta_DiscrTree_empty(lean_object*); lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2293,125 +2296,222 @@ else { lean_object* x_12; uint8_t x_13; x_12 = lean_array_fget(x_3, x_2); -x_13 = lean_ctor_get_uint8(x_12, sizeof(void*)*1 + 1); +x_13 = l_Lean_Meta_ParamInfo_isInstImplicit(x_12); if (x_13 == 0) { uint8_t x_14; -x_14 = lean_ctor_get_uint8(x_12, sizeof(void*)*1); -lean_dec(x_12); +x_14 = l_Lean_Meta_ParamInfo_isImplicit(x_12); if (x_14 == 0) { -lean_object* x_15; -x_15 = l_Lean_Meta_isProof(x_1, x_4, x_5, x_6, x_7, x_8); -return x_15; -} -else +uint8_t x_15; +x_15 = l_Lean_Meta_ParamInfo_isStrictImplicit(x_12); +lean_dec(x_12); +if (x_15 == 0) { lean_object* x_16; -x_16 = l_Lean_Meta_isType(x_1, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_16) == 0) +x_16 = l_Lean_Meta_isProof(x_1, x_4, x_5, x_6, x_7, x_8); +return x_16; +} +else { -lean_object* x_17; uint8_t x_18; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_unbox(x_17); -lean_dec(x_17); -if (x_18 == 0) +lean_object* x_17; +x_17 = l_Lean_Meta_isType(x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_17) == 0) { -uint8_t x_19; -x_19 = !lean_is_exclusive(x_16); +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_unbox(x_18); +lean_dec(x_18); if (x_19 == 0) { -lean_object* x_20; uint8_t x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_16, 0); -lean_dec(x_20); -x_21 = 1; -x_22 = lean_box(x_21); -lean_ctor_set(x_16, 0, x_22); -return x_16; +uint8_t x_20; +x_20 = !lean_is_exclusive(x_17); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_17, 0); +lean_dec(x_21); +x_22 = 1; +x_23 = lean_box(x_22); +lean_ctor_set(x_17, 0, x_23); +return x_17; } else { -lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_16, 1); -lean_inc(x_23); -lean_dec(x_16); -x_24 = 1; -x_25 = lean_box(x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_23); -return x_26; +lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_17, 1); +lean_inc(x_24); +lean_dec(x_17); +x_25 = 1; +x_26 = lean_box(x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_24); +return x_27; } } else { -uint8_t x_27; -x_27 = !lean_is_exclusive(x_16); -if (x_27 == 0) +uint8_t x_28; +x_28 = !lean_is_exclusive(x_17); +if (x_28 == 0) { -lean_object* x_28; uint8_t x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_16, 0); -lean_dec(x_28); -x_29 = 0; -x_30 = lean_box(x_29); -lean_ctor_set(x_16, 0, x_30); -return x_16; +lean_object* x_29; uint8_t x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_17, 0); +lean_dec(x_29); +x_30 = 0; +x_31 = lean_box(x_30); +lean_ctor_set(x_17, 0, x_31); +return x_17; } else { -lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_31); -lean_dec(x_16); -x_32 = 0; -x_33 = lean_box(x_32); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_31); -return x_34; +lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_17, 1); +lean_inc(x_32); +lean_dec(x_17); +x_33 = 0; +x_34 = lean_box(x_33); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; } } } else { -uint8_t x_35; -x_35 = !lean_is_exclusive(x_16); -if (x_35 == 0) +uint8_t x_36; +x_36 = !lean_is_exclusive(x_17); +if (x_36 == 0) { -return x_16; +return x_17; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_16, 0); -x_37 = lean_ctor_get(x_16, 1); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_17, 0); +x_38 = lean_ctor_get(x_17, 1); +lean_inc(x_38); lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_16); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; +lean_dec(x_17); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } } } else { -uint8_t x_39; lean_object* x_40; lean_object* x_41; +lean_object* x_40; +lean_dec(x_12); +x_40 = l_Lean_Meta_isType(x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_unbox(x_41); +lean_dec(x_41); +if (x_42 == 0) +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_40); +if (x_43 == 0) +{ +lean_object* x_44; uint8_t x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_40, 0); +lean_dec(x_44); +x_45 = 1; +x_46 = lean_box(x_45); +lean_ctor_set(x_40, 0, x_46); +return x_40; +} +else +{ +lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; +x_47 = lean_ctor_get(x_40, 1); +lean_inc(x_47); +lean_dec(x_40); +x_48 = 1; +x_49 = lean_box(x_48); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_47); +return x_50; +} +} +else +{ +uint8_t x_51; +x_51 = !lean_is_exclusive(x_40); +if (x_51 == 0) +{ +lean_object* x_52; uint8_t x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_40, 0); +lean_dec(x_52); +x_53 = 0; +x_54 = lean_box(x_53); +lean_ctor_set(x_40, 0, x_54); +return x_40; +} +else +{ +lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; +x_55 = lean_ctor_get(x_40, 1); +lean_inc(x_55); +lean_dec(x_40); +x_56 = 0; +x_57 = lean_box(x_56); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_55); +return x_58; +} +} +} +else +{ +uint8_t x_59; +x_59 = !lean_is_exclusive(x_40); +if (x_59 == 0) +{ +return x_40; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_40, 0); +x_61 = lean_ctor_get(x_40, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_40); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +} +else +{ +uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_dec(x_12); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_39 = 1; -x_40 = lean_box(x_39); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_8); -return x_41; +x_63 = 1; +x_64 = lean_box(x_63); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_8); +return x_65; } } } diff --git a/stage0/stdlib/Lean/Meta/ExprDefEq.c b/stage0/stdlib/Lean/Meta/ExprDefEq.c index e2a60ecc37..d49d422398 100644 --- a/stage0/stdlib/Lean/Meta/ExprDefEq.c +++ b/stage0/stdlib/Lean/Meta/ExprDefEq.c @@ -67,8 +67,8 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isSynthetic_match__1__ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldBothDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDepsAux_match__1(lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__49___closed__1; -lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2814_(lean_object*); -lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2827_(lean_object*); +lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2813_(lean_object*); +lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2826_(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_CheckAssignment_checkApp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldBothDefEq_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -315,13 +315,13 @@ static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___c lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Std_PersistentHashMap_containsAux___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isCached___spec__2___closed__1; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2814____closed__2; static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__7; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__15(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Meta_CheckAssignment_assignToConstFun___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___closed__1; lean_object* l_Lean_Expr_headBeta(lean_object*); +static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2813____closed__2; uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__20(lean_object*, lean_object*, size_t, size_t); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__18; static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__15; @@ -334,7 +334,7 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__ uint8_t l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_sameHeadSymbol(lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_assignToConstFun___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___spec__2(lean_object*, lean_object*, size_t, size_t); -static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2814____closed__1; +static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2813____closed__1; uint8_t l_Lean_Expr_hasExprMVar(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickMVarMVar___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -379,6 +379,7 @@ uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_checkMVar___sp lean_object* l_Lean_Meta_CheckAssignmentQuick_check_visit_match__1(lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___closed__3; static lean_object* l_Lean_Meta_isDefEqStringLit___closed__4; +uint8_t l_Lean_Meta_ParamInfo_isInstImplicit(lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__13; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApproxAux_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -494,6 +495,7 @@ uint8_t l_Lean_Meta_CheckAssignmentQuick_check_visit(uint8_t, lean_object*, lean lean_object* l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isLambda(lean_object*); +static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2826____closed__1; lean_object* l_Lean_Meta_CheckAssignment_checkAssignmentAux(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__12___boxed(lean_object*, lean_object*); @@ -502,8 +504,8 @@ lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___boxed(lean_object*, le static lean_object* l_Lean_Meta_CheckAssignment_check___closed__8; lean_object* l_EStateM_instMonadEStateM(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBindingAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Meta_ParamInfo_isExplicit(lean_object*); lean_object* lean_expr_update_proj(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2827____closed__1; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqMVarSelf___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___closed__1; extern lean_object* l_Lean_Meta_instInhabitedParamInfo; @@ -550,8 +552,8 @@ static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___c lean_object* l_Lean_LocalDecl_index(lean_object*); uint8_t l_Lean_MetavarKind_isSyntheticOpaque(uint8_t); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_checkFVar___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2827____closed__2; lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2826____closed__2; lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__3; lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -650,7 +652,7 @@ static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWi static lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__3; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssigned_match__1(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_11187_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_11186_(lean_object*); lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2675,127 +2677,16 @@ return x_14; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_63; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; x_15 = lean_array_fget(x_1, x_4); x_16 = l_Lean_instInhabitedExpr; x_17 = lean_array_get(x_16, x_2, x_4); x_18 = lean_array_get(x_16, x_3, x_4); -x_63 = lean_ctor_get_uint8(x_15, sizeof(void*)*1); -if (x_63 == 0) -{ -uint8_t x_64; -x_64 = lean_ctor_get_uint8(x_15, sizeof(void*)*1 + 1); +x_19 = l_Lean_Meta_ParamInfo_isExplicit(x_15); lean_dec(x_15); -if (x_64 == 0) -{ -lean_object* x_65; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_65 = lean_is_expr_def_eq(x_17, x_18, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_65) == 0) -{ -lean_object* x_66; uint8_t x_67; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_unbox(x_66); -lean_dec(x_66); -if (x_67 == 0) -{ -uint8_t x_68; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_68 = !lean_is_exclusive(x_65); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_65, 0); -lean_dec(x_69); -x_70 = lean_box(0); -lean_ctor_set(x_65, 0, x_70); -return x_65; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_65, 1); -lean_inc(x_71); -lean_dec(x_65); -x_72 = lean_box(0); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_71); -return x_73; -} -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_65, 1); -lean_inc(x_74); -lean_dec(x_65); -x_75 = lean_unsigned_to_nat(1u); -x_76 = lean_nat_add(x_4, x_75); -lean_dec(x_4); -x_4 = x_76; -x_10 = x_74; -goto _start; -} -} -else -{ -uint8_t x_78; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_78 = !lean_is_exclusive(x_65); -if (x_78 == 0) -{ -return x_65; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_65, 0); -x_80 = lean_ctor_get(x_65, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_65); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -return x_81; -} -} -} -else -{ -lean_object* x_82; -x_82 = lean_box(0); -x_19 = x_82; -goto block_62; -} -} -else -{ -lean_object* x_83; -lean_dec(x_15); -x_83 = lean_box(0); -x_19 = x_83; -goto block_62; -} -block_62: +if (x_19 == 0) { uint8_t x_20; lean_object* x_21; lean_object* x_44; -lean_dec(x_19); lean_inc(x_17); x_44 = l_Lean_Meta_isEtaUnassignedMVar(x_17, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_44) == 0) @@ -3008,6 +2899,96 @@ return x_42; } } } +else +{ +lean_object* x_62; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_62 = lean_is_expr_def_eq(x_17, x_18, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_62) == 0) +{ +lean_object* x_63; uint8_t x_64; +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_unbox(x_63); +lean_dec(x_63); +if (x_64 == 0) +{ +uint8_t x_65; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_65 = !lean_is_exclusive(x_62); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_62, 0); +lean_dec(x_66); +x_67 = lean_box(0); +lean_ctor_set(x_62, 0, x_67); +return x_62; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_62, 1); +lean_inc(x_68); +lean_dec(x_62); +x_69 = lean_box(0); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +return x_70; +} +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_62, 1); +lean_inc(x_71); +lean_dec(x_62); +x_72 = lean_unsigned_to_nat(1u); +x_73 = lean_nat_add(x_4, x_72); +lean_dec(x_4); +x_4 = x_73; +x_10 = x_71; +goto _start; +} +} +else +{ +uint8_t x_75; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_75 = !lean_is_exclusive(x_62); +if (x_75 == 0) +{ +return x_62; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_62, 0); +x_77 = lean_ctor_get(x_62, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_62); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; +} +} +} } } } @@ -3791,7 +3772,7 @@ x_25 = lean_array_get(x_23, x_2, x_13); x_26 = l_Lean_Meta_instInhabitedParamInfo; x_27 = lean_array_get(x_26, x_3, x_13); lean_dec(x_13); -x_28 = lean_ctor_get_uint8(x_27, sizeof(void*)*1 + 1); +x_28 = l_Lean_Meta_ParamInfo_isInstImplicit(x_27); lean_dec(x_27); if (x_28 == 0) { @@ -12690,7 +12671,7 @@ lean_dec(x_5); return x_10; } } -static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2814____closed__1() { +static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2813____closed__1() { _start: { lean_object* x_1; @@ -12698,26 +12679,26 @@ x_1 = lean_mk_string("checkAssignment"); return x_1; } } -static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2814____closed__2() { +static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2813____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_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2814____closed__1; +x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2813____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2814_(lean_object* x_1) { +lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2813_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2814____closed__2; +x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2813____closed__2; x_3 = l_Lean_registerInternalExceptionId(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2827____closed__1() { +static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2826____closed__1() { _start: { lean_object* x_1; @@ -12725,21 +12706,21 @@ x_1 = lean_mk_string("outOfScope"); return x_1; } } -static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2827____closed__2() { +static lean_object* _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2826____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_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2827____closed__1; +x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2826____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2827_(lean_object* x_1) { +lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2826_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2827____closed__2; +x_2 = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2826____closed__2; x_3 = l_Lean_registerInternalExceptionId(x_2, x_1); return x_3; } @@ -14725,7 +14706,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_CheckAssignment_check___closed__1; x_2 = l_Lean_Meta_CheckAssignment_check___closed__2; -x_3 = lean_unsigned_to_nat(898u); +x_3 = lean_unsigned_to_nat(902u); x_4 = lean_unsigned_to_nat(19u); x_5 = l_Lean_Meta_CheckAssignment_check___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -14754,7 +14735,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_CheckAssignment_check___closed__1; x_2 = l_Lean_Meta_CheckAssignment_check___closed__5; -x_3 = lean_unsigned_to_nat(903u); +x_3 = lean_unsigned_to_nat(907u); x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_Meta_CheckAssignment_check___closed__6; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -14783,7 +14764,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_CheckAssignment_check___closed__1; x_2 = l_Lean_Meta_CheckAssignment_check___closed__8; -x_3 = lean_unsigned_to_nat(931u); +x_3 = lean_unsigned_to_nat(935u); x_4 = lean_unsigned_to_nat(19u); x_5 = l_Lean_Meta_CheckAssignment_check___closed__9; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -14812,7 +14793,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_CheckAssignment_check___closed__1; x_2 = l_Lean_Meta_CheckAssignment_check___closed__11; -x_3 = lean_unsigned_to_nat(917u); +x_3 = lean_unsigned_to_nat(921u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Meta_CheckAssignment_check___closed__12; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -14841,7 +14822,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_CheckAssignment_check___closed__1; x_2 = l_Lean_Meta_CheckAssignment_check___closed__14; -x_3 = lean_unsigned_to_nat(940u); +x_3 = lean_unsigned_to_nat(944u); x_4 = lean_unsigned_to_nat(22u); x_5 = l_Lean_Meta_CheckAssignment_check___closed__15; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -65947,7 +65928,7 @@ lean_dec(x_1); return x_11; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_11187_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_11186_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -66240,20 +66221,20 @@ l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__ lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__5); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__6 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__6(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps___closed__6); -l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2814____closed__1 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2814____closed__1(); -lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2814____closed__1); -l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2814____closed__2 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2814____closed__2(); -lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2814____closed__2); -res = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2814_(lean_io_mk_world()); +l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2813____closed__1 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2813____closed__1(); +lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2813____closed__1); +l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2813____closed__2 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2813____closed__2(); +lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2813____closed__2); +res = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2813_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_CheckAssignment_checkAssignmentExceptionId = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_CheckAssignment_checkAssignmentExceptionId); lean_dec_ref(res); -l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2827____closed__1 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2827____closed__1(); -lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2827____closed__1); -l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2827____closed__2 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2827____closed__2(); -lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2827____closed__2); -res = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2827_(lean_io_mk_world()); +l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2826____closed__1 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2826____closed__1(); +lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2826____closed__1); +l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2826____closed__2 = _init_l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2826____closed__2(); +lean_mark_persistent(l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2826____closed__2); +res = l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2826_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_CheckAssignment_outOfScopeExceptionId = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_CheckAssignment_outOfScopeExceptionId); @@ -66464,7 +66445,7 @@ l_Lean_Meta_isExprDefEqAuxImpl___closed__3 = _init_l_Lean_Meta_isExprDefEqAuxImp lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___closed__3); l_Lean_Meta_isExprDefEqAuxImpl___closed__4 = _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__4(); lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___closed__4); -res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_11187_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_11186_(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/FunInfo.c b/stage0/stdlib/Lean/Meta/FunInfo.c index 7df12be09d..e1cddc6031 100644 --- a/stage0/stdlib/Lean/Meta/FunInfo.c +++ b/stage0/stdlib/Lean/Meta/FunInfo.c @@ -75,7 +75,6 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getTransparency(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_312_(uint8_t, uint8_t); static lean_object* l___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___closed__1; lean_object* l___private_Lean_Meta_FunInfo_0__Lean_Meta_collectDeps_visit_match__1___boxed(lean_object*, lean_object*); lean_object* l_Array_qpartition_loop___at___private_Lean_Meta_FunInfo_0__Lean_Meta_collectDeps___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1381,80 +1380,78 @@ x_8 = lean_unsigned_to_nat(0u); x_9 = lean_nat_dec_eq(x_4, x_8); if (x_9 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; x_10 = lean_unsigned_to_nat(1u); x_11 = lean_nat_sub(x_4, x_10); lean_dec(x_4); x_12 = lean_array_fget(x_3, x_5); x_13 = lean_ctor_get_uint8(x_12, sizeof(void*)*1); x_14 = lean_ctor_get_uint8(x_12, sizeof(void*)*1 + 1); -x_15 = lean_ctor_get_uint8(x_12, sizeof(void*)*1 + 2); -x_16 = lean_ctor_get(x_12, 0); -lean_inc(x_16); -x_17 = lean_nat_add(x_5, x_10); -if (x_15 == 0) +x_15 = lean_ctor_get(x_12, 0); +lean_inc(x_15); +x_16 = lean_nat_add(x_5, x_10); +if (x_14 == 0) { -uint8_t x_18; -x_18 = l_Array_contains___at___private_Lean_Meta_FunInfo_0__Lean_Meta_collectDeps_visit___spec__2(x_2, x_5); +uint8_t x_17; +x_17 = l_Array_contains___at___private_Lean_Meta_FunInfo_0__Lean_Meta_collectDeps_visit___spec__2(x_2, x_5); lean_dec(x_5); -if (x_18 == 0) +if (x_17 == 0) { -lean_object* x_19; -lean_dec(x_16); -x_19 = lean_array_push(x_7, x_12); +lean_object* x_18; +lean_dec(x_15); +x_18 = lean_array_push(x_7, x_12); x_4 = x_11; -x_5 = x_17; +x_5 = x_16; x_6 = lean_box(0); -x_7 = x_19; +x_7 = x_18; goto _start; } else { -uint8_t x_21; -x_21 = !lean_is_exclusive(x_12); -if (x_21 == 0) +uint8_t x_20; +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) { -lean_object* x_22; uint8_t x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_12, 0); -lean_dec(x_22); -x_23 = 1; -lean_ctor_set_uint8(x_12, sizeof(void*)*1 + 2, x_23); -x_24 = lean_array_push(x_7, x_12); +lean_object* x_21; uint8_t x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_12, 0); +lean_dec(x_21); +x_22 = 1; +lean_ctor_set_uint8(x_12, sizeof(void*)*1 + 1, x_22); +x_23 = lean_array_push(x_7, x_12); x_4 = x_11; -x_5 = x_17; +x_5 = x_16; x_6 = lean_box(0); -x_7 = x_24; +x_7 = x_23; goto _start; } else { -uint8_t x_26; lean_object* x_27; lean_object* x_28; +uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_dec(x_12); -x_26 = 1; -x_27 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_27, 0, x_16); -lean_ctor_set_uint8(x_27, sizeof(void*)*1, x_13); -lean_ctor_set_uint8(x_27, sizeof(void*)*1 + 1, x_14); -lean_ctor_set_uint8(x_27, sizeof(void*)*1 + 2, x_26); -x_28 = lean_array_push(x_7, x_27); +x_25 = 1; +x_26 = lean_alloc_ctor(0, 1, 2); +lean_ctor_set(x_26, 0, x_15); +lean_ctor_set_uint8(x_26, sizeof(void*)*1, x_13); +lean_ctor_set_uint8(x_26, sizeof(void*)*1 + 1, x_25); +x_27 = lean_array_push(x_7, x_26); x_4 = x_11; -x_5 = x_17; +x_5 = x_16; x_6 = lean_box(0); -x_7 = x_28; +x_7 = x_27; goto _start; } } } else { -lean_object* x_30; -lean_dec(x_16); +lean_object* x_29; +lean_dec(x_15); lean_dec(x_5); -x_30 = lean_array_push(x_7, x_12); +x_29 = lean_array_push(x_7, x_12); x_4 = x_11; -x_5 = x_17; +x_5 = x_16; x_6 = lean_box(0); -x_7 = x_30; +x_7 = x_29; goto _start; } } @@ -1534,7 +1531,7 @@ x_19 = l_Lean_Meta_getFVarLocalDecl(x_18, x_6, x_7, x_8, x_9, x_10); lean_dec(x_18); if (lean_obj_tag(x_19) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -1547,75 +1544,70 @@ x_24 = l___private_Lean_Meta_FunInfo_0__Lean_Meta_updateHasFwdDeps(x_5, x_23); lean_dec(x_5); x_25 = l_Lean_LocalDecl_binderInfo(x_20); lean_dec(x_20); -x_26 = 1; -x_27 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_312_(x_25, x_26); -x_28 = 3; -x_29 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_312_(x_25, x_28); -x_30 = 0; -x_31 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_31, 0, x_23); -lean_ctor_set_uint8(x_31, sizeof(void*)*1, x_27); -lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 1, x_29); -lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 2, x_30); -x_32 = lean_array_push(x_24, x_31); -x_33 = lean_ctor_get(x_2, 2); -x_34 = lean_nat_add(x_4, x_33); +x_26 = 0; +x_27 = lean_alloc_ctor(0, 1, 2); +lean_ctor_set(x_27, 0, x_23); +lean_ctor_set_uint8(x_27, sizeof(void*)*1, x_25); +lean_ctor_set_uint8(x_27, sizeof(void*)*1 + 1, x_26); +x_28 = lean_array_push(x_24, x_27); +x_29 = lean_ctor_get(x_2, 2); +x_30 = lean_nat_add(x_4, x_29); lean_dec(x_4); x_3 = x_16; -x_4 = x_34; -x_5 = x_32; +x_4 = x_30; +x_5 = x_28; x_10 = x_21; goto _start; } else { -uint8_t x_36; +uint8_t x_32; lean_dec(x_16); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_36 = !lean_is_exclusive(x_19); -if (x_36 == 0) +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) { return x_19; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_19, 0); -x_38 = lean_ctor_get(x_19, 1); -lean_inc(x_38); -lean_inc(x_37); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_inc(x_33); lean_dec(x_19); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } } else { -lean_object* x_40; +lean_object* x_36; lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_5); -lean_ctor_set(x_40, 1, x_10); -return x_40; +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_5); +lean_ctor_set(x_36, 1, x_10); +return x_36; } } else { -lean_object* x_41; +lean_object* x_37; lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_5); -lean_ctor_set(x_41, 1, x_10); -return x_41; +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_5); +lean_ctor_set(x_37, 1, x_10); +return x_37; } } } diff --git a/stage0/stdlib/Lean/Meta/GlobalInstances.c b/stage0/stdlib/Lean/Meta/GlobalInstances.c index d7668e8b44..3325e6c6b2 100644 --- a/stage0/stdlib/Lean/Meta/GlobalInstances.c +++ b/stage0/stdlib/Lean/Meta/GlobalInstances.c @@ -817,7 +817,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_isGlobalInstance___spec__3___closed__3; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_isGlobalInstance___spec__3___closed__4; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/Instances.c b/stage0/stdlib/Lean/Meta/Instances.c index 3a8f4b8f44..40ecae39c1 100644 --- a/stage0/stdlib/Lean/Meta/Instances.c +++ b/stage0/stdlib/Lean/Meta/Instances.c @@ -2821,7 +2821,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_getGlobalInstancesIndex___spec__3___closed__3; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_getGlobalInstancesIndex___spec__3___closed__4; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/Match/Match.c b/stage0/stdlib/Lean/Meta/Match/Match.c index 41a586007a..7a5c7689f9 100644 --- a/stage0/stdlib/Lean/Meta/Match/Match.c +++ b/stage0/stdlib/Lean/Meta/Match/Match.c @@ -24122,7 +24122,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__1___closed__2; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__1___closed__3; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c b/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c index 1e060d07a1..191553b4b6 100644 --- a/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c +++ b/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c @@ -1477,7 +1477,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__3___closed__3; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__3___closed__4; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/RecursorInfo.c b/stage0/stdlib/Lean/Meta/RecursorInfo.c index ee6cb3b937..492417283f 100644 --- a/stage0/stdlib/Lean/Meta/RecursorInfo.c +++ b/stage0/stdlib/Lean/Meta/RecursorInfo.c @@ -11786,7 +11786,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_getMajorPos_x3f___spec__3___closed__2; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_getMajorPos_x3f___spec__3___closed__3; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/Tactic/AuxLemma.c b/stage0/stdlib/Lean/Meta/Tactic/AuxLemma.c index 792bac8699..10bef637d0 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/AuxLemma.c +++ b/stage0/stdlib/Lean/Meta/Tactic/AuxLemma.c @@ -269,7 +269,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_mkAuxLemma___spec__1___closed__1; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_mkAuxLemma___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/CongrLemmas.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/CongrLemmas.c index 96bcfb9979..94aba128ff 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/CongrLemmas.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/CongrLemmas.c @@ -8682,7 +8682,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_getCongrLemmas___spec__3___closed__3; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_getCongrLemmas___spec__3___closed__4; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c index e130d2444d..57275e565e 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c @@ -15553,7 +15553,7 @@ else lean_object* x_70; lean_object* x_71; uint8_t x_72; x_70 = l_Lean_Meta_instInhabitedParamInfo; x_71 = lean_array_get(x_70, x_2, x_4); -x_72 = lean_ctor_get_uint8(x_71, sizeof(void*)*1 + 2); +x_72 = lean_ctor_get_uint8(x_71, sizeof(void*)*1 + 1); lean_dec(x_71); if (x_72 == 0) { @@ -16215,7 +16215,7 @@ lean_ctor_set(x_56, 0, x_54); lean_ctor_set(x_56, 1, x_55); x_57 = l_Lean_Meta_instInhabitedParamInfo; x_58 = lean_array_get(x_57, x_1, x_27); -x_59 = lean_ctor_get_uint8(x_58, sizeof(void*)*1 + 2); +x_59 = lean_ctor_get_uint8(x_58, sizeof(void*)*1 + 1); lean_dec(x_58); if (x_59 == 0) { diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpLemmas.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpLemmas.c index d7a92a9a2e..fd4f05c930 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpLemmas.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpLemmas.c @@ -8958,7 +8958,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2304____spec__3___closed__3; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpLemmas___hyg_2304____spec__3___closed__4; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10428,7 +10428,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_SimpLemma_getValue___closed__1; x_2 = l_Lean_Meta_SimpLemma_getValue___closed__2; -x_3 = lean_unsigned_to_nat(872u); +x_3 = lean_unsigned_to_nat(876u); x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_Meta_SimpLemma_getValue___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/Transform.c b/stage0/stdlib/Lean/Meta/Transform.c index 09db8a5e18..a892e44c3e 100644 --- a/stage0/stdlib/Lean/Meta/Transform.c +++ b/stage0/stdlib/Lean/Meta/Transform.c @@ -873,7 +873,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Core_transform_visit___rarg___lambda__2___closed__1; x_2 = l_Lean_Core_transform_visit___rarg___lambda__2___closed__2; -x_3 = lean_unsigned_to_nat(931u); +x_3 = lean_unsigned_to_nat(935u); x_4 = lean_unsigned_to_nat(19u); x_5 = l_Lean_Core_transform_visit___rarg___lambda__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -980,7 +980,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Core_transform_visit___rarg___lambda__2___closed__1; x_2 = l_Lean_Core_transform_visit___rarg___lambda__4___closed__1; -x_3 = lean_unsigned_to_nat(917u); +x_3 = lean_unsigned_to_nat(921u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_Core_transform_visit___rarg___lambda__4___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -1087,7 +1087,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Core_transform_visit___rarg___lambda__2___closed__1; x_2 = l_Lean_Core_transform_visit___rarg___lambda__6___closed__1; -x_3 = lean_unsigned_to_nat(940u); +x_3 = lean_unsigned_to_nat(944u); x_4 = lean_unsigned_to_nat(22u); x_5 = l_Lean_Core_transform_visit___rarg___lambda__6___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -1225,7 +1225,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Core_transform_visit___rarg___lambda__2___closed__1; x_2 = l_Lean_Core_transform_visit___rarg___lambda__9___closed__1; -x_3 = lean_unsigned_to_nat(898u); +x_3 = lean_unsigned_to_nat(902u); x_4 = lean_unsigned_to_nat(19u); x_5 = l_Lean_Core_transform_visit___rarg___lambda__9___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -1299,7 +1299,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Core_transform_visit___rarg___lambda__2___closed__1; x_2 = l_Lean_Core_transform_visit___rarg___lambda__10___closed__1; -x_3 = lean_unsigned_to_nat(903u); +x_3 = lean_unsigned_to_nat(907u); x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_Core_transform_visit___rarg___lambda__10___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/UnificationHint.c b/stage0/stdlib/Lean/Meta/UnificationHint.c index 020a12c234..6773668828 100644 --- a/stage0/stdlib/Lean/Meta/UnificationHint.c +++ b/stage0/stdlib/Lean/Meta/UnificationHint.c @@ -3427,7 +3427,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_addUnificationHint___spec__4___closed__3; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_addUnificationHint___spec__4___closed__4; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/MetavarContext.c b/stage0/stdlib/Lean/MetavarContext.c index c76d51fb81..4167c1c523 100644 --- a/stage0/stdlib/Lean/MetavarContext.c +++ b/stage0/stdlib/Lean/MetavarContext.c @@ -11117,7 +11117,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__10___closed__1; x_2 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__10___closed__2; -x_3 = lean_unsigned_to_nat(881u); +x_3 = lean_unsigned_to_nat(885u); x_4 = lean_unsigned_to_nat(16u); x_5 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__10___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11200,7 +11200,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__10___closed__1; x_2 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__11___closed__1; -x_3 = lean_unsigned_to_nat(872u); +x_3 = lean_unsigned_to_nat(876u); x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__11___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11286,7 +11286,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__10___closed__1; x_2 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__12___closed__1; -x_3 = lean_unsigned_to_nat(931u); +x_3 = lean_unsigned_to_nat(935u); x_4 = lean_unsigned_to_nat(19u); x_5 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__12___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11393,7 +11393,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__10___closed__1; x_2 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__14___closed__1; -x_3 = lean_unsigned_to_nat(917u); +x_3 = lean_unsigned_to_nat(921u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__14___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11500,7 +11500,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__10___closed__1; x_2 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__16___closed__1; -x_3 = lean_unsigned_to_nat(940u); +x_3 = lean_unsigned_to_nat(944u); x_4 = lean_unsigned_to_nat(22u); x_5 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__16___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11634,7 +11634,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__10___closed__1; x_2 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__19___closed__1; -x_3 = lean_unsigned_to_nat(898u); +x_3 = lean_unsigned_to_nat(902u); x_4 = lean_unsigned_to_nat(19u); x_5 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__19___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11720,7 +11720,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__10___closed__1; x_2 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__20___closed__1; -x_3 = lean_unsigned_to_nat(903u); +x_3 = lean_unsigned_to_nat(907u); x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_MetavarContext_instantiateExprMVars___rarg___lambda__20___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Parser/Basic.c b/stage0/stdlib/Lean/Parser/Basic.c index 3b974baf60..50a773c3ee 100644 --- a/stage0/stdlib/Lean/Parser/Basic.c +++ b/stage0/stdlib/Lean/Parser/Basic.c @@ -28255,7 +28255,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Parser_categoryParserFn___spec__1___closed__3; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Parser_categoryParserFn___spec__1___closed__4; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Parser/Extension.c b/stage0/stdlib/Lean/Parser/Extension.c index ef294159fa..0201803e23 100644 --- a/stage0/stdlib/Lean/Parser/Extension.c +++ b/stage0/stdlib/Lean/Parser/Extension.c @@ -14,7 +14,6 @@ extern "C" { #endif static lean_object* l_Lean_Parser_declareBuiltinParser___closed__9; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__3; static lean_object* l_Lean_Parser_declareLeadingBuiltinParser___closed__2; lean_object* l_Lean_Parser_builtinTokenTable; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_updateBuiltinTokens_match__1(lean_object*); @@ -22,7 +21,6 @@ lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Parser_Extension lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Parser_addLeadingParser___spec__1(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2883____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4332____closed__1; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add_match__1(lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addTokenConfig(lean_object*, lean_object*); @@ -30,15 +28,15 @@ lean_object* l_Std_PersistentHashMap_foldlMAux___at___private_Lean_Parser_Extens lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_declareLeadingBuiltinParser___closed__1; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_23____closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__3; lean_object* l_Std_PersistentHashMap_containsAtAux___at_Lean_Parser_isValidSyntaxNodeKind___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension___lambda__1(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); static lean_object* l_Lean_Parser_notFollowedByTermToken___closed__1; lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4340____closed__2; static lean_object* l_Lean_Parser_ParserExtension_instInhabitedOLeanEntry___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4312____closed__2; lean_object* l_Lean_Parser_compileParserDescr_visit_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserContext(lean_object*, lean_object*); static lean_object* l_Lean_Parser_declareBuiltinParser___closed__8; @@ -47,17 +45,15 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___closed__1; lean_object* l_Std_RBNode_find___at_Lean_Parser_getAlias___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlMAux___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4332____closed__2; static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addBuiltinParserCategory___closed__1; -lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder_match__1(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4340____closed__1; lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_Parser_getSyntaxNodeKinds___spec__1___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_ParserExtension_instInhabitedOLeanEntry___closed__1; lean_object* l_Lean_Parser_instCoeParserParserAliasValue(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4312____closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3175____closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* l_Lean_throwError___at_Lean_Parser_addToken___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_error_to_string(lean_object*); @@ -80,6 +76,7 @@ lean_object* l_Lean_Parser_ParserExtension_addEntryImpl_match__1(lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addTokenConfig_match__1(lean_object*); static lean_object* l_Lean_Parser_registerBuiltinParserAttribute___closed__1; lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__1; lean_object* l_List_forM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getTokenTable___boxed(lean_object*); lean_object* l_Lean_Parser_notFollowedByCategoryTokenFn_match__1(lean_object*); @@ -91,7 +88,6 @@ extern lean_object* l_Lean_Parser_categoryParserFnRef; lean_object* l_Lean_Parser_compileParserDescr_visit_match__1(lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addBuiltinParserCategory___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2847____closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__2; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4____closed__1; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3025____closed__4; lean_object* l_Lean_Parser_getConstAlias___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -121,10 +117,10 @@ static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3025 static lean_object* l_Lean_Parser_declareBuiltinParser___closed__5; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_23____closed__1; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2883____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__1; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2847____closed__2; static lean_object* l_Lean_Parser_declareBuiltinParser___closed__3; static lean_object* l_Lean_Parser_notFollowedByCommandToken___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216__match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_registerBuiltinDynamicParserAttribute(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_getConstAlias___rarg___closed__2; lean_object* l_Std_PersistentHashMap_forM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -140,6 +136,7 @@ lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___rarg___closed__1; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__4; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Parser_runParserAttributeHooks___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe_match__2(lean_object*); @@ -147,7 +144,6 @@ static lean_object* l_Lean_Parser_notFollowedByCommandToken___closed__2; static lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___rarg___closed__2; lean_object* l_Lean_throwError___at_Lean_registerTagAttribute___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentHashMap_contains___at_Lean_Parser_isValidSyntaxNodeKind___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__4; static lean_object* l_Lean_Parser_declareBuiltinParser___closed__1; uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_registerAliasCore(lean_object*); @@ -191,7 +187,6 @@ static lean_object* l_Lean_Parser_parserExtension___closed__3; static lean_object* l_Lean_Parser_declareTrailingBuiltinParser___closed__1; lean_object* l_Lean_Parser_getUnaryAlias(lean_object*); static lean_object* l_Lean_Parser_parserExtension___closed__5; -lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder(lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add(lean_object*); lean_object* l_Lean_Parser_registerAliasCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_throwParserCategoryAlreadyDefined(lean_object*); @@ -201,6 +196,7 @@ lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_Parser_getSyntaxNodeKinds_ static lean_object* l_Lean_Parser_ParserExtension_addEntryImpl___closed__1; lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Parser_isParserCategory___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216__match__1(lean_object*); lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Parser_isParserCategory___spec__1___boxed(lean_object*, lean_object*); size_t l_UInt64_toUSize(uint64_t); static lean_object* l_Lean_ScopedEnvExtension_getState___at_Lean_Parser_isParserCategory___spec__1___closed__1; @@ -208,7 +204,6 @@ static size_t l_Std_PersistentHashMap_containsAux___at___private_Lean_Parser_Ext lean_object* l_Lean_Parser_getBinaryAlias_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_eraseDups___at_Lean_ResolveName_resolveGlobalName_loop___spec__1(lean_object*); lean_object* l_Lean_Parser_getParserPriority_match__1(lean_object*); -lean_object* l_Lean_Parser_setCategoryParserFnRef(lean_object*); lean_object* l_Lean_Parser_throwUnknownParserCategory(lean_object*); static lean_object* l_Lean_Parser_notFollowedByCategoryTokenFn___closed__1; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -217,6 +212,7 @@ lean_object* l_Lean_Parser_ParserExtension_Entry_toOLeanEntry_match__1___rarg(le static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3025____closed__2; static lean_object* l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1; static lean_object* l_Lean_Parser_mkParserOfConstantAux___rarg___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__2; lean_object* l_Std_PersistentHashMap_containsAux___at___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Parser_addToken___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3025____closed__1; @@ -230,6 +226,7 @@ static lean_object* l_List_forM___at___private_Lean_Parser_Extension_0__Lean_Par static uint32_t l_Lean_Parser_mkParserOfConstantAux___rarg___closed__1; lean_object* l_Lean_Parser_getConstAlias_match__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2847____closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__3; lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__1(lean_object*); static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2847____closed__3; lean_object* lean_array_fget(lean_object*, lean_object*); @@ -259,7 +256,6 @@ lean_object* l_Std_RBNode_find___at_Lean_Parser_getAlias___spec__1___rarg___boxe extern lean_object* l_Lean_strLitKind; lean_object* l_Lean_Parser_nonReservedSymbolInfo(lean_object*, uint8_t); lean_object* l_Lean_Parser_ParserExtension_instInhabitedState; -static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__1; static lean_object* l_Lean_Parser_parserExtension___closed__6; lean_object* l_Lean_mkRawNatLit(lean_object*); lean_object* l_List_forM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -270,14 +266,16 @@ lean_object* l_Lean_Parser_sepBy(lean_object*, lean_object*, lean_object*, uint8 static lean_object* l_Lean_Parser_notFollowedByTermToken___closed__2; static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___lambda__2___closed__2; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2784_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3175_(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3025_(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2883_(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2847_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4312_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330_(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2184_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4332_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4340_(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_138_(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_51_(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4_(lean_object*); @@ -299,12 +297,10 @@ uint8_t l_Lean_Parser_tryAnti(lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_peekToken(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_Parser_getSyntaxNodeKinds___spec__2___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1(lean_object*); static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3025____closed__7; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_parserExtension___closed__9; lean_object* l_Lean_Parser_getConstAlias_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__2; lean_object* l_Lean_Parser_mkParserOfConstantAux___rarg(lean_object*); lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_Parser_getSyntaxNodeKinds___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkLhsPrecFn___boxed(lean_object*, lean_object*, lean_object*); @@ -349,7 +345,6 @@ lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserExtension_mk static lean_object* l_Lean_Parser_ParserExtension_instInhabitedState___closed__1; lean_object* l_Lean_Parser_compileParserDescr(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_declareTrailingBuiltinParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_setCategoryParserFnRef___closed__1; lean_object* l_Lean_Parser_addParserTokens(lean_object*, lean_object*); static lean_object* l_Lean_Parser_declareBuiltinParser___closed__7; static lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___rarg___closed__3; @@ -424,8 +419,10 @@ lean_object* l_Lean_Parser_registerParserCategory(lean_object*, lean_object*, le lean_object* l_Lean_Parser_nodeWithAntiquot(lean_object*, lean_object*, lean_object*, uint8_t); extern lean_object* l_Lean_identKind; lean_object* l_Lean_Parser_getAlias___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1___closed__1; lean_object* l_Lean_Parser_trailingLoop(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2883____closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__2; static lean_object* l_Lean_Parser_throwUnknownParserCategory___rarg___closed__2; uint8_t l_Std_PersistentHashMap_containsAux___at___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore___spec__2(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3025____closed__5; @@ -470,16 +467,17 @@ static lean_object* l_Lean_Parser_parserExtension___closed__10; lean_object* l_Std_RBNode_find___at_Lean_Parser_notFollowedByCategoryTokenFn___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_addLeadingParser_match__1(lean_object*); lean_object* l_Lean_Parser_symbolInfo(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__1; lean_object* l_Lean_Parser_parserAttributeHooks; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_updateBuiltinTokens(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_orelseFnCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserExtension_State_kinds___default; extern lean_object* l_Lean_Parser_epsilonInfo; -static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__3; lean_object* l_Lean_Parser_notFollowedByTermToken; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3025____closed__3; lean_object* l_IO_ofExcept___at_Lean_Parser_mkParserOfConstantUnsafe___spec__1___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_regularInitAttr; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1___closed__2; lean_object* l_Lean_Parser_getParserPriority(lean_object*); lean_object* l_Lean_Parser_isParserAlias_match__1(lean_object*); lean_object* l_Lean_Parser_builtinSyntaxNodeKindSetRef; @@ -523,6 +521,7 @@ lean_object* l_Lean_ScopedEnvExtension_instInhabitedStateStack(lean_object*, lea lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addTrailingParserAux(lean_object*, lean_object*, lean_object*); lean_object* lean_io_initializing(lean_object*); static lean_object* l_Lean_Parser_getConstAlias___rarg___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__4; lean_object* l_Lean_ScopedEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getSyntaxNodeKinds(lean_object*); lean_object* l_Lean_Parser_addBuiltinTrailingParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -543,7 +542,6 @@ lean_object* l_Lean_Parser_addLeadingParser_match__2(lean_object*); lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_getParserPriority___closed__3; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2883____closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__4; lean_object* l_Std_PersistentHashMap_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_mkRef___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -553,6 +551,7 @@ lean_object* l_Lean_Parser_parserExtension___lambda__3(lean_object*); lean_object* l_Lean_Parser_parserExtension___lambda__7___boxed(lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_getParserPriority___closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__1; static lean_object* l_Lean_Parser_registerAliasCore___rarg___lambda__2___closed__1; lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_addLeadingParser_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -560,16 +559,16 @@ static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2847 lean_object* l_Lean_Parser_registerAliasCore___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Parser_isParserCategory___spec__3(lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__3; lean_object* l_Lean_registerAttributeImplBuilder(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkUnexpectedError(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1(lean_object*); lean_object* l_Lean_Parser_getSyntaxNodeKinds___boxed(lean_object*); uint32_t lean_uint32_of_nat(lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__1; lean_object* l_IO_ofExcept___at_Lean_KeyedDeclsAttribute_declareBuiltin___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension___lambda__4(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_containsAux___at_Lean_Parser_isValidSyntaxNodeKind___spec__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__1; lean_object* l_Lean_Parser_getParserPriority_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_addParser_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); @@ -577,19 +576,20 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension___lambda__6(lean_object*); static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___lambda__2___closed__3; lean_object* l_Lean_Parser_isParserAlias_match__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__2; lean_object* l_Lean_Parser_ParserExtension_addEntryImpl_match__2(lean_object*); lean_object* l_Lean_Parser_getAlias___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserExtension_Entry_toOLeanEntry(lean_object*); static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___closed__3; lean_object* l_Lean_Parser_Trie_find_x3f_loop___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getCategory(lean_object*, lean_object*); -static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__2; static lean_object* l_Lean_Parser_getConstAlias___rarg___closed__4; lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__3___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__2; lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_compileParserDescr_visit_match__2(lean_object*); lean_object* l_Lean_Parser_ParserExtension_addEntryImpl_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__3; lean_object* l_Std_RBNode_find___at_Lean_Parser_getAlias___spec__1(lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Parser_evalInsideQuot(lean_object*, lean_object*); @@ -8846,7 +8846,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Parser_isParserCategory___spec__3___closed__3; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Parser_isParserCategory___spec__3___closed__4; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9269,7 +9269,7 @@ return x_39; } } } -static lean_object* _init_l_Lean_Parser_setCategoryParserFnRef___closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3175____closed__1() { _start: { lean_object* x_1; @@ -9277,12 +9277,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParserFnImpl), 3, 0); return x_1; } } -lean_object* l_Lean_Parser_setCategoryParserFnRef(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3175_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; x_2 = l_Lean_Parser_categoryParserFnRef; -x_3 = l_Lean_Parser_setCategoryParserFnRef___closed__1; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3175____closed__1; x_4 = lean_st_ref_set(x_2, x_3, x_1); x_5 = !lean_is_exclusive(x_4); if (x_5 == 0) @@ -13495,7 +13495,7 @@ x_5 = l_Lean_registerBuiltinAttribute(x_4, x_3); return x_5; } } -lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -13582,15 +13582,15 @@ return x_15; } } } -lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder_match__1(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216__match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder_match__1___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216__match__1___rarg), 3, 0); return x_2; } } -static lean_object* _init_l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1___closed__1() { _start: { lean_object* x_1; @@ -13598,23 +13598,23 @@ x_1 = lean_mk_string("invalid parser attribute implementation builder arguments" return x_1; } } -static lean_object* _init_l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__1; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) { lean_object* x_2; -x_2 = l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__2; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1___closed__2; return x_2; } else @@ -13632,7 +13632,7 @@ if (lean_obj_tag(x_4) == 0) { lean_object* x_5; lean_dec(x_3); -x_5 = l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__2; +x_5 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1___closed__2; return x_5; } else @@ -13666,7 +13666,7 @@ lean_object* x_12; lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_12 = l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__2; +x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1___closed__2; return x_12; } } @@ -13676,7 +13676,7 @@ lean_object* x_13; lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_13 = l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__2; +x_13 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1___closed__2; return x_13; } } @@ -13686,13 +13686,13 @@ else lean_object* x_14; lean_dec(x_3); lean_dec(x_1); -x_14 = l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__2; +x_14 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1___closed__2; return x_14; } } } } -static lean_object* _init_l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__1() { _start: { lean_object* x_1; @@ -13700,30 +13700,30 @@ x_1 = lean_mk_string("parserAttr"); return x_1; } } -static lean_object* _init_l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1), 1, 0); return x_1; } } -lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__2; -x_3 = l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__3; x_4 = l_Lean_registerAttributeImplBuilder(x_2, x_3, x_1); return x_4; } @@ -13755,7 +13755,7 @@ lean_ctor_set(x_13, 1, x_12); x_14 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); -x_15 = l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__2; +x_15 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__2; x_16 = l_Lean_registerAttributeOfBuilder(x_8, x_15, x_14, x_9); return x_16; } @@ -13795,7 +13795,7 @@ x_7 = l_Lean_Parser_registerParserCategory(x_1, x_2, x_3, x_6, x_5); return x_7; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__1() { _start: { lean_object* x_1; @@ -13803,17 +13803,17 @@ x_1 = lean_mk_string("builtinTermParser"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__3() { _start: { lean_object* x_1; @@ -13821,28 +13821,28 @@ x_1 = lean_mk_string("term"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__2; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__4; x_4 = 0; x_5 = l_Lean_Parser_registerBuiltinParserAttribute(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4312____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__1() { _start: { lean_object* x_1; @@ -13850,27 +13850,27 @@ x_1 = lean_mk_string("termParser"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4312____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4312____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4312_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4312____closed__2; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__4; x_4 = l_Lean_Parser_registerBuiltinDynamicParserAttribute(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__1() { _start: { lean_object* x_1; @@ -13878,17 +13878,17 @@ x_1 = lean_mk_string("builtinCommandParser"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__3() { _start: { lean_object* x_1; @@ -13896,28 +13896,28 @@ x_1 = lean_mk_string("command"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__3; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__2; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__4; x_4 = 0; x_5 = l_Lean_Parser_registerBuiltinParserAttribute(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4332____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4340____closed__1() { _start: { lean_object* x_1; @@ -13925,22 +13925,22 @@ x_1 = lean_mk_string("commandParser"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4332____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4340____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4332____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4340____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4332_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4340_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4332____closed__2; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4340____closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__4; x_4 = l_Lean_Parser_registerBuiltinDynamicParserAttribute(x_2, x_3, x_1); return x_4; } @@ -13949,7 +13949,7 @@ lean_object* l_Lean_Parser_commandParser(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__4; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__4; x_3 = l_Lean_Parser_categoryParser(x_2, x_1); return x_3; } @@ -14311,7 +14311,7 @@ static lean_object* _init_l_Lean_Parser_notFollowedByCommandToken___closed__1() _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__4; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__4; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_notFollowedByCategoryTokenFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -14341,7 +14341,7 @@ static lean_object* _init_l_Lean_Parser_notFollowedByTermToken___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__4; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__4; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_notFollowedByCategoryTokenFn), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -14626,9 +14626,9 @@ l_Lean_Parser_categoryParserFnImpl___closed__3 = _init_l_Lean_Parser_categoryPar lean_mark_persistent(l_Lean_Parser_categoryParserFnImpl___closed__3); l_Lean_Parser_categoryParserFnImpl___closed__4 = _init_l_Lean_Parser_categoryParserFnImpl___closed__4(); lean_mark_persistent(l_Lean_Parser_categoryParserFnImpl___closed__4); -l_Lean_Parser_setCategoryParserFnRef___closed__1 = _init_l_Lean_Parser_setCategoryParserFnRef___closed__1(); -lean_mark_persistent(l_Lean_Parser_setCategoryParserFnRef___closed__1); -res = l_Lean_Parser_setCategoryParserFnRef(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3175____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3175____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3175____closed__1); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3175_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Std_PersistentHashMap_foldlMAux___at_Lean_Parser_getSyntaxNodeKinds___spec__2___closed__1 = _init_l_Std_PersistentHashMap_foldlMAux___at_Lean_Parser_getSyntaxNodeKinds___spec__2___closed__1(); @@ -14709,53 +14709,53 @@ l_Lean_Parser_mkParserAttributeImpl___closed__1 = _init_l_Lean_Parser_mkParserAt lean_mark_persistent(l_Lean_Parser_mkParserAttributeImpl___closed__1); l_Lean_Parser_mkParserAttributeImpl___closed__2 = _init_l_Lean_Parser_mkParserAttributeImpl___closed__2(); lean_mark_persistent(l_Lean_Parser_mkParserAttributeImpl___closed__2); -l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__1 = _init_l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__1); -l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__2 = _init_l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__2); -l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__1 = _init_l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__1(); -lean_mark_persistent(l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__1); -l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__2 = _init_l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__2(); -lean_mark_persistent(l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__2); -l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__3 = _init_l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__3(); -lean_mark_persistent(l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___closed__3); -res = l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1___closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1___closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1___closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____lambda__1___closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216____closed__3); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4216_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302____closed__4); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4302_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310____closed__4); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4310_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4312____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4312____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4312____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4312____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4312____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4312____closed__2); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4312_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320____closed__2); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4320_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322____closed__4); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4322_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330____closed__4); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4330_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4332____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4332____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4332____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4332____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4332____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4332____closed__2); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4332_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4340____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4340____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4340____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4340____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4340____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4340____closed__2); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4340_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Parser_notFollowedByCategoryTokenFn___closed__1 = _init_l_Lean_Parser_notFollowedByCategoryTokenFn___closed__1(); diff --git a/stage0/stdlib/Lean/ParserCompiler/Attribute.c b/stage0/stdlib/Lean/ParserCompiler/Attribute.c index 1cdf0d99f6..af3bc3b1ea 100644 --- a/stage0/stdlib/Lean/ParserCompiler/Attribute.c +++ b/stage0/stdlib/Lean/ParserCompiler/Attribute.c @@ -1496,7 +1496,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_ParserCompiler_CombinatorAttribute_getDeclFor_x3f___spec__3___closed__3; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_ParserCompiler_CombinatorAttribute_getDeclFor_x3f___spec__3___closed__4; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.c index 279516d2db..e00baeb47a 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.c @@ -105,6 +105,7 @@ lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___ lean_object* l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(lean_object*, size_t, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_maybeSetExplicit___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_collectBottomUps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7114____closed__2; lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeFVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getPPAnalysisNamedArg___closed__1; lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); @@ -148,7 +149,7 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_canBottomUp___lambd static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeConst___closed__4; static lean_object* l___private_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_0__Lean_PrettyPrinter_Delaborator_TopDownAnalyze_reprContext____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_1569____closed__1; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_81____closed__4; -lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); static lean_object* l_Lean_getPPAnalysisBlockImplicit___closed__1; lean_object* l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_maybeSetExplicit___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -172,7 +173,6 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_ lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_inspectOutParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_getPPAnalysisNamedArg(lean_object*); uint8_t l_Lean_Level_hasParam(lean_object*); -static lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7119____closed__2; lean_object* l_Array_shrink___rarg(lean_object*, lean_object*); lean_object* l_Std_mkHashSetImp___rarg(lean_object*); uint8_t l_Lean_PrettyPrinter_Delaborator_isCoe(lean_object*); @@ -279,7 +279,6 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isDefEqAssigning(le lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withLetVarType___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeLet___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_annotateBoolAt___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(lean_object*, lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____spec__1(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isFunLike(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_collectTrivialBottomUps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FindMVar_visit(lean_object*, lean_object*, lean_object*); @@ -342,9 +341,7 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHigherOrder___lam lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_maybeSetExplicit___spec__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_getPPAnalyzeTrustId___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_getPos___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_maybeSetExplicit___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5___closed__2; static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isSubstLike___closed__6; -static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withLetValue___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeLet___spec__5___closed__2; lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_hasMVarAtCurrDepth(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeAppStaged___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -355,7 +352,6 @@ static lean_object* l___private_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_0_ uint8_t l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHBinOp___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_instReprContext; lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5___boxed(lean_object**); -static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5___closed__1; lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_checkOutParams___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeFn___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHBinOp___lambda__1___closed__24; @@ -388,6 +384,7 @@ lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_ lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_256_(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHBinOp___lambda__1___closed__7; uint8_t l_Lean_getPPAnalysisHole(lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_0__Lean_PrettyPrinter_Delaborator_TopDownAnalyze_reprContext____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_1569____closed__4; lean_object* l_Array_forInUnsafe_loop___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_replaceLPsWithVars___spec__1(lean_object*, size_t, size_t, 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*); @@ -618,10 +615,8 @@ uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withLetBody___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeLet___spec__1___closed__1; lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeSort(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHBinOp___lambda__1___closed__23; -lean_object* l_StateT_instMonadStateT___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_topDownAnalyze(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_inspectOutParams_inspectAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7119____closed__1; lean_object* l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_collectBottomUps___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_topDownAnalyze___closed__2; @@ -700,7 +695,8 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_canBottomUp_ static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_canBottomUp___lambda__5___closed__3; lean_object* l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_collectHigherOrders___spec__1___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*); static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHBinOp___lambda__1___closed__1; -lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7119_(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7114____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7114_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_156____closed__4; lean_object* l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_collectBottomUps___spec__1___boxed(lean_object**); static lean_object* l_Lean_PrettyPrinter_Delaborator_isCoe___closed__6; @@ -3665,7 +3661,7 @@ lean_inc(x_4); lean_dec(x_1); x_5 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_5, 0, x_4); -x_6 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_254____spec__1(x_3, x_5); +x_6 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_631____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_279____spec__1(x_3, x_5); lean_dec(x_5); lean_dec(x_3); return x_6; @@ -21913,85 +21909,64 @@ return x_65; } } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5___closed__1() { +lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { _start: { -lean_object* x_1; -x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.TopDownAnalyze.analyzeAppStagedCore.analyzeArg"); -return x_1; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeConst___closed__5; -x_2 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5___closed__1; -x_3 = lean_unsigned_to_nat(548u); -x_4 = lean_unsigned_to_nat(41u); -x_5 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeConst___closed__7; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20) { -_start: -{ -uint8_t x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; lean_object* x_25; uint8_t x_26; -x_21 = lean_ctor_get_uint8(x_13, 0); -x_22 = lean_ctor_get_uint8(x_13, 1); -x_23 = lean_ctor_get_uint8(x_13, 2); -x_24 = lean_ctor_get_uint8(x_13, 3); -if (lean_is_exclusive(x_13)) { - x_25 = x_13; +uint8_t x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; lean_object* x_24; uint8_t x_25; +x_20 = lean_ctor_get_uint8(x_12, 0); +x_21 = lean_ctor_get_uint8(x_12, 1); +x_22 = lean_ctor_get_uint8(x_12, 2); +x_23 = lean_ctor_get_uint8(x_12, 3); +if (lean_is_exclusive(x_12)) { + x_24 = x_12; } else { - lean_dec_ref(x_13); - x_25 = lean_box(0); + lean_dec_ref(x_12); + x_24 = lean_box(0); } -if (x_23 == 0) +if (x_22 == 0) { -uint8_t x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; -x_206 = l_instInhabitedBool; -x_207 = lean_box(x_206); -x_208 = lean_array_get(x_207, x_10, x_3); -x_209 = lean_unbox(x_208); -lean_dec(x_208); -x_26 = x_209; -goto block_205; +uint8_t x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; +x_191 = l_instInhabitedBool; +x_192 = lean_box(x_191); +x_193 = lean_array_get(x_192, x_9, x_3); +x_194 = lean_unbox(x_193); +lean_dec(x_193); +x_25 = x_194; +goto block_190; } else { -uint8_t x_210; -x_210 = 1; -x_26 = x_210; -goto block_205; +uint8_t x_195; +x_195 = 1; +x_25 = x_195; +goto block_190; } -block_205: +block_190: { -lean_object* x_27; -if (lean_is_scalar(x_25)) { - x_27 = lean_alloc_ctor(0, 0, 4); +lean_object* x_26; lean_object* x_27; +if (lean_is_scalar(x_24)) { + x_26 = lean_alloc_ctor(0, 0, 4); } else { - x_27 = x_25; + x_26 = x_24; } -lean_ctor_set_uint8(x_27, 0, x_21); -lean_ctor_set_uint8(x_27, 1, x_22); -lean_ctor_set_uint8(x_27, 2, x_26); -lean_ctor_set_uint8(x_27, 3, x_24); -switch (x_1) { +lean_ctor_set_uint8(x_26, 0, x_20); +lean_ctor_set_uint8(x_26, 1, x_21); +lean_ctor_set_uint8(x_26, 2, x_25); +lean_ctor_set_uint8(x_26, 3, x_23); +x_27 = lean_box(x_1); +switch (lean_obj_tag(x_27)) { case 0: { lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_9); lean_dec(x_8); x_28 = l_Lean_instInhabitedExpr; x_29 = lean_array_get(x_28, x_2, x_3); -lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); +lean_inc(x_15); lean_inc(x_29); -x_30 = l___private_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_0__Lean_PrettyPrinter_Delaborator_TopDownAnalyze_valUnknown(x_29, x_16, x_17, x_18, x_19, x_20); +x_30 = l___private_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_0__Lean_PrettyPrinter_Delaborator_TopDownAnalyze_valUnknown(x_29, x_15, x_16, x_17, x_18, x_19); if (lean_obj_tag(x_30) == 0) { lean_object* x_31; lean_object* x_32; lean_object* x_33; @@ -22000,12 +21975,12 @@ lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); lean_dec(x_30); -lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); +lean_inc(x_15); lean_inc(x_4); -x_33 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isFunLike(x_4, x_16, x_17, x_18, x_19, x_32); +x_33 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isFunLike(x_4, x_15, x_16, x_17, x_18, x_32); if (lean_obj_tag(x_33) == 0) { uint8_t x_34; @@ -22019,7 +21994,7 @@ lean_inc(x_35); x_36 = lean_ctor_get(x_33, 1); lean_inc(x_36); lean_dec(x_33); -if (x_26 == 0) +if (x_25 == 0) { uint8_t x_66; x_66 = lean_unbox(x_35); @@ -22028,11 +22003,11 @@ if (x_66 == 0) { uint8_t x_67; lean_object* x_68; x_67 = 0; -lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); -x_68 = l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1(x_29, x_4, x_67, x_16, x_17, x_18, x_19, x_36); +lean_inc(x_15); +x_68 = l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1(x_29, x_4, x_67, x_15, x_16, x_17, x_18, x_36); if (lean_obj_tag(x_68) == 0) { lean_object* x_69; lean_object* x_70; lean_object* x_71; @@ -22043,7 +22018,7 @@ lean_inc(x_70); lean_dec(x_68); x_71 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_12); +lean_ctor_set(x_71, 1, x_11); x_37 = x_71; x_38 = x_70; goto block_65; @@ -22051,15 +22026,15 @@ goto block_65; else { uint8_t x_72; -lean_dec(x_27); -lean_dec(x_19); +lean_dec(x_26); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); -lean_dec(x_12); +lean_dec(x_13); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_5); lean_dec(x_3); x_72 = !lean_is_exclusive(x_68); @@ -22091,7 +22066,7 @@ x_76 = 0; x_77 = lean_box(x_76); x_78 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_12); +lean_ctor_set(x_78, 1, x_11); x_37 = x_78; x_38 = x_36; goto block_65; @@ -22107,7 +22082,7 @@ x_79 = 0; x_80 = lean_box(x_79); x_81 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_12); +lean_ctor_set(x_81, 1, x_11); x_37 = x_81; x_38 = x_36; goto block_65; @@ -22136,7 +22111,7 @@ x_46 = lean_array_set(x_43, x_3, x_45); lean_dec(x_3); lean_ctor_set(x_41, 2, x_46); x_47 = lean_box(0); -x_48 = lean_apply_11(x_5, x_47, x_11, x_41, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_38); +x_48 = lean_apply_11(x_5, x_47, x_10, x_41, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_38); return x_48; } else @@ -22161,7 +22136,7 @@ lean_ctor_set(x_56, 1, x_50); lean_ctor_set(x_56, 2, x_55); lean_ctor_set(x_56, 3, x_52); x_57 = lean_box(0); -x_58 = lean_apply_11(x_5, x_57, x_11, x_56, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_38); +x_58 = lean_apply_11(x_5, x_57, x_10, x_56, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_38); return x_58; } } @@ -22173,13 +22148,13 @@ x_59 = lean_ctor_get(x_37, 1); lean_inc(x_59); lean_dec(x_37); x_60 = l_Lean_getPPAnalysisHole___closed__2; -x_61 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_annotateBool(x_60, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_38); +x_61 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_annotateBool(x_60, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_38); x_62 = lean_ctor_get(x_61, 0); lean_inc(x_62); x_63 = lean_ctor_get(x_61, 1); lean_inc(x_63); lean_dec(x_61); -x_64 = lean_apply_11(x_5, x_62, x_11, x_59, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_63); +x_64 = lean_apply_11(x_5, x_62, x_10, x_59, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_63); return x_64; } } @@ -22192,32 +22167,32 @@ lean_dec(x_4); x_82 = lean_ctor_get(x_33, 1); lean_inc(x_82); lean_dec(x_33); -x_83 = !lean_is_exclusive(x_12); +x_83 = !lean_is_exclusive(x_11); if (x_83 == 0) { lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_84 = lean_ctor_get(x_12, 2); +x_84 = lean_ctor_get(x_11, 2); x_85 = 1; x_86 = lean_box(x_85); x_87 = lean_array_set(x_84, x_3, x_86); lean_dec(x_3); -lean_ctor_set(x_12, 2, x_87); +lean_ctor_set(x_11, 2, x_87); x_88 = lean_box(0); -x_89 = lean_apply_11(x_5, x_88, x_11, x_12, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_82); +x_89 = lean_apply_11(x_5, x_88, x_10, x_11, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_82); return x_89; } else { lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_90 = lean_ctor_get(x_12, 0); -x_91 = lean_ctor_get(x_12, 1); -x_92 = lean_ctor_get(x_12, 2); -x_93 = lean_ctor_get(x_12, 3); +x_90 = lean_ctor_get(x_11, 0); +x_91 = lean_ctor_get(x_11, 1); +x_92 = lean_ctor_get(x_11, 2); +x_93 = lean_ctor_get(x_11, 3); lean_inc(x_93); lean_inc(x_92); lean_inc(x_91); lean_inc(x_90); -lean_dec(x_12); +lean_dec(x_11); x_94 = 1; x_95 = lean_box(x_94); x_96 = lean_array_set(x_92, x_3, x_95); @@ -22228,7 +22203,7 @@ lean_ctor_set(x_97, 1, x_91); lean_ctor_set(x_97, 2, x_96); lean_ctor_set(x_97, 3, x_93); x_98 = lean_box(0); -x_99 = lean_apply_11(x_5, x_98, x_11, x_97, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_82); +x_99 = lean_apply_11(x_5, x_98, x_10, x_97, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_82); return x_99; } } @@ -22238,15 +22213,15 @@ else uint8_t x_100; lean_dec(x_31); lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_19); +lean_dec(x_26); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); -lean_dec(x_12); +lean_dec(x_13); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -22274,15 +22249,15 @@ else { uint8_t x_104; lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_19); +lean_dec(x_26); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); -lean_dec(x_12); +lean_dec(x_13); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -22309,17 +22284,16 @@ return x_107; case 1: { lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_156; -lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); x_108 = l_Lean_instInhabitedExpr; x_109 = lean_array_get(x_108, x_2, x_3); -lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); +lean_inc(x_15); lean_inc(x_109); -x_156 = l___private_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_0__Lean_PrettyPrinter_Delaborator_TopDownAnalyze_valUnknown(x_109, x_16, x_17, x_18, x_19, x_20); +x_156 = l___private_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_0__Lean_PrettyPrinter_Delaborator_TopDownAnalyze_valUnknown(x_109, x_15, x_16, x_17, x_18, x_19); if (lean_obj_tag(x_156) == 0) { lean_object* x_157; uint8_t x_158; @@ -22341,7 +22315,7 @@ lean_dec(x_162); x_164 = lean_box(x_163); x_165 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_12); +lean_ctor_set(x_165, 1, x_11); x_110 = x_165; x_111 = x_159; goto block_155; @@ -22354,7 +22328,7 @@ lean_inc(x_166); lean_dec(x_156); x_167 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_167, 0, x_157); -lean_ctor_set(x_167, 1, x_12); +lean_ctor_set(x_167, 1, x_11); x_110 = x_167; x_111 = x_166; goto block_155; @@ -22364,15 +22338,15 @@ else { uint8_t x_168; lean_dec(x_109); -lean_dec(x_27); -lean_dec(x_19); +lean_dec(x_26); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); -lean_dec(x_12); +lean_dec(x_13); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_5); lean_dec(x_3); x_168 = !lean_is_exclusive(x_156); @@ -22410,13 +22384,13 @@ x_114 = lean_ctor_get(x_110, 1); lean_inc(x_114); lean_dec(x_110); x_115 = l_Lean_getPPAnalysisSkip___closed__4; -x_116 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_annotateBool(x_115, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_111); +x_116 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_annotateBool(x_115, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_111); x_117 = lean_ctor_get(x_116, 0); lean_inc(x_117); x_118 = lean_ctor_get(x_116, 1); lean_inc(x_118); lean_dec(x_116); -x_119 = lean_apply_11(x_5, x_117, x_11, x_114, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_118); +x_119 = lean_apply_11(x_5, x_117, x_10, x_114, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_118); return x_119; } else @@ -22427,7 +22401,7 @@ lean_object* x_120; lean_object* x_121; x_120 = lean_ctor_get(x_110, 1); lean_inc(x_120); lean_dec(x_110); -x_121 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_mvarName(x_109, x_16, x_17, x_18, x_19, x_111); +x_121 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_mvarName(x_109, x_15, x_16, x_17, x_18, x_111); lean_dec(x_109); if (lean_obj_tag(x_121) == 0) { @@ -22437,7 +22411,7 @@ lean_inc(x_122); x_123 = lean_ctor_get(x_121, 1); lean_inc(x_123); lean_dec(x_121); -x_124 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_annotateNamedArg(x_122, x_11, x_120, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_123); +x_124 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_annotateNamedArg(x_122, x_10, x_120, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_123); x_125 = lean_ctor_get(x_124, 0); lean_inc(x_125); x_126 = lean_ctor_get(x_125, 1); @@ -22457,7 +22431,7 @@ x_132 = lean_array_set(x_129, x_3, x_131); lean_dec(x_3); lean_ctor_set(x_126, 2, x_132); x_133 = lean_box(0); -x_134 = lean_apply_11(x_5, x_133, x_11, x_126, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_127); +x_134 = lean_apply_11(x_5, x_133, x_10, x_126, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_127); return x_134; } else @@ -22482,7 +22456,7 @@ lean_ctor_set(x_142, 1, x_136); lean_ctor_set(x_142, 2, x_141); lean_ctor_set(x_142, 3, x_138); x_143 = lean_box(0); -x_144 = lean_apply_11(x_5, x_143, x_11, x_142, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_127); +x_144 = lean_apply_11(x_5, x_143, x_10, x_142, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_127); return x_144; } } @@ -22490,14 +22464,14 @@ else { uint8_t x_145; lean_dec(x_120); -lean_dec(x_27); -lean_dec(x_19); +lean_dec(x_26); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); -lean_dec(x_11); +lean_dec(x_13); +lean_dec(x_10); lean_dec(x_5); lean_dec(x_3); x_145 = !lean_is_exclusive(x_121); @@ -22529,173 +22503,94 @@ x_149 = lean_ctor_get(x_110, 1); lean_inc(x_149); lean_dec(x_110); x_150 = l_Lean_getPPAnalysisSkip___closed__4; -x_151 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_annotateBool(x_150, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_111); +x_151 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_annotateBool(x_150, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_111); x_152 = lean_ctor_get(x_151, 0); lean_inc(x_152); x_153 = lean_ctor_get(x_151, 1); lean_inc(x_153); lean_dec(x_151); -x_154 = lean_apply_11(x_5, x_152, x_11, x_149, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_153); +x_154 = lean_apply_11(x_5, x_152, x_10, x_149, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_153); return x_154; } } } } -case 2: +case 3: { -lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -lean_dec(x_9); +lean_object* x_172; lean_object* x_173; uint8_t x_174; +x_172 = lean_ctor_get(x_17, 0); +lean_inc(x_172); +lean_inc(x_5); +lean_inc(x_3); +x_173 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__3___boxed), 14, 2); +lean_closure_set(x_173, 0, x_3); +lean_closure_set(x_173, 1, x_5); +x_174 = l_Lean_getPPAnalyzeCheckInstances(x_172); +lean_dec(x_172); +if (x_174 == 0) +{ +uint8_t x_175; lean_object* x_176; lean_object* x_177; +lean_dec(x_173); +lean_dec(x_8); lean_dec(x_4); +x_175 = 0; +x_176 = lean_box(0); +x_177 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__3(x_3, x_5, x_175, x_176, x_10, x_11, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_19); lean_dec(x_3); -x_172 = l_instInhabitedPUnit; -x_173 = l_instInhabited___rarg(x_8, x_172); -x_174 = lean_alloc_closure((void*)(l_instInhabitedReaderT___rarg___boxed), 2, 1); -lean_closure_set(x_174, 0, x_173); -x_175 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5___closed__2; -x_176 = lean_panic_fn(x_174, x_175); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_27); -lean_inc(x_11); -x_177 = lean_apply_10(x_176, x_11, x_12, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_20); -if (lean_obj_tag(x_177) == 0) -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_178 = lean_ctor_get(x_177, 0); -lean_inc(x_178); -x_179 = lean_ctor_get(x_177, 1); -lean_inc(x_179); -lean_dec(x_177); -x_180 = lean_ctor_get(x_178, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_178, 1); -lean_inc(x_181); -lean_dec(x_178); -x_182 = lean_apply_11(x_5, x_180, x_11, x_181, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_179); -return x_182; -} -else -{ -uint8_t x_183; -lean_dec(x_27); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_5); -x_183 = !lean_is_exclusive(x_177); -if (x_183 == 0) -{ return x_177; } else { -lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_184 = lean_ctor_get(x_177, 0); -x_185 = lean_ctor_get(x_177, 1); -lean_inc(x_185); -lean_inc(x_184); -lean_dec(x_177); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_184); -lean_ctor_set(x_186, 1, x_185); -return x_186; -} -} -} -case 3: -{ -lean_object* x_187; lean_object* x_188; uint8_t x_189; -lean_dec(x_8); -x_187 = lean_ctor_get(x_18, 0); -lean_inc(x_187); -lean_inc(x_5); -lean_inc(x_3); -x_188 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__3___boxed), 14, 2); -lean_closure_set(x_188, 0, x_3); -lean_closure_set(x_188, 1, x_5); -x_189 = l_Lean_getPPAnalyzeCheckInstances(x_187); -lean_dec(x_187); -if (x_189 == 0) -{ -uint8_t x_190; lean_object* x_191; lean_object* x_192; -lean_dec(x_188); -lean_dec(x_9); -lean_dec(x_4); -x_190 = 0; -x_191 = lean_box(0); -x_192 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__3(x_3, x_5, x_190, x_191, x_11, x_12, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_20); -lean_dec(x_3); -return x_192; -} -else -{ -lean_object* x_193; lean_object* x_194; +lean_object* x_178; lean_object* x_179; lean_dec(x_5); -x_193 = lean_box(0); -lean_inc(x_19); +x_178 = lean_box(0); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); -x_194 = l_Lean_Meta_trySynthInstance(x_9, x_193, x_16, x_17, x_18, x_19, x_20); -if (lean_obj_tag(x_194) == 0) +lean_inc(x_15); +x_179 = l_Lean_Meta_trySynthInstance(x_8, x_178, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_179) == 0) { -lean_object* x_195; lean_object* x_196; uint8_t x_197; lean_object* x_198; -x_195 = lean_ctor_get(x_194, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_194, 1); -lean_inc(x_196); -lean_dec(x_194); -x_197 = 1; -x_198 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__4(x_2, x_3, x_188, x_4, x_197, x_195, x_11, x_12, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_196); +lean_object* x_180; lean_object* x_181; uint8_t x_182; lean_object* x_183; +x_180 = lean_ctor_get(x_179, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_179, 1); +lean_inc(x_181); +lean_dec(x_179); +x_182 = 1; +x_183 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__4(x_2, x_3, x_173, x_4, x_182, x_180, x_10, x_11, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_181); lean_dec(x_3); -return x_198; +return x_183; } else { -lean_object* x_199; lean_object* x_200; uint8_t x_201; lean_object* x_202; -x_199 = lean_ctor_get(x_194, 1); -lean_inc(x_199); -lean_dec(x_194); -x_200 = lean_box(2); -x_201 = 1; -x_202 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__4(x_2, x_3, x_188, x_4, x_201, x_200, x_11, x_12, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_199); +lean_object* x_184; lean_object* x_185; uint8_t x_186; lean_object* x_187; +x_184 = lean_ctor_get(x_179, 1); +lean_inc(x_184); +lean_dec(x_179); +x_185 = lean_box(2); +x_186 = 1; +x_187 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__4(x_2, x_3, x_173, x_4, x_186, x_185, x_10, x_11, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_184); lean_dec(x_3); -return x_202; +return x_187; } } } default: { -lean_object* x_203; lean_object* x_204; -lean_dec(x_9); +lean_object* x_188; lean_object* x_189; +lean_dec(x_27); lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); -x_203 = lean_box(0); -x_204 = lean_apply_11(x_5, x_203, x_11, x_12, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_20); -return x_204; +x_188 = lean_box(0); +x_189 = lean_apply_11(x_5, x_188, x_10, x_11, x_26, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +return x_189; } } } } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withMDataExpr___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeMData___spec__1___closed__2; -x_2 = l_StateT_instMonadStateT___rarg(x_1); -return x_2; -} -} lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* 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: { @@ -22724,7 +22619,7 @@ lean_inc(x_20); x_21 = lean_infer_type(x_20, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(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; uint8_t x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); @@ -22748,27 +22643,25 @@ x_30 = lean_array_get(x_29, x_15, x_1); lean_dec(x_15); x_31 = lean_unbox(x_30); lean_dec(x_30); -x_32 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___closed__1; -x_33 = lean_box(x_31); -x_34 = lean_box(x_16); -x_35 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5___boxed), 20, 10); -lean_closure_set(x_35, 0, x_33); -lean_closure_set(x_35, 1, x_14); -lean_closure_set(x_35, 2, x_1); -lean_closure_set(x_35, 3, x_20); -lean_closure_set(x_35, 4, x_27); -lean_closure_set(x_35, 5, x_34); -lean_closure_set(x_35, 6, x_18); -lean_closure_set(x_35, 7, x_32); -lean_closure_set(x_35, 8, x_22); -lean_closure_set(x_35, 9, x_17); -x_36 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___spec__1(x_26, x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23); +x_32 = lean_box(x_31); +x_33 = lean_box(x_16); +x_34 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5___boxed), 19, 9); +lean_closure_set(x_34, 0, x_32); +lean_closure_set(x_34, 1, x_14); +lean_closure_set(x_34, 2, x_1); +lean_closure_set(x_34, 3, x_20); +lean_closure_set(x_34, 4, x_27); +lean_closure_set(x_34, 5, x_33); +lean_closure_set(x_34, 6, x_18); +lean_closure_set(x_34, 7, x_22); +lean_closure_set(x_34, 8, x_17); +x_35 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___spec__1(x_26, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23); lean_dec(x_26); -return x_36; +return x_35; } else { -uint8_t x_37; +uint8_t x_36; lean_dec(x_20); lean_dec(x_18); lean_dec(x_17); @@ -22784,23 +22677,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_21); -if (x_37 == 0) +x_36 = !lean_is_exclusive(x_21); +if (x_36 == 0) { return x_21; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_21, 0); -x_39 = lean_ctor_get(x_21, 1); -lean_inc(x_39); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_21, 0); +x_38 = lean_ctor_get(x_21, 1); lean_inc(x_38); +lean_inc(x_37); lean_dec(x_21); -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; +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; } } } @@ -23503,19 +23396,18 @@ lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; -lean_object* x_20 = _args[19]; _start: { -uint8_t x_21; uint8_t x_22; lean_object* x_23; -x_21 = lean_unbox(x_1); +uint8_t x_20; uint8_t x_21; lean_object* x_22; +x_20 = lean_unbox(x_1); lean_dec(x_1); -x_22 = lean_unbox(x_6); +x_21 = lean_unbox(x_6); lean_dec(x_6); -x_23 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5(x_21, x_2, x_3, x_4, x_5, x_22, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); -lean_dec(x_10); +x_22 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5(x_20, x_2, x_3, x_4, x_5, x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_9); lean_dec(x_7); lean_dec(x_2); -return x_23; +return x_22; } } lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___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) { @@ -25562,7 +25454,7 @@ lean_dec(x_2); return x_8; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7119____closed__1() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7114____closed__1() { _start: { lean_object* x_1; @@ -25570,17 +25462,17 @@ x_1 = lean_mk_string("tryUnify"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7119____closed__2() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7114____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_6____closed__4; -x_2 = l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7119____closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7114____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7119_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7114_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -25600,7 +25492,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); lean_dec(x_6); -x_8 = l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7119____closed__2; +x_8 = l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7114____closed__2; x_9 = l_Lean_registerTraceClass(x_8, x_7); if (lean_obj_tag(x_9) == 0) { @@ -26286,12 +26178,6 @@ l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeLam___closed__2 = lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeLam___closed__2); l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeLam___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeLam___closed__3(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeLam___closed__3); -l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5___closed__1(); -lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5___closed__1); -l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5___closed__2(); -lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__5___closed__2); -l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___closed__1(); -lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___closed__1); l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeApp___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeApp___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeApp___closed__1); l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeApp___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeApp___closed__2(); @@ -26314,11 +26200,11 @@ l_Lean_PrettyPrinter_Delaborator_topDownAnalyze___closed__4 = _init_l_Lean_Prett lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_topDownAnalyze___closed__4); l_Lean_PrettyPrinter_Delaborator_topDownAnalyze___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_topDownAnalyze___closed__5(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_topDownAnalyze___closed__5); -l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7119____closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7119____closed__1(); -lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7119____closed__1); -l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7119____closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7119____closed__2(); -lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7119____closed__2); -res = l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7119_(lean_io_mk_world()); +l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7114____closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7114____closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7114____closed__1); +l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7114____closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7114____closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7114____closed__2); +res = l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_7114_(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/ProjFns.c b/stage0/stdlib/Lean/ProjFns.c index 8bcd87ed34..7cb3f05036 100644 --- a/stage0/stdlib/Lean/ProjFns.c +++ b/stage0/stdlib/Lean/ProjFns.c @@ -1394,7 +1394,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Environment_getProjectionFnInfo_x3f___spec__4___closed__3; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Environment_getProjectionFnInfo_x3f___spec__4___closed__4; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/ReducibilityAttrs.c b/stage0/stdlib/Lean/ReducibilityAttrs.c index f1d1ea6947..729959fcc3 100644 --- a/stage0/stdlib/Lean/ReducibilityAttrs.c +++ b/stage0/stdlib/Lean/ReducibilityAttrs.c @@ -2498,7 +2498,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_getReducibilityStatusImp___spec__3___closed__2; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_getReducibilityStatusImp___spec__3___closed__3; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/ResolveName.c b/stage0/stdlib/Lean/ResolveName.c index 24907b47b4..496dd13b2e 100644 --- a/stage0/stdlib/Lean/ResolveName.c +++ b/stage0/stdlib/Lean/ResolveName.c @@ -1697,7 +1697,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_getAliasState___spec__3___closed__4; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_getAliasState___spec__3___closed__5; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/ScopedEnvExtension.c b/stage0/stdlib/Lean/ScopedEnvExtension.c index 78a3648464..c4ff8e3ce7 100644 --- a/stage0/stdlib/Lean/ScopedEnvExtension.c +++ b/stage0/stdlib/Lean/ScopedEnvExtension.c @@ -3491,7 +3491,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_ScopedEnvExtension_pushScope___spec__2___rarg___closed__3; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_ScopedEnvExtension_pushScope___spec__2___rarg___closed__4; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Structure.c b/stage0/stdlib/Lean/Structure.c index 1eff8d6aaa..61f7c19431 100644 --- a/stage0/stdlib/Lean/Structure.c +++ b/stage0/stdlib/Lean/Structure.c @@ -2213,7 +2213,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_getStructureInfo_x3f___spec__3___closed__3; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_getStructureInfo_x3f___spec__3___closed__4; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Util/PPExt.c b/stage0/stdlib/Lean/Util/PPExt.c index 9cb2e38c1c..c9d50c0ca3 100644 --- a/stage0/stdlib/Lean/Util/PPExt.c +++ b/stage0/stdlib/Lean/Util/PPExt.c @@ -893,7 +893,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_ppExpr___spec__2___closed__1; x_2 = l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_ppExpr___spec__2___closed__2; -x_3 = lean_unsigned_to_nat(218u); +x_3 = lean_unsigned_to_nat(217u); x_4 = lean_unsigned_to_nat(4u); x_5 = l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);