chore: update stage0
This commit is contained in:
parent
9ee0d08cb5
commit
62d03fe8ad
31 changed files with 3924 additions and 4028 deletions
3
stage0/src/Lean/Elab/Term.lean
generated
3
stage0/src/Lean/Elab/Term.lean
generated
|
|
@ -1216,7 +1216,8 @@ private partial def elabTermAux (expectedType? : Option Expr) (catchExPostpone :
|
|||
withNestedTraces do
|
||||
let env ← getEnv
|
||||
match (← liftMacroM (expandMacroImpl? env stx)) with
|
||||
| some (decl, Except.ok stxNew) =>
|
||||
| some (decl, stxNew?) =>
|
||||
let stxNew ← liftMacroM <| liftExcept stxNew?
|
||||
withInfoContext' (mkInfo := mkTermInfo decl (expectedType? := expectedType?) stx) <|
|
||||
withMacroExpansion stx stxNew <|
|
||||
withRef stxNew <|
|
||||
|
|
|
|||
12
stage0/src/Lean/Parser/Term.lean
generated
12
stage0/src/Lean/Parser/Term.lean
generated
|
|
@ -52,6 +52,14 @@ namespace Term
|
|||
|
||||
@[builtinTermParser] def byTactic := leading_parser:leadPrec ppAllowUngrouped >> "by " >> Tactic.tacticSeq
|
||||
|
||||
/--
|
||||
This is the same as `byTactic`, but it uses a different syntax kind. This is
|
||||
used by `show` and `suffices` instead of `byTactic` because these syntaxes don't
|
||||
support arbitrary terms where `byTactic` is accepted. Mathport uses this to e.g.
|
||||
safely find-replace `by exact $e` by `$e` in any context without causing
|
||||
incorrect syntax when the full expression is `show $T by exact $e`. -/
|
||||
def byTactic' := leading_parser "by " >> Tactic.tacticSeq
|
||||
|
||||
def optSemicolon (p : Parser) : Parser := ppDedent $ optional ";" >> ppLine >> p
|
||||
|
||||
-- `checkPrec` necessary for the pretty printer
|
||||
|
|
@ -74,9 +82,9 @@ def parenSpecial : Parser := optional (tupleTail <|> typeAscription)
|
|||
@[builtinTermParser] def anonymousCtor := leading_parser "⟨" >> sepBy termParser ", " >> "⟩"
|
||||
def optIdent : Parser := optional (atomic (ident >> " : "))
|
||||
def fromTerm := leading_parser "from " >> termParser
|
||||
def sufficesDecl := leading_parser optIdent >> termParser >> ppSpace >> (fromTerm <|> byTactic)
|
||||
def sufficesDecl := leading_parser optIdent >> termParser >> ppSpace >> (fromTerm <|> byTactic')
|
||||
@[builtinTermParser] def «suffices» := leading_parser:leadPrec withPosition ("suffices " >> sufficesDecl) >> optSemicolon termParser
|
||||
@[builtinTermParser] def «show» := leading_parser:leadPrec "show " >> termParser >> ppSpace >> (fromTerm <|> byTactic)
|
||||
@[builtinTermParser] def «show» := leading_parser:leadPrec "show " >> termParser >> ppSpace >> (fromTerm <|> byTactic')
|
||||
def structInstArrayRef := leading_parser "[" >> termParser >>"]"
|
||||
def structInstLVal := leading_parser (ident <|> fieldIdx <|> structInstArrayRef) >> many (group ("." >> (ident <|> fieldIdx)) <|> structInstArrayRef)
|
||||
def structInstField := ppGroup $ leading_parser structInstLVal >> " := " >> termParser
|
||||
|
|
|
|||
2
stage0/src/Lean/Server/Watchdog.lean
generated
2
stage0/src/Lean/Server/Watchdog.lean
generated
|
|
@ -240,7 +240,7 @@ section ServerM
|
|||
let workerProc ← Process.spawn {
|
||||
toStdioConfig := workerCfg
|
||||
cmd := st.workerPath.toString
|
||||
args := #["--worker"] ++ st.args.toArray
|
||||
args := #["--worker"] ++ st.args.toArray ++ #[m.uri]
|
||||
}
|
||||
let pendingRequestsRef ← IO.mkRef (RBMap.empty : PendingRequestMap)
|
||||
-- The task will never access itself, so this is fine
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/App.c
generated
4
stage0/stdlib/Lean/Elab/App.c
generated
|
|
@ -85,6 +85,7 @@ extern lean_object* l_Std_Format_defWidth;
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabNamedPattern_docString___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__3___closed__7;
|
||||
static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__11;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor___closed__6;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLVal___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_SourceInfo_fromRef(lean_object*);
|
||||
|
|
@ -504,7 +505,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_
|
|||
uint8_t l_Lean_BinderInfo_isImplicit(uint8_t);
|
||||
lean_object* l_Lean_Elab_Term_mkConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_normalizeFunType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__14;
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabApp_declRange(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__2___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*);
|
||||
|
|
@ -25777,7 +25777,7 @@ x_20 = lean_ctor_get(x_16, 1);
|
|||
lean_inc(x_20);
|
||||
lean_dec(x_16);
|
||||
lean_inc(x_10);
|
||||
x_21 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_10, x_11, x_17);
|
||||
x_21 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_10, x_11, x_17);
|
||||
x_22 = lean_ctor_get(x_21, 0);
|
||||
lean_inc(x_22);
|
||||
x_23 = lean_ctor_get(x_21, 1);
|
||||
|
|
|
|||
881
stage0/stdlib/Lean/Elab/Binders.c
generated
881
stage0/stdlib/Lean/Elab/Binders.c
generated
File diff suppressed because it is too large
Load diff
50
stage0/stdlib/Lean/Elab/BuiltinNotation.c
generated
50
stage0/stdlib/Lean/Elab/BuiltinNotation.c
generated
|
|
@ -73,6 +73,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Term_expandShow_declRange___closed__7;
|
||||
static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__2;
|
||||
static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__1;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_SourceInfo_fromRef(lean_object*);
|
||||
lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabParen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -151,6 +152,7 @@ static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elab
|
|||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_interpolatedStrKind;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabSubst___closed__1;
|
||||
lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert___closed__3;
|
||||
static lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__2;
|
||||
static lean_object* l_Lean_Elab_Term_elabSubst___closed__7;
|
||||
|
|
@ -463,7 +465,6 @@ static lean_object* l_Lean_Elab_Term_expandShow___closed__6;
|
|||
static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandSuffices___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___closed__7;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandSuffices___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_expandParen___closed__12;
|
||||
|
|
@ -475,6 +476,7 @@ static lean_object* l_Lean_Elab_Term_expandHave___lambda__1___closed__2;
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabSorry___closed__2;
|
||||
lean_object* l_Lean_Meta_matchEq_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Term_termElabAttribute;
|
||||
lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange___closed__7;
|
||||
uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -510,6 +512,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandParen(lean_object*, lean_object*
|
|||
static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__12;
|
||||
static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__7;
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_expandShow(lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__11___rarg(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_macroAttribute;
|
||||
static lean_object* l_Lean_Elab_Term_expandHave___closed__7;
|
||||
lean_object* lean_environment_main_module(lean_object*);
|
||||
|
|
@ -638,7 +641,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabParen___closed__3;
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices_declRange___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabParen_declRange___closed__4;
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_elabSorry___closed__9;
|
||||
static lean_object* l_Lean_Elab_Term_elabBorrowed___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__14;
|
||||
|
|
@ -695,8 +697,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices_declRange___clo
|
|||
static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__23;
|
||||
static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__11;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices___closed__1;
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(lean_object*);
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro___closed__2;
|
||||
static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__1;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable_declRange___closed__5;
|
||||
|
|
@ -1312,7 +1312,7 @@ lean_inc(x_21);
|
|||
lean_inc(x_3);
|
||||
x_22 = l_Array_toSubarray___rarg(x_3, x_21, x_16);
|
||||
lean_inc(x_13);
|
||||
x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_13, x_14, x_15);
|
||||
x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_13, x_14, x_15);
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc(x_24);
|
||||
x_25 = lean_ctor_get(x_23, 1);
|
||||
|
|
@ -1364,7 +1364,7 @@ x_51 = l_Array_toSubarray___rarg(x_3, x_18, x_21);
|
|||
x_52 = l_Array_ofSubarray___rarg(x_51);
|
||||
x_53 = lean_array_push(x_52, x_50);
|
||||
lean_inc(x_13);
|
||||
x_54 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_13, x_14, x_29);
|
||||
x_54 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_13, x_14, x_29);
|
||||
x_55 = lean_ctor_get(x_54, 1);
|
||||
lean_inc(x_55);
|
||||
lean_dec(x_54);
|
||||
|
|
@ -1426,7 +1426,7 @@ x_79 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__16;
|
|||
x_80 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_80, 0, x_78);
|
||||
lean_ctor_set(x_80, 1, x_79);
|
||||
x_81 = l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__1(x_80, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
x_81 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__10(x_80, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
|
|
@ -1459,7 +1459,7 @@ lean_dec(x_16);
|
|||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_inc(x_13);
|
||||
x_86 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_13, x_14, x_15);
|
||||
x_86 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_13, x_14, x_15);
|
||||
x_87 = lean_ctor_get(x_86, 1);
|
||||
lean_inc(x_87);
|
||||
lean_dec(x_86);
|
||||
|
|
@ -7021,7 +7021,7 @@ _start:
|
|||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21;
|
||||
lean_inc(x_11);
|
||||
x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_11, x_12, x_13);
|
||||
x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_11, x_12, x_13);
|
||||
x_15 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_15);
|
||||
x_16 = lean_ctor_get(x_14, 1);
|
||||
|
|
@ -7584,7 +7584,7 @@ x_12 = lean_ctor_get(x_10, 1);
|
|||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
x_13 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2;
|
||||
x_14 = l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__1(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_12);
|
||||
x_14 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__10(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_12);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
|
|
@ -7659,7 +7659,7 @@ if (x_25 == 0)
|
|||
{
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41;
|
||||
lean_inc(x_7);
|
||||
x_27 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_7, x_8, x_15);
|
||||
x_27 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_7, x_8, x_15);
|
||||
x_28 = lean_ctor_get(x_27, 0);
|
||||
lean_inc(x_28);
|
||||
x_29 = lean_ctor_get(x_27, 1);
|
||||
|
|
@ -7698,7 +7698,7 @@ else
|
|||
{
|
||||
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65;
|
||||
lean_inc(x_7);
|
||||
x_42 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_7, x_8, x_15);
|
||||
x_42 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_7, x_8, x_15);
|
||||
x_43 = lean_ctor_get(x_42, 0);
|
||||
lean_inc(x_43);
|
||||
x_44 = lean_ctor_get(x_42, 1);
|
||||
|
|
@ -7760,7 +7760,7 @@ lean_dec(x_16);
|
|||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_79 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__4;
|
||||
x_80 = l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__1(x_79, x_3, x_4, x_5, x_6, x_7, x_8, x_15);
|
||||
x_80 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__10(x_79, x_3, x_4, x_5, x_6, x_7, x_8, x_15);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
|
|
@ -7850,7 +7850,7 @@ lean_dec(x_4);
|
|||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_11 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(x_8);
|
||||
x_11 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__11___rarg(x_8);
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
|
|
@ -7879,7 +7879,7 @@ lean_dec(x_4);
|
|||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_19 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(x_8);
|
||||
x_19 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__11___rarg(x_8);
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
|
|
@ -8171,7 +8171,7 @@ x_13 = lean_ctor_get(x_11, 1);
|
|||
lean_inc(x_13);
|
||||
lean_dec(x_11);
|
||||
x_14 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__2;
|
||||
x_15 = l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__1(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_13);
|
||||
x_15 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__10(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_13);
|
||||
lean_dec(x_8);
|
||||
return x_15;
|
||||
}
|
||||
|
|
@ -8223,7 +8223,7 @@ block_69:
|
|||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28;
|
||||
lean_inc(x_8);
|
||||
x_21 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_8, x_9, x_16);
|
||||
x_21 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_8, x_9, x_16);
|
||||
x_22 = lean_ctor_get(x_21, 0);
|
||||
lean_inc(x_22);
|
||||
x_23 = lean_ctor_get(x_21, 1);
|
||||
|
|
@ -8430,7 +8430,7 @@ lean_dec(x_6);
|
|||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_16 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(x_10);
|
||||
x_16 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__11___rarg(x_10);
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
|
|
@ -8500,7 +8500,7 @@ lean_dec(x_4);
|
|||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_11 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(x_8);
|
||||
x_11 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__11___rarg(x_8);
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
|
|
@ -8527,7 +8527,7 @@ lean_dec(x_4);
|
|||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_18 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(x_8);
|
||||
x_18 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__11___rarg(x_8);
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
|
|
@ -8930,7 +8930,7 @@ x_21 = lean_ctor_get(x_19, 1);
|
|||
lean_inc(x_21);
|
||||
lean_dec(x_19);
|
||||
lean_inc(x_7);
|
||||
x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_7, x_8, x_21);
|
||||
x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_7, x_8, x_21);
|
||||
x_23 = lean_ctor_get(x_22, 0);
|
||||
lean_inc(x_23);
|
||||
x_24 = lean_ctor_get(x_22, 1);
|
||||
|
|
@ -9004,7 +9004,7 @@ x_62 = lean_ctor_get(x_20, 0);
|
|||
lean_inc(x_62);
|
||||
lean_dec(x_20);
|
||||
lean_inc(x_7);
|
||||
x_63 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_7, x_8, x_61);
|
||||
x_63 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_7, x_8, x_61);
|
||||
x_64 = lean_ctor_get(x_63, 0);
|
||||
lean_inc(x_64);
|
||||
x_65 = lean_ctor_get(x_63, 1);
|
||||
|
|
@ -11425,7 +11425,7 @@ x_13 = lean_ctor_get(x_12, 1);
|
|||
lean_inc(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_inc(x_7);
|
||||
x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_7, x_8, x_13);
|
||||
x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_7, x_8, x_13);
|
||||
x_15 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_15);
|
||||
x_16 = lean_ctor_get(x_14, 1);
|
||||
|
|
@ -13690,7 +13690,7 @@ lean_inc(x_5);
|
|||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_21 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_18);
|
||||
x_21 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__8(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_18);
|
||||
if (lean_obj_tag(x_21) == 0)
|
||||
{
|
||||
uint8_t x_22;
|
||||
|
|
@ -16482,7 +16482,7 @@ _start:
|
|||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76;
|
||||
lean_inc(x_11);
|
||||
x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_11, x_12, x_13);
|
||||
x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_11, x_12, x_13);
|
||||
x_15 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_15);
|
||||
x_16 = lean_ctor_get(x_14, 1);
|
||||
|
|
|
|||
102
stage0/stdlib/Lean/Elab/Command.c
generated
102
stage0/stdlib/Lean/Elab/Command.c
generated
|
|
@ -16,6 +16,7 @@ extern "C" {
|
|||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_State_infoState___default___closed__4;
|
||||
static lean_object* l_Lean_Elab_Command_State_scopes___default___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__4;
|
||||
static lean_object* l_Lean_Elab_Command_withLogging___closed__1;
|
||||
|
|
@ -51,11 +52,9 @@ static lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand___boxed__const__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instAddMessageContextCommandElabM___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1___boxed(lean_object*);
|
||||
extern lean_object* l_Lean_nullKind;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getScope___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -135,6 +134,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_runTermElabM___rarg___lambda__1(lea
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftEIO(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_addLinter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__9(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___at_Lean_Elab_Command_expandDeclId___spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4;
|
||||
|
|
@ -205,6 +205,7 @@ static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__13;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_liftExcept___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_State_ngen___default___closed__3;
|
||||
static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__3;
|
||||
|
|
@ -217,7 +218,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spe
|
|||
uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___lambda__1___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___at_Lean_Elab_Command_expandDeclId___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -310,7 +310,6 @@ static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabComma
|
|||
lean_object* l_Std_mkHashMapImp___rarg(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkMetaContext___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__3;
|
||||
static lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___closed__3;
|
||||
static lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__1;
|
||||
|
|
@ -354,7 +353,6 @@ lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_obje
|
|||
static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__14;
|
||||
static lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___spec__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__5;
|
||||
static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_runTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -363,7 +361,6 @@ static lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4
|
|||
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_shift_left(size_t, size_t);
|
||||
static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__4;
|
||||
LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Elab_Command_elabCommand___spec__9(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Name_isAtomic(lean_object*);
|
||||
uint8_t l_Lean_Environment_contains(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -450,7 +447,6 @@ static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__4;
|
|||
static lean_object* l_Lean_Elab_Command_showPartialSyntaxErrors___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_Context_ref___default;
|
||||
LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Elab_Command_elabCommand___spec__9___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getMainModule___rarg___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__6;
|
||||
|
|
@ -471,6 +467,7 @@ static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__4
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__17;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM___closed__3;
|
||||
static lean_object* l_Lean_Elab_Command_mkCommandElabAttribute___closed__1;
|
||||
static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___closed__3;
|
||||
|
|
@ -513,6 +510,7 @@ LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spe
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__4___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedScope;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4___closed__5;
|
||||
static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__3;
|
||||
|
|
@ -520,7 +518,9 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand___lambda__5___boxed(lea
|
|||
static uint32_t l_Lean_Elab_Command_instInhabitedState___closed__4;
|
||||
static lean_object* l_Lean_Elab_Command_Scope_varDecls___default___closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_State_infoState___default___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_withScope(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_pp_macroStack;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -528,10 +528,8 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLiftTIOCommandElabM(lean_o
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___lambda__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__6;
|
||||
static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -544,6 +542,7 @@ static lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4
|
|||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_State_ngen___default___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Elab_Command_elabCommandTopLevel___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftCoreM(lean_object*);
|
||||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
|
|
@ -564,11 +563,13 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_getLevelNames(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_Context_currMacroScope___default;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2032____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___closed__3;
|
||||
lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getMainModule___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__11(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__4;
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
|
|
@ -583,7 +584,6 @@ lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lea
|
|||
LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_getBracketedBinderIds___spec__1(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getScopes___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instAddMessageContextCommandElabM;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkMessageAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -670,9 +670,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___boxed(lean_o
|
|||
LEAN_EXPORT lean_object* l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__18;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_Scope_varUIds___default;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1___closed__2;
|
||||
static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Command_runLinters___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -692,6 +690,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_lintersRef;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_runTermElabM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_getRef___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -10666,32 +10665,7 @@ return x_83;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Elab_Command_elabCommand___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
lean_ctor_set(x_5, 1, x_3);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
lean_ctor_set(x_7, 1, x_3);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
|
|
@ -10745,7 +10719,7 @@ return x_20;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10;
|
||||
|
|
@ -10765,7 +10739,7 @@ lean_object* x_11; lean_object* x_12;
|
|||
x_11 = lean_ctor_get(x_3, 6);
|
||||
lean_dec(x_11);
|
||||
lean_ctor_set(x_3, 6, x_9);
|
||||
x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__12(x_2, x_3, x_4, x_8);
|
||||
x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__11(x_2, x_3, x_4, x_8);
|
||||
lean_dec(x_4);
|
||||
return x_12;
|
||||
}
|
||||
|
|
@ -10793,13 +10767,13 @@ lean_ctor_set(x_19, 3, x_16);
|
|||
lean_ctor_set(x_19, 4, x_17);
|
||||
lean_ctor_set(x_19, 5, x_18);
|
||||
lean_ctor_set(x_19, 6, x_9);
|
||||
x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__12(x_2, x_19, x_4, x_8);
|
||||
x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__11(x_2, x_19, x_4, x_8);
|
||||
lean_dec(x_4);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -10810,15 +10784,15 @@ lean_ctor_set(x_3, 1, x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg), 1, 0);
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg), 1, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42;
|
||||
|
|
@ -11055,7 +11029,7 @@ x_80 = lean_alloc_ctor(2, 1, 0);
|
|||
lean_ctor_set(x_80, 0, x_79);
|
||||
x_81 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_81, 0, x_80);
|
||||
x_82 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__11(x_78, x_81, x_2, x_3, x_36);
|
||||
x_82 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__10(x_78, x_81, x_2, x_3, x_36);
|
||||
return x_82;
|
||||
}
|
||||
else
|
||||
|
|
@ -11063,13 +11037,13 @@ else
|
|||
lean_object* x_83;
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_83 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_36);
|
||||
x_83 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_36);
|
||||
return x_83;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16;
|
||||
|
|
@ -11099,7 +11073,7 @@ x_16 = l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3(x_14, x_15, x
|
|||
return x_16;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_8;
|
||||
|
|
@ -11380,7 +11354,7 @@ _start:
|
|||
lean_object* x_6;
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
x_6 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__10(x_1, x_3, x_4, x_5);
|
||||
x_6 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__9(x_1, x_3, x_4, x_5);
|
||||
if (lean_obj_tag(x_6) == 0)
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
|
|
@ -11492,7 +11466,7 @@ x_49 = lean_alloc_ctor(1, 1, 0);
|
|||
lean_ctor_set(x_49, 0, x_1);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
x_50 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__14(x_3, x_49, x_4, x_5, x_43);
|
||||
x_50 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__13(x_3, x_49, x_4, x_5, x_43);
|
||||
x_51 = lean_ctor_get(x_50, 1);
|
||||
lean_inc(x_51);
|
||||
lean_dec(x_50);
|
||||
|
|
@ -11580,7 +11554,7 @@ lean_inc(x_30);
|
|||
x_31 = lean_ctor_get(x_28, 1);
|
||||
lean_inc(x_31);
|
||||
lean_dec(x_28);
|
||||
x_32 = lean_alloc_closure((void*)(l_liftExcept___at_Lean_Elab_Command_elabCommand___spec__9___boxed), 3, 1);
|
||||
x_32 = lean_alloc_closure((void*)(l_liftExcept___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7___boxed), 3, 1);
|
||||
lean_closure_set(x_32, 0, x_31);
|
||||
lean_inc(x_1);
|
||||
x_33 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand___lambda__3), 5, 2);
|
||||
|
|
@ -11750,7 +11724,7 @@ lean_dec(x_13);
|
|||
x_24 = lean_box(0);
|
||||
x_25 = l_Lean_Elab_Command_elabCommand___boxed__const__1;
|
||||
x_26 = lean_box_usize(x_23);
|
||||
x_27 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15___boxed), 7, 4);
|
||||
x_27 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14___boxed), 7, 4);
|
||||
lean_closure_set(x_27, 0, x_6);
|
||||
lean_closure_set(x_27, 1, x_25);
|
||||
lean_closure_set(x_27, 2, x_26);
|
||||
|
|
@ -11872,36 +11846,26 @@ lean_dec(x_5);
|
|||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Elab_Command_elabCommand___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_liftExcept___at_Lean_Elab_Command_elabCommand___spec__9(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__12(x_1, x_2, x_3, x_4);
|
||||
x_5 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__11(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13(x_1, x_2);
|
||||
x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
size_t x_8; size_t x_9; lean_object* x_10;
|
||||
|
|
@ -11909,7 +11873,7 @@ x_8 = lean_unbox_usize(x_2);
|
|||
lean_dec(x_2);
|
||||
x_9 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_1, x_8, x_9, x_4, x_5, x_6, x_7);
|
||||
x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_1, x_8, x_9, x_4, x_5, x_6, x_7);
|
||||
lean_dec(x_1);
|
||||
return x_10;
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/DefView.c
generated
4
stage0/stdlib/Lean/Elab/DefView.c
generated
|
|
@ -48,6 +48,7 @@ static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__1;
|
|||
static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__23;
|
||||
lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkDefViewOfConstant___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__9(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__13;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -85,7 +86,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_MkInstanceName_append(lean_object*,
|
|||
static lean_object* l_Lean_Elab_Command_isDefLike___closed__4;
|
||||
static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__3;
|
||||
static lean_object* l_Lean_Elab_Command_isDefLike___closed__8;
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__5;
|
||||
static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__7;
|
||||
lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -4984,7 +4984,7 @@ x_5 = lean_alloc_closure((void*)(l_Lean_expandMacros), 3, 1);
|
|||
lean_closure_set(x_5, 0, x_1);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_6 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__10(x_5, x_2, x_3, x_4);
|
||||
x_6 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__9(x_5, x_2, x_3, x_4);
|
||||
if (lean_obj_tag(x_6) == 0)
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18;
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Elab/Deriving/BEq.c
generated
10
stage0/stdlib/Lean/Elab/Deriving/BEq.c
generated
|
|
@ -115,7 +115,6 @@ LEAN_EXPORT lean_object* l_Lean_isInductive___at_Lean_Elab_Deriving_BEq_mkBEqIns
|
|||
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_BEq_mkMatch(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__1;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqEnumFun___closed__14;
|
||||
static lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__5;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqEnumFun(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -176,6 +175,7 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_m
|
|||
static lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqEnumFun___closed__10;
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__7;
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__22;
|
||||
static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__15;
|
||||
static lean_object* l_Lean_Elab_Deriving_BEq_mkMatch___rarg___closed__1;
|
||||
|
|
@ -6970,7 +6970,7 @@ x_112 = 0;
|
|||
x_113 = lean_usize_of_nat(x_105);
|
||||
lean_dec(x_105);
|
||||
x_114 = lean_box(0);
|
||||
x_115 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_103, x_112, x_113, x_114, x_2, x_3, x_104);
|
||||
x_115 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_103, x_112, x_113, x_114, x_2, x_3, x_104);
|
||||
lean_dec(x_103);
|
||||
if (lean_obj_tag(x_115) == 0)
|
||||
{
|
||||
|
|
@ -7074,7 +7074,7 @@ x_139 = 0;
|
|||
x_140 = lean_usize_of_nat(x_130);
|
||||
lean_dec(x_130);
|
||||
x_141 = lean_box(0);
|
||||
x_142 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_128, x_139, x_140, x_141, x_2, x_3, x_129);
|
||||
x_142 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_128, x_139, x_140, x_141, x_2, x_3, x_129);
|
||||
lean_dec(x_128);
|
||||
if (lean_obj_tag(x_142) == 0)
|
||||
{
|
||||
|
|
@ -7310,7 +7310,7 @@ x_36 = 0;
|
|||
x_37 = lean_usize_of_nat(x_29);
|
||||
lean_dec(x_29);
|
||||
x_38 = lean_box(0);
|
||||
x_39 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_27, x_36, x_37, x_38, x_2, x_3, x_28);
|
||||
x_39 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_27, x_36, x_37, x_38, x_2, x_3, x_28);
|
||||
lean_dec(x_27);
|
||||
if (lean_obj_tag(x_39) == 0)
|
||||
{
|
||||
|
|
@ -7414,7 +7414,7 @@ x_63 = 0;
|
|||
x_64 = lean_usize_of_nat(x_54);
|
||||
lean_dec(x_54);
|
||||
x_65 = lean_box(0);
|
||||
x_66 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_52, x_63, x_64, x_65, x_2, x_3, x_53);
|
||||
x_66 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_52, x_63, x_64, x_65, x_2, x_3, x_53);
|
||||
lean_dec(x_52);
|
||||
if (lean_obj_tag(x_66) == 0)
|
||||
{
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/Deriving/DecEq.c
generated
6
stage0/stdlib/Lean/Elab/Deriving/DecEq.c
generated
|
|
@ -186,7 +186,6 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1
|
|||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8;
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__57;
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNat_mkDecTree___closed__2;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___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*);
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__36;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -269,6 +268,7 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1
|
|||
lean_object* l_List_redLength___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqHeader(lean_object*);
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__69;
|
||||
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__35;
|
||||
lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -6685,7 +6685,7 @@ x_23 = 0;
|
|||
x_24 = lean_usize_of_nat(x_15);
|
||||
lean_dec(x_15);
|
||||
x_25 = lean_box(0);
|
||||
x_26 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_13, x_23, x_24, x_25, x_2, x_3, x_14);
|
||||
x_26 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_13, x_23, x_24, x_25, x_2, x_3, x_14);
|
||||
lean_dec(x_13);
|
||||
if (lean_obj_tag(x_26) == 0)
|
||||
{
|
||||
|
|
@ -6790,7 +6790,7 @@ x_51 = 0;
|
|||
x_52 = lean_usize_of_nat(x_41);
|
||||
lean_dec(x_41);
|
||||
x_53 = lean_box(0);
|
||||
x_54 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_39, x_51, x_52, x_53, x_2, x_3, x_40);
|
||||
x_54 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_39, x_51, x_52, x_53, x_2, x_3, x_40);
|
||||
lean_dec(x_39);
|
||||
if (lean_obj_tag(x_54) == 0)
|
||||
{
|
||||
|
|
|
|||
18
stage0/stdlib/Lean/Elab/Deriving/FromToJson.c
generated
18
stage0/stdlib/Lean/Elab/Deriving/FromToJson.c
generated
|
|
@ -197,7 +197,6 @@ lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
|||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___lambda__1___closed__7;
|
||||
static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__15;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__26;
|
||||
static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__5;
|
||||
static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__7;
|
||||
|
|
@ -298,6 +297,7 @@ static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJ
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_redLength___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___lambda__1___closed__31;
|
||||
static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__11;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___lambda__1___closed__6;
|
||||
|
|
@ -7051,7 +7051,7 @@ x_35 = 0;
|
|||
x_36 = lean_usize_of_nat(x_28);
|
||||
lean_dec(x_28);
|
||||
x_37 = lean_box(0);
|
||||
x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_26, x_35, x_36, x_37, x_2, x_3, x_27);
|
||||
x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_26, x_35, x_36, x_37, x_2, x_3, x_27);
|
||||
lean_dec(x_26);
|
||||
if (lean_obj_tag(x_38) == 0)
|
||||
{
|
||||
|
|
@ -7155,7 +7155,7 @@ x_62 = 0;
|
|||
x_63 = lean_usize_of_nat(x_53);
|
||||
lean_dec(x_53);
|
||||
x_64 = lean_box(0);
|
||||
x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_51, x_62, x_63, x_64, x_2, x_3, x_52);
|
||||
x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_51, x_62, x_63, x_64, x_2, x_3, x_52);
|
||||
lean_dec(x_51);
|
||||
if (lean_obj_tag(x_65) == 0)
|
||||
{
|
||||
|
|
@ -7317,7 +7317,7 @@ x_96 = 0;
|
|||
x_97 = lean_usize_of_nat(x_89);
|
||||
lean_dec(x_89);
|
||||
x_98 = lean_box(0);
|
||||
x_99 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_87, x_96, x_97, x_98, x_2, x_3, x_88);
|
||||
x_99 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_87, x_96, x_97, x_98, x_2, x_3, x_88);
|
||||
lean_dec(x_87);
|
||||
if (lean_obj_tag(x_99) == 0)
|
||||
{
|
||||
|
|
@ -7421,7 +7421,7 @@ x_123 = 0;
|
|||
x_124 = lean_usize_of_nat(x_114);
|
||||
lean_dec(x_114);
|
||||
x_125 = lean_box(0);
|
||||
x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_112, x_123, x_124, x_125, x_2, x_3, x_113);
|
||||
x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_112, x_123, x_124, x_125, x_2, x_3, x_113);
|
||||
lean_dec(x_112);
|
||||
if (lean_obj_tag(x_126) == 0)
|
||||
{
|
||||
|
|
@ -13330,7 +13330,7 @@ x_35 = 0;
|
|||
x_36 = lean_usize_of_nat(x_28);
|
||||
lean_dec(x_28);
|
||||
x_37 = lean_box(0);
|
||||
x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_26, x_35, x_36, x_37, x_2, x_3, x_27);
|
||||
x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_26, x_35, x_36, x_37, x_2, x_3, x_27);
|
||||
lean_dec(x_26);
|
||||
if (lean_obj_tag(x_38) == 0)
|
||||
{
|
||||
|
|
@ -13434,7 +13434,7 @@ x_62 = 0;
|
|||
x_63 = lean_usize_of_nat(x_53);
|
||||
lean_dec(x_53);
|
||||
x_64 = lean_box(0);
|
||||
x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_51, x_62, x_63, x_64, x_2, x_3, x_52);
|
||||
x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_51, x_62, x_63, x_64, x_2, x_3, x_52);
|
||||
lean_dec(x_51);
|
||||
if (lean_obj_tag(x_65) == 0)
|
||||
{
|
||||
|
|
@ -13596,7 +13596,7 @@ x_96 = 0;
|
|||
x_97 = lean_usize_of_nat(x_89);
|
||||
lean_dec(x_89);
|
||||
x_98 = lean_box(0);
|
||||
x_99 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_87, x_96, x_97, x_98, x_2, x_3, x_88);
|
||||
x_99 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_87, x_96, x_97, x_98, x_2, x_3, x_88);
|
||||
lean_dec(x_87);
|
||||
if (lean_obj_tag(x_99) == 0)
|
||||
{
|
||||
|
|
@ -13700,7 +13700,7 @@ x_123 = 0;
|
|||
x_124 = lean_usize_of_nat(x_114);
|
||||
lean_dec(x_114);
|
||||
x_125 = lean_box(0);
|
||||
x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_112, x_123, x_124, x_125, x_2, x_3, x_113);
|
||||
x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_112, x_123, x_124, x_125, x_2, x_3, x_113);
|
||||
lean_dec(x_112);
|
||||
if (lean_obj_tag(x_126) == 0)
|
||||
{
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/Deriving/Hashable.c
generated
6
stage0/stdlib/Lean/Elab/Deriving/Hashable.c
generated
|
|
@ -102,7 +102,6 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
|||
static lean_object* l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_Hashable_mkMatch___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__6;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_isInductive___at_Lean_Elab_Deriving_Hashable_mkHashableHandler___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__23;
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__14;
|
||||
|
|
@ -149,6 +148,7 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMa
|
|||
lean_object* l_List_redLength___rarg(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__2;
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__8;
|
||||
static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__1___closed__4;
|
||||
static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__1___closed__1;
|
||||
|
|
@ -4329,7 +4329,7 @@ x_29 = 0;
|
|||
x_30 = lean_usize_of_nat(x_22);
|
||||
lean_dec(x_22);
|
||||
x_31 = lean_box(0);
|
||||
x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_20, x_29, x_30, x_31, x_2, x_3, x_21);
|
||||
x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_20, x_29, x_30, x_31, x_2, x_3, x_21);
|
||||
lean_dec(x_20);
|
||||
if (lean_obj_tag(x_32) == 0)
|
||||
{
|
||||
|
|
@ -4433,7 +4433,7 @@ x_56 = 0;
|
|||
x_57 = lean_usize_of_nat(x_47);
|
||||
lean_dec(x_47);
|
||||
x_58 = lean_box(0);
|
||||
x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_45, x_56, x_57, x_58, x_2, x_3, x_46);
|
||||
x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_45, x_56, x_57, x_58, x_2, x_3, x_46);
|
||||
lean_dec(x_45);
|
||||
if (lean_obj_tag(x_59) == 0)
|
||||
{
|
||||
|
|
|
|||
16
stage0/stdlib/Lean/Elab/Deriving/Inhabited.c
generated
16
stage0/stdlib/Lean/Elab/Deriving/Inhabited.c
generated
|
|
@ -44,6 +44,7 @@ uint8_t lean_usize_dec_eq(size_t, size_t);
|
|||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__4;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___lambda__3___closed__2;
|
||||
|
|
@ -179,7 +180,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean
|
|||
LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__4___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___lambda__2___closed__2;
|
||||
static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__41;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_RBNode_insert___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmdWith___closed__34;
|
||||
static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___lambda__2___closed__3;
|
||||
|
|
@ -7501,7 +7501,7 @@ x_32 = lean_mk_syntax_ident(x_30);
|
|||
lean_inc(x_32);
|
||||
x_33 = lean_array_push(x_26, x_32);
|
||||
lean_inc(x_12);
|
||||
x_34 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_12, x_13, x_31);
|
||||
x_34 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_12, x_13, x_31);
|
||||
x_35 = lean_ctor_get(x_34, 0);
|
||||
lean_inc(x_35);
|
||||
x_36 = lean_ctor_get(x_34, 1);
|
||||
|
|
@ -7570,7 +7570,7 @@ else
|
|||
lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93;
|
||||
lean_dec(x_59);
|
||||
lean_inc(x_12);
|
||||
x_62 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_12, x_13, x_40);
|
||||
x_62 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_12, x_13, x_40);
|
||||
x_63 = lean_ctor_get(x_62, 0);
|
||||
lean_inc(x_63);
|
||||
x_64 = lean_ctor_get(x_62, 1);
|
||||
|
|
@ -7709,7 +7709,7 @@ x_18 = lean_unsigned_to_nat(1u);
|
|||
x_19 = lean_nat_sub(x_3, x_18);
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_12);
|
||||
x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_12, x_13, x_14);
|
||||
x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_12, x_13, x_14);
|
||||
x_21 = lean_ctor_get(x_20, 0);
|
||||
lean_inc(x_21);
|
||||
x_22 = lean_ctor_get(x_20, 1);
|
||||
|
|
@ -7833,7 +7833,7 @@ x_18 = lean_unsigned_to_nat(1u);
|
|||
x_19 = lean_nat_sub(x_3, x_18);
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_12);
|
||||
x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_12, x_13, x_14);
|
||||
x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_12, x_13, x_14);
|
||||
x_21 = lean_ctor_get(x_20, 0);
|
||||
lean_inc(x_21);
|
||||
x_22 = lean_ctor_get(x_20, 1);
|
||||
|
|
@ -8391,7 +8391,7 @@ x_28 = lean_ctor_get(x_25, 1);
|
|||
lean_inc(x_28);
|
||||
lean_dec(x_25);
|
||||
lean_inc(x_8);
|
||||
x_29 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_8, x_9, x_26);
|
||||
x_29 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_8, x_9, x_26);
|
||||
x_30 = lean_ctor_get(x_29, 0);
|
||||
lean_inc(x_30);
|
||||
x_31 = lean_ctor_get(x_29, 1);
|
||||
|
|
@ -8510,7 +8510,7 @@ x_88 = lean_ctor_get(x_86, 1);
|
|||
lean_inc(x_88);
|
||||
lean_dec(x_86);
|
||||
lean_inc(x_8);
|
||||
x_89 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_8, x_9, x_88);
|
||||
x_89 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_8, x_9, x_88);
|
||||
x_90 = lean_ctor_get(x_89, 0);
|
||||
lean_inc(x_90);
|
||||
x_91 = lean_ctor_get(x_89, 1);
|
||||
|
|
@ -8569,7 +8569,7 @@ lean_ctor_set(x_116, 0, x_52);
|
|||
lean_ctor_set(x_116, 1, x_115);
|
||||
lean_ctor_set(x_116, 2, x_114);
|
||||
lean_inc(x_8);
|
||||
x_117 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_8, x_9, x_95);
|
||||
x_117 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_8, x_9, x_95);
|
||||
x_118 = lean_ctor_get(x_117, 0);
|
||||
lean_inc(x_118);
|
||||
x_119 = lean_ctor_get(x_117, 1);
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/Deriving/Ord.c
generated
6
stage0/stdlib/Lean/Elab/Deriving/Ord.c
generated
|
|
@ -118,7 +118,6 @@ lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___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*);
|
||||
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__28;
|
||||
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__6___lambda__2___closed__1;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__5;
|
||||
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__29;
|
||||
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__25;
|
||||
|
|
@ -163,6 +162,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___bo
|
|||
static lean_object* l___private_Lean_Elab_Deriving_Ord_0__Lean_Elab_Deriving_Ord_mkOrdInstanceCmds___closed__10;
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___lambda__1___closed__42;
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMutualBlock___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*);
|
||||
static lean_object* l_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___closed__1;
|
||||
static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__17;
|
||||
|
|
@ -5776,7 +5776,7 @@ x_29 = 0;
|
|||
x_30 = lean_usize_of_nat(x_22);
|
||||
lean_dec(x_22);
|
||||
x_31 = lean_box(0);
|
||||
x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_20, x_29, x_30, x_31, x_2, x_3, x_21);
|
||||
x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_20, x_29, x_30, x_31, x_2, x_3, x_21);
|
||||
lean_dec(x_20);
|
||||
if (lean_obj_tag(x_32) == 0)
|
||||
{
|
||||
|
|
@ -5880,7 +5880,7 @@ x_56 = 0;
|
|||
x_57 = lean_usize_of_nat(x_47);
|
||||
lean_dec(x_47);
|
||||
x_58 = lean_box(0);
|
||||
x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_45, x_56, x_57, x_58, x_2, x_3, x_46);
|
||||
x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_45, x_56, x_57, x_58, x_2, x_3, x_46);
|
||||
lean_dec(x_45);
|
||||
if (lean_obj_tag(x_59) == 0)
|
||||
{
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/Deriving/Repr.c
generated
6
stage0/stdlib/Lean/Elab/Deriving/Repr.c
generated
|
|
@ -151,7 +151,6 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__3___lambda__1___closed__2;
|
||||
static lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__4;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__27;
|
||||
static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__19;
|
||||
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__27;
|
||||
|
|
@ -215,6 +214,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction(lean_object*, l
|
|||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForInduct___rarg___closed__2;
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__23;
|
||||
static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__26;
|
||||
static lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForInduct___rarg___closed__1;
|
||||
|
|
@ -7512,7 +7512,7 @@ x_29 = 0;
|
|||
x_30 = lean_usize_of_nat(x_22);
|
||||
lean_dec(x_22);
|
||||
x_31 = lean_box(0);
|
||||
x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_20, x_29, x_30, x_31, x_2, x_3, x_21);
|
||||
x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_20, x_29, x_30, x_31, x_2, x_3, x_21);
|
||||
lean_dec(x_20);
|
||||
if (lean_obj_tag(x_32) == 0)
|
||||
{
|
||||
|
|
@ -7616,7 +7616,7 @@ x_56 = 0;
|
|||
x_57 = lean_usize_of_nat(x_47);
|
||||
lean_dec(x_47);
|
||||
x_58 = lean_box(0);
|
||||
x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__15(x_45, x_56, x_57, x_58, x_2, x_3, x_46);
|
||||
x_59 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__14(x_45, x_56, x_57, x_58, x_2, x_3, x_46);
|
||||
lean_dec(x_45);
|
||||
if (lean_obj_tag(x_59) == 0)
|
||||
{
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Do.c
generated
4
stage0/stdlib/Lean/Elab/Do.c
generated
|
|
@ -169,7 +169,6 @@ static lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_extendUpdatedVarsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToTerm_run(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___closed__4;
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1(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_Term_Do_ToCodeBlock_checkNotShadowingMutable___spec__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_hasTerminalAction(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__11;
|
||||
|
|
@ -251,6 +250,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp(lean_object*, lean_obje
|
|||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___spec__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___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkNotShadowingMutable___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_varsToMessageData___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofList(lean_object*);
|
||||
|
|
@ -40321,7 +40321,7 @@ lean_inc(x_6);
|
|||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
x_27 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternVars___spec__1(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_21);
|
||||
x_27 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__8(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_21);
|
||||
if (lean_obj_tag(x_27) == 0)
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44;
|
||||
|
|
|
|||
38
stage0/stdlib/Lean/Elab/ElabRules.c
generated
38
stage0/stdlib/Lean/Elab/ElabRules.c
generated
|
|
@ -34,9 +34,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___boxed(l
|
|||
static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__7___closed__2;
|
||||
lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1;
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(lean_object*);
|
||||
extern lean_object* l_Lean_nullKind;
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Macro_getCurrNamespace(lean_object*, lean_object*);
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
|
|
@ -159,7 +157,6 @@ lean_object* l_Lean_Elab_Command_adaptExpander(lean_object*, lean_object*, lean_
|
|||
extern lean_object* l_Lean_choiceKind;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Command_expandElab_declRange___closed__5;
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42;
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100;
|
||||
lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103;
|
||||
|
|
@ -233,6 +230,8 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules_declRange___c
|
|||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16;
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabElabRulesAux___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___rarg(lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__101;
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43;
|
||||
lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -258,6 +257,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRules___lambda__2(lean_obje
|
|||
static lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandElab___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Command_expandElab_declRange___closed__2;
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__11(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3;
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRules___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -605,7 +605,7 @@ x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2_
|
|||
x_20 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_18);
|
||||
lean_ctor_set(x_20, 1, x_19);
|
||||
x_21 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__11(x_6, x_20, x_8, x_9, x_10);
|
||||
x_21 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__10(x_6, x_20, x_8, x_9, x_10);
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
|
|
@ -641,7 +641,7 @@ x_32 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2_
|
|||
x_33 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_31);
|
||||
lean_ctor_set(x_33, 1, x_32);
|
||||
x_34 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__11(x_6, x_33, x_8, x_9, x_10);
|
||||
x_34 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__10(x_6, x_33, x_8, x_9, x_10);
|
||||
return x_34;
|
||||
}
|
||||
else
|
||||
|
|
@ -874,7 +874,7 @@ lean_dec(x_10);
|
|||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_1);
|
||||
x_15 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_7);
|
||||
x_15 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_7);
|
||||
x_16 = !lean_is_exclusive(x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
|
|
@ -2230,7 +2230,7 @@ x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__2_
|
|||
x_19 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_17);
|
||||
lean_ctor_set(x_19, 1, x_18);
|
||||
x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__12(x_19, x_6, x_7, x_8);
|
||||
x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__11(x_19, x_6, x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
return x_20;
|
||||
}
|
||||
|
|
@ -3885,7 +3885,7 @@ x_815 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107;
|
|||
x_816 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_816, 0, x_814);
|
||||
lean_ctor_set(x_816, 1, x_815);
|
||||
x_817 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__11(x_809, x_816, x_6, x_7, x_8);
|
||||
x_817 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__10(x_809, x_816, x_6, x_7, x_8);
|
||||
return x_817;
|
||||
}
|
||||
else
|
||||
|
|
@ -4829,7 +4829,7 @@ lean_dec(x_8);
|
|||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_11);
|
||||
x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_11);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
|
|
@ -4912,7 +4912,7 @@ lean_dec(x_7);
|
|||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_10);
|
||||
x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_10);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
|
|
@ -5229,7 +5229,7 @@ lean_dec(x_6);
|
|||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_11);
|
||||
x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_11);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
|
|
@ -5280,7 +5280,7 @@ lean_dec(x_5);
|
|||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_10);
|
||||
x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_10);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
|
|
@ -5331,7 +5331,7 @@ lean_dec(x_7);
|
|||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
x_16 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_8);
|
||||
x_16 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_8);
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
|
|
@ -5359,7 +5359,7 @@ lean_dec(x_10);
|
|||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
x_24 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_8);
|
||||
x_24 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_8);
|
||||
return x_24;
|
||||
}
|
||||
else
|
||||
|
|
@ -5386,7 +5386,7 @@ lean_dec(x_10);
|
|||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
x_31 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_8);
|
||||
x_31 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_8);
|
||||
return x_31;
|
||||
}
|
||||
else
|
||||
|
|
@ -5437,7 +5437,7 @@ lean_dec(x_7);
|
|||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
x_44 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_8);
|
||||
x_44 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_8);
|
||||
return x_44;
|
||||
}
|
||||
else
|
||||
|
|
@ -5516,7 +5516,7 @@ lean_object* x_7;
|
|||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_4);
|
||||
x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_4);
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
|
|
@ -5539,7 +5539,7 @@ lean_dec(x_9);
|
|||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_14 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_4);
|
||||
x_14 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_4);
|
||||
return x_14;
|
||||
}
|
||||
else
|
||||
|
|
@ -5557,7 +5557,7 @@ lean_dec(x_15);
|
|||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_4);
|
||||
x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_4);
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Elab/Extra.c
generated
8
stage0/stdlib/Lean/Elab/Extra.c
generated
|
|
@ -52,6 +52,7 @@ static lean_object* l_Lean_Elab_Term_elabForIn___closed__20;
|
|||
lean_object* l_Lean_Meta_mkFunUnit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_elabBinRelCore___lambda__2___closed__4;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn_declRange___closed__7;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel_declRange___closed__6;
|
||||
static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__2___closed__5;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_declRange___closed__3;
|
||||
|
|
@ -90,6 +91,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_declRange___cl
|
|||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__3;
|
||||
lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRelNoProp_declRange___closed__1;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__12;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn___closed__1;
|
||||
|
|
@ -246,7 +248,6 @@ static lean_object* l_Lean_Elab_Term_elabForIn___closed__9;
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_mkOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__4;
|
||||
lean_object* l_Lean_Elab_Term_mkConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__1___closed__7;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn_declRange___closed__2;
|
||||
extern lean_object* l_Lean_Elab_Term_termElabAttribute;
|
||||
|
|
@ -367,7 +368,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__13;
|
|||
static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go___spec__2___closed__3;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRelNoProp_declRange___closed__5;
|
||||
static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__18;
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_toTree_go___closed__6;
|
||||
static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go___spec__2___closed__5;
|
||||
static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__5;
|
||||
|
|
@ -4528,7 +4528,7 @@ x_21 = lean_ctor_get(x_19, 1);
|
|||
lean_inc(x_21);
|
||||
lean_dec(x_19);
|
||||
lean_inc(x_7);
|
||||
x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_7, x_8, x_21);
|
||||
x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_7, x_8, x_21);
|
||||
x_23 = lean_ctor_get(x_22, 0);
|
||||
lean_inc(x_23);
|
||||
x_24 = lean_ctor_get(x_22, 1);
|
||||
|
|
@ -6027,7 +6027,7 @@ lean_inc(x_5);
|
|||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
x_10 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__8(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
if (lean_obj_tag(x_10) == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/LetRec.c
generated
6
stage0/stdlib/Lean/Elab/LetRec.c
generated
|
|
@ -64,6 +64,7 @@ lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*)
|
|||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___lambda__3___closed__8;
|
||||
lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___rarg(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -231,7 +232,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec__
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__15___closed__3;
|
||||
lean_object* l_Lean_FileMap_leanPosToLspPos(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__2___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_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2170,7 +2170,7 @@ lean_inc(x_5);
|
|||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_18 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_14);
|
||||
x_18 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__8(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_14);
|
||||
if (lean_obj_tag(x_18) == 0)
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23;
|
||||
|
|
@ -2983,7 +2983,7 @@ lean_inc(x_7);
|
|||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
x_58 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_57, x_4, x_5, x_6, x_7, x_8, x_9, x_52);
|
||||
x_58 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__8(x_57, x_4, x_5, x_6, x_7, x_8, x_9, x_52);
|
||||
if (lean_obj_tag(x_58) == 0)
|
||||
{
|
||||
lean_object* x_59; lean_object* x_60; lean_object* x_61;
|
||||
|
|
|
|||
24
stage0/stdlib/Lean/Elab/MacroRules.c
generated
24
stage0/stdlib/Lean/Elab/MacroRules.c
generated
|
|
@ -30,9 +30,7 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
|||
static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__15;
|
||||
lean_object* l_Lean_Syntax_getHeadInfo_x3f(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(lean_object*);
|
||||
extern lean_object* l_Lean_nullKind;
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules_declRange(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__14;
|
||||
|
|
@ -142,8 +140,10 @@ static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__24;
|
|||
static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__63;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___rarg(lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1;
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__2___closed__2;
|
||||
lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__58;
|
||||
|
|
@ -394,7 +394,7 @@ x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__2
|
|||
x_20 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_18);
|
||||
lean_ctor_set(x_20, 1, x_19);
|
||||
x_21 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__11(x_6, x_20, x_8, x_9, x_10);
|
||||
x_21 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__10(x_6, x_20, x_8, x_9, x_10);
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
|
|
@ -430,7 +430,7 @@ x_32 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__2
|
|||
x_33 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_31);
|
||||
lean_ctor_set(x_33, 1, x_32);
|
||||
x_34 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__11(x_6, x_33, x_8, x_9, x_10);
|
||||
x_34 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__10(x_6, x_33, x_8, x_9, x_10);
|
||||
return x_34;
|
||||
}
|
||||
else
|
||||
|
|
@ -663,7 +663,7 @@ lean_dec(x_10);
|
|||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_1);
|
||||
x_15 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_7);
|
||||
x_15 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_7);
|
||||
x_16 = !lean_is_exclusive(x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
|
|
@ -2304,7 +2304,7 @@ lean_dec(x_6);
|
|||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_9);
|
||||
x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_9);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
|
|
@ -2337,7 +2337,7 @@ lean_dec(x_7);
|
|||
lean_dec(x_6);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_27 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_9);
|
||||
x_27 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_9);
|
||||
return x_27;
|
||||
}
|
||||
else
|
||||
|
|
@ -2366,7 +2366,7 @@ lean_dec(x_7);
|
|||
lean_dec(x_6);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_34 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_9);
|
||||
x_34 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_9);
|
||||
return x_34;
|
||||
}
|
||||
else
|
||||
|
|
@ -3055,7 +3055,7 @@ lean_dec(x_8);
|
|||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_4);
|
||||
x_299 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_9);
|
||||
x_299 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_9);
|
||||
return x_299;
|
||||
}
|
||||
else
|
||||
|
|
@ -3131,7 +3131,7 @@ lean_object* x_7;
|
|||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_4);
|
||||
x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_4);
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
|
|
@ -3154,7 +3154,7 @@ lean_dec(x_9);
|
|||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_14 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_4);
|
||||
x_14 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_4);
|
||||
return x_14;
|
||||
}
|
||||
else
|
||||
|
|
@ -3172,7 +3172,7 @@ lean_dec(x_15);
|
|||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__13___rarg(x_4);
|
||||
x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg(x_4);
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Elab/MutualDef.c
generated
8
stage0/stdlib/Lean/Elab/MutualDef.c
generated
|
|
@ -144,6 +144,7 @@ lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______ma
|
|||
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f(lean_object*);
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__9(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_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_expr_instantiate1(lean_object*, lean_object*);
|
||||
lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -157,6 +158,7 @@ lean_object* lean_string_append(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclId___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___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*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__7___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__2___closed__3;
|
||||
lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_insert___at_Lean_Elab_Structural_findRecArg___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -246,7 +248,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclId___at___private_Lean_Elab_Mutua
|
|||
lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__2___lambda__2___closed__1;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__1___closed__4;
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__2___lambda__2___closed__2;
|
||||
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__2;
|
||||
static lean_object* l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___lambda__1___closed__2;
|
||||
|
|
@ -767,7 +768,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualD
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_isEmpty___rarg(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__6;
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pickMaxFVar_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -8413,7 +8413,7 @@ lean_inc(x_6);
|
|||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
x_10 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
x_10 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__8(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
if (lean_obj_tag(x_10) == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
|
|
@ -27286,7 +27286,7 @@ x_13 = lean_alloc_closure((void*)(l_Lean_expandMacros), 3, 1);
|
|||
lean_closure_set(x_13, 0, x_12);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_14 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__10(x_13, x_2, x_3, x_10);
|
||||
x_14 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__9(x_13, x_2, x_3, x_10);
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19;
|
||||
|
|
|
|||
947
stage0/stdlib/Lean/Elab/PatternVar.c
generated
947
stage0/stdlib/Lean/Elab/PatternVar.c
generated
File diff suppressed because it is too large
Load diff
6
stage0/stdlib/Lean/Elab/PreDefinition/Main.c
generated
6
stage0/stdlib/Lean/Elab/PreDefinition/Main.c
generated
|
|
@ -41,6 +41,7 @@ lean_object* lean_array_uget(lean_object*, size_t);
|
|||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___closed__6;
|
||||
static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___closed__3;
|
||||
static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___closed__6;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_getMVarsAtPreDef___closed__2;
|
||||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__13___lambda__1___closed__2;
|
||||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__13___lambda__4___closed__12;
|
||||
|
|
@ -192,7 +193,6 @@ lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_pos
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_addPreDefinitions___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_addPreDefinitions___closed__5;
|
||||
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__11___closed__3;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__5(lean_object*, lean_object*, size_t, size_t);
|
||||
static lean_object* l_Lean_Elab_addPreDefinitions___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__8(lean_object*, lean_object*);
|
||||
|
|
@ -5347,7 +5347,7 @@ lean_ctor_set(x_35, 5, x_31);
|
|||
lean_ctor_set(x_35, 6, x_32);
|
||||
lean_ctor_set(x_35, 7, x_33);
|
||||
lean_inc(x_35);
|
||||
x_36 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_35, x_14, x_15);
|
||||
x_36 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_35, x_14, x_15);
|
||||
x_37 = lean_ctor_get(x_36, 0);
|
||||
lean_inc(x_37);
|
||||
x_38 = lean_ctor_get(x_36, 1);
|
||||
|
|
@ -5429,7 +5429,7 @@ lean_ctor_set(x_70, 5, x_66);
|
|||
lean_ctor_set(x_70, 6, x_67);
|
||||
lean_ctor_set(x_70, 7, x_68);
|
||||
lean_inc(x_70);
|
||||
x_71 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_70, x_14, x_15);
|
||||
x_71 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_70, x_14, x_15);
|
||||
x_72 = lean_ctor_get(x_71, 0);
|
||||
lean_inc(x_72);
|
||||
x_73 = lean_ctor_get(x_71, 1);
|
||||
|
|
|
|||
2411
stage0/stdlib/Lean/Elab/Quotation.c
generated
2411
stage0/stdlib/Lean/Elab/Quotation.c
generated
File diff suppressed because it is too large
Load diff
22
stage0/stdlib/Lean/Elab/StructInst.c
generated
22
stage0/stdlib/Lean/Elab/StructInst.c
generated
|
|
@ -87,6 +87,7 @@ lean_object* l_Lean_Syntax_mkSep(lean_object*, lean_object*);
|
|||
extern lean_object* l_Std_Format_defWidth;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___lambda__1(lean_object*, lean_object*);
|
||||
static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__3___closed__3;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg___closed__5;
|
||||
static lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__7___closed__4;
|
||||
|
|
@ -461,7 +462,6 @@ static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructIns
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f___lambda__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSourcesWithSyntax(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_StructInst_instToFormatFieldLHS___closed__1;
|
||||
static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__3___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_mkProjStx_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -654,6 +654,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId;
|
||||
lean_object* l_Lean_findField_x3f(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_panic___at_Lean_Elab_Term_elabLetDeclCore___spec__1(lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___spec__2___closed__4;
|
||||
static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__5;
|
||||
lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*);
|
||||
|
|
@ -735,7 +736,6 @@ static lean_object* l_Lean_Elab_Term_StructInst_formatField___closed__5;
|
|||
lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_panic___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__1___closed__2;
|
||||
lean_object* l_panic___at_Lean_Elab_Term_elabLetDeclCore___spec__2(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__14;
|
||||
static lean_object* l_Lean_Elab_Term_StructInst_elabStructInst___closed__2;
|
||||
|
|
@ -1923,7 +1923,7 @@ _start:
|
|||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
lean_inc(x_9);
|
||||
x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_9, x_10, x_11);
|
||||
x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_11);
|
||||
x_13 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_13);
|
||||
x_14 = lean_ctor_get(x_12, 1);
|
||||
|
|
@ -1967,7 +1967,7 @@ x_29 = lean_ctor_get(x_27, 1);
|
|||
lean_inc(x_29);
|
||||
lean_dec(x_27);
|
||||
lean_inc(x_9);
|
||||
x_30 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_9, x_10, x_29);
|
||||
x_30 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_29);
|
||||
x_31 = lean_ctor_get(x_30, 0);
|
||||
lean_inc(x_31);
|
||||
x_32 = lean_ctor_get(x_30, 1);
|
||||
|
|
@ -4236,7 +4236,7 @@ x_28 = lean_ctor_get(x_27, 0);
|
|||
lean_inc(x_28);
|
||||
lean_dec(x_27);
|
||||
lean_inc(x_19);
|
||||
x_29 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_19, x_20, x_21);
|
||||
x_29 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_19, x_20, x_21);
|
||||
x_30 = lean_ctor_get(x_29, 0);
|
||||
lean_inc(x_30);
|
||||
x_31 = lean_ctor_get(x_29, 1);
|
||||
|
|
@ -4646,7 +4646,7 @@ if (x_17 == 0)
|
|||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49;
|
||||
lean_inc(x_10);
|
||||
x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_10, x_11, x_12);
|
||||
x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_10, x_11, x_12);
|
||||
x_19 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_19);
|
||||
x_20 = lean_ctor_get(x_18, 1);
|
||||
|
|
@ -4840,7 +4840,7 @@ x_103 = lean_ctor_get(x_102, 0);
|
|||
lean_inc(x_103);
|
||||
lean_dec(x_102);
|
||||
lean_inc(x_10);
|
||||
x_104 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_10, x_11, x_12);
|
||||
x_104 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_10, x_11, x_12);
|
||||
x_105 = lean_ctor_get(x_104, 0);
|
||||
lean_inc(x_105);
|
||||
x_106 = lean_ctor_get(x_104, 1);
|
||||
|
|
@ -7094,7 +7094,7 @@ else
|
|||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Elab_Term_StructInst_FieldVal_toSyntax___closed__2;
|
||||
x_4 = l_panic___at_Lean_Elab_Term_elabLetDeclCore___spec__2(x_3);
|
||||
x_4 = l_panic___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
@ -7166,7 +7166,7 @@ if (lean_obj_tag(x_2) == 0)
|
|||
lean_object* x_3; lean_object* x_4;
|
||||
lean_dec(x_1);
|
||||
x_3 = l_Lean_Elab_Term_StructInst_Field_toSyntax___closed__2;
|
||||
x_4 = l_panic___at_Lean_Elab_Term_elabLetDeclCore___spec__2(x_3);
|
||||
x_4 = l_panic___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_3);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
|
|
@ -16265,7 +16265,7 @@ x_304 = lean_ctor_get(x_299, 0);
|
|||
lean_inc(x_304);
|
||||
lean_dec(x_299);
|
||||
lean_inc(x_16);
|
||||
x_305 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_16, x_17, x_18);
|
||||
x_305 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_16, x_17, x_18);
|
||||
x_306 = lean_ctor_get(x_305, 0);
|
||||
lean_inc(x_306);
|
||||
x_307 = lean_ctor_get(x_305, 1);
|
||||
|
|
@ -16630,7 +16630,7 @@ x_413 = lean_ctor_get(x_408, 0);
|
|||
lean_inc(x_413);
|
||||
lean_dec(x_408);
|
||||
lean_inc(x_16);
|
||||
x_414 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_16, x_17, x_18);
|
||||
x_414 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_16, x_17, x_18);
|
||||
x_415 = lean_ctor_get(x_414, 0);
|
||||
lean_inc(x_415);
|
||||
x_416 = lean_ctor_get(x_414, 1);
|
||||
|
|
|
|||
20
stage0/stdlib/Lean/Elab/Structure.c
generated
20
stage0/stdlib/Lean/Elab/Structure.c
generated
|
|
@ -95,6 +95,7 @@ static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyDefaultValue_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVars___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_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__10;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__1___boxed(lean_object**);
|
||||
static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___closed__4;
|
||||
lean_object* l_Lean_Meta_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -155,6 +156,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_el
|
|||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_structureDiamondWarning;
|
||||
lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_registerStructure___spec__2___closed__4;
|
||||
|
|
@ -502,7 +504,6 @@ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFie
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_go___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_isProjectionOf_x3f_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_containsFieldName(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyDefaultValue_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInStructure___closed__1;
|
||||
|
|
@ -776,7 +777,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_ex
|
|||
static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__12___closed__2;
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getFieldType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__2;
|
||||
|
|
@ -1971,7 +1971,7 @@ lean_inc(x_5);
|
|||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_18 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabLetDeclCore___spec__1(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_14);
|
||||
x_18 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__8(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_14);
|
||||
if (lean_obj_tag(x_18) == 0)
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23;
|
||||
|
|
@ -5622,7 +5622,7 @@ x_59 = lean_ctor_get(x_57, 1);
|
|||
lean_inc(x_59);
|
||||
lean_dec(x_57);
|
||||
lean_inc(x_11);
|
||||
x_60 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_11, x_12, x_59);
|
||||
x_60 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_11, x_12, x_59);
|
||||
x_61 = lean_ctor_get(x_60, 0);
|
||||
lean_inc(x_61);
|
||||
x_62 = lean_ctor_get(x_60, 1);
|
||||
|
|
@ -5666,7 +5666,7 @@ lean_ctor_set(x_83, 0, x_72);
|
|||
lean_ctor_set(x_83, 1, x_82);
|
||||
lean_ctor_set(x_83, 2, x_81);
|
||||
lean_inc(x_11);
|
||||
x_84 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_11, x_12, x_66);
|
||||
x_84 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_11, x_12, x_66);
|
||||
x_85 = lean_ctor_get(x_84, 0);
|
||||
lean_inc(x_85);
|
||||
x_86 = lean_ctor_get(x_84, 1);
|
||||
|
|
@ -5778,7 +5778,7 @@ x_118 = lean_ctor_get(x_116, 1);
|
|||
lean_inc(x_118);
|
||||
lean_dec(x_116);
|
||||
lean_inc(x_11);
|
||||
x_119 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_11, x_12, x_118);
|
||||
x_119 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_11, x_12, x_118);
|
||||
x_120 = lean_ctor_get(x_119, 0);
|
||||
lean_inc(x_120);
|
||||
x_121 = lean_ctor_get(x_119, 1);
|
||||
|
|
@ -5822,7 +5822,7 @@ lean_ctor_set(x_142, 0, x_131);
|
|||
lean_ctor_set(x_142, 1, x_141);
|
||||
lean_ctor_set(x_142, 2, x_140);
|
||||
lean_inc(x_11);
|
||||
x_143 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_11, x_12, x_125);
|
||||
x_143 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_11, x_12, x_125);
|
||||
x_144 = lean_ctor_get(x_143, 0);
|
||||
lean_inc(x_144);
|
||||
x_145 = lean_ctor_get(x_143, 1);
|
||||
|
|
@ -6019,7 +6019,7 @@ x_198 = lean_ctor_get(x_196, 1);
|
|||
lean_inc(x_198);
|
||||
lean_dec(x_196);
|
||||
lean_inc(x_11);
|
||||
x_199 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_11, x_12, x_198);
|
||||
x_199 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_11, x_12, x_198);
|
||||
x_200 = lean_ctor_get(x_199, 0);
|
||||
lean_inc(x_200);
|
||||
x_201 = lean_ctor_get(x_199, 1);
|
||||
|
|
@ -6063,7 +6063,7 @@ lean_ctor_set(x_222, 0, x_211);
|
|||
lean_ctor_set(x_222, 1, x_221);
|
||||
lean_ctor_set(x_222, 2, x_220);
|
||||
lean_inc(x_11);
|
||||
x_223 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_11, x_12, x_205);
|
||||
x_223 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_11, x_12, x_205);
|
||||
x_224 = lean_ctor_get(x_223, 0);
|
||||
lean_inc(x_224);
|
||||
x_225 = lean_ctor_get(x_223, 1);
|
||||
|
|
@ -15504,7 +15504,7 @@ else
|
|||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53;
|
||||
lean_inc(x_14);
|
||||
x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_14, x_15, x_16);
|
||||
x_26 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_14, x_15, x_16);
|
||||
x_27 = lean_ctor_get(x_26, 0);
|
||||
lean_inc(x_27);
|
||||
x_28 = lean_ctor_get(x_26, 1);
|
||||
|
|
|
|||
16
stage0/stdlib/Lean/Elab/Syntax.c
generated
16
stage0/stdlib/Lean/Elab/Syntax.c
generated
|
|
@ -50,7 +50,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___lambda__1___boxe
|
|||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_nullKind;
|
||||
static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__20;
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSyntax___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__46;
|
||||
extern lean_object* l_Lean_Parser_leadPrec;
|
||||
|
|
@ -81,6 +80,7 @@ static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyn
|
|||
static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__88;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_SourceInfo_fromRef(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23;
|
||||
|
|
@ -419,7 +419,6 @@ static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_699
|
|||
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__7___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_Term_toParserDescr_processParserCategory___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat(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_throwUnknownConstant___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__7___closed__1;
|
||||
|
|
@ -472,6 +471,7 @@ static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__
|
|||
static lean_object* l_Lean_Elab_Term_toParserDescr_processUnary___closed__3;
|
||||
lean_object* l_Lean_Syntax_getNumArgs(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_process___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__11___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___lambda__1___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__59;
|
||||
static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31;
|
||||
|
|
@ -539,10 +539,12 @@ LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Term_toParserDescr_p
|
|||
static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__14;
|
||||
LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabSyntax___closed__2;
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_sequenceMap___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat_declRange___closed__5;
|
||||
lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__4;
|
||||
lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__7;
|
||||
|
|
@ -601,7 +603,6 @@ lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lea
|
|||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_process___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__55;
|
||||
lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__5;
|
||||
static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1;
|
||||
extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId;
|
||||
|
|
@ -631,7 +632,6 @@ static lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___
|
|||
static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__2;
|
||||
uint8_t l_List_isEmpty___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -1086,7 +1086,7 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean
|
|||
x_14 = lean_ctor_get(x_1, 0);
|
||||
x_15 = lean_array_uget(x_14, x_3);
|
||||
lean_inc(x_9);
|
||||
x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_9, x_10, x_11);
|
||||
x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_11);
|
||||
x_17 = lean_ctor_get(x_16, 0);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_ctor_get(x_16, 1);
|
||||
|
|
@ -1225,7 +1225,7 @@ lean_object* x_29;
|
|||
lean_dec(x_9);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_1);
|
||||
x_29 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(x_8);
|
||||
x_29 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__11___rarg(x_8);
|
||||
return x_29;
|
||||
}
|
||||
}
|
||||
|
|
@ -14888,7 +14888,7 @@ x_17 = lean_alloc_ctor(1, 1, 0);
|
|||
lean_ctor_set(x_17, 0, x_2);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
x_18 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__14(x_13, x_17, x_3, x_4, x_8);
|
||||
x_18 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__13(x_13, x_17, x_3, x_4, x_8);
|
||||
x_19 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_18);
|
||||
|
|
@ -19554,7 +19554,7 @@ x_87 = l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6;
|
|||
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_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__11(x_4, x_88, x_7, x_8, x_9);
|
||||
x_89 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__10(x_4, x_88, x_7, x_8, x_9);
|
||||
return x_89;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
2099
stage0/stdlib/Lean/Elab/Term.c
generated
2099
stage0/stdlib/Lean/Elab/Term.c
generated
File diff suppressed because it is too large
Load diff
879
stage0/stdlib/Lean/Parser/Term.c
generated
879
stage0/stdlib/Lean/Parser/Term.c
generated
File diff suppressed because it is too large
Load diff
8
stage0/stdlib/Lean/Server/Rpc/Deriving.c
generated
8
stage0/stdlib/Lean/Server/Rpc/Deriving.c
generated
|
|
@ -49,6 +49,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_D
|
|||
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__148;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__244;
|
||||
lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveInstance___lambda__1___closed__61;
|
||||
|
|
@ -306,7 +307,6 @@ static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncod
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_dispatchDeriveInstanceUnsafe___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__223;
|
||||
lean_object* l_Lean_Environment_evalConstCheck___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__191;
|
||||
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__141;
|
||||
static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncoding_deriveWithRefInstance___closed__226;
|
||||
|
|
@ -5183,7 +5183,7 @@ x_16 = lean_array_uget(x_6, x_5);
|
|||
x_17 = lean_unsigned_to_nat(0u);
|
||||
x_18 = lean_array_uset(x_6, x_5, x_17);
|
||||
lean_inc(x_11);
|
||||
x_19 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_11, x_12, x_13);
|
||||
x_19 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_11, x_12, x_13);
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_ctor_get(x_19, 1);
|
||||
|
|
@ -5328,7 +5328,7 @@ x_16 = lean_array_uget(x_6, x_5);
|
|||
x_17 = lean_unsigned_to_nat(0u);
|
||||
x_18 = lean_array_uset(x_6, x_5, x_17);
|
||||
lean_inc(x_11);
|
||||
x_19 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_11, x_12, x_13);
|
||||
x_19 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_11, x_12, x_13);
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_ctor_get(x_19, 1);
|
||||
|
|
@ -6414,7 +6414,7 @@ x_34 = lean_ctor_get(x_32, 1);
|
|||
lean_inc(x_34);
|
||||
lean_dec(x_32);
|
||||
lean_inc(x_10);
|
||||
x_35 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__2___rarg(x_10, x_11, x_34);
|
||||
x_35 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_10, x_11, x_34);
|
||||
x_36 = lean_ctor_get(x_35, 0);
|
||||
lean_inc(x_36);
|
||||
x_37 = lean_ctor_get(x_35, 1);
|
||||
|
|
|
|||
330
stage0/stdlib/Lean/Server/Watchdog.c
generated
330
stage0/stdlib/Lean/Server/Watchdog.c
generated
|
|
@ -5013,7 +5013,7 @@ lean_inc(x_12);
|
|||
x_13 = l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_parseHeaderAst(x_12, x_8);
|
||||
if (lean_obj_tag(x_13) == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_ctor_get(x_13, 1);
|
||||
|
|
@ -5029,239 +5029,243 @@ lean_dec(x_18);
|
|||
x_20 = l_List_toArrayAux___rarg(x_17, x_19);
|
||||
x_21 = l_Lean_Server_Watchdog_startFileWorker___closed__3;
|
||||
x_22 = l_Array_append___rarg(x_21, x_20);
|
||||
x_23 = lean_box(0);
|
||||
x_24 = l_Lean_Server_Watchdog_workerCfg;
|
||||
x_25 = l_Lean_Server_Watchdog_startFileWorker___closed__4;
|
||||
x_26 = lean_alloc_ctor(0, 5, 0);
|
||||
lean_ctor_set(x_26, 0, x_24);
|
||||
lean_ctor_set(x_26, 1, x_16);
|
||||
lean_ctor_set(x_26, 2, x_22);
|
||||
lean_ctor_set(x_26, 3, x_23);
|
||||
lean_ctor_set(x_26, 4, x_25);
|
||||
x_27 = lean_io_process_spawn(x_26, x_15);
|
||||
if (lean_obj_tag(x_27) == 0)
|
||||
x_23 = l_Lean_Server_Watchdog_startFileWorker___closed__1;
|
||||
lean_inc(x_9);
|
||||
x_24 = lean_array_push(x_23, x_9);
|
||||
x_25 = l_Array_append___rarg(x_22, x_24);
|
||||
x_26 = lean_box(0);
|
||||
x_27 = l_Lean_Server_Watchdog_workerCfg;
|
||||
x_28 = l_Lean_Server_Watchdog_startFileWorker___closed__4;
|
||||
x_29 = lean_alloc_ctor(0, 5, 0);
|
||||
lean_ctor_set(x_29, 0, x_27);
|
||||
lean_ctor_set(x_29, 1, x_16);
|
||||
lean_ctor_set(x_29, 2, x_25);
|
||||
lean_ctor_set(x_29, 3, x_26);
|
||||
lean_ctor_set(x_29, 4, x_28);
|
||||
x_30 = lean_io_process_spawn(x_29, x_15);
|
||||
if (lean_obj_tag(x_30) == 0)
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
x_28 = lean_ctor_get(x_27, 0);
|
||||
lean_inc(x_28);
|
||||
x_29 = lean_ctor_get(x_27, 1);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_27);
|
||||
x_30 = lean_box(0);
|
||||
x_31 = lean_st_mk_ref(x_30, x_29);
|
||||
x_32 = lean_ctor_get(x_31, 0);
|
||||
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53;
|
||||
x_31 = lean_ctor_get(x_30, 0);
|
||||
lean_inc(x_31);
|
||||
x_32 = lean_ctor_get(x_30, 1);
|
||||
lean_inc(x_32);
|
||||
x_33 = lean_ctor_get(x_31, 1);
|
||||
lean_inc(x_33);
|
||||
lean_dec(x_31);
|
||||
x_34 = lean_st_mk_ref(x_23, x_33);
|
||||
lean_dec(x_30);
|
||||
x_33 = lean_box(0);
|
||||
x_34 = lean_st_mk_ref(x_33, x_32);
|
||||
x_35 = lean_ctor_get(x_34, 0);
|
||||
lean_inc(x_35);
|
||||
x_36 = lean_ctor_get(x_34, 1);
|
||||
lean_inc(x_36);
|
||||
lean_dec(x_34);
|
||||
x_37 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_1);
|
||||
lean_ctor_set(x_37, 1, x_14);
|
||||
x_38 = l_Lean_Server_Watchdog_startFileWorker___closed__5;
|
||||
x_39 = lean_box(1);
|
||||
x_37 = lean_st_mk_ref(x_26, x_36);
|
||||
x_38 = lean_ctor_get(x_37, 0);
|
||||
lean_inc(x_38);
|
||||
x_39 = lean_ctor_get(x_37, 1);
|
||||
lean_inc(x_39);
|
||||
lean_dec(x_37);
|
||||
x_40 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_1);
|
||||
lean_ctor_set(x_40, 1, x_14);
|
||||
x_41 = l_Lean_Server_Watchdog_startFileWorker___closed__5;
|
||||
x_42 = lean_box(1);
|
||||
lean_inc(x_38);
|
||||
lean_inc(x_35);
|
||||
lean_inc(x_32);
|
||||
lean_inc(x_28);
|
||||
lean_inc(x_37);
|
||||
x_40 = lean_alloc_ctor(0, 6, 0);
|
||||
lean_ctor_set(x_40, 0, x_37);
|
||||
lean_ctor_set(x_40, 1, x_28);
|
||||
lean_ctor_set(x_40, 2, x_38);
|
||||
lean_ctor_set(x_40, 3, x_39);
|
||||
lean_ctor_set(x_40, 4, x_32);
|
||||
lean_ctor_set(x_40, 5, x_35);
|
||||
lean_inc(x_31);
|
||||
lean_inc(x_40);
|
||||
x_43 = lean_alloc_ctor(0, 6, 0);
|
||||
lean_ctor_set(x_43, 0, x_40);
|
||||
lean_ctor_set(x_43, 1, x_31);
|
||||
lean_ctor_set(x_43, 2, x_41);
|
||||
lean_ctor_set(x_43, 3, x_42);
|
||||
lean_ctor_set(x_43, 4, x_35);
|
||||
lean_ctor_set(x_43, 5, x_38);
|
||||
lean_inc(x_2);
|
||||
x_41 = l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages(x_40, x_2, x_36);
|
||||
x_42 = lean_ctor_get(x_41, 0);
|
||||
lean_inc(x_42);
|
||||
x_43 = lean_ctor_get(x_41, 1);
|
||||
lean_inc(x_43);
|
||||
lean_dec(x_41);
|
||||
x_44 = lean_alloc_ctor(0, 6, 0);
|
||||
lean_ctor_set(x_44, 0, x_37);
|
||||
lean_ctor_set(x_44, 1, x_28);
|
||||
lean_ctor_set(x_44, 2, x_42);
|
||||
lean_ctor_set(x_44, 3, x_39);
|
||||
lean_ctor_set(x_44, 4, x_32);
|
||||
lean_ctor_set(x_44, 5, x_35);
|
||||
lean_inc(x_44);
|
||||
x_45 = l_Lean_Server_Watchdog_FileWorker_stdin(x_44);
|
||||
x_46 = lean_ctor_get(x_2, 5);
|
||||
lean_inc(x_46);
|
||||
x_47 = l_Lean_Server_Watchdog_startFileWorker___closed__8;
|
||||
x_48 = l_Lean_Server_Watchdog_startFileWorker___closed__9;
|
||||
x_49 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_49, 0, x_47);
|
||||
lean_ctor_set(x_49, 1, x_48);
|
||||
lean_ctor_set(x_49, 2, x_46);
|
||||
x_44 = l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages(x_43, x_2, x_39);
|
||||
x_45 = lean_ctor_get(x_44, 0);
|
||||
lean_inc(x_45);
|
||||
x_50 = l_IO_FS_Stream_writeLspRequest___at_Lean_Server_Watchdog_startFileWorker___spec__1(x_45, x_49, x_43);
|
||||
if (lean_obj_tag(x_50) == 0)
|
||||
{
|
||||
lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56;
|
||||
x_51 = lean_ctor_get(x_50, 1);
|
||||
lean_inc(x_51);
|
||||
lean_dec(x_50);
|
||||
x_52 = l_Lean_Server_Watchdog_startFileWorker___closed__10;
|
||||
x_53 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_53, 0, x_9);
|
||||
lean_ctor_set(x_53, 1, x_52);
|
||||
lean_ctor_set(x_53, 2, x_10);
|
||||
lean_ctor_set(x_53, 3, x_12);
|
||||
x_54 = l_Lean_Server_Watchdog_startFileWorker___closed__11;
|
||||
x_55 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_55, 0, x_54);
|
||||
lean_ctor_set(x_55, 1, x_53);
|
||||
x_56 = l_IO_FS_Stream_writeLspNotification___at_Lean_Server_Watchdog_startFileWorker___spec__3(x_45, x_55, x_51);
|
||||
if (lean_obj_tag(x_56) == 0)
|
||||
{
|
||||
lean_object* x_57; lean_object* x_58;
|
||||
x_57 = lean_ctor_get(x_56, 1);
|
||||
lean_inc(x_57);
|
||||
lean_dec(x_56);
|
||||
x_58 = l_Lean_Server_Watchdog_updateFileWorkers(x_44, x_2, x_57);
|
||||
lean_dec(x_2);
|
||||
return x_58;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_59;
|
||||
x_46 = lean_ctor_get(x_44, 1);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_44);
|
||||
lean_dec(x_2);
|
||||
x_59 = !lean_is_exclusive(x_56);
|
||||
if (x_59 == 0)
|
||||
x_47 = lean_alloc_ctor(0, 6, 0);
|
||||
lean_ctor_set(x_47, 0, x_40);
|
||||
lean_ctor_set(x_47, 1, x_31);
|
||||
lean_ctor_set(x_47, 2, x_45);
|
||||
lean_ctor_set(x_47, 3, x_42);
|
||||
lean_ctor_set(x_47, 4, x_35);
|
||||
lean_ctor_set(x_47, 5, x_38);
|
||||
lean_inc(x_47);
|
||||
x_48 = l_Lean_Server_Watchdog_FileWorker_stdin(x_47);
|
||||
x_49 = lean_ctor_get(x_2, 5);
|
||||
lean_inc(x_49);
|
||||
x_50 = l_Lean_Server_Watchdog_startFileWorker___closed__8;
|
||||
x_51 = l_Lean_Server_Watchdog_startFileWorker___closed__9;
|
||||
x_52 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_52, 0, x_50);
|
||||
lean_ctor_set(x_52, 1, x_51);
|
||||
lean_ctor_set(x_52, 2, x_49);
|
||||
lean_inc(x_48);
|
||||
x_53 = l_IO_FS_Stream_writeLspRequest___at_Lean_Server_Watchdog_startFileWorker___spec__1(x_48, x_52, x_46);
|
||||
if (lean_obj_tag(x_53) == 0)
|
||||
{
|
||||
return x_56;
|
||||
}
|
||||
else
|
||||
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59;
|
||||
x_54 = lean_ctor_get(x_53, 1);
|
||||
lean_inc(x_54);
|
||||
lean_dec(x_53);
|
||||
x_55 = l_Lean_Server_Watchdog_startFileWorker___closed__10;
|
||||
x_56 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_56, 0, x_9);
|
||||
lean_ctor_set(x_56, 1, x_55);
|
||||
lean_ctor_set(x_56, 2, x_10);
|
||||
lean_ctor_set(x_56, 3, x_12);
|
||||
x_57 = l_Lean_Server_Watchdog_startFileWorker___closed__11;
|
||||
x_58 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_58, 0, x_57);
|
||||
lean_ctor_set(x_58, 1, x_56);
|
||||
x_59 = l_IO_FS_Stream_writeLspNotification___at_Lean_Server_Watchdog_startFileWorker___spec__3(x_48, x_58, x_54);
|
||||
if (lean_obj_tag(x_59) == 0)
|
||||
{
|
||||
lean_object* x_60; lean_object* x_61; lean_object* x_62;
|
||||
x_60 = lean_ctor_get(x_56, 0);
|
||||
x_61 = lean_ctor_get(x_56, 1);
|
||||
lean_inc(x_61);
|
||||
lean_object* x_60; lean_object* x_61;
|
||||
x_60 = lean_ctor_get(x_59, 1);
|
||||
lean_inc(x_60);
|
||||
lean_dec(x_56);
|
||||
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;
|
||||
lean_dec(x_59);
|
||||
x_61 = l_Lean_Server_Watchdog_updateFileWorkers(x_47, x_2, x_60);
|
||||
lean_dec(x_2);
|
||||
return x_61;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_62;
|
||||
lean_dec(x_47);
|
||||
lean_dec(x_2);
|
||||
x_62 = !lean_is_exclusive(x_59);
|
||||
if (x_62 == 0)
|
||||
{
|
||||
return x_59;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_63; lean_object* x_64; lean_object* x_65;
|
||||
x_63 = lean_ctor_get(x_59, 0);
|
||||
x_64 = lean_ctor_get(x_59, 1);
|
||||
lean_inc(x_64);
|
||||
lean_inc(x_63);
|
||||
lean_dec(x_59);
|
||||
x_65 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_65, 0, x_63);
|
||||
lean_ctor_set(x_65, 1, x_64);
|
||||
return x_65;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_63;
|
||||
lean_dec(x_45);
|
||||
lean_dec(x_44);
|
||||
uint8_t x_66;
|
||||
lean_dec(x_48);
|
||||
lean_dec(x_47);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_2);
|
||||
x_63 = !lean_is_exclusive(x_50);
|
||||
if (x_63 == 0)
|
||||
x_66 = !lean_is_exclusive(x_53);
|
||||
if (x_66 == 0)
|
||||
{
|
||||
return x_50;
|
||||
return x_53;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_64; lean_object* x_65; lean_object* x_66;
|
||||
x_64 = lean_ctor_get(x_50, 0);
|
||||
x_65 = lean_ctor_get(x_50, 1);
|
||||
lean_inc(x_65);
|
||||
lean_inc(x_64);
|
||||
lean_dec(x_50);
|
||||
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;
|
||||
lean_object* x_67; lean_object* x_68; lean_object* x_69;
|
||||
x_67 = lean_ctor_get(x_53, 0);
|
||||
x_68 = lean_ctor_get(x_53, 1);
|
||||
lean_inc(x_68);
|
||||
lean_inc(x_67);
|
||||
lean_dec(x_53);
|
||||
x_69 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_69, 0, x_67);
|
||||
lean_ctor_set(x_69, 1, x_68);
|
||||
return x_69;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_67;
|
||||
uint8_t x_70;
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_67 = !lean_is_exclusive(x_27);
|
||||
if (x_67 == 0)
|
||||
x_70 = !lean_is_exclusive(x_30);
|
||||
if (x_70 == 0)
|
||||
{
|
||||
return x_27;
|
||||
return x_30;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_68; lean_object* x_69; lean_object* x_70;
|
||||
x_68 = lean_ctor_get(x_27, 0);
|
||||
x_69 = lean_ctor_get(x_27, 1);
|
||||
lean_inc(x_69);
|
||||
lean_inc(x_68);
|
||||
lean_dec(x_27);
|
||||
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;
|
||||
lean_object* x_71; lean_object* x_72; lean_object* x_73;
|
||||
x_71 = lean_ctor_get(x_30, 0);
|
||||
x_72 = lean_ctor_get(x_30, 1);
|
||||
lean_inc(x_72);
|
||||
lean_inc(x_71);
|
||||
lean_dec(x_30);
|
||||
x_73 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_73, 0, x_71);
|
||||
lean_ctor_set(x_73, 1, x_72);
|
||||
return x_73;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_71;
|
||||
uint8_t x_74;
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_71 = !lean_is_exclusive(x_13);
|
||||
if (x_71 == 0)
|
||||
x_74 = !lean_is_exclusive(x_13);
|
||||
if (x_74 == 0)
|
||||
{
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_72; lean_object* x_73; lean_object* x_74;
|
||||
x_72 = lean_ctor_get(x_13, 0);
|
||||
x_73 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_73);
|
||||
lean_inc(x_72);
|
||||
lean_object* x_75; lean_object* x_76; lean_object* x_77;
|
||||
x_75 = lean_ctor_get(x_13, 0);
|
||||
x_76 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_76);
|
||||
lean_inc(x_75);
|
||||
lean_dec(x_13);
|
||||
x_74 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_74, 0, x_72);
|
||||
lean_ctor_set(x_74, 1, x_73);
|
||||
return x_74;
|
||||
x_77 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_77, 0, x_75);
|
||||
lean_ctor_set(x_77, 1, x_76);
|
||||
return x_77;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_75;
|
||||
uint8_t x_78;
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_75 = !lean_is_exclusive(x_7);
|
||||
if (x_75 == 0)
|
||||
x_78 = !lean_is_exclusive(x_7);
|
||||
if (x_78 == 0)
|
||||
{
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_76; lean_object* x_77; lean_object* x_78;
|
||||
x_76 = lean_ctor_get(x_7, 0);
|
||||
x_77 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_77);
|
||||
lean_inc(x_76);
|
||||
lean_object* x_79; lean_object* x_80; lean_object* x_81;
|
||||
x_79 = lean_ctor_get(x_7, 0);
|
||||
x_80 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_80);
|
||||
lean_inc(x_79);
|
||||
lean_dec(x_7);
|
||||
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;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue