From 61976c4e56eca1b04ef918f68111c6b8a115e896 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Tue, 7 Sep 2021 13:29:50 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Lean/Elab/DeclModifiers.lean | 11 + stage0/src/Lean/Elab/Extra.lean | 2 +- stage0/src/Lean/Parser/Term.lean | 1 + stage0/stdlib/Lean/Elab/BuiltinCommand.c | 16 +- stage0/stdlib/Lean/Elab/Command.c | 846 ++++++++++++----- stage0/stdlib/Lean/Elab/DeclModifiers.c | 562 +++++++++++- stage0/stdlib/Lean/Elab/Declaration.c | 10 +- stage0/stdlib/Lean/Elab/Deriving/Basic.c | 6 +- stage0/stdlib/Lean/Elab/Extra.c | 334 +++---- stage0/stdlib/Lean/Elab/GenInjective.c | 6 +- stage0/stdlib/Lean/Elab/MutualDef.c | 1022 +++++++++++++++------ stage0/stdlib/Lean/Elab/Print.c | 6 +- stage0/stdlib/Lean/Elab/Structure.c | 30 +- stage0/stdlib/Lean/Elab/Syntax.c | 4 +- stage0/stdlib/Lean/Parser/Term.c | 1070 ++++++++++++++++++---- 15 files changed, 3009 insertions(+), 917 deletions(-) diff --git a/stage0/src/Lean/Elab/DeclModifiers.lean b/stage0/src/Lean/Elab/DeclModifiers.lean index 18cfa0f527..3a332d9630 100644 --- a/stage0/src/Lean/Elab/DeclModifiers.lean +++ b/stage0/src/Lean/Elab/DeclModifiers.lean @@ -145,11 +145,22 @@ def applyVisibility (visibility : Visibility) (declName : Name) : m Name := do checkNotAlreadyDeclared declName pure declName +def checkIfShadowingStructureField (declName : Name) : m Unit := do + match declName with + | Name.str pre .. => + if isStructure (← getEnv) pre then + let fieldNames := getStructureFieldsFlattened (← getEnv) pre + for fieldName in fieldNames do + if pre ++ fieldName == declName then + throwError "invalid declaration name '{declName}', structure '{pre}' has field '{fieldName}'" + | _ => pure () + def mkDeclName (currNamespace : Name) (modifiers : Modifiers) (shortName : Name) : m (Name × Name) := do let name := (extractMacroScopes shortName).name unless name.isAtomic || isFreshInstanceName name do throwError "atomic identifier expected '{shortName}'" let declName := currNamespace ++ shortName + checkIfShadowingStructureField declName let declName ← applyVisibility modifiers.visibility declName match modifiers.visibility with | Visibility.protected => diff --git a/stage0/src/Lean/Elab/Extra.lean b/stage0/src/Lean/Elab/Extra.lean index d30ccc39d3..875761fb21 100644 --- a/stage0/src/Lean/Elab/Extra.lean +++ b/stage0/src/Lean/Elab/Extra.lean @@ -228,7 +228,7 @@ where withRef ref <| return Tree.term ref (← mkCoe maxType type e) @[builtinTermElab binop] -def elabBinOp' : TermElab := fun stx expectedType? => do +def elabBinOp : TermElab := fun stx expectedType? => do let tree ← toTree stx let r ← analyze tree expectedType? trace[Elab.binop] "hasUncomparable: {r.hasUncomparable}, maxType: {r.max?}" diff --git a/stage0/src/Lean/Parser/Term.lean b/stage0/src/Lean/Parser/Term.lean index 636afb3b07..64eef68dd3 100644 --- a/stage0/src/Lean/Parser/Term.lean +++ b/stage0/src/Lean/Parser/Term.lean @@ -203,6 +203,7 @@ def matchAltsWhereDecls := leading_parser matchAlts >> optional whereDecls @[builtinTermParser] def binrel := leading_parser "binrel% " >> ident >> ppSpace >> termParser maxPrec >> termParser maxPrec @[builtinTermParser] def binop := leading_parser "binop% " >> ident >> ppSpace >> termParser maxPrec >> termParser maxPrec +@[builtinTermParser] def binop_lazy := leading_parser "binop_lazy% " >> ident >> ppSpace >> termParser maxPrec >> termParser maxPrec @[builtinTermParser] def forInMacro := leading_parser "forIn% " >> termParser maxPrec >> termParser maxPrec >> termParser maxPrec diff --git a/stage0/stdlib/Lean/Elab/BuiltinCommand.c b/stage0/stdlib/Lean/Elab/BuiltinCommand.c index 65547c709e..b50b27eba1 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinCommand.c +++ b/stage0/stdlib/Lean/Elab/BuiltinCommand.c @@ -198,7 +198,6 @@ lean_object* l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Command_elabExport___ static lean_object* l_Lean_Elab_Command_elabCheckFailure___closed__1; lean_object* l_Lean_Elab_Command_elabOpen___lambda__1(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__2___lambda__2___closed__11; -lean_object* l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure___closed__2; @@ -218,6 +217,7 @@ lean_object* l_Lean_Elab_Command_elabCheck___boxed(lean_object*, lean_object*, l lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEvalUnsafe_match__4___rarg(lean_object*, lean_object*); +lean_object* l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCheck___closed__5; lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_getOptionDecl(lean_object*, lean_object*); @@ -4228,7 +4228,7 @@ lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_9, 0); lean_inc(x_19); lean_dec(x_9); -x_20 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5(x_19, x_1, x_2, x_6); +x_20 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__7(x_19, x_1, x_2, x_6); lean_dec(x_1); return x_20; } @@ -11254,7 +11254,7 @@ lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); -x_27 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5(x_15, x_2, x_3, x_26); +x_27 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__7(x_15, x_2, x_3, x_26); lean_dec(x_2); x_28 = !lean_is_exclusive(x_27); if (x_28 == 0) @@ -11285,7 +11285,7 @@ lean_inc(x_32); x_33 = lean_ctor_get(x_24, 1); lean_inc(x_33); lean_dec(x_24); -x_34 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5(x_15, x_2, x_3, x_33); +x_34 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__7(x_15, x_2, x_3, x_33); lean_dec(x_2); x_35 = !lean_is_exclusive(x_34); if (x_35 == 0) @@ -12157,7 +12157,7 @@ lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); -x_27 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5(x_15, x_2, x_3, x_26); +x_27 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__7(x_15, x_2, x_3, x_26); lean_dec(x_2); x_28 = !lean_is_exclusive(x_27); if (x_28 == 0) @@ -12188,7 +12188,7 @@ lean_inc(x_32); x_33 = lean_ctor_get(x_24, 1); lean_inc(x_33); lean_dec(x_24); -x_34 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5(x_15, x_2, x_3, x_33); +x_34 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__7(x_15, x_2, x_3, x_33); lean_dec(x_2); x_35 = !lean_is_exclusive(x_34); if (x_35 == 0) @@ -16121,7 +16121,7 @@ lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); lean_inc(x_21); lean_dec(x_19); -x_22 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5(x_10, x_2, x_3, x_21); +x_22 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__7(x_10, x_2, x_3, x_21); lean_dec(x_2); x_23 = !lean_is_exclusive(x_22); if (x_23 == 0) @@ -16152,7 +16152,7 @@ lean_inc(x_27); x_28 = lean_ctor_get(x_19, 1); lean_inc(x_28); lean_dec(x_19); -x_29 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5(x_10, x_2, x_3, x_28); +x_29 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__7(x_10, x_2, x_3, x_28); lean_dec(x_2); x_30 = !lean_is_exclusive(x_29); if (x_30 == 0) diff --git a/stage0/stdlib/Lean/Elab/Command.c b/stage0/stdlib/Lean/Elab/Command.c index 6761d508be..8e6a8d7e53 100644 --- a/stage0/stdlib/Lean/Elab/Command.c +++ b/stage0/stdlib/Lean/Elab/Command.c @@ -21,7 +21,7 @@ static lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed_ static lean_object* l_Lean_Elab_Command_withLogging___closed__1; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_getVarDecls___boxed(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__1; +lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instInhabitedState; lean_object* l_Lean_extractMacroScopes(lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__13; @@ -84,12 +84,12 @@ static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__ lean_object* l_Lean_Elab_Command_liftIO(lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1642____closed__2; -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__2; static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___closed__1; lean_object* l_Lean_Elab_Command_commandElabAttribute; extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_Command_getScope___boxed(lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1(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__2; static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__8; lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__1(lean_object*); @@ -105,7 +105,6 @@ static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__1 lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_sub(size_t, size_t); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__9(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_addDocString___at_Lean_Elab_Command_expandDeclId___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_withLogging___closed__2; lean_object* l_Lean_addTrace_addTraceOptions(lean_object*); lean_object* l_Lean_Elab_Command_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -119,10 +118,9 @@ lean_object* l_id___rarg___boxed(lean_object*); lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__2___closed__1; -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___closed__1; -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getLevelNames___boxed(lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_private_to_user_name(lean_object*); lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -130,6 +128,7 @@ static lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___clos static lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___closed__2; static lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__1; lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM; +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___closed__1; lean_object* l_Lean_Elab_Command_Context_cmdPos___default; lean_object* l_Lean_Elab_Command_liftTermElabM(lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope___boxed(lean_object*, lean_object*, lean_object*); @@ -140,7 +139,9 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_ lean_object* l_Lean_Elab_Command_liftEIO(lean_object*); lean_object* l_Lean_Elab_Command_addLinter(lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +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; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); 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*); @@ -166,7 +167,6 @@ lean_object* l_Lean_Elab_Command_Scope_opts___default; static lean_object* l_Lean_Elab_Command_State_traceState___default___closed__1; static lean_object* l_Lean_Elab_Command_State_infoState___default___closed__2; static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__2; -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1___closed__2; lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext_match__2(lean_object*); lean_object* l_Lean_Elab_InfoTree_format(lean_object*, lean_object*, lean_object*); @@ -186,7 +186,6 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_E lean_object* l_Lean_Elab_Command_getScopes___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_modifyScope___closed__3; lean_object* l_Lean_Elab_Command_State_messages___default; -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1___closed__1; uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_80_(uint8_t, uint8_t); static lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___closed__2; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing_match__1(lean_object*); @@ -218,6 +217,7 @@ 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; extern lean_object* l_Lean_maxRecDepth; static lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1___closed__2; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM_match__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -227,14 +227,15 @@ lean_object* l_Lean_Elab_log___at_Lean_Elab_Command_runLinters___spec__3___boxed lean_object* l_Lean_Elab_Command_elabCommand_match__2___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*); 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*); +lean_object* l_Lean_Elab_checkIfShadowingStructureField___at_Lean_Elab_Command_expandDeclId___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM; 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*); +lean_object* l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_elabCommand___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -245,6 +246,7 @@ lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing lean_object* l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__2; lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_State_nextMacroScope___default___closed__1; lean_object* l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_218____spec__1(lean_object*, lean_object*); @@ -255,10 +257,14 @@ lean_object* l_Lean_Elab_Command_instInhabitedCommandElabM(lean_object*); static lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__1; lean_object* l_Lean_Elab_Command_liftEIO___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_runLinters(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__4; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Command_elabCommand___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__1; lean_object* lean_st_ref_take(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__12(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__2; lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -281,12 +287,14 @@ static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabComma lean_object* l_Lean_Elab_Command_withFreshMacroScope(lean_object*); lean_object* l_Lean_Elab_mkMessageCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__4(lean_object*); +lean_object* l_Lean_getStructureFieldsFlattened(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__1___closed__1; lean_object* l_Lean_Elab_Command_expandDeclId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermState(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandDeclId___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___spec__2(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__4; lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM___boxed(lean_object*); @@ -305,6 +313,7 @@ static lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommand___spec__4 lean_object* l_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__1___closed__2; static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__2; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__8; static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__2; lean_object* l_Std_mkHashMapImp___rarg(lean_object*); lean_object* l_Lean_Elab_Command_liftCoreM_match__1(lean_object*, lean_object*); @@ -323,13 +332,13 @@ static lean_object* l_Lean_Elab_Command_elabCommand___lambda__3___closed__3; lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_getBracketedBinderIds___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__9; -lean_object* l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandDeclId___spec__11(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__10; +lean_object* l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkMetaContext___closed__2; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__2; lean_object* l_Lean_Elab_Command_addUnivLevel___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -367,6 +376,7 @@ lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__1(uint8_t, lean_ lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); lean_object* l_Lean_Elab_Command_getScopes(lean_object*); extern lean_object* l_Lean_protectedExt; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__7; lean_object* l_Lean_Elab_Command_Context_currRecDepth___default; lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -374,7 +384,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLeve lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_liftAttrM(lean_object*); lean_object* l_Lean_Elab_Command_runTermElabM_match__2___rarg(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___spec__7___boxed__const__1; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_liftAttrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -383,6 +393,7 @@ lean_object* l_Lean_Elab_Command_State_scopes___default; lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__6(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__8___boxed__const__1; lean_object* l_Lean_Elab_Command_instMonadLiftTIOCommandElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__3; lean_object* l_Lean_Elab_Command_addUnivLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; @@ -399,6 +410,7 @@ extern lean_object* l_Lean_firstFrontendMacroScope; lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2___closed__2; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext_match__1(lean_object*); lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -409,13 +421,13 @@ uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_modifyScope___closed__2; lean_object* l_Lean_Elab_Command_liftIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__5; lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM; lean_object* l_Lean_Elab_Command_elabCommand_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftIO___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_modifyScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkCoreContext___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__2(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5___closed__2; @@ -424,7 +436,6 @@ static lean_object* l_Lean_Elab_Command_modifyScope___closed__1; lean_object* l_Std_PersistentArray_forIn___at_Lean_Elab_Command_elabCommandTopLevel___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftCoreM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__6; -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Elab_Command_withMacroExpansion(lean_object*); lean_object* l_Lean_Elab_Command_withLogging_match__1(lean_object*); @@ -433,16 +444,20 @@ lean_object* l_Lean_InternalExceptionId_getName(lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; lean_object* l_Lean_Elab_expandDeclIdCore(lean_object*); lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2___closed__1; lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCommand___lambda__3___closed__4; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters___spec__4___closed__1; lean_object* l_EStateM_instMonadEStateM(lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__5; +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___spec__11(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__7___boxed(lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__8___boxed(lean_object*); lean_object* l_Lean_Elab_Command_liftCoreM_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__4; @@ -457,7 +472,6 @@ lean_object* l_Lean_Elab_Command_addUnivLevel(lean_object*, lean_object*, lean_o lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); -lean_object* l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__4; lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resetMessageLog(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -467,9 +481,7 @@ lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__5___boxed(le lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__4; 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_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__3; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_runTermElabM_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -514,6 +526,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_ lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_showPartialSyntaxErrors; lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_ioErrorToMessage___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__4___boxed(lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__2; lean_object* l_Lean_Elab_Command_instInhabitedScope; @@ -526,15 +539,14 @@ static lean_object* l_Lean_Elab_Command_State_infoState___default___closed__3; lean_object* l_Lean_Elab_Command_runTermElabM_match__1(lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_pp_macroStack; -lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadLiftTIOCommandElabM(lean_object*); lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM___rarg(lean_object*, lean_object*); 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; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__6; static lean_object* l_Lean_Elab_Command_elabCommand___lambda__3___closed__2; -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandDeclId___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedCommandElabM___closed__1; static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__3; lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); @@ -547,15 +559,17 @@ 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_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_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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_object* l_Lean_Elab_Command_liftCoreM(lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__12; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe(lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedState___closed__10; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandDeclId___spec__13(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__2; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM; @@ -597,7 +611,6 @@ lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_State_traceState___default; lean_object* l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___rarg___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__3; lean_object* l_Lean_Elab_Command_mkCommandElabAttribute(lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM_match__2___rarg(lean_object*, lean_object*); @@ -605,17 +618,14 @@ static lean_object* l_Lean_Elab_Command_State_infoState___default___closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instInhabitedCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___closed__2; lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkMetaContext; lean_object* l_Std_PersistentArray_foldlM___at_Lean_Elab_Command_elabCommandTopLevel___spec__7(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__7; static lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__4; -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__9; lean_object* l_Lean_Elab_Command_commandElabAttribute___lambda__6___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__8; @@ -623,11 +633,11 @@ static lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsComma lean_object* l_IO_mkRef___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabCommand___lambda__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__4; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__4; lean_object* l_Lean_Elab_Command_elabCommand___lambda__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_State_nextMacroScope___default; lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); @@ -636,22 +646,25 @@ uint8_t l_Lean_Elab_isFreshInstanceName(lean_object*); lean_object* l_Lean_Elab_Command_instAddErrorMessageContextCommandElabM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM; static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__12; +lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__2; static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1___closed__1; -lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext_match__2___rarg(lean_object*, lean_object*); lean_object* l_Std_instInhabitedPersistentArrayNode(lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM_match__2(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__6; +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1___closed__1; uint32_t lean_uint32_of_nat(lean_object*); static lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__3; static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__1; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1___closed__2; lean_object* l_Lean_Elab_Command_getScopes___boxed(lean_object*); lean_object* l_Lean_Elab_Command_State_infoState___default; lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCommand___closed__3; @@ -662,7 +675,6 @@ static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__5; -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__1; static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__1; lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -673,6 +685,7 @@ static lean_object* l_Lean_Elab_Command_instInhabitedScope___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +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_object* l_Lean_Elab_Command_Scope_varUIds___default; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); @@ -684,13 +697,12 @@ static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab lean_object* l_Lean_Elab_Command_instMonadLiftTIOCommandElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedScope___closed__1; static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___closed__1; -lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_isStructure(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__15; lean_object* l_Lean_Elab_Command_liftEIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg___closed__1; lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Command_liftTermElabM___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_lintersRef; @@ -19171,7 +19183,375 @@ lean_dec(x_3); return x_5; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid declaration name '"); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("', structure '"); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("' has field '"); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("'"); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = x_5 < x_4; +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_6); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +lean_dec(x_6); +x_12 = lean_array_uget(x_3, x_5); +lean_inc(x_12); +x_13 = l_Lean_Name_append(x_2, x_12); +x_14 = lean_name_eq(x_13, x_1); +lean_dec(x_13); +if (x_14 == 0) +{ +size_t x_15; size_t x_16; lean_object* x_17; +lean_dec(x_12); +x_15 = 1; +x_16 = x_5 + x_15; +x_17 = lean_box(0); +x_5 = x_16; +x_6 = x_17; +goto _start; +} +else +{ +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; uint8_t x_33; +x_19 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_19, 0, x_1); +x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__2; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__4; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_24, 0, x_2); +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__6; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_28, 0, x_12); +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__8; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(x_31, x_7, x_8, x_9); +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +return x_32; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_32, 0); +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_32); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +} +} +lean_object* l_Lean_Elab_checkIfShadowingStructureField___at_Lean_Elab_Command_expandDeclId___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_st_ref_get(x_3, x_4); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_6, 1); +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +lean_inc(x_5); +x_11 = l_Lean_isStructure(x_10, x_5); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_box(0); +lean_ctor_set(x_6, 0, x_12); +return x_6; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; +lean_free_object(x_6); +x_13 = lean_st_ref_get(x_3, x_9); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = 1; +lean_inc(x_5); +x_18 = l_Lean_getStructureFieldsFlattened(x_16, x_5, x_17); +x_19 = lean_array_get_size(x_18); +x_20 = lean_usize_of_nat(x_19); +lean_dec(x_19); +x_21 = 0; +x_22 = lean_box(0); +x_23 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4(x_1, x_5, x_18, x_20, x_21, x_22, x_2, x_3, x_15); +lean_dec(x_18); +if (lean_obj_tag(x_23) == 0) +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_23, 0); +lean_dec(x_25); +lean_ctor_set(x_23, 0, x_22); +return x_23; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_22); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_23); +if (x_28 == 0) +{ +return x_23; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_23, 0); +x_30 = lean_ctor_get(x_23, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_23); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_32 = lean_ctor_get(x_6, 0); +x_33 = lean_ctor_get(x_6, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_6); +x_34 = lean_ctor_get(x_32, 0); +lean_inc(x_34); +lean_dec(x_32); +lean_inc(x_5); +x_35 = l_Lean_isStructure(x_34, x_5); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_33); +return x_37; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; size_t x_45; size_t x_46; lean_object* x_47; lean_object* x_48; +x_38 = lean_st_ref_get(x_3, x_33); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_ctor_get(x_39, 0); +lean_inc(x_41); +lean_dec(x_39); +x_42 = 1; +lean_inc(x_5); +x_43 = l_Lean_getStructureFieldsFlattened(x_41, x_5, x_42); +x_44 = lean_array_get_size(x_43); +x_45 = lean_usize_of_nat(x_44); +lean_dec(x_44); +x_46 = 0; +x_47 = lean_box(0); +x_48 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4(x_1, x_5, x_43, x_45, x_46, x_47, x_2, x_3, x_40); +lean_dec(x_43); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + x_50 = x_48; +} else { + lean_dec_ref(x_48); + x_50 = lean_box(0); +} +if (lean_is_scalar(x_50)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_50; +} +lean_ctor_set(x_51, 0, x_47); +lean_ctor_set(x_51, 1, x_49); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_52 = lean_ctor_get(x_48, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_48, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + x_54 = x_48; +} else { + lean_dec_ref(x_48); + x_54 = lean_box(0); +} +if (lean_is_scalar(x_54)) { + x_55 = lean_alloc_ctor(1, 2, 0); +} else { + x_55 = x_54; +} +lean_ctor_set(x_55, 0, x_52); +lean_ctor_set(x_55, 1, x_53); +return x_55; +} +} +} +} +else +{ +lean_object* x_56; lean_object* x_57; +lean_dec(x_2); +lean_dec(x_1); +x_56 = lean_box(0); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_4); +return x_57; +} +} +} +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -19179,16 +19559,16 @@ x_1 = lean_mk_string("a non-private declaration '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1___closed__1; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; @@ -19228,7 +19608,7 @@ else lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_14 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_14, 0, x_10); -x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1___closed__2; +x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1___closed__2; x_16 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -19242,7 +19622,7 @@ return x_19; } } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -19250,16 +19630,16 @@ x_1 = lean_mk_string("a private declaration '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___closed__1; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -19273,7 +19653,7 @@ if (x_8 == 0) { lean_object* x_9; lean_object* x_10; x_9 = lean_box(0); -x_10 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1(x_1, x_2, x_9, x_4, x_5, x_6); +x_10 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1(x_1, x_2, x_9, x_4, x_5, x_6); return x_10; } else @@ -19282,7 +19662,7 @@ lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean lean_dec(x_2); x_11 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_11, 0, x_1); -x_12 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___closed__2; +x_12 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2___closed__2; x_13 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); @@ -19312,24 +19692,7 @@ return x_20; } } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("'"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__3() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___closed__1() { _start: { lean_object* x_1; @@ -19337,16 +19700,16 @@ x_1 = lean_mk_string("private declaration '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__4() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__3; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6(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; uint8_t x_9; @@ -19366,7 +19729,7 @@ if (x_9 == 0) { lean_object* x_10; lean_object* x_11; x_10 = lean_box(0); -x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2(x_1, x_8, x_10, x_2, x_3, x_7); +x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2(x_1, x_8, x_10, x_2, x_3, x_7); lean_dec(x_3); return x_11; } @@ -19381,7 +19744,7 @@ if (lean_obj_tag(x_12) == 0) lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; x_13 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_13, 0, x_1); -x_14 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__2; +x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__8; x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); @@ -19419,7 +19782,7 @@ lean_inc(x_23); lean_dec(x_12); x_24 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_24, 0, x_23); -x_25 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__4; +x_25 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___closed__2; x_26 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); @@ -19451,7 +19814,7 @@ return x_33; } } } -lean_object* l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; @@ -19545,7 +19908,7 @@ return x_30; } } } -lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__3(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { switch (x_1) { @@ -19553,7 +19916,7 @@ case 0: { lean_object* x_6; lean_inc(x_2); -x_6 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4(x_2, x_3, x_4, x_5); +x_6 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6(x_2, x_3, x_4, x_5); if (lean_obj_tag(x_6) == 0) { uint8_t x_7; @@ -19608,7 +19971,7 @@ lean_object* x_15; lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4(x_2, x_3, x_4, x_5); +x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6(x_2, x_3, x_4, x_5); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; @@ -19627,7 +19990,7 @@ lean_dec(x_18); x_21 = l_Lean_protectedExt; lean_inc(x_2); x_22 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_21, x_20, x_2); -x_23 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5(x_22, x_3, x_4, x_19); +x_23 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__7(x_22, x_3, x_4, x_19); lean_dec(x_4); lean_dec(x_3); x_24 = !lean_is_exclusive(x_23); @@ -19691,7 +20054,7 @@ lean_inc(x_35); lean_dec(x_33); x_36 = l_Lean_mkPrivateName(x_35, x_2); lean_inc(x_36); -x_37 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4(x_36, x_3, x_4, x_34); +x_37 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6(x_36, x_3, x_4, x_34); if (lean_obj_tag(x_37) == 0) { uint8_t x_38; @@ -19743,7 +20106,7 @@ return x_45; } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__8(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; @@ -19817,142 +20180,180 @@ return x_2; lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; uint8_t x_9; lean_object* x_10; +lean_object* x_8; lean_object* x_9; lean_dec(x_4); lean_inc(x_2); x_8 = l_Lean_Name_append(x_1, x_2); -x_9 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); +lean_inc(x_5); +lean_inc(x_8); +x_9 = l_Lean_Elab_checkIfShadowingStructureField___at_Lean_Elab_Command_expandDeclId___spec__3(x_8, x_5, x_6, x_7); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; uint8_t x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); lean_dec(x_3); lean_inc(x_6); lean_inc(x_5); -x_10 = l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__3(x_9, x_8, x_5, x_6, x_7); -if (lean_obj_tag(x_10) == 0) +x_12 = l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__5(x_11, x_8, x_5, x_6, x_10); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_11; -x_11 = lean_box(x_9); -if (lean_obj_tag(x_11) == 1) +lean_object* x_13; +x_13 = lean_box(x_11); +if (lean_obj_tag(x_13) == 1) { if (lean_obj_tag(x_1) == 1) { -uint8_t x_12; +uint8_t x_14; lean_dec(x_6); lean_dec(x_5); -x_12 = !lean_is_exclusive(x_10); -if (x_12 == 0) +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_13 = lean_ctor_get(x_10, 0); -x_14 = lean_ctor_get(x_1, 1); -lean_inc(x_14); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_12, 0); +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); lean_dec(x_1); -x_15 = lean_box(0); -x_16 = lean_name_mk_string(x_15, x_14); -x_17 = l_Lean_Name_append(x_16, x_2); -lean_dec(x_16); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_13); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set(x_10, 0, x_18); -return x_10; +x_17 = lean_box(0); +x_18 = lean_name_mk_string(x_17, x_16); +x_19 = l_Lean_Name_append(x_18, x_2); +lean_dec(x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_19); +lean_ctor_set(x_12, 0, x_20); +return x_12; } else { -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; -x_19 = lean_ctor_get(x_10, 0); -x_20 = lean_ctor_get(x_10, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_10); -x_21 = lean_ctor_get(x_1, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_21 = lean_ctor_get(x_12, 0); +x_22 = lean_ctor_get(x_12, 1); +lean_inc(x_22); lean_inc(x_21); +lean_dec(x_12); +x_23 = lean_ctor_get(x_1, 1); +lean_inc(x_23); lean_dec(x_1); -x_22 = lean_box(0); -x_23 = lean_name_mk_string(x_22, x_21); -x_24 = l_Lean_Name_append(x_23, x_2); -lean_dec(x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_19); -lean_ctor_set(x_25, 1, x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_20); -return x_26; +x_24 = lean_box(0); +x_25 = lean_name_mk_string(x_24, x_23); +x_26 = l_Lean_Name_append(x_25, x_2); +lean_dec(x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_21); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_22); +return x_28; } } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_dec(x_2); lean_dec(x_1); -x_27 = lean_ctor_get(x_10, 1); -lean_inc(x_27); -lean_dec(x_10); -x_28 = l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1___closed__2; -x_29 = l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__6(x_28, x_5, x_6, x_27); +x_29 = lean_ctor_get(x_12, 1); +lean_inc(x_29); +lean_dec(x_12); +x_30 = l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1___closed__2; +x_31 = l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__8(x_30, x_5, x_6, x_29); lean_dec(x_6); -return x_29; +return x_31; } } else { -uint8_t x_30; -lean_dec(x_11); +uint8_t x_32; +lean_dec(x_13); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_30 = !lean_is_exclusive(x_10); -if (x_30 == 0) +x_32 = !lean_is_exclusive(x_12); +if (x_32 == 0) { -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_10, 0); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_2); -lean_ctor_set(x_10, 0, x_32); -return x_10; +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_12, 0); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_2); +lean_ctor_set(x_12, 0, x_34); +return x_12; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_10, 0); -x_34 = lean_ctor_get(x_10, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_10); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_2); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -return x_36; +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_35 = lean_ctor_get(x_12, 0); +x_36 = lean_ctor_get(x_12, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_12); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_2); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +return x_38; } } } else { -uint8_t x_37; +uint8_t x_39; lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_10); -if (x_37 == 0) +x_39 = !lean_is_exclusive(x_12); +if (x_39 == 0) { -return x_10; +return x_12; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_10, 0); -x_39 = lean_ctor_get(x_10, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_10); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_12, 0); +x_41 = lean_ctor_get(x_12, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_12); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +uint8_t x_43; +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_43 = !lean_is_exclusive(x_9); +if (x_43 == 0) +{ +return x_9; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_9, 0); +x_45 = lean_ctor_get(x_9, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_9); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } @@ -20000,7 +20401,7 @@ x_12 = l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___cl x_13 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); -x_14 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__2; +x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__8; x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); @@ -20043,7 +20444,7 @@ return x_24; } } } -lean_object* l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___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; uint8_t x_9; @@ -20142,7 +20543,7 @@ return x_36; } } } -lean_object* l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_2) == 0) @@ -20161,12 +20562,12 @@ lean_object* x_8; lean_object* x_9; x_8 = lean_ctor_get(x_2, 0); lean_inc(x_8); lean_dec(x_2); -x_9 = l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___spec__8(x_1, x_8, x_3, x_4, x_5); +x_9 = l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___spec__10(x_1, x_8, x_3, x_4, x_5); return x_9; } } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__12(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; @@ -20220,7 +20621,7 @@ return x_20; } } } -lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___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; @@ -20234,11 +20635,11 @@ x_8 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUn x_9 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_9, 0, x_7); lean_ctor_set(x_9, 1, x_8); -x_10 = l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__10(x_9, x_2, x_3, x_4); +x_10 = l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__12(x_9, x_2, x_3, x_4); return x_10; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandDeclId___spec__11(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandDeclId___spec__13(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; @@ -20282,7 +20683,7 @@ lean_object* x_21; lean_object* x_22; uint8_t x_23; x_21 = lean_ctor_get(x_5, 6); lean_dec(x_21); lean_ctor_set(x_5, 6, x_19); -x_22 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___spec__9(x_10, x_5, x_6, x_18); +x_22 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___spec__11(x_10, x_5, x_6, x_18); x_23 = !lean_is_exclusive(x_22); if (x_23 == 0) { @@ -20326,7 +20727,7 @@ lean_ctor_set(x_33, 3, x_30); lean_ctor_set(x_33, 4, x_31); lean_ctor_set(x_33, 5, x_32); lean_ctor_set(x_33, 6, x_19); -x_34 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___spec__9(x_10, x_33, x_6, x_18); +x_34 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___spec__11(x_10, x_33, x_6, x_18); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -20413,7 +20814,7 @@ x_25 = lean_ctor_get(x_3, 0); lean_inc(x_25); lean_dec(x_3); lean_inc(x_23); -x_26 = l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__7(x_23, x_25, x_6, x_7, x_22); +x_26 = l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__9(x_23, x_25, x_6, x_7, x_22); lean_dec(x_7); x_27 = !lean_is_exclusive(x_26); if (x_27 == 0) @@ -20580,7 +20981,7 @@ x_24 = 0; x_25 = lean_usize_of_nat(x_19); lean_dec(x_19); lean_inc(x_5); -x_26 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandDeclId___spec__11(x_18, x_24, x_25, x_2, x_5, x_6, x_7); +x_26 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandDeclId___spec__13(x_18, x_24, x_25, x_2, x_5, x_6, x_7); lean_dec(x_18); if (lean_obj_tag(x_26) == 0) { @@ -20661,93 +21062,116 @@ x_13 = l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___spec__1(x_ return x_13; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_11 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4(x_1, x_2, x_3, x_10, x_11, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_3); +return x_12; +} +} +lean_object* l_Lean_Elab_checkIfShadowingStructureField___at_Lean_Elab_Command_expandDeclId___spec__3___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_Elab_checkIfShadowingStructureField___at_Lean_Elab_Command_expandDeclId___spec__3(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_3); return x_7; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); return x_7; } } -lean_object* l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__7___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_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__7(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; lean_object* x_7; x_6 = lean_unbox(x_1); lean_dec(x_1); -x_7 = l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__3(x_6, x_2, x_3, x_4, x_5); +x_7 = l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__5(x_6, x_2, x_3, x_4, x_5); return x_7; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__8___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_expandDeclId___spec__6(x_1, x_2, x_3, x_4); +x_5 = l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__8(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___spec__8(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___spec__10(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); return x_6; } } -lean_object* l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__7(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__9(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); return x_6; } } -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__12___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_expandDeclId___spec__10(x_1, x_2, x_3, x_4); +x_5 = l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__12(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___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_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___spec__9(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___spec__11(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandDeclId___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandDeclId___spec__13___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; @@ -20755,7 +21179,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_expandDeclId___spec__11(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandDeclId___spec__13(x_1, x_8, x_9, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_1); return x_10; @@ -21278,22 +21702,34 @@ l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLeve lean_mark_persistent(l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__3); l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4 = _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4(); lean_mark_persistent(l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4); -l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1___closed__1); -l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__1___closed__2); -l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___closed__1); -l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___lambda__2___closed__2); -l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__1(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__1); -l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__2(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__2); -l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__3 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__3(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__3); -l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__4 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__4(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__4___closed__4); +l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__2); +l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__3 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__3); +l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__4 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__4); +l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__5 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__5(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__5); +l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__6 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__6(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__6); +l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__7 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__7(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__7); +l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__8 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__8(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__4___closed__8); +l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1___closed__1); +l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__1___closed__2); +l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2___closed__1); +l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___lambda__2___closed__2); +l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___closed__1(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___closed__1); +l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___closed__2(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__6___closed__2); l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1___closed__1 = _init_l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1___closed__1); l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1___closed__2 = _init_l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/DeclModifiers.c b/stage0/stdlib/Lean/Elab/DeclModifiers.c index d95fdb2f27..feef7c9b92 100644 --- a/stage0/stdlib/Lean/Elab/DeclModifiers.c +++ b/stage0/stdlib/Lean/Elab/DeclModifiers.c @@ -17,6 +17,7 @@ lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_Elab_instToFormatModifiers_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_RecKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Visibility_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instToStringVisibility___closed__3; static lean_object* l_Lean_Elab_Visibility_noConfusion___rarg___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_expandDeclId___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -30,6 +31,7 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__3___closed__2; lean_object* l_Lean_Elab_expandOptDocComment_x3f(lean_object*); static lean_object* l_List_mapTRAux___at_Lean_Elab_instToFormatModifiers___spec__1___closed__8; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__2(lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l_Lean_addDocString_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__3___closed__1; @@ -45,6 +47,7 @@ uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); uint8_t l_Lean_Elab_Modifiers_isProtected(lean_object*); static lean_object* l_List_mapTRAux___at_Lean_Elab_instToFormatModifiers___spec__1___closed__9; +lean_object* l_Lean_Elab_mkDeclName_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; static lean_object* l_List_mapTRAux___at_Lean_Elab_instToFormatModifiers___spec__1___closed__4; lean_object* l_Lean_Elab_mkDeclName(lean_object*); @@ -54,18 +57,22 @@ static lean_object* l_Lean_Elab_instToFormatModifiers___closed__18; static lean_object* l_Lean_Elab_instToFormatModifiers___closed__6; lean_object* l_Lean_Elab_Visibility_toCtorIdx___boxed(lean_object*); lean_object* l_Lean_Elab_applyVisibility___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_RecKind_noConfusion(lean_object*); lean_object* l_Lean_Elab_applyVisibility___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Modifiers_isPartial___boxed(lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkIfShadowingStructureField___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_private_to_user_name(lean_object*); lean_object* l_Lean_Elab_RecKind_toCtorIdx(uint8_t); lean_object* l_Lean_Elab_Visibility_noConfusion___rarg___lambda__1(lean_object*); static lean_object* l_Lean_Elab_instToStringModifiers___closed__3; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__1; lean_object* l_Lean_Elab_checkNotAlreadyDeclared_match__1(lean_object*); lean_object* l_Lean_Elab_instToFormatModifiers_match__3___rarg(uint8_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__4; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); uint8_t l_Lean_Elab_instInhabitedRecKind; @@ -76,6 +83,8 @@ lean_object* l_Lean_Elab_Modifiers_docString_x3f___default; static lean_object* l_Lean_Elab_instToFormatModifiers___closed__25; lean_object* l_Lean_Elab_instToStringVisibility(uint8_t); lean_object* l_Lean_Elab_Modifiers_isNonrec_match__1(lean_object*); +uint8_t l_USize_decLt(size_t, size_t); +lean_object* l_Lean_Elab_checkIfShadowingStructureField___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Modifiers_isPartial_match__1(lean_object*); lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_applyVisibility_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -83,6 +92,7 @@ static lean_object* l_Lean_Elab_instToFormatModifiers___closed__8; static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__3___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_expandDeclId___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Modifiers_isNonrec___boxed(lean_object*); +lean_object* l_Lean_Elab_checkIfShadowingStructureField___rarg___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_instToFormatModifiers___closed__23; lean_object* l_Lean_Elab_applyVisibility_match__1(lean_object*); uint8_t l_Lean_Elab_Modifiers_isNoncomputable___default; @@ -90,6 +100,7 @@ lean_object* l_Lean_Elab_expandDeclId___rarg(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Elab_expandDeclId_match__1(lean_object*); lean_object* l_Lean_Elab_expandDeclId_match__2(lean_object*); static lean_object* l_Lean_Elab_mkDeclName___rarg___closed__2; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__6; lean_object* l_Lean_Elab_instToFormatModifiers_match__3(lean_object*); lean_object* l_Lean_Elab_expandOptDocComment_x3f_match__2(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -97,12 +108,17 @@ static lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__9; static lean_object* l_Lean_Elab_instToFormatModifiers___closed__21; static lean_object* l_Lean_Elab_instToFormatModifiers___closed__13; lean_object* l_Lean_Elab_applyVisibility_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__2___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_expandDeclId___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getStructureFieldsFlattened(lean_object*, lean_object*, uint8_t); +lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__8; static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__3___closed__3; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__5; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instToStringVisibility_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instToStringVisibility_match__1(lean_object*); @@ -130,7 +146,7 @@ static lean_object* l_Lean_Elab_instToFormatModifiers___closed__11; extern lean_object* l_Lean_protectedExt; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_expandDeclId___spec__1(lean_object*); static lean_object* l_Lean_Elab_instToFormatModifiers___closed__27; -lean_object* l_Lean_Elab_mkDeclName_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_instToFormatModifiers_match__2___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instToFormatModifiers___closed__10; @@ -139,16 +155,18 @@ static lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__3; lean_object* l_Lean_Elab_Modifiers_attrs___default; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_expandDeclId___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Visibility_noConfusion(lean_object*); -lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instToFormatModifiers___closed__20; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_expandDeclId___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); static lean_object* l_List_mapTRAux___at_Lean_Elab_instToFormatModifiers___spec__1___closed__7; +lean_object* l_Lean_Elab_checkIfShadowingStructureField___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_mkDeclName_match__2___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandDeclId___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkIfShadowingStructureField_match__1(lean_object*); lean_object* l_Lean_Elab_Visibility_noConfusion___rarg(uint8_t, uint8_t, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__6; size_t lean_usize_of_nat(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__3(lean_object*, lean_object*); lean_object* l_Lean_Elab_expandDeclIdCore(lean_object*); static lean_object* l_Lean_Elab_instToStringModifiers___closed__1; lean_object* l_Lean_Elab_expandDeclId_match__1___rarg(lean_object*, lean_object*); @@ -178,6 +196,7 @@ static lean_object* l_Lean_Elab_instInhabitedModifiers___closed__1; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__1___closed__1; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_instToFormatModifiers_match__1(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_Elab_expandOptDocComment_x3f_match__1(lean_object*); @@ -185,13 +204,15 @@ lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__1___boxed(lean_object*, lea lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1___closed__3; lean_object* l_Lean_Elab_expandDeclId___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1(lean_object*); uint8_t l_Lean_Elab_instInhabitedVisibility; lean_object* l_Lean_Elab_Modifiers_isPrivate___boxed(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__3; lean_object* l_Lean_Elab_Modifiers_isNonrec_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instToFormatModifiers___closed__12; lean_object* l_Lean_Elab_applyVisibility___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Modifiers_visibility___default; -lean_object* l_Lean_Elab_mkDeclName_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_mkDeclName_match__1___rarg(uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instToFormatModifiers___closed__22; static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1___closed__1; lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*); @@ -206,6 +227,7 @@ uint8_t l_Lean_Elab_Modifiers_isNonrec(lean_object*); lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__10; lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__3___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_instToFormatModifiers___closed__28; static lean_object* l_Lean_Elab_instToFormatModifiers___closed__14; lean_object* l_Lean_Elab_expandOptDocComment_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -214,8 +236,10 @@ lean_object* l_Lean_Elab_applyVisibility___rarg___lambda__1(lean_object*, lean_o lean_object* l_Lean_Elab_mkDeclName_match__1(lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__7; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instToFormatModifiers_match__2(lean_object*); lean_object* l_Lean_Elab_Visibility_toCtorIdx(uint8_t); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__2; static lean_object* l_Lean_Elab_instToFormatModifiers___closed__7; lean_object* l_Lean_Elab_applyVisibility___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_instToStringVisibility_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -223,6 +247,7 @@ lean_object* l_Lean_Elab_Modifiers_isPartial_match__1___rarg(lean_object*, lean_ lean_object* lean_string_length(lean_object*); lean_object* l_Lean_indentD(lean_object*); lean_object* l_Lean_Elab_elabModifiers___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkIfShadowingStructureField___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Modifiers_isUnsafe___default; static lean_object* l_Lean_Elab_elabModifiers___rarg___closed__1; uint8_t l_Lean_Elab_Modifiers_isPrivate(lean_object*); @@ -230,6 +255,7 @@ lean_object* l_Lean_Elab_Modifiers_isPrivate_match__1___rarg(lean_object*, lean_ static lean_object* l_Lean_Elab_expandDeclIdCore___closed__1; static lean_object* l_Lean_Elab_mkDeclName___rarg___closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkIfShadowingStructureField(lean_object*); static lean_object* l_Lean_Elab_expandOptDocComment_x3f___rarg___closed__1; lean_object* l_Lean_Elab_expandOptDocComment_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared(lean_object*); @@ -239,6 +265,7 @@ lean_object* l_Lean_Elab_expandDeclId(lean_object*); static lean_object* l_Lean_Elab_instToFormatModifiers___closed__15; static lean_object* l_Lean_Elab_Modifiers_attrs___default___closed__1; uint8_t l_Lean_Elab_isFreshInstanceName(lean_object*); +lean_object* l_Lean_Elab_checkIfShadowingStructureField_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapTRAux___at_Lean_Elab_instToFormatModifiers___spec__1___closed__5; static lean_object* l_Lean_Elab_instToFormatModifiers___closed__29; @@ -255,9 +282,9 @@ static lean_object* l_Lean_Elab_instToStringVisibility___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_applyVisibility___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Elab_Visibility_noConfusion___rarg___lambda__1___boxed(lean_object*); +uint8_t l_Lean_isStructure(lean_object*, lean_object*); lean_object* l_Lean_Elab_expandDeclId___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1___closed__2; -lean_object* l_Lean_Elab_mkDeclName_match__2(lean_object*); lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__2(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*, uint8_t); lean_object* l_Lean_Elab_instToStringVisibility___boxed(lean_object*); lean_object* l_Lean_Elab_mkDeclName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3369,7 +3396,7 @@ x_7 = l_Lean_Elab_applyVisibility___rarg(x_1, x_2, x_3, x_6, x_5); return x_7; } } -lean_object* l_Lean_Elab_mkDeclName_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_checkIfShadowingStructureField_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 1) @@ -3395,15 +3422,434 @@ return x_9; } } } -lean_object* l_Lean_Elab_mkDeclName_match__1(lean_object* x_1) { +lean_object* l_Lean_Elab_checkIfShadowingStructureField_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName_match__1___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_checkIfShadowingStructureField_match__1___rarg), 3, 0); return x_2; } } -lean_object* l_Lean_Elab_mkDeclName_match__2___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__1(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, lean_object* x_9) { +_start: +{ +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_apply_2(x_12, lean_box(0), x_10); +return x_13; +} +else +{ +lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_9, 0); +lean_inc(x_14); +lean_dec(x_9); +x_15 = 1; +x_16 = x_2 + x_15; +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_16, x_14); +return x_17; +} +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__2___closed__1; +x_4 = lean_apply_2(x_1, lean_box(0), x_3); +return x_4; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__2___closed__1; +x_6 = lean_apply_2(x_4, lean_box(0), x_5); +return x_6; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid declaration name '"); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("', structure '"); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("' has field '"); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = x_8 < x_7; +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_apply_2(x_12, lean_box(0), x_9); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_9); +x_14 = lean_array_uget(x_6, x_8); +x_15 = lean_ctor_get(x_1, 1); +lean_inc(x_15); +lean_inc(x_14); +x_16 = l_Lean_Name_append(x_4, x_14); +x_17 = lean_name_eq(x_16, x_3); +lean_dec(x_16); +x_18 = lean_box_usize(x_8); +x_19 = lean_box_usize(x_7); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_20 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__1___boxed), 9, 8); +lean_closure_set(x_20, 0, x_1); +lean_closure_set(x_20, 1, x_18); +lean_closure_set(x_20, 2, x_2); +lean_closure_set(x_20, 3, x_3); +lean_closure_set(x_20, 4, x_4); +lean_closure_set(x_20, 5, x_5); +lean_closure_set(x_20, 6, x_6); +lean_closure_set(x_20, 7, x_19); +if (x_17 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_14); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_21 = lean_ctor_get(x_1, 0); +lean_inc(x_21); +lean_dec(x_1); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_box(0); +lean_inc(x_22); +x_24 = lean_apply_2(x_22, lean_box(0), x_23); +x_25 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__2___boxed), 2, 1); +lean_closure_set(x_25, 0, x_22); +x_26 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_24, x_25); +x_27 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_26, x_20); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 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; +x_28 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_28, 0, x_3); +x_29 = l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__2; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__4; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_33, 0, x_4); +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__6; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_37, 0, x_14); +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__3___closed__2; +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +lean_inc(x_1); +x_41 = l_Lean_throwError___rarg(x_1, x_2, x_40); +x_42 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__3___boxed), 2, 1); +lean_closure_set(x_42, 0, x_1); +x_43 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_41, x_42); +x_44 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_43, x_20); +return x_44; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___boxed), 9, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_checkIfShadowingStructureField___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_box(0); +x_6 = lean_apply_2(x_4, lean_box(0), x_5); +return x_6; +} +} +lean_object* l_Lean_Elab_checkIfShadowingStructureField___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_7 = 1; +lean_inc(x_1); +x_8 = l_Lean_getStructureFieldsFlattened(x_6, x_1, x_7); +x_9 = lean_array_get_size(x_8); +x_10 = lean_usize_of_nat(x_9); +lean_dec(x_9); +x_11 = 0; +x_12 = lean_box(0); +lean_inc(x_5); +lean_inc(x_2); +x_13 = l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg(x_2, x_3, x_4, x_1, x_5, x_8, x_10, x_11, x_12); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_checkIfShadowingStructureField___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_14, 0, x_2); +x_15 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_13, x_14); +return x_15; +} +} +lean_object* l_Lean_Elab_checkIfShadowingStructureField___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +lean_inc(x_1); +x_8 = l_Lean_isStructure(x_7, x_1); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_9 = lean_ctor_get(x_2, 0); +lean_inc(x_9); +lean_dec(x_2); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_box(0); +x_12 = lean_apply_2(x_10, lean_box(0), x_11); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +lean_inc(x_5); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_checkIfShadowingStructureField___rarg___lambda__2), 6, 5); +lean_closure_set(x_13, 0, x_1); +lean_closure_set(x_13, 1, x_2); +lean_closure_set(x_13, 2, x_3); +lean_closure_set(x_13, 3, x_4); +lean_closure_set(x_13, 4, x_5); +x_14 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_13); +return x_14; +} +} +} +lean_object* l_Lean_Elab_checkIfShadowingStructureField___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_4) == 1) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +lean_dec(x_2); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_checkIfShadowingStructureField___rarg___lambda__3), 7, 6); +lean_closure_set(x_8, 0, x_5); +lean_closure_set(x_8, 1, x_1); +lean_closure_set(x_8, 2, x_3); +lean_closure_set(x_8, 3, x_4); +lean_closure_set(x_8, 4, x_6); +lean_closure_set(x_8, 5, x_7); +x_9 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_7, x_8); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_box(0); +x_13 = lean_apply_2(x_11, lean_box(0), x_12); +return x_13; +} +} +} +lean_object* l_Lean_Elab_checkIfShadowingStructureField(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_checkIfShadowingStructureField___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__1(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_11, x_9); +return x_12; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__2(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__3(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_11 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_10, x_11, x_9); +return x_12; +} +} +lean_object* l_Lean_Elab_checkIfShadowingStructureField___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_checkIfShadowingStructureField___rarg___lambda__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_mkDeclName_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -3427,21 +3873,21 @@ return x_8; } } } -lean_object* l_Lean_Elab_mkDeclName_match__2(lean_object* x_1) { +lean_object* l_Lean_Elab_mkDeclName_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName_match__2___rarg___boxed), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName_match__1___rarg___boxed), 3, 0); return x_2; } } -lean_object* l_Lean_Elab_mkDeclName_match__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_mkDeclName_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_object* x_5; x_4 = lean_unbox(x_1); lean_dec(x_1); -x_5 = l_Lean_Elab_mkDeclName_match__2___rarg(x_4, x_2, x_3); +x_5 = l_Lean_Elab_mkDeclName_match__1___rarg(x_4, x_2, x_3); return x_5; } } @@ -3523,27 +3969,50 @@ return x_21; } } } -lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); +lean_inc(x_4); +lean_inc(x_2); +x_11 = l_Lean_Elab_applyVisibility___rarg(x_2, x_3, x_4, x_10, x_5); +x_12 = lean_box(x_10); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___rarg___lambda__1___boxed), 6, 5); +lean_closure_set(x_13, 0, x_12); +lean_closure_set(x_13, 1, x_2); +lean_closure_set(x_13, 2, x_6); +lean_closure_set(x_13, 3, x_7); +lean_closure_set(x_13, 4, x_4); +x_14 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_11, x_13); +return x_14; +} +} +lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_inc(x_2); x_8 = l_Lean_Name_append(x_1, x_2); x_9 = lean_ctor_get(x_3, 1); lean_inc(x_9); -x_10 = lean_ctor_get_uint8(x_4, sizeof(void*)*2); -lean_inc(x_6); +lean_inc(x_8); +lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); -x_11 = l_Lean_Elab_applyVisibility___rarg(x_3, x_5, x_6, x_10, x_8); -x_12 = lean_box(x_10); -x_13 = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___rarg___lambda__1___boxed), 6, 5); -lean_closure_set(x_13, 0, x_12); -lean_closure_set(x_13, 1, x_3); -lean_closure_set(x_13, 2, x_2); -lean_closure_set(x_13, 3, x_1); -lean_closure_set(x_13, 4, x_6); -x_14 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_11, x_13); -return x_14; +x_10 = l_Lean_Elab_checkIfShadowingStructureField___rarg(x_3, x_4, x_5, x_8); +lean_inc(x_9); +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___rarg___lambda__2___boxed), 9, 8); +lean_closure_set(x_11, 0, x_6); +lean_closure_set(x_11, 1, x_3); +lean_closure_set(x_11, 2, x_4); +lean_closure_set(x_11, 3, x_5); +lean_closure_set(x_11, 4, x_8); +lean_closure_set(x_11, 5, x_2); +lean_closure_set(x_11, 6, x_1); +lean_closure_set(x_11, 7, x_9); +x_12 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_10, x_11); +return x_12; } } static lean_object* _init_l_Lean_Elab_mkDeclName___rarg___closed__1() { @@ -3575,13 +4044,13 @@ lean_dec(x_7); lean_inc(x_3); lean_inc(x_1); lean_inc(x_6); -x_9 = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___rarg___lambda__2___boxed), 7, 6); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___rarg___lambda__3___boxed), 7, 6); lean_closure_set(x_9, 0, x_4); lean_closure_set(x_9, 1, x_6); lean_closure_set(x_9, 2, x_1); -lean_closure_set(x_9, 3, x_5); -lean_closure_set(x_9, 4, x_2); -lean_closure_set(x_9, 5, x_3); +lean_closure_set(x_9, 3, x_2); +lean_closure_set(x_9, 4, x_3); +lean_closure_set(x_9, 5, x_5); x_10 = l_Lean_Name_isAtomic(x_8); if (x_10 == 0) { @@ -3665,13 +4134,22 @@ x_8 = l_Lean_Elab_mkDeclName___rarg___lambda__1(x_7, x_2, x_3, x_4, x_5, x_6); return x_8; } } -lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_mkDeclName___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_Elab_mkDeclName___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Elab_mkDeclName___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); -lean_dec(x_4); return x_8; } } @@ -4348,6 +4826,20 @@ l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__10 = _init_l_Lean_Elab_el lean_mark_persistent(l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__10); l_Lean_Elab_elabModifiers___rarg___closed__1 = _init_l_Lean_Elab_elabModifiers___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_elabModifiers___rarg___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__2___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__2___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___lambda__2___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__2); +l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__3 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__3); +l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__4 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__4); +l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__5 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__5(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__5); +l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__6 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__6(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowingStructureField___spec__1___rarg___closed__6); l_Lean_Elab_mkDeclName___rarg___lambda__1___closed__1 = _init_l_Lean_Elab_mkDeclName___rarg___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_mkDeclName___rarg___lambda__1___closed__1); l_Lean_Elab_mkDeclName___rarg___lambda__1___closed__2 = _init_l_Lean_Elab_mkDeclName___rarg___lambda__1___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index c717634136..11260b0cff 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -25,6 +25,7 @@ static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__32; static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration___closed__4; static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__20; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_compileDecl___at_Lean_Elab_Term_evalExpr___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__9; @@ -149,7 +150,6 @@ static lean_object* l_Lean_Elab_Command_expandInitCmd___closed__19; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespace___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); -lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandDeclIdNamespace_x3f_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Command_elabAxiom___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -383,7 +383,6 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__52; static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace___closed__4; -lean_object* l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__3; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___closed__2; @@ -427,6 +426,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabMutual___closed__1; static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__42; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabAxiom_match__1(lean_object*); +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_expandInitCmd___closed__1; lean_object* l_Lean_Elab_Command_expandInitCmd___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInitCmd___lambda__1___closed__37; @@ -3554,7 +3554,7 @@ lean_ctor_set(x_25, 4, x_23); lean_ctor_set(x_25, 5, x_24); lean_ctor_set(x_25, 6, x_18); lean_inc(x_6); -x_26 = l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__3(x_14, x_12, x_25, x_6, x_17); +x_26 = l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__5(x_14, x_12, x_25, x_6, x_17); if (lean_obj_tag(x_26) == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; @@ -3582,7 +3582,7 @@ lean_dec(x_34); x_37 = lean_ctor_get(x_1, 0); lean_inc(x_37); lean_inc(x_27); -x_38 = l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__7(x_27, x_37, x_5, x_6, x_28); +x_38 = l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__9(x_27, x_37, x_5, x_6, x_28); x_39 = lean_ctor_get(x_38, 1); lean_inc(x_39); lean_dec(x_38); @@ -3639,7 +3639,7 @@ lean_dec(x_34); x_51 = lean_ctor_get(x_1, 0); lean_inc(x_51); lean_inc(x_27); -x_52 = l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__7(x_27, x_51, x_5, x_6, x_28); +x_52 = l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__9(x_27, x_51, x_5, x_6, x_28); x_53 = lean_ctor_get(x_52, 1); lean_inc(x_53); lean_dec(x_52); diff --git a/stage0/stdlib/Lean/Elab/Deriving/Basic.c b/stage0/stdlib/Lean/Elab/Deriving/Basic.c index 3a7e337a42..9c7b96e1fb 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Basic.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Basic.c @@ -90,6 +90,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getOptDerivingClasses___spe lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_elabDeriving___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabDeriving___closed__2; +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__12(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_elabDeriving___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_1299_(lean_object*); @@ -121,7 +122,6 @@ lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessa lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabDeriving___closed__9; lean_object* l_Std_RBNode_find___at_Lean_Elab_applyDerivingHandlers___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_elabDeriving___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_registerBuiltinDerivingHandlerWithArgs___lambda__2___closed__2; static lean_object* l_Lean_Elab_elabDeriving___closed__6; @@ -1112,7 +1112,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_expandDeclId___spec__10(x_2, x_3, x_4, x_8); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__12(x_2, x_3, x_4, x_8); return x_12; } else @@ -1139,7 +1139,7 @@ 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_expandDeclId___spec__10(x_2, x_19, x_4, x_8); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__12(x_2, x_19, x_4, x_8); return x_20; } } diff --git a/stage0/stdlib/Lean/Elab/Extra.c b/stage0/stdlib/Lean/Elab/Extra.c index 3ae328b5df..91cb900f05 100644 --- a/stage0/stdlib/Lean/Elab/Extra.c +++ b/stage0/stdlib/Lean/Elab/Extra.c @@ -13,9 +13,9 @@ #ifdef __cplusplus extern "C" { #endif +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__13; lean_object* l_Lean_Elab_Term_elabForIn_getMonad_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_toTree_go___closed__2; -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__8; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinRel___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__1___closed__1; @@ -30,18 +30,15 @@ static lean_object* l_Lean_Elab_Term_elabForIn___lambda__1___closed__1; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabForIn(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_elabForIn_getMonad___closed__4; -static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__5; lean_object* l_Lean_stringToMessageData(lean_object*); -lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___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_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__2___closed__7; lean_object* l_Lean_mkSort(lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn___closed__10; -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__17; static lean_object* l_Lean_Elab_Term_elabForIn___lambda__1___closed__4; lean_object* l_Lean_Elab_Term_BinOp_elabBinCalc_match__6___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__21; +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__12; lean_object* lean_name_mk_string(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__2___closed__3; lean_object* lean_array_uget(lean_object*, size_t); @@ -52,36 +49,36 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__8; -static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__3; static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go___closed__2; lean_object* l_Lean_Elab_Term_elabBinRel_match__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__14; static lean_object* l_Lean_Elab_Term_elabForIn___closed__16; static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_applyCoe_go___closed__2; -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__2; static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_toTree_go___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__1___closed__9; static lean_object* l_Lean_Elab_Term_elabForIn___lambda__1___closed__3; lean_object* l_Lean_addTrace_addTraceOptions(lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__21; lean_object* l_Lean_throwError___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_toTree_go___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__8; +lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___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_Lean_Elab_Term_elabForIn___lambda__1___closed__5; lean_object* l_Lean_Expr_appFn_x21(lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn_getMonad___closed__5; -lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_BinOp_elabBinCalc_match__2___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__13; 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; -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__12; static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___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*); static lean_object* l_Lean_Elab_Term_elabForIn_getMonad___closed__3; static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go___closed__1; +lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp(lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__2___closed__10; +static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__1; lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_isUnknow___boxed(lean_object*); lean_object* l_Lean_Expr_appArg_x21(lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn_throwFailure___closed__2; @@ -90,12 +87,15 @@ lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__17; lean_object* l_Lean_Elab_Term_BinOp_elabBinCalc_match__6(lean_object*); lean_object* l_Lean_Elab_Term_BinOp_elabBinCalc_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_applyCoe_go___lambda__2___closed__5; +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__1___closed__11; extern lean_object* l_Lean_levelZero; lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn___closed__19; lean_object* l_Lean_Elab_Term_elabBinRel___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_toTree_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -113,11 +113,11 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabForIn_getMonad(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go___spec__2___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_BinOp_elabBinOp_x27___closed__18; -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__15; +lean_object* l_Lean_Elab_Term_BinOp_elabBinOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go___spec__2___closed__2; lean_object* l_Lean_Elab_Term_elabForIn_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___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_Array_forInUnsafe_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go___spec__2___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinCalc___closed__4; @@ -125,18 +125,17 @@ lean_object* l_Lean_Elab_Term_elabForIn_getMonad_match__2___rarg(lean_object*, l lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(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_elabBinCalc___closed__1; static lean_object* l_Lean_Elab_Term_elabForIn___lambda__1___closed__2; -lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27(lean_object*); +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__10; static lean_object* l_Lean_Elab_Term_elabForIn___closed__11; lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_218____spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__14; -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__5; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_toTree(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabForIn_match__1(lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn___closed__12; lean_object* l_Lean_Elab_Term_BinOp_elabBinCalc___boxed(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_Extra_0__Lean_Elab_Term_BinOp_applyCoe_go___closed__1; +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__11; lean_object* l_Lean_Elab_Term_BinOp_elabBinCalc_match__4___rarg(lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__1___closed__6; @@ -145,6 +144,7 @@ static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Extra_0__Lean_Elab_ lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_toExpr_match__1(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__2___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_Lean_Elab_Term_BinOp_elabBinOp___closed__19; lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_toTree_go___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_BinOp_elabBinCalc___closed__1; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__2___closed__8; @@ -154,7 +154,6 @@ static lean_object* l_Lean_Elab_Term_elabForIn___closed__17; lean_object* l_Lean_Expr_headBeta(lean_object*); static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_applyCoe_go___lambda__2___closed__4; lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__3; lean_object* l_Lean_addTrace___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -169,12 +168,13 @@ lean_object* l_Lean_Elab_Term_BinOp_elabBinCalc_match__3(lean_object*); lean_object* l_Lean_Elab_Term_elabAppArgs(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_relation_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__2___closed__11; +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__20; lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabBinRel___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_elabBinRel___closed__1; lean_object* l_Lean_Elab_Term_elabBinRel___lambda__2___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_Extra_0__Lean_Elab_Term_BinOp_applyCoe_go___closed__4; -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__7; +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2___closed__1; lean_object* l_Array_back___at_Lean_Meta_DiscrTree_mkPathAux___spec__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinCalc___closed__2; @@ -183,19 +183,17 @@ static lean_object* l_Lean_Elab_Term_elabBinRel___lambda__2___closed__1; lean_object* l_Lean_Elab_Term_BinOp_elabBinCalc_match__4(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___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_object* l_Lean_Meta_isExprDefEqGuarded(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(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_Term_BinOp_elabBinCalc___spec__2___closed__13; -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2___closed__2; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabBinRel___lambda__2___closed__4; static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go___closed__6; lean_object* l_Lean_Elab_Term_BinOp_elabBinCalc_match__5___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2___closed__1; lean_object* l_Lean_Elab_Term_BinOp_elabBinCalc_match__5(lean_object*); +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2___closed__2; static lean_object* l_Lean_Elab_Term_elabForIn___closed__23; uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveId_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -211,7 +209,6 @@ lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_toExpr(lean_obj lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_isUnknow_match__1(lean_object*); lean_object* l_Lean_Elab_Term_BinOp_initFn____x40_Lean_Elab_Extra___hyg_3845_(lean_object*); lean_object* l_Lean_Elab_Term_elabBinRel(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_BinOp_elabBinOp_x27___closed__16; uint8_t l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_isUnknow(lean_object*); lean_object* l_Lean_Elab_Term_elabBinRel_match__2(lean_object*); lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_applyCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -219,11 +216,11 @@ lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze(lean_ob static lean_object* l_Lean_Elab_Term_elabForIn___closed__2; size_t lean_usize_of_nat(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinCalc(lean_object*); -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__10; lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn___closed__9; 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_Elab_Term_BinOp_elabBinCalc_match__3___rarg(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__1___closed__7; @@ -234,7 +231,6 @@ lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec lean_object* l_Lean_Elab_Term_elabForIn_throwFailure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabForIn___closed__4; -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__20; static lean_object* l_Lean_Elab_Term_elabForIn_throwFailure___closed__1; static lean_object* l_Lean_Elab_Term_elabForIn___closed__8; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabBinRel___spec__1___closed__3; @@ -245,6 +241,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn___closed__3; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__2___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__4; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__16; static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinCalc___closed__3; lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); @@ -259,12 +256,12 @@ lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_relation_x3f(le lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_toTree_go_match__1(lean_object*); lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__12; lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn(lean_object*); lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_hasCoe_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__7; lean_object* l_Lean_Elab_Term_elabBinRel_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -293,17 +290,18 @@ lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go_match__1(lean_object*); lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_isUnknow_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__9; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabBinRel___spec__1___closed__4; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel(lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__4; lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__1___closed__8; static lean_object* l_Lean_Elab_Term_elabForIn___closed__22; static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_applyCoe_go___lambda__2___closed__6; -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__11; lean_object* l_Lean_Elab_Term_BinOp_elabBinCalc_match__1(lean_object*); static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabBinRel___spec__1___closed__2; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -324,29 +322,33 @@ lean_object* l_Lean_Meta_mkFreshLevelMVar___rarg(lean_object*, lean_object*, lea lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabBinRel___lambda__2___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__2; lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_analyze_go___lambda__1___boxed(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_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_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*); -lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__2___closed__12; -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__4; +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__3; +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__15; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__2___closed__14; +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__14; lean_object* l_Lean_Elab_Term_elabForIn_getMonad_match__2(lean_object*); lean_object* l_Lean_Elab_Term_BinOp_elabBinCalc_match__2(lean_object*); lean_object* l_Lean_indentExpr(lean_object*); +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__2; static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_toTree_go___closed__4; -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__19; lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_toTree_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLocalIdent_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___closed__6; static lean_object* l_Lean_Elab_Term_elabForIn___closed__7; lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__4; static lean_object* l_Lean_Elab_Term_elabForIn___closed__24; +static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__3; static lean_object* l_Lean_Elab_Term_elabForIn_getMonad___closed__1; -static lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__9; lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_toTree_go_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_hasCoe___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__1; @@ -354,16 +356,14 @@ lean_object* l_Lean_Elab_Term_elabForIn_throwFailure(lean_object*, lean_object*, lean_object* l_Lean_Elab_Term_elabForIn_getMonad___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___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_elabForIn___closed__5; -lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_hasCoe___boxed(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__5; static lean_object* l_Lean_Elab_Term_elabForIn___closed__15; static lean_object* l_Lean_Elab_Term_elabForIn___closed__18; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__7; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__1; static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_hasCoe___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__2; lean_object* l_Lean_Elab_Term_elabBinRel_match__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -9386,7 +9386,7 @@ x_10 = l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_applyCoe_go(x_2, x_1, return x_10; } } -lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; @@ -9395,7 +9395,7 @@ x_12 = l_Lean_Elab_Term_ensureHasType(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x return x_12; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -9403,16 +9403,16 @@ x_1 = lean_mk_string("result: "); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2___closed__1; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -9558,7 +9558,7 @@ if (x_31 == 0) lean_object* x_33; lean_object* x_34; lean_dec(x_4); x_33 = lean_box(0); -x_34 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__1(x_3, x_29, x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_32); +x_34 = l_Lean_Elab_Term_BinOp_elabBinOp___lambda__1(x_3, x_29, x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_32); return x_34; } else @@ -9567,7 +9567,7 @@ lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean lean_inc(x_29); x_35 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_35, 0, x_29); -x_36 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2___closed__2; +x_36 = l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2___closed__2; x_37 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); @@ -9581,7 +9581,7 @@ lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec(x_40); -x_43 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__1(x_3, x_29, x_41, x_6, x_7, x_8, x_9, x_10, x_11, x_42); +x_43 = l_Lean_Elab_Term_BinOp_elabBinOp___lambda__1(x_3, x_29, x_41, x_6, x_7, x_8, x_9, x_10, x_11, x_42); lean_dec(x_41); return x_43; } @@ -9706,7 +9706,7 @@ return x_72; } } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__1() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__1() { _start: { lean_object* x_1; @@ -9714,16 +9714,16 @@ x_1 = lean_mk_string("hasUncomparable: "); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__2() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__1; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__3() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__3() { _start: { lean_object* x_1; @@ -9731,16 +9731,16 @@ x_1 = lean_mk_string(", maxType: "); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__4() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__3; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__5() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__5() { _start: { lean_object* x_1; @@ -9748,51 +9748,51 @@ x_1 = lean_mk_string("false"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__6() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__5; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__5; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__7() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__6; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__6; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__8() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__2; -x_2 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__7; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__2; +x_2 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__7; x_3 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__9() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__8; -x_2 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__4; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__8; +x_2 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__4; x_3 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__10() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__10() { _start: { lean_object* x_1; @@ -9800,43 +9800,43 @@ x_1 = lean_mk_string(""); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__11() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__10; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__10; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__12() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__11; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__11; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__13() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__9; -x_2 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__12; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__9; +x_2 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__12; x_3 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__14() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__13; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__13; x_2 = l_Lean_Elab_Term_elabForIn_getMonad___closed__6; x_3 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9844,7 +9844,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__15() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__15() { _start: { lean_object* x_1; @@ -9852,67 +9852,67 @@ x_1 = lean_mk_string("true"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__16() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__15; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__15; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__17() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__17() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__16; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__16; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__18() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__2; -x_2 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__17; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__2; +x_2 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__17; x_3 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__19() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__18; -x_2 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__4; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__18; +x_2 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__4; x_3 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__20() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__19; -x_2 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__12; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__19; +x_2 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__12; x_3 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__21() { +static lean_object* _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__20; +x_1 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__20; x_2 = l_Lean_Elab_Term_elabForIn_getMonad___closed__6; x_3 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9920,7 +9920,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_BinOp_elabBinOp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; @@ -10000,7 +10000,7 @@ if (x_17 == 0) { lean_object* x_19; lean_object* x_20; x_19 = lean_box(0); -x_20 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2(x_14, x_11, x_2, x_16, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_18); +x_20 = l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2(x_14, x_11, x_2, x_16, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_18); return x_20; } else @@ -10015,14 +10015,14 @@ lean_inc(x_22); if (lean_obj_tag(x_22) == 0) { lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__14; +x_23 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__14; x_24 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_16, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_18); x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); -x_27 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2(x_14, x_11, x_2, x_16, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_26); +x_27 = l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2(x_14, x_11, x_2, x_16, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_26); return x_27; } else @@ -10033,7 +10033,7 @@ lean_inc(x_28); lean_dec(x_22); x_29 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_29, 0, x_28); -x_30 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__9; +x_30 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__9; x_31 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); @@ -10047,7 +10047,7 @@ lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); lean_dec(x_34); -x_37 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2(x_14, x_11, x_2, x_16, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_36); +x_37 = l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2(x_14, x_11, x_2, x_16, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_36); return x_37; } } @@ -10059,14 +10059,14 @@ lean_inc(x_38); if (lean_obj_tag(x_38) == 0) { lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_39 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__21; +x_39 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__21; x_40 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_16, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_18); x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec(x_40); -x_43 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2(x_14, x_11, x_2, x_16, x_41, x_3, x_4, x_5, x_6, x_7, x_8, x_42); +x_43 = l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2(x_14, x_11, x_2, x_16, x_41, x_3, x_4, x_5, x_6, x_7, x_8, x_42); return x_43; } else @@ -10077,7 +10077,7 @@ lean_inc(x_44); lean_dec(x_38); x_45 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_45, 0, x_44); -x_46 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__19; +x_46 = l_Lean_Elab_Term_BinOp_elabBinOp___closed__19; x_47 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_45); @@ -10091,7 +10091,7 @@ lean_inc(x_51); x_52 = lean_ctor_get(x_50, 1); lean_inc(x_52); lean_dec(x_50); -x_53 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2(x_14, x_11, x_2, x_16, x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_52); +x_53 = l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2(x_14, x_11, x_2, x_16, x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_52); return x_53; } } @@ -10160,16 +10160,16 @@ return x_73; } } } -lean_object* l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Term_BinOp_elabBinOp___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_Term_BinOp_elabBinOp___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_3); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__1() { _start: { lean_object* x_1; @@ -10177,50 +10177,50 @@ x_1 = lean_mk_string("BinOp"); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Elab_Term_elabBinRel___closed__11; -x_2 = l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__1; +x_2 = l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string("elabBinOp'"); +x_1 = lean_mk_string("elabBinOp"); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__2; -x_2 = l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__3; +x_1 = l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__2; +x_2 = l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__5() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_BinOp_elabBinOp_x27), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_BinOp_elabBinOp), 9, 0); return x_1; } } -lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27(lean_object* x_1) { +lean_object* l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Term_termElabAttribute; x_3 = l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_toTree_go___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__5; +x_4 = l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__5; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } @@ -14523,7 +14523,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinCalc___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__2; +x_1 = l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__2; x_2 = l___regBuiltin_Lean_Elab_Term_BinOp_elabBinCalc___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -14772,63 +14772,63 @@ l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_applyCoe_go___closed__3 = _i lean_mark_persistent(l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_applyCoe_go___closed__3); l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_applyCoe_go___closed__4 = _init_l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_applyCoe_go___closed__4(); lean_mark_persistent(l___private_Lean_Elab_Extra_0__Lean_Elab_Term_BinOp_applyCoe_go___closed__4); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2___closed__1 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2___closed__1); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2___closed__2 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___lambda__2___closed__2); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__1 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__1); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__2 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__2); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__3 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__3); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__4 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__4); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__5 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__5); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__6 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__6); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__7 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__7); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__8 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__8); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__9 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__9); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__10 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__10); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__11 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__11); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__12 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__12); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__13 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__13); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__14 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__14(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__14); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__15 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__15(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__15); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__16 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__16(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__16); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__17 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__17(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__17); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__18 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__18(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__18); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__19 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__19(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__19); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__20 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__20(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__20); -l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__21 = _init_l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__21(); -lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__21); -l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__1); -l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__2); -l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__3); -l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__4); -l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27___closed__5); -res = l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp_x27(lean_io_mk_world()); +l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2___closed__1 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2___closed__1); +l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2___closed__2 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___lambda__2___closed__2); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__1 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__1); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__2 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__2); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__3 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__3); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__4 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__4); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__5 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__5); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__6 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__6); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__7 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__7); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__8 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__8); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__9 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__9); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__10 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__10); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__11 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__11); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__12 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__12); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__13 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__13); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__14 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__14); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__15 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__15(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__15); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__16 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__16(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__16); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__17 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__17(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__17); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__18 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__18(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__18); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__19 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__19(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__19); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__20 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__20(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__20); +l_Lean_Elab_Term_BinOp_elabBinOp___closed__21 = _init_l_Lean_Elab_Term_BinOp_elabBinOp___closed__21(); +lean_mark_persistent(l_Lean_Elab_Term_BinOp_elabBinOp___closed__21); +l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__1); +l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__2); +l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__3); +l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__4); +l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__5 = _init_l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp___closed__5); +res = l___regBuiltin_Lean_Elab_Term_BinOp_elabBinOp(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Array_forInUnsafe_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_BinOp_elabBinCalc___spec__1___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/GenInjective.c b/stage0/stdlib/Lean/Elab/GenInjective.c index 1e9e54a45e..96ebf99dfe 100644 --- a/stage0/stdlib/Lean/Elab/GenInjective.c +++ b/stage0/stdlib/Lean/Elab/GenInjective.c @@ -42,6 +42,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabGenInjectiveTheorems___ static lean_object* l___regBuiltin_Lean_Elab_Command_elabGenInjectiveTheorems___closed__4; lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Command_elabGenInjectiveTheorems___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__12(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabGenInjectiveTheorems___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabGenInjectiveTheorems___spec__2___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabGenInjectiveTheorems___closed__9; @@ -53,7 +54,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabGenInjectiveTheorems___ lean_object* lean_format_pretty(lean_object*, lean_object*); lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabGenInjectiveTheorems___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Command_elabGenInjectiveTheorems___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabGenInjectiveTheorems___closed__14; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); @@ -103,7 +103,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_expandDeclId___spec__10(x_2, x_3, x_4, x_8); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__12(x_2, x_3, x_4, x_8); return x_12; } else @@ -130,7 +130,7 @@ 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_expandDeclId___spec__10(x_2, x_19, x_4, x_8); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__12(x_2, x_19, x_4, x_8); return x_20; } } diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index d70cbaf9ab..41afd10b6a 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -13,14 +13,15 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__3; lean_object* l_Lean_Elab_Term_elabMutualDef_go___lambda__2___boxed__const__1; lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__3; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__9; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_processDefDeriving___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___closed__2; lean_object* l_Array_indexOfAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__5___closed__6; @@ -28,7 +29,6 @@ static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualD lean_object* l_Lean_Elab_Term_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes(lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -36,11 +36,13 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getAllUserLevelNa uint8_t lean_is_out_param(lean_object*); lean_object* l_Lean_Elab_Term_MutualClosure_FixPoint_run_match__1(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___boxed(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__5; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___closed__1; static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__4; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); @@ -56,6 +58,7 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls extern lean_object* l_Lean_NameSet_instInhabitedNameSet; lean_object* l_Lean_Elab_Command_elabMutualDef(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Modifiers_isPartial(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -78,8 +81,8 @@ lean_object* lean_expr_update_mdata(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMutualDef_processDeriving_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstCore___spec__2(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -91,7 +94,6 @@ lean_object* l_Lean_Meta_mkConstWithFreshMVarLevels(lean_object*, lean_object*, extern lean_object* l___private_Lean_DocString_0__Lean_docStringExt; static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__4; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__1; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__9; static lean_object* l_Lean_addTrace___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__5___closed__2; lean_object* l_List_foldl___at_Lean_Elab_Term_MutualClosure_pushLetRecs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -106,7 +108,6 @@ lean_object* l_Std_RBNode_find___at___private_Lean_Meta_Match_MatchEqs_0__Lean_M lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_Elab_Term_MutualClosure_Replacement_apply___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2(lean_object*, size_t, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_markModified___rarg(lean_object*); -lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_CollectFVars_main(lean_object*, lean_object*); lean_object* l_List_filterMap___at_Lean_resolveGlobalConst___spec__1(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -120,8 +121,8 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_E lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_merge(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushLocalDecl___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_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__4___closed__6; -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun_match__2(lean_object*); +lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -140,7 +141,6 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName_match_ lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__4; -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__4; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___closed__3; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_LocalContext_get_x21(lean_object*, lean_object*); @@ -155,7 +155,6 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_processDefDe lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_declRangeExt; lean_object* l_List_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__4(lean_object*, lean_object*, size_t, lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2(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_MutualDef_0__Lean_Elab_Term_check___closed__2; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_appFn_x21(lean_object*); @@ -177,17 +176,16 @@ static lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabMutualDef_ 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_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*); lean_object* l_Lean_MessageData_ofList(lean_object*); -lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___boxed(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_MutualDef_0__Lean_Elab_Term_check___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__11___closed__2; 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*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__4; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds___lambda__1(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MutualClosure_ClosureState_newLocalDecls___default; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__2; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_resetModified___rarg(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___spec__3___boxed(lean_object*, lean_object*, lean_object*); @@ -212,6 +210,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(si lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__4(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__1(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__8; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__7___closed__1; uint8_t l_Lean_LocalContext_contains(lean_object*, lean_object*); uint8_t l_Lean_Elab_DefKind_isExample(uint8_t); @@ -240,6 +239,7 @@ lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4 lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isTheorem___boxed(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_getUsedFVarsMap___rarg(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__4___closed__3; +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___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_expandWhereDeclsAsStructInst___spec__2___closed__4; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls(lean_object*); @@ -252,6 +252,7 @@ lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_processDefDeriving___spe lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__1; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__2___closed__5; lean_object* l_Lean_Elab_expandDeclId___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -267,17 +268,20 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___la lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed(lean_object*); lean_object* l_Lean_Elab_Term_elabMutualDef_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___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_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MutualClosure_insertReplacementForMainFns(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__1; lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__4___closed__3; lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___lambda__1___closed__1; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__7; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsAtHeader(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__10; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -294,7 +298,9 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_Fix lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__6___closed__4; +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2___closed__2; lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__3; lean_object* lean_st_ref_take(lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___spec__3(lean_object*, size_t, size_t); lean_object* l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -309,7 +315,6 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___closed__1; lean_object* l_List_mapTRAux___at_Lean_Elab_Term_MutualClosure_main___spec__8(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__1; -lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__12; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getKindForLetRecs___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -322,28 +327,31 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_E lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__3___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_processDefDeriving___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes___spec__1___closed__2; -static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___closed__1; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__2___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___lambda__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getStructureFieldsFlattened(lean_object*, lean_object*, uint8_t); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at_Lean_Elab_Term_MutualClosure_main___spec__5___boxed(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_Term_processDefDeriving___spec__3___rarg(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst_match__2(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___closed__1; -lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MutualClosure_pushLetRecs___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__3; lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___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*); static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__1___closed__1; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMutualDef_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_collectMVars(lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm___closed__4; +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2___closed__1; lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -360,6 +368,7 @@ lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_MutualDef_0__L static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__6___closed__1; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__2___boxed(lean_object**); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclAux___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsAtHeader___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -368,7 +377,6 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__1(lean lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_merge___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MutualClosure_insertReplacementForLetRecs(lean_object*, lean_object*); @@ -386,6 +394,7 @@ lean_object* l_Std_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_T lean_object* l_Std_RBNode_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__3; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm___closed__1; +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11(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_List_findSome_x3f___rarg(lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MutualClosure_Replacement_apply___boxed(lean_object*, lean_object*); @@ -404,6 +413,7 @@ lean_object* l_List_foldl___at_Lean_Elab_Term_MutualClosure_pushLetRecs___spec__ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__2___closed__6; static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___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_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_foldAux___at_Lean_Elab_Term_MutualClosure_insertReplacementForMainFns___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint64_t l_Lean_Elab_instInhabitedDefViewElabHeader___closed__3; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process___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*); @@ -418,11 +428,11 @@ lean_object* l_Std_RBNode_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_T lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_preprocess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__5___closed__4; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_processDefDeriving___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushLocalDecl(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* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__5___closed__2; +lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -435,7 +445,6 @@ lean_object* l_Lean_Macro_throwErrorAt___rarg(lean_object*, lean_object*, lean_o uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); extern lean_object* l_Lean_protectedExt; static lean_object* l_List_mapTRAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___spec__1___closed__1; -static lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2; lean_object* l_Lean_Elab_Term_elabMutualDef_processDeriving_match__2(lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -443,20 +452,15 @@ lean_object* l_Lean_setEnv___at_Lean_Elab_Term_evalExpr___spec__1(lean_object*, lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___lambda__2(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_fixpoint_match__1(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__2___boxed(lean_object**); -static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___closed__2; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check_match__1(lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___spec__2(lean_object*, size_t, size_t); extern lean_object* l_Lean_instInhabitedExpr; lean_object* l_Lean_Elab_Term_processDefDeriving_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__3___closed__2; -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2___closed__1; static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__2; lean_object* l_Array_indexOfAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__2(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_instInhabitedDefView; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2___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_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__2; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__11___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -476,17 +480,16 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkC static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__3; lean_object* l_Std_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf___spec__1(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__1; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__1; lean_object* l_Lean_Meta_resetZetaFVarIds___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_collectUsedFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isForall(lean_object*); lean_object* l_Lean_Elab_Term_MutualClosure_FixPoint_State_usedFVarsMap___default; +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___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_resolveGlobalConst___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12(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_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__3; lean_object* l_Lean_mkFVar(lean_object*); lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -515,7 +518,10 @@ lean_object* l_Lean_Elab_Term_MutualClosure_Replacement_apply_match__1___rarg(le lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__6___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__4; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__1(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___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_expr_update_proj(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__1; lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); @@ -525,7 +531,6 @@ lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4 lean_object* l_Array_feraseIdx___rarg(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__3___closed__1; static lean_object* l_Lean_addTrace___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__5___closed__5; -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__2; static lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__4; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addAndCompile___at_Lean_Elab_Term_evalExpr___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -567,18 +572,20 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed_match__1 lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_MkInstanceName_main___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___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_name_append_after(lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_index(lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isAttribute(lean_object*, lean_object*); +lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___closed__3; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__3; +lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pickMaxFVar_x3f___boxed(lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__4___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -592,9 +599,9 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLif lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addDocString___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_foldM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___spec__2___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__3; uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__2; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__7; @@ -606,10 +613,10 @@ lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__2___closed__7; static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___spec__3___closed__5; lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_toArray___rarg(lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2___closed__2; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1___closed__5; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun(lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__4___closed__4; @@ -626,7 +633,6 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_processDefDeriving___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_6598____spec__1(lean_object*, lean_object*); lean_object* l_List_mapTRAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___spec__2(lean_object*, lean_object*); -lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders___boxed__const__1; lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -636,11 +642,11 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_mkForall(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__11(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_isModified___boxed(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___closed__1; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf_match__1(lean_object*); lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___spec__3___closed__3; lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__6___closed__2; @@ -652,7 +658,6 @@ lean_object* l_Lean_Elab_Term_processDefDeriving(lean_object*, lean_object*, lea static lean_object* l_List_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__4___closed__2; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_processDefDeriving___spec__3___rarg___closed__1; lean_object* l_Lean_Elab_Term_MutualClosure_pushMain(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__6___closed__1; uint8_t l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(lean_object*, lean_object*); @@ -662,7 +667,6 @@ lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationI lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldr___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_processDefDeriving___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__3; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Nat_foldM_loop___at_Lean_Elab_Term_MutualClosure_pushMain___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*); @@ -673,26 +677,26 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToI lean_object* l_Lean_Elab_Term_MutualClosure_ClosureState_newLetDecls___default; lean_object* l_Lean_Elab_Term_processDefDeriving_match__1(lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___boxed(lean_object*); static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___spec__3___closed__8; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___closed__1; -lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___spec__3___closed__2; lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__1; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_isModified___rarg(lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Modifiers_isNonrec(lean_object*); lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__1; lean_object* l_Lean_Elab_Term_elabMutualDef_processDeriving(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_erase___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*); @@ -702,6 +706,7 @@ lean_object* l_Std_RBNode_foldM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_ static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___spec__3___closed__1; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Nat_foldM_loop___at_Lean_Elab_Term_MutualClosure_pushMain___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkIfShadowingStructureField___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_foldAux___at_Lean_Elab_Term_MutualClosure_insertReplacementForMainFns___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__11; @@ -709,6 +714,7 @@ uint8_t l_Array_contains___at_Lean_Meta_getElimInfo___spec__4(lean_object*, lean lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__6(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_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__10; lean_object* l_Std_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkIfShadowingStructureField___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_modifyUsedFVars___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__6(lean_object*, size_t, size_t, lean_object*); @@ -720,17 +726,17 @@ lean_object* l_Lean_Elab_elabDeclAttrs___at_Lean_Elab_Command_elabMutualDef___sp lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_mkInst_x3f_go_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_fixpoint___boxed(lean_object*); +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__3___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_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__8; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__5___closed__2; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_fixpoint___rarg(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_modifyUsedFVars(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsAtLetRecToLift(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); @@ -738,7 +744,6 @@ extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; lean_object* l_Lean_Elab_instantiateMVarsAtPreDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_match__1(lean_object*); lean_object* l_Lean_Elab_toAttributeKind___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_Term_MutualClosure_main___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars(lean_object*, lean_object*); lean_object* l_Lean_Expr_FindImpl_findM_x3f_visit(lean_object*, size_t, lean_object*, lean_object*); @@ -760,6 +765,7 @@ static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabMutualDe uint8_t l_List_foldr___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun___spec__1(lean_object*, uint8_t, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureFor_match__1___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__3___closed__2; +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_Elab_Term_MutualClosure_Replacement_apply___spec__1(lean_object*, size_t, lean_object*, lean_object*); @@ -779,16 +785,16 @@ lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Term_elabMutualDef_pro lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_processDefDeriving___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_processDefDeriving___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__1; lean_object* l_List_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_mkInst_x3f_go_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__1___boxed(lean_object**); lean_object* l_unsafeCast(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_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_object* l_Lean_addDocString___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___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_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_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*); lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); @@ -796,26 +802,31 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds uint8_t l_Lean_Elab_isFreshInstanceName(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars_match__1(lean_object*); lean_object* l_Lean_Elab_fixLevelParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__1___boxed(lean_object**); lean_object* l_List_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverloadCore___spec__2(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1___closed__2; +lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___boxed__const__1; +static lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__2; uint8_t l_List_beq___at_Lean_OpenDecl_instToStringOpenDecl___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_addDocString___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__1(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__6; lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getDeclarationSelectionRef(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers(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_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__6; lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1___closed__1; +lean_object* l_Lean_addDocString___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds___lambda__1___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___closed__1; @@ -824,7 +835,7 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0_ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage_match__1(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__4; +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__4; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__5; lean_object* l_Lean_Elab_Term_MutualClosure_getKindForLetRecs___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_processDefDeriving___closed__1; @@ -834,6 +845,7 @@ lean_object* l_List_mapTRAux___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Ter lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pickMaxFVar_x3f(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux_match__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__4; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); @@ -846,7 +858,7 @@ lean_object* l_Lean_Elab_Term_MutualClosure_FixPoint_run(lean_object*, lean_obje static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__4___closed__2; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_markModified___boxed(lean_object*); lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_isStructure(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__11___closed__1; lean_object* l_Lean_Meta_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3089,7 +3101,375 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Te return x_2; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid declaration name '"); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("', structure '"); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("' has field '"); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("'"); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = x_5 < x_4; +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_6); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +lean_dec(x_6); +x_16 = lean_array_uget(x_3, x_5); +lean_inc(x_16); +x_17 = l_Lean_Name_append(x_2, x_16); +x_18 = lean_name_eq(x_17, x_1); +lean_dec(x_17); +if (x_18 == 0) +{ +size_t x_19; size_t x_20; lean_object* x_21; +lean_dec(x_16); +x_19 = 1; +x_20 = x_5 + x_19; +x_21 = lean_box(0); +x_5 = x_20; +x_6 = x_21; +goto _start; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_23 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_23, 0, x_1); +x_24 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__4; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_28, 0, x_2); +x_29 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__6; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_32, 0, x_16); +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_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__8; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_35, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +return x_36; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_36, 0); +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_36); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +} +} +lean_object* l_Lean_Elab_checkIfShadowingStructureField___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +x_10 = lean_st_ref_get(x_7, x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +lean_dec(x_12); +lean_inc(x_9); +x_15 = l_Lean_isStructure(x_14, x_9); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_16 = lean_box(0); +lean_ctor_set(x_10, 0, x_16); +return x_10; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; +lean_free_object(x_10); +x_17 = lean_st_ref_get(x_7, x_13); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +x_21 = 1; +lean_inc(x_9); +x_22 = l_Lean_getStructureFieldsFlattened(x_20, x_9, x_21); +x_23 = lean_array_get_size(x_22); +x_24 = lean_usize_of_nat(x_23); +lean_dec(x_23); +x_25 = 0; +x_26 = lean_box(0); +x_27 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4(x_1, x_9, x_22, x_24, x_25, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_19); +lean_dec(x_22); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +lean_ctor_set(x_27, 0, x_26); +return x_27; +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_26); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +else +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_27); +if (x_32 == 0) +{ +return x_27; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_27, 0); +x_34 = lean_ctor_get(x_27, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_27); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_36 = lean_ctor_get(x_10, 0); +x_37 = lean_ctor_get(x_10, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_10); +x_38 = lean_ctor_get(x_36, 0); +lean_inc(x_38); +lean_dec(x_36); +lean_inc(x_9); +x_39 = l_Lean_isStructure(x_38, x_9); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_40 = lean_box(0); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_37); +return x_41; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; size_t x_49; size_t x_50; lean_object* x_51; lean_object* x_52; +x_42 = lean_st_ref_get(x_7, x_37); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_ctor_get(x_43, 0); +lean_inc(x_45); +lean_dec(x_43); +x_46 = 1; +lean_inc(x_9); +x_47 = l_Lean_getStructureFieldsFlattened(x_45, x_9, x_46); +x_48 = lean_array_get_size(x_47); +x_49 = lean_usize_of_nat(x_48); +lean_dec(x_48); +x_50 = 0; +x_51 = lean_box(0); +x_52 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4(x_1, x_9, x_47, x_49, x_50, x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_44); +lean_dec(x_47); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_54 = x_52; +} else { + lean_dec_ref(x_52); + x_54 = lean_box(0); +} +if (lean_is_scalar(x_54)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { + x_55 = x_54; +} +lean_ctor_set(x_55, 0, x_51); +lean_ctor_set(x_55, 1, x_53); +return x_55; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_56 = lean_ctor_get(x_52, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_52, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_58 = x_52; +} else { + lean_dec_ref(x_52); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(1, 2, 0); +} else { + x_59 = x_58; +} +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_57); +return x_59; +} +} +} +} +else +{ +lean_object* x_60; lean_object* x_61; +lean_dec(x_2); +lean_dec(x_1); +x_60 = lean_box(0); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_8); +return x_61; +} +} +} +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -3097,16 +3477,16 @@ x_1 = lean_mk_string("a non-private declaration '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__1; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__3() { _start: { lean_object* x_1; @@ -3114,16 +3494,16 @@ x_1 = lean_mk_string("' has already been declared"); return x_1; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__4() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__3; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; @@ -3163,11 +3543,11 @@ else lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_18 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_18, 0, x_14); -x_19 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__2; +x_19 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__2; x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__4; +x_21 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__4; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); @@ -3177,7 +3557,7 @@ return x_23; } } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -3185,16 +3565,16 @@ x_1 = lean_mk_string("a private declaration '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2___closed__1; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -3208,7 +3588,7 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; x_13 = lean_box(0); -x_14 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_14 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_14; } else @@ -3217,11 +3597,11 @@ lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean lean_dec(x_2); x_15 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_15, 0, x_1); -x_16 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2___closed__2; +x_16 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2___closed__2; x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_16); lean_ctor_set(x_17, 1, x_15); -x_18 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__4; +x_18 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__4; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); @@ -3247,24 +3627,7 @@ return x_24; } } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("'"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__3() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___closed__1() { _start: { lean_object* x_1; @@ -3272,16 +3635,16 @@ x_1 = lean_mk_string("private declaration '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__4() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__3; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -3301,7 +3664,7 @@ if (x_13 == 0) { lean_object* x_14; lean_object* x_15; x_14 = lean_box(0); -x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2(x_1, x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2(x_1, x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_11); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -3320,11 +3683,11 @@ if (lean_obj_tag(x_16) == 0) lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; x_17 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_17, 0, x_1); -x_18 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2; +x_18 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__8; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); -x_20 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__4; +x_20 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__4; x_21 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); @@ -3362,11 +3725,11 @@ lean_inc(x_27); lean_dec(x_16); x_28 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_28, 0, x_27); -x_29 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__4; +x_29 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___closed__2; x_30 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); -x_31 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__4; +x_31 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__4; x_32 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); @@ -3398,7 +3761,7 @@ return x_37; } } } -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { switch (x_1) { @@ -3406,7 +3769,7 @@ case 0: { lean_object* x_10; lean_inc(x_2); -x_10 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_10) == 0) { uint8_t x_11; @@ -3465,7 +3828,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_19 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_19 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; @@ -3556,7 +3919,7 @@ lean_inc(x_39); lean_dec(x_37); x_40 = l_Lean_mkPrivateName(x_39, x_2); lean_inc(x_40); -x_41 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4(x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_38); +x_41 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6(x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_38); if (lean_obj_tag(x_41) == 0) { uint8_t x_42; @@ -3608,7 +3971,7 @@ return x_49; } } } -lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -3676,11 +4039,20 @@ return x_2; lean_object* l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; uint8_t x_13; lean_object* x_14; +lean_object* x_12; lean_object* x_13; lean_dec(x_4); lean_inc(x_2); x_12 = l_Lean_Name_append(x_1, x_2); -x_13 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); +lean_inc(x_5); +lean_inc(x_12); +x_13 = l_Lean_Elab_checkIfShadowingStructureField___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3(x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); lean_dec(x_3); lean_inc(x_10); lean_inc(x_9); @@ -3688,86 +4060,86 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_14 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3(x_13, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_14) == 0) +x_16 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5(x_15, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_15; -x_15 = lean_box(x_13); -if (lean_obj_tag(x_15) == 1) +lean_object* x_17; +x_17 = lean_box(x_15); +if (lean_obj_tag(x_17) == 1) { if (lean_obj_tag(x_1) == 1) { -uint8_t x_16; +uint8_t x_18; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_16 = !lean_is_exclusive(x_14); -if (x_16 == 0) +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_17 = lean_ctor_get(x_14, 0); -x_18 = lean_ctor_get(x_1, 1); -lean_inc(x_18); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_19 = lean_ctor_get(x_16, 0); +x_20 = lean_ctor_get(x_1, 1); +lean_inc(x_20); lean_dec(x_1); -x_19 = lean_box(0); -x_20 = lean_name_mk_string(x_19, x_18); -x_21 = l_Lean_Name_append(x_20, x_2); -lean_dec(x_20); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_17); -lean_ctor_set(x_22, 1, x_21); -lean_ctor_set(x_14, 0, x_22); -return x_14; +x_21 = lean_box(0); +x_22 = lean_name_mk_string(x_21, x_20); +x_23 = l_Lean_Name_append(x_22, x_2); +lean_dec(x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +lean_ctor_set(x_16, 0, x_24); +return x_16; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_23 = lean_ctor_get(x_14, 0); -x_24 = lean_ctor_get(x_14, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_14); -x_25 = lean_ctor_get(x_1, 1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_25 = lean_ctor_get(x_16, 0); +x_26 = lean_ctor_get(x_16, 1); +lean_inc(x_26); lean_inc(x_25); +lean_dec(x_16); +x_27 = lean_ctor_get(x_1, 1); +lean_inc(x_27); lean_dec(x_1); -x_26 = lean_box(0); -x_27 = lean_name_mk_string(x_26, x_25); -x_28 = l_Lean_Name_append(x_27, x_2); -lean_dec(x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_23); -lean_ctor_set(x_29, 1, x_28); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_24); -return x_30; +x_28 = lean_box(0); +x_29 = lean_name_mk_string(x_28, x_27); +x_30 = l_Lean_Name_append(x_29, x_2); +lean_dec(x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_25); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_26); +return x_32; } } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_dec(x_2); lean_dec(x_1); -x_31 = lean_ctor_get(x_14, 1); -lean_inc(x_31); -lean_dec(x_14); -x_32 = l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___lambda__1___closed__2; -x_33 = l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5(x_32, x_5, x_6, x_7, x_8, x_9, x_10, x_31); +x_33 = lean_ctor_get(x_16, 1); +lean_inc(x_33); +lean_dec(x_16); +x_34 = l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___lambda__1___closed__2; +x_35 = l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__7(x_34, x_5, x_6, x_7, x_8, x_9, x_10, x_33); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -return x_33; +return x_35; } } else { -uint8_t x_34; -lean_dec(x_15); +uint8_t x_36; +lean_dec(x_17); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -3775,38 +4147,38 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_34 = !lean_is_exclusive(x_14); -if (x_34 == 0) +x_36 = !lean_is_exclusive(x_16); +if (x_36 == 0) { -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_14, 0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_2); -lean_ctor_set(x_14, 0, x_36); -return x_14; +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_16, 0); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_2); +lean_ctor_set(x_16, 0, x_38); +return x_16; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = lean_ctor_get(x_14, 0); -x_38 = lean_ctor_get(x_14, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_14); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_2); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -return x_40; +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_39 = lean_ctor_get(x_16, 0); +x_40 = lean_ctor_get(x_16, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_16); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_2); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +return x_42; } } } else { -uint8_t x_41; +uint8_t x_43; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -3815,23 +4187,56 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_41 = !lean_is_exclusive(x_14); -if (x_41 == 0) +x_43 = !lean_is_exclusive(x_16); +if (x_43 == 0) { -return x_14; +return x_16; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_14, 0); -x_43 = lean_ctor_get(x_14, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_14); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_16, 0); +x_45 = lean_ctor_get(x_16, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_16); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +else +{ +uint8_t x_47; +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_47 = !lean_is_exclusive(x_13); +if (x_47 == 0) +{ +return x_13; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_13, 0); +x_49 = lean_ctor_get(x_13, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_13); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; } } } @@ -3879,7 +4284,7 @@ x_16 = l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Te x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_16); lean_ctor_set(x_17, 1, x_15); -x_18 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2; +x_18 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__8; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); @@ -3926,7 +4331,7 @@ return x_28; } } } -lean_object* l_Lean_addDocString___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_addDocString___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -4010,7 +4415,7 @@ return x_35; } } } -lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_2) == 0) @@ -4029,12 +4434,12 @@ lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_2, 0); lean_inc(x_12); lean_dec(x_2); -x_13 = l_Lean_addDocString___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__7(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_addDocString___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__9(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_13; } } } -static lean_object* _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___closed__1() { +static lean_object* _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__1() { _start: { lean_object* x_1; @@ -4042,26 +4447,26 @@ x_1 = lean_mk_string("a universe level named '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___closed__2() { +static lean_object* _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___closed__1; +x_1 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_9 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_9, 0, x_1); -x_10 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___closed__2; +x_10 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2; x_11 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); -x_12 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__4; +x_12 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__4; x_13 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); @@ -4069,7 +4474,7 @@ x_14 = l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Basic_0__Lean_El return x_14; } } -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__9(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -4106,7 +4511,7 @@ x_22 = l_Lean_replaceRef(x_13, x_21); lean_dec(x_21); lean_dec(x_13); lean_ctor_set(x_9, 3, x_22); -x_23 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_23 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_9); x_24 = !lean_is_exclusive(x_23); if (x_24 == 0) @@ -4159,7 +4564,7 @@ lean_ctor_set(x_37, 4, x_32); lean_ctor_set(x_37, 5, x_33); lean_ctor_set(x_37, 6, x_34); lean_ctor_set(x_37, 7, x_35); -x_38 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8(x_14, x_5, x_6, x_7, x_8, x_37, x_10, x_11); +x_38 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10(x_14, x_5, x_6, x_7, x_8, x_37, x_10, x_11); lean_dec(x_37); x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); @@ -4249,7 +4654,7 @@ x_28 = lean_ctor_get(x_3, 0); lean_inc(x_28); lean_dec(x_3); lean_inc(x_26); -x_29 = l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6(x_26, x_28, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +x_29 = l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8(x_26, x_28, x_6, x_7, x_8, x_9, x_10, x_11, x_25); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -4425,7 +4830,7 @@ x_29 = lean_usize_of_nat(x_23); lean_dec(x_23); lean_inc(x_9); lean_inc(x_5); -x_30 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__9(x_22, x_28, x_29, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_30 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11(x_22, x_28, x_29, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_22); if (lean_obj_tag(x_30) == 0) { @@ -4487,7 +4892,7 @@ return x_47; } } } -lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; @@ -4604,7 +5009,7 @@ return x_38; } } } -lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -4688,7 +5093,7 @@ return x_35; } } } -static lean_object* _init_l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__1() { +static lean_object* _init_l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__1() { _start: { lean_object* x_1; @@ -4696,17 +5101,17 @@ x_1 = lean_mk_string("Command"); return x_1; } } -static lean_object* _init_l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2() { +static lean_object* _init_l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___spec__3___closed__4; -x_2 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__1; +x_2 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__3() { +static lean_object* _init_l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__3() { _start: { lean_object* x_1; @@ -4714,37 +5119,37 @@ x_1 = lean_mk_string("example"); return x_1; } } -static lean_object* _init_l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__4() { +static lean_object* _init_l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2; -x_2 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__3; +x_1 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__2; +x_2 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_inc(x_2); x_10 = l_Lean_Syntax_getKind(x_2); -x_11 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__4; +x_11 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__4; x_12 = lean_name_eq(x_10, x_11); lean_dec(x_10); if (x_12 == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_inc(x_2); -x_13 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); x_16 = l_Lean_Elab_getDeclarationSelectionRef(x_2); -x_17 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_17 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_15); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); @@ -4753,7 +5158,7 @@ lean_dec(x_17); x_20 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_20, 0, x_14); lean_ctor_set(x_20, 1, x_18); -x_21 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12(x_1, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +x_21 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__14(x_1, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_19); return x_21; } else @@ -4769,7 +5174,7 @@ return x_23; } } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; @@ -4835,7 +5240,7 @@ return x_30; } } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { uint8_t x_18; lean_object* x_19; lean_object* x_20; @@ -4916,7 +5321,7 @@ lean_inc(x_39); x_40 = lean_ctor_get(x_37, 1); lean_inc(x_40); lean_dec(x_37); -x_41 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__1(x_2, x_35, x_3, x_4, x_5, x_6, x_39, x_32, x_7, x_8, x_19, x_11, x_12, x_13, x_14, x_15, x_16, x_40); +x_41 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__1(x_2, x_35, x_3, x_4, x_5, x_6, x_39, x_32, x_7, x_8, x_19, x_11, x_12, x_13, x_14, x_15, x_16, x_40); lean_dec(x_8); lean_dec(x_35); lean_dec(x_2); @@ -4970,7 +5375,7 @@ lean_object* x_53; lean_object* x_54; x_53 = lean_ctor_get(x_52, 1); lean_inc(x_53); lean_dec(x_52); -x_54 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__1(x_2, x_35, x_3, x_4, x_5, x_6, x_44, x_32, x_7, x_8, x_19, x_11, x_12, x_13, x_14, x_15, x_16, x_53); +x_54 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__1(x_2, x_35, x_3, x_4, x_5, x_6, x_44, x_32, x_7, x_8, x_19, x_11, x_12, x_13, x_14, x_15, x_16, x_53); lean_dec(x_8); lean_dec(x_35); lean_dec(x_2); @@ -5100,7 +5505,7 @@ lean_object* x_73; lean_object* x_74; x_73 = lean_ctor_get(x_72, 1); lean_inc(x_73); lean_dec(x_72); -x_74 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__1(x_2, x_35, x_3, x_4, x_5, x_6, x_63, x_32, x_7, x_8, x_19, x_11, x_12, x_13, x_14, x_15, x_16, x_73); +x_74 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__1(x_2, x_35, x_3, x_4, x_5, x_6, x_63, x_32, x_7, x_8, x_19, x_11, x_12, x_13, x_14, x_15, x_16, x_73); lean_dec(x_8); lean_dec(x_35); lean_dec(x_2); @@ -5383,7 +5788,7 @@ return x_102; } } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; @@ -5416,7 +5821,7 @@ x_22 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDe x_23 = lean_ctor_get(x_22, 1); lean_inc(x_23); lean_dec(x_22); -x_24 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__2(x_8, x_1, x_2, x_3, x_4, x_5, x_17, x_6, x_7, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_23); +x_24 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__2(x_8, x_1, x_2, x_3, x_4, x_5, x_17, x_6, x_7, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_23); return x_24; } else @@ -5485,7 +5890,7 @@ x_34 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDe x_35 = lean_ctor_get(x_34, 1); lean_inc(x_35); lean_dec(x_34); -x_36 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__2(x_8, x_1, x_2, x_3, x_4, x_5, x_29, x_6, x_7, x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_35); +x_36 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__2(x_8, x_1, x_2, x_3, x_4, x_5, x_29, x_6, x_7, x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_35); return x_36; } else @@ -5529,7 +5934,7 @@ return x_40; } } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -5618,7 +6023,7 @@ lean_inc(x_37); lean_dec(x_33); lean_inc(x_16); lean_inc(x_36); -x_38 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10(x_36, x_16, x_6, x_7, x_8, x_9, x_26, x_11, x_34); +x_38 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12(x_36, x_16, x_6, x_7, x_8, x_9, x_26, x_11, x_34); x_39 = lean_ctor_get(x_38, 1); lean_inc(x_39); lean_dec(x_38); @@ -5644,7 +6049,7 @@ lean_dec(x_44); lean_inc(x_1); lean_inc(x_5); lean_inc(x_36); -x_46 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__3), 15, 7); +x_46 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__3), 15, 7); lean_closure_set(x_46, 0, x_15); lean_closure_set(x_46, 1, x_16); lean_closure_set(x_46, 2, x_31); @@ -5798,7 +6203,7 @@ lean_dec(x_9); x_11 = 0; x_12 = l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; lean_inc(x_1); -x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13(x_1, x_1, x_10, x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15(x_1, x_1, x_10, x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_1); if (lean_obj_tag(x_13) == 0) { @@ -5846,11 +6251,42 @@ return x_21; } } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +return x_16; +} +} +lean_object* l_Lean_Elab_checkIfShadowingStructureField___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_checkIfShadowingStructureField___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -5860,11 +6296,11 @@ lean_dec(x_3); return x_11; } } -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -5873,21 +6309,21 @@ lean_dec(x_5); return x_11; } } -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -5896,11 +6332,11 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_addDocString___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_addDocString___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_addDocString___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_addDocString___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -5910,11 +6346,11 @@ lean_dec(x_3); return x_10; } } -lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -5924,11 +6360,11 @@ lean_dec(x_3); return x_10; } } -lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -5937,7 +6373,7 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { size_t x_12; size_t x_13; lean_object* x_14; @@ -5945,7 +6381,7 @@ x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__9(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -5964,11 +6400,11 @@ lean_dec(x_1); return x_13; } } -lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -5978,11 +6414,11 @@ lean_dec(x_2); return x_9; } } -lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___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, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -5992,11 +6428,11 @@ lean_dec(x_3); return x_10; } } -lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6006,7 +6442,7 @@ lean_dec(x_3); return x_10; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__1___boxed(lean_object** _args) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__1___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -6028,7 +6464,7 @@ lean_object* x_18 = _args[17]; _start: { lean_object* x_19; -x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); lean_dec(x_11); lean_dec(x_10); lean_dec(x_2); @@ -6036,7 +6472,7 @@ lean_dec(x_1); return x_19; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__2___boxed(lean_object** _args) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__2___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -6057,11 +6493,11 @@ lean_object* x_17 = _args[16]; _start: { lean_object* x_18; -x_18 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_18 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); return x_18; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___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_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { size_t x_13; size_t x_14; lean_object* x_15; @@ -6069,7 +6505,7 @@ x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = lean_unbox_usize(x_4); lean_dec(x_4); -x_15 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__15(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_2); return x_15; } @@ -8007,7 +8443,7 @@ static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2; +x_1 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__2; x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -8025,7 +8461,7 @@ static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2; +x_1 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__2; x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -22139,7 +22575,7 @@ x_12 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabMutualDef_processDeri x_13 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); -x_14 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2; +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__8; x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); @@ -22665,7 +23101,7 @@ lean_ctor_set(x_39, 0, x_19); x_40 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_40, 0, x_38); lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2; +x_41 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__8; x_42 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_42, 0, x_40); lean_ctor_set(x_42, 1, x_41); @@ -25000,7 +25436,7 @@ static lean_object* _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabM _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2; +x_1 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__2; x_2 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -25018,7 +25454,7 @@ static lean_object* _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabM _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2; +x_1 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__2; x_2 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -25146,7 +25582,7 @@ static lean_object* _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabM _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2; +x_1 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__2; x_2 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -26233,26 +26669,38 @@ l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___c lean_mark_persistent(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___closed__3); l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___closed__4 = _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___closed__4(); lean_mark_persistent(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___closed__4); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__1); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__2); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__3 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__3); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__4 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1___closed__4); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2___closed__1); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2___closed__2); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__1(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__1); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__3 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__3(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__3); -l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__4 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__4(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__4); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__1); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__3); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__4); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__5(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__5); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__6 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__6(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__6); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__7 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__7(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__7); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__8 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__8(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__8); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__1); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__2); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__3 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__3); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__4 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___closed__4); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2___closed__1); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__2___closed__2); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___closed__1(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___closed__1); +l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___closed__2(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___closed__2); l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___lambda__1___closed__1 = _init_l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___lambda__1___closed__1); l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___lambda__1___closed__2 = _init_l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___lambda__1___closed__2(); @@ -26261,20 +26709,20 @@ l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elab lean_mark_persistent(l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___closed__1); l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___closed__2 = _init_l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___closed__2(); lean_mark_persistent(l_Lean_Elab_mkDeclName___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___closed__2); -l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___closed__1 = _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___closed__1); -l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___closed__2 = _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___closed__2(); -lean_mark_persistent(l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___closed__2); +l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__1 = _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__1); +l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2 = _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2(); +lean_mark_persistent(l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2); l_Lean_Elab_expandDeclId___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__1___closed__1 = _init_l_Lean_Elab_expandDeclId___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__1___closed__1(); lean_mark_persistent(l_Lean_Elab_expandDeclId___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__1___closed__1); -l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__1 = _init_l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__1(); -lean_mark_persistent(l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__1); -l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2 = _init_l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2(); -lean_mark_persistent(l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__2); -l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__3 = _init_l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__3(); -lean_mark_persistent(l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__3); -l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__4 = _init_l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__4(); -lean_mark_persistent(l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___closed__4); +l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__1 = _init_l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__1(); +lean_mark_persistent(l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__1); +l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__2 = _init_l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__2(); +lean_mark_persistent(l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__2); +l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__3 = _init_l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__3(); +lean_mark_persistent(l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__3); +l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__4 = _init_l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__4(); +lean_mark_persistent(l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___closed__4); l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1___closed__1(); lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1___closed__1); l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Print.c b/stage0/stdlib/Lean/Elab/Print.c index 17db78de9d..c7f9ecfe25 100644 --- a/stage0/stdlib/Lean/Elab/Print.c +++ b/stage0/stdlib/Lean/Elab/Print.c @@ -106,6 +106,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabPrintAxioms___closed__1 static lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_mkHeader___closed__9; lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_levelParamsToMessageData_match__1(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__12(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_pushInfoTree___at___private_Lean_Elab_Print_0__Lean_Elab_Command_printId___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_mkHeader___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabPrintAxioms___closed__2; @@ -138,7 +139,6 @@ static lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_Print_0__Lean_E extern lean_object* l_Lean_protectedExt; lean_object* l_List_forIn_loop___at___private_Lean_Elab_Print_0__Lean_Elab_Command_levelParamsToMessageData___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabPrint___closed__11; -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Print_0__Lean_Elab_Command_throwUnknownId___closed__2; lean_object* l_Lean_Elab_Command_CollectAxioms_State_axioms___default; lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_Print_0__Lean_Elab_Command_printId___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -2364,7 +2364,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_expandDeclId___spec__10(x_2, x_3, x_4, x_8); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__12(x_2, x_3, x_4, x_8); return x_12; } else @@ -2391,7 +2391,7 @@ 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_expandDeclId___spec__10(x_2, x_19, x_4, x_8); +x_20 = l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__12(x_2, x_19, x_4, x_8); return x_20; } } diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index 0119b168f8..3476f4b5bb 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -297,7 +297,6 @@ lean_object* l_Lean_Meta_mkSizeOfInstances(lean_object*, lean_object*, lean_obje lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getFieldInfo_x3f(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); @@ -336,6 +335,7 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_removeUnused_m lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_defaultCtorName; @@ -346,7 +346,6 @@ lean_object* l_Lean_getStructureFieldsFlattened(lean_object*, lean_object*, uint lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getFieldType___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabStructure___closed__8; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11(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_expandFields___spec__5___lambda__3___closed__10; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__5___closed__2; static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getFieldType___lambda__1___closed__2; @@ -433,6 +432,7 @@ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFie static uint8_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__2; lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__14(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_instInhabitedStructFieldInfo___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyDefaultValue_x3f_go_x3f_match__1(lean_object*); @@ -444,10 +444,10 @@ static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents_go___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___boxed(lean_object**); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__11___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure___lambda__2___boxed(lean_object**); lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_isSubobject___boxed(lean_object*); +lean_object* l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); uint8_t l_Lean_Name_isAtomic(lean_object*); @@ -524,7 +524,6 @@ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFie uint8_t l_Lean_Expr_isForall(lean_object*); uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addAndCompile___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_processOveriddenDefaultValues_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -544,6 +543,7 @@ lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_pos lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___closed__5; +lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8(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_expandFields___spec__5___lambda__3___closed__12; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInStructure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -666,7 +666,6 @@ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandC lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFieldInfo_x3f___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6(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_copyNewFieldsFrom_copyFields_copy___rarg___closed__6; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___lambda__1(uint8_t, uint8_t, uint8_t, 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_elabStructure___closed__1; @@ -777,6 +776,7 @@ lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Ela lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5(uint8_t, 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___lambda__2___closed__1; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__7; lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3593,13 +3593,13 @@ lean_object* l_Lean_Elab_addAuxDeclarationRanges___at___private_Lean_Elab_Struct _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_11 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_14 = l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); @@ -3608,7 +3608,7 @@ lean_dec(x_14); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_12); lean_ctor_set(x_17, 1, x_15); -x_18 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12(x_1, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +x_18 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__14(x_1, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_16); return x_18; } } @@ -3632,7 +3632,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_20 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3(x_19, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_20 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5(x_19, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (x_14 == 0) { if (lean_obj_tag(x_20) == 0) @@ -3646,7 +3646,7 @@ lean_dec(x_20); x_23 = lean_ctor_get(x_3, 0); lean_inc(x_23); lean_inc(x_21); -x_24 = l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6(x_21, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +x_24 = l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8(x_21, x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_22); x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); lean_dec(x_24); @@ -3740,7 +3740,7 @@ lean_dec(x_20); x_41 = lean_ctor_get(x_3, 0); lean_inc(x_41); lean_inc(x_39); -x_42 = l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6(x_39, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_40); +x_42 = l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8(x_39, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_40); x_43 = lean_ctor_get(x_42, 1); lean_inc(x_43); lean_dec(x_42); @@ -5047,7 +5047,7 @@ lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -x_21 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3(x_20, x_19, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +x_21 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5(x_20, x_19, x_12, x_13, x_14, x_15, x_16, x_17, x_18); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; @@ -5059,7 +5059,7 @@ lean_dec(x_21); x_24 = lean_ctor_get(x_3, 0); lean_inc(x_24); lean_inc(x_22); -x_25 = l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6(x_22, x_24, x_12, x_13, x_14, x_15, x_16, x_17, x_23); +x_25 = l_Lean_addDocString_x27___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8(x_22, x_24, x_12, x_13, x_14, x_15, x_16, x_17, x_23); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); @@ -12244,7 +12244,7 @@ lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); -x_27 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3(x_26, x_22, x_15, x_16, x_17, x_18, x_19, x_20, x_25); +x_27 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5(x_26, x_22, x_15, x_16, x_17, x_18, x_19, x_20, x_25); if (lean_obj_tag(x_27) == 0) { lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; @@ -28692,7 +28692,7 @@ lean_inc(x_25); lean_dec(x_22); lean_inc(x_3); lean_inc(x_24); -x_26 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10(x_24, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_23); +x_26 = l_Lean_Elab_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12(x_24, x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_23); x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); lean_dec(x_26); diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index afa7bd085d..d831826724 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -232,7 +232,6 @@ static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyn static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___lambda__1___closed__5; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__67; -lean_object* l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__4; @@ -264,6 +263,7 @@ static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed_ static lean_object* l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__2; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__51; lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__1___boxed(lean_object*, lean_object*); @@ -14188,7 +14188,7 @@ lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); lean_dec(x_18); -x_21 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5(x_19, x_2, x_3, x_20); +x_21 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__7(x_19, x_2, x_3, x_20); x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); lean_dec(x_21); diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index 79a4ed8934..0873de5312 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -20,9 +20,11 @@ static lean_object* l_Lean_Parser_Term_dbgTrace_formatter___closed__7; static lean_object* l_Lean_Parser_Term_noImplicitLambda___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_doubleQuotedName___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_scoped___elambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_simpleBinder___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_panic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_match___elambda__1___closed__6; +static lean_object* l_Lean_Parser_Term_binop__lazy_formatter___closed__2; static lean_object* l_Lean_Parser_Level_quot_formatter___closed__6; static lean_object* l_Lean_Parser_Level_quot___closed__5; static lean_object* l_Lean_Parser_Term_show___elambda__1___closed__14; @@ -34,6 +36,7 @@ static lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__10; static lean_object* l_Lean_Parser_Term_basicFun_formatter___closed__3; static lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__23; static lean_object* l_Lean_Parser_Term_attrInstance_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_binop___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_explicit_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_sufficesDecl_formatter___closed__1; @@ -112,6 +115,7 @@ static lean_object* l_Lean_Parser_Term_letDecl_formatter___closed__6; lean_object* l_Lean_Parser_attrParser_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_app___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__12; +static lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_pipeProj; static lean_object* l_Lean_Parser_Term_inaccessible___closed__8; static lean_object* l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__1; @@ -162,6 +166,7 @@ static lean_object* l_Lean_Parser_Term_attrInstance_parenthesizer___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Term_structInst(lean_object*); static lean_object* l_Lean_Parser_Term_let__fun___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_namedArgument___elambda__1___closed__8; +static lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_funStrictImplicitBinder_formatter___closed__1; static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_formatter___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_dbgTrace_parenthesizer(lean_object*); @@ -173,6 +178,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer(lea static lean_object* l_Lean_Parser_Term_unreachable_formatter___closed__3; static lean_object* l_Lean_Parser_Term_forInMacro___closed__7; lean_object* l_Lean_Parser_Term_structInstLVal_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__22; lean_object* l_Lean_Parser_Term_structInstField___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_let__fun___closed__6; static lean_object* l_Lean_Parser_Term_hole___elambda__1___closed__10; @@ -228,8 +234,8 @@ static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__25; static lean_object* l_Lean_Parser_Term_generalizingParam___closed__9; static lean_object* l_Lean_Parser_Term_binop___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_letRecDecls___closed__6; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__21; static lean_object* l_Lean_Parser_Term_explicit___closed__2; +static lean_object* l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___lambda__2___closed__2; @@ -242,6 +248,7 @@ lean_object* l_Lean_Parser_Term_attributes_parenthesizer(lean_object*, lean_obje static lean_object* l_Lean_Parser_Term_suffices_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_letDecl_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Term_binop__lazy_formatter___closed__1; static lean_object* l_Lean_Parser_Term_matchAlt___closed__3; static lean_object* l_Lean_Parser_Term_typeOf___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_inaccessible___closed__2; @@ -359,7 +366,6 @@ static lean_object* l_Lean_Parser_Term_structInst___closed__6; static lean_object* l_Lean_Parser_Level_quot_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__1; static lean_object* l_Lean_Parser_Term_structInstField_formatter___closed__7; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__13; static lean_object* l_Lean_Parser_Term_basicFun_parenthesizer___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_unreachable_parenthesizer(lean_object*); lean_object* l___regBuiltin_Lean_Parser_Tactic_quot_parenthesizer(lean_object*); @@ -380,6 +386,7 @@ static lean_object* l_Lean_Parser_Term_attributes_formatter___closed__6; static lean_object* l_Lean_Parser_Term_letPatDecl_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_proj___closed__10; static lean_object* l_Lean_Parser_Term_noImplicitLambda___elambda__1___closed__10; +static lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_unreachable___closed__6; static lean_object* l_Lean_Parser_Term_letRecDecl___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_let_formatter___closed__7; @@ -434,9 +441,11 @@ static lean_object* l_Lean_Parser_Term_subst___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_attrInstance_formatter___closed__3; static lean_object* l_Lean_Parser_Term_forInMacro_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_generalizingParam___closed__12; +static lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter___closed__2; static lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_attributes_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_namedArgument___closed__5; +static lean_object* l_Lean_Parser_Term_binop__lazy_formatter___closed__4; lean_object* l_Lean_Parser_Term_binrel_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_pipeProj___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -489,6 +498,7 @@ static lean_object* l_Lean_Parser_Term_trueVal___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_match_formatter___closed__3; static lean_object* l_Lean_Parser_Term_subst_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_nomatch_formatter___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__16; lean_object* l_Lean_Parser_Term_funStrictImplicitBinder; static lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__14; static lean_object* l___regBuiltin_Lean_Parser_Term_scientific_parenthesizer___closed__1; @@ -575,7 +585,6 @@ static lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__3; lean_object* l_Lean_Parser_group_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_attrInstance___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_let__fun_formatter(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__33; static lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_funBinder_quot___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Term_pipeProj_parenthesizer___closed__1; @@ -634,6 +643,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_structInst_parenthesizer___c lean_object* l___regBuiltin_Lean_Parser_Term_fun_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_completion___closed__7; static lean_object* l_Lean_Parser_Term_fromTerm_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__7; static lean_object* l_Lean_Parser_Term_haveDecl_formatter___closed__4; static lean_object* l_Lean_Parser_Term_match___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_letrec___closed__7; @@ -645,8 +655,8 @@ static lean_object* l_Lean_Parser_Level_quot___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Term_doubleQuotedName_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed; static lean_object* l_Lean_Parser_Term_suffices_formatter___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__24; static lean_object* l_Lean_Parser_Term_binderTactic___closed__7; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__23; static lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_show___elambda__1___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__4; @@ -735,6 +745,7 @@ static lean_object* l_Lean_Parser_Term_arrow___closed__1; static lean_object* l_Lean_Parser_Term_forall___closed__3; static lean_object* l_Lean_Parser_Term_trailing__parser___closed__6; static lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__21; lean_object* l_Lean_Parser_Term_scientific; lean_object* l_Lean_Parser_withAntiquotFn(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_unreachable___elambda__1___closed__10; @@ -876,6 +887,7 @@ static lean_object* l_Lean_Parser_Term_arrayRef___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_char_formatter___closed__2; static lean_object* l_Lean_Parser_Term_noindex___elambda__1___closed__13; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__2; +static lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_sufficesDecl_formatter___closed__6; lean_object* l_Lean_Parser_Term_binop; lean_object* l_Lean_Parser_scientificLit___elambda__1(lean_object*, lean_object*); @@ -930,7 +942,6 @@ lean_object* l_Lean_Parser_Command_docComment_formatter(lean_object*, lean_objec static lean_object* l_Lean_Parser_Command_docComment___closed__7; static lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__16; static lean_object* l_Lean_Parser_Term_let___elambda__1___closed__7; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__22; static lean_object* l_Lean_Parser_Term_suffices_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_optEllipsis___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_assert_parenthesizer___closed__3; @@ -1009,6 +1020,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_let(lean_object*); static lean_object* l_Lean_Parser_Term_type___elambda__1___closed__16; static lean_object* l_Lean_Parser_Term_binop___closed__7; static lean_object* l_Lean_Parser_Term_type_formatter___closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__33; lean_object* l___regBuiltin_Lean_Parser_Term_completion_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_let__delayed___closed__9; @@ -1029,7 +1041,6 @@ static lean_object* l_Lean_Parser_Term_hole___closed__5; static lean_object* l_Lean_Parser_Term_optEllipsis___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_fun_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__29; static lean_object* l_Lean_Parser_Term_optType___closed__1; static lean_object* l_Lean_Parser_Term_local___closed__4; lean_object* l_Lean_Parser_Term_funBinder; @@ -1069,7 +1080,6 @@ static lean_object* l_Lean_Parser_Tactic_tacticSeq_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__1; lean_object* l_Lean_Parser_Term_pipeCompletion_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_funBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__7; static lean_object* l_Lean_Parser_Term_structInstLVal___closed__9; static lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__5; @@ -1080,6 +1090,7 @@ static lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_tupleTail___elambda__1(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_noImplicitLambda_formatter___closed__2; static lean_object* l_Lean_Parser_Term_borrowed_formatter___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__23; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_strictImplicitBinder_formatter___closed__3; lean_object* l_Lean_Parser_Term_forall_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1104,7 +1115,6 @@ lean_object* l___regBuiltin_Lean_Parser_Term_panic_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; lean_object* l_Lean_Parser_checkPrecFn___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_app_formatter___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__24; lean_object* l_Lean_Parser_Term_binop_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_anonymousCtor___closed__9; @@ -1176,7 +1186,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_rawCh_parenthesizer___boxed(lean lean_object* l_Lean_Parser_Term_pipeCompletion___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_letDecl___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__16; static lean_object* l_Lean_Parser_Term_binrel___closed__9; static lean_object* l_Lean_Parser_Term_optIdent___closed__2; lean_object* l_Lean_Parser_Term_structInstLVal_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1187,6 +1196,7 @@ static lean_object* l_Lean_Parser_Term_assert_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_assert___closed__4; static lean_object* l_Lean_Parser_Term_fun_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_funImplicitBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__13; static lean_object* l_Lean_Parser_Command_commentBody___closed__2; static lean_object* l_Lean_Parser_Term_have___closed__7; static lean_object* l_Lean_Parser_Term_noindex___elambda__1___closed__2; @@ -1213,6 +1223,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_checkStackTop_formatter___boxed(lean static lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_binop___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_letRecDecl; +lean_object* l___regBuiltinParser_Lean_Parser_Term_binop__lazy(lean_object*); static lean_object* l_Lean_Parser_Term_letRecDecl___closed__8; lean_object* l_Lean_Parser_many_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_explicitUniv___closed__10; @@ -1359,6 +1370,7 @@ static lean_object* l_Lean_Parser_Term_argument_parenthesizer___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_sorry_formatter___closed__1; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_ensureTypeOf___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__12; static lean_object* l_Lean_Parser_Term_macroDollarArg___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__9; @@ -1408,6 +1420,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_sorry(lean_object*); static lean_object* l_Lean_Parser_Term_nomatch___closed__4; static lean_object* l_Lean_Parser_Term_whereDecls___closed__2; static lean_object* l_Lean_Parser_Term_hole___closed__6; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__20; lean_object* l_Lean_Parser_Term_letRecDecls_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_forall_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Tactic_quot_parenthesizer___closed__2; @@ -1447,15 +1460,16 @@ static lean_object* l_Lean_Parser_Term_hole_formatter___closed__1; static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__27; static lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__2; lean_object* l_Lean_Parser_strLit___elambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__10; static lean_object* l_Lean_Parser_Term_letRecDecl___closed__6; static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls___closed__6; static lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__18; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__32; static lean_object* l___regBuiltin_Lean_Parser_Term_syntheticHole_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__22; static lean_object* l_Lean_Parser_Term_let__fun___closed__7; static lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_trailing__parser___closed__9; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__30; static lean_object* l_Lean_Parser_Term_byTactic_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_assert_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__4; @@ -1487,7 +1501,6 @@ static lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_typeOf___elambda__1___closed__8; lean_object* l___regBuiltin_Lean_Parser_Term_stateRefT_parenthesizer(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__18; static lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__13; lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_formatter___closed__5; @@ -1536,9 +1549,9 @@ static lean_object* l_Lean_Parser_Term_sorry___closed__7; static lean_object* l_Lean_Parser_Term_attr_quot___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_let__fun_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer___closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__15; lean_object* l_Lean_Parser_Term_sorry_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__9; +static lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1___closed__12; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__4; static lean_object* l_Lean_Parser_Term_funBinder___closed__3; static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__17; @@ -1582,6 +1595,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_withAntiquot_formatter(lean_object*, static lean_object* l_Lean_Parser_Term_letDecl___closed__6; lean_object* l_Lean_Parser_Term_trailing__parser; static lean_object* l_Lean_Parser_Term_subst_formatter___closed__1; +static lean_object* l_Lean_Parser_Term_binop__lazy___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_sorry_formatter___closed__2; static lean_object* l_Lean_Parser_Term_sort___closed__1; static lean_object* l_Lean_Parser_Term_forall_parenthesizer___closed__6; @@ -1617,6 +1631,7 @@ static lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__2; static lean_object* l_Lean_Parser_Tactic_seq1_formatter___closed__1; static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_type___elambda__1___closed__3; +static lean_object* l_Lean_Parser_Term_binop__lazy___closed__1; static lean_object* l_Lean_Parser_Term_type_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_structInstField_formatter___closed__6; static lean_object* l_Lean_Parser_Term_funImplicitBinder_parenthesizer___closed__5; @@ -1681,7 +1696,6 @@ lean_object* l_Lean_Parser_Term_noImplicitLambda_parenthesizer(lean_object*, lea static lean_object* l_Lean_Parser_Term_type___elambda__1___closed__18; static lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_stateRefT_formatter(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__28; lean_object* l___regBuiltinParser_Lean_Parser_Term_completion(lean_object*); lean_object* l_Lean_Parser_Term_falseVal_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__21; @@ -1704,13 +1718,13 @@ lean_object* l_Lean_Parser_ppHardSpace_parenthesizer___boxed(lean_object*, lean_ lean_object* l_Lean_Parser_Term_optIdent; static lean_object* l_Lean_Parser_Term_paren___closed__2; static lean_object* l_Lean_Parser_Term_matchDiscr___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__26; static lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__1; lean_object* l_Lean_Parser_nonReservedSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_structInst___closed__8; static lean_object* l_Lean_Parser_Tactic_quot_formatter___closed__6; static lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__8; static lean_object* l_Lean_Parser_Term_show___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__14; static lean_object* l_Lean_Parser_Term_hole___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_type___elambda__1___closed__30; @@ -1738,7 +1752,6 @@ lean_object* l_Lean_Parser_Command_docComment___elambda__1___lambda__1___boxed(l static lean_object* l_Lean_Parser_Term_assert_parenthesizer___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_letrec_formatter(lean_object*); lean_object* l_Lean_Parser_Command_commentBody_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_suffices_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_pipeProj___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_letEqnsDecl___closed__3; @@ -1803,6 +1816,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Level_quot_formatter___closed__2; lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_falseVal___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_trailing__parser_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Term_binop__lazy___closed__4; static lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__5; static lean_object* l___regBuiltinParser_Lean_Parser_Term_char___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__13; @@ -1903,7 +1917,6 @@ static lean_object* l_Lean_Parser_Term_argument_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_let__delayed_formatter___closed__2; static lean_object* l_Lean_Parser_Term_ellipsis___closed__2; static lean_object* l_Lean_Parser_Term_cdot_formatter___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__3; static lean_object* l_Lean_Parser_Term_cdot___closed__9; lean_object* l_Lean_Parser_checkNoWsBefore___elambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Level_quot_parenthesizer___closed__3; @@ -1915,6 +1928,7 @@ static lean_object* l_Lean_Parser_Term_noindex___elambda__1___closed__12; static lean_object* l_Lean_Parser_Term_parenSpecial_formatter___closed__1; static lean_object* l_Lean_Parser_Term_let__fun___elambda__1___closed__16; static lean_object* l_Lean_Parser_Term_trailing__parser_parenthesizer___closed__3; +static lean_object* l_Lean_Parser_Term_binop__lazy___closed__8; static lean_object* l_Lean_Parser_Term_explicitBinder_formatter___closed__8; static lean_object* l_Lean_Parser_Term_explicitBinder___closed__7; static lean_object* l_Lean_Parser_Term_match___closed__5; @@ -1940,6 +1954,7 @@ static lean_object* l_Lean_Parser_Level_quot___closed__9; static lean_object* l_Lean_Parser_Term_forall_formatter___closed__10; static lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_haveDecl_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__18; static lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_paren_formatter___closed__8; static lean_object* l_Lean_Parser_Term_letPatDecl_parenthesizer___closed__1; @@ -1973,6 +1988,7 @@ static lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_explicitUniv_formatter___closed__6; static lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__30; static lean_object* l_Lean_Parser_Term_paren_formatter___closed__9; static lean_object* l_Lean_Parser_Term_structInstField___closed__2; static lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__1; @@ -1981,6 +1997,7 @@ lean_object* l_Lean_Parser_Term_have; static lean_object* l_Lean_Parser_Term_letIdLhs___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_let_formatter___closed__2; static lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__14; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__15; static lean_object* l_Lean_Parser_Term_structInstField___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_typeSpec; static lean_object* l_Lean_Parser_Term_hole_formatter___closed__3; @@ -2131,7 +2148,6 @@ static lean_object* l_Lean_Parser_Term_fun___closed__1; static lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_explicitBinder___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_sorry___closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__12; static lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__11; static lean_object* l___regBuiltin_Lean_Parser_Term_binrel_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__3; @@ -2157,7 +2173,6 @@ lean_object* l_Lean_PrettyPrinter_Formatter_node_formatter(lean_object*, lean_ob static lean_object* l___regBuiltin_Lean_Parser_Term_depArrow_formatter___closed__1; static lean_object* l_Lean_Parser_Term_forInMacro___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__9; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__10; static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_forInMacro___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__13; @@ -2173,6 +2188,7 @@ static lean_object* l_Lean_Parser_Term_explicitUniv___closed__3; static lean_object* l_Lean_Parser_Term_matchDiscr_quot_parenthesizer___closed__5; lean_object* l___regBuiltinParser_Lean_Parser_Term_inaccessible(lean_object*); static lean_object* l_Lean_Parser_Term_cdot_formatter___closed__2; +static lean_object* l_Lean_Parser_Term_binop__lazy___closed__2; static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_typeSpec_formatter___closed__2; lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2195,7 +2211,6 @@ lean_object* l_Lean_Parser_Term_implicitBinder_parenthesizer(uint8_t, lean_objec static lean_object* l_Lean_Parser_convParser___closed__2; static lean_object* l_Lean_Parser_Term_haveIdLhs___closed__1; static lean_object* l_Lean_Parser_Term_attrKind___elambda__1___closed__8; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__20; static lean_object* l_Lean_Parser_Term_structInstField___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_tupleTail_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_quot_parenthesizer___closed__5; @@ -2205,7 +2220,6 @@ static lean_object* l_Lean_Parser_Term_fromTerm_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_letRecDecls_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__32; static lean_object* l_Lean_Parser_Term_structInstArrayRef___closed__3; lean_object* l_Lean_Parser_Term_fun_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_typeOf___closed__8; @@ -2314,6 +2328,7 @@ static lean_object* l_Lean_Parser_Term_assert_formatter___closed__4; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__34; static lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__10; static lean_object* l___regBuiltin_Lean_Parser_Term_panic_parenthesizer___closed__2; +static lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter___closed__1; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_scoped; static lean_object* l_Lean_Parser_Term_attrKind___elambda__1___closed__9; @@ -2416,7 +2431,9 @@ static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__6; static lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__12; static lean_object* l_Lean_Parser_Term_letIdDecl_formatter___closed__4; static lean_object* l_Lean_Parser_Term_match___closed__2; +static lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_binderIdent___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__3; static lean_object* l_Lean_Parser_Term_dbgTrace___closed__4; lean_object* l_Lean_Parser_Term_haveEqnsDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_darrow___elambda__1___closed__3; @@ -2504,6 +2521,7 @@ static lean_object* l_Lean_Parser_Tactic_quotSeq_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_proj___closed__5; static lean_object* l_Lean_Parser_Term_letIdDecl_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_binderDefault___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__5; static lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_fromTerm_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_structInstField___closed__1; @@ -2534,13 +2552,14 @@ static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__21; static lean_object* l_Lean_Parser_Term_binrel_parenthesizer___closed__7; lean_object* l___regBuiltin_Lean_Parser_Term_suffices_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_haveDecl___closed__5; +static lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_paren_formatter___closed__4; static lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__26; static lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_structInstField___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__14; lean_object* l___regBuiltin_Lean_Parser_Term_sorry_parenthesizer(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__26; static lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_pipeProj_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_proj___closed__3; @@ -2554,6 +2573,7 @@ static lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_type_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_implicitBinder(uint8_t); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__28; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__16; lean_object* l___regBuiltin_Lean_Parser_Tactic_quot_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__1; @@ -2588,6 +2608,7 @@ static lean_object* l_Lean_Parser_Term_leading__parser___closed__9; lean_object* l_Lean_Parser_interpolatedStr(lean_object*); static lean_object* l_Lean_Parser_Term_letPatDecl___closed__7; static lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__4; static lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__24; static lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_explicitBinder___boxed(lean_object*); @@ -2597,6 +2618,7 @@ static lean_object* l_Lean_Parser_Term_binrel_formatter___closed__1; static lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__12; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__20; static lean_object* l_Lean_Parser_Term_show___closed__5; +static lean_object* l_Lean_Parser_Term_binop__lazy___closed__7; static lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_simpleBinder_formatter___closed__2; static lean_object* l_Lean_Parser_Term_basicFun_parenthesizer___closed__1; @@ -2618,6 +2640,7 @@ static lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticSeq___closed__4; static lean_object* l_Lean_Parser_Term_funBinder_quot_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_explicitBinder___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__27; static lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__2; lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_doubleQuotedName_formatter___closed__1; @@ -2675,6 +2698,7 @@ lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_basicFun___closed__6; static lean_object* l_Lean_Parser_Term_fun___closed__4; static lean_object* l_Lean_Parser_Term_sufficesDecl___elambda__1___closed__9; +lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__8; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_49____closed__1; @@ -2703,7 +2727,7 @@ static lean_object* l_Lean_Parser_Term_bracketedBinder_quot_parenthesizer___clos static lean_object* l___regBuiltin_Lean_Parser_Term_show_formatter___closed__2; static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__12; lean_object* l_Lean_PrettyPrinter_Parenthesizer_pushNone_parenthesizer___boxed(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__35; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__31; lean_object* l_Lean_Parser_Term_app_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_explicitBinder(uint8_t); static lean_object* l_Lean_Parser_Term_type___closed__1; @@ -2817,10 +2841,12 @@ static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___closed__3; static lean_object* l_Lean_Parser_Term_show_formatter___closed__4; static lean_object* l_Lean_Parser_Term_trailing__parser_parenthesizer___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_formatter___closed__1; +lean_object* l_Lean_Parser_Term_binop__lazy_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_haveIdDecl___closed__3; static lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_structInst___closed__12; static lean_object* l_Lean_Parser_Term_nomatch___closed__6; +static lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_letRecDecl___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_binop___elambda__1(lean_object*, lean_object*); @@ -2883,6 +2909,7 @@ static lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__15; lean_object* l_Lean_Parser_Term_strictImplicitBinder_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_pipeProj_formatter___closed__2; +static lean_object* l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_structInstArrayRef_parenthesizer___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_formatter(lean_object*); @@ -2970,6 +2997,7 @@ static lean_object* l_Lean_Parser_Term_proj___closed__1; static lean_object* l_Lean_Parser_Term_optEllipsis___closed__3; static lean_object* l_Lean_Parser_Term_forall_formatter___closed__4; static lean_object* l_Lean_Parser_Term_letIdLhs___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__17; lean_object* l_Lean_PrettyPrinter_Formatter_withPosition_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltinParser_Lean_Parser_Term_str___closed__1; static lean_object* l_Lean_Parser_Term_sort___closed__5; @@ -3069,6 +3097,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___clos static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_let___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__7; +static lean_object* l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_noindex___closed__6; static lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__8; @@ -3091,6 +3120,7 @@ static lean_object* l_Lean_Parser_Term_generalizingParam_formatter___closed__3; static lean_object* l_Lean_Parser_Term_haveEqnsDecl___closed__2; static lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__20; lean_object* l_Lean_Parser_Level_quot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__8; static lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_haveDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_noImplicitLambda___elambda__1___closed__13; @@ -3130,12 +3160,14 @@ static lean_object* l_Lean_Parser_Term_let__fun___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_macroDollarArg_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_haveIdDecl_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__9; static lean_object* l_Lean_Parser_Term_let_formatter___closed__4; static lean_object* l_Lean_Parser_Term_funSimpleBinder___closed__3; static lean_object* l_Lean_Parser_Term_depArrow_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_arrayRef_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_arrow___elambda__1___closed__1; extern lean_object* l_Lean_groupKind; +static lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_ensureTypeOf_formatter___closed__3; static lean_object* l_Lean_Parser_Term_have___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_trailing__parser___elambda__1___closed__7; @@ -3202,9 +3234,11 @@ lean_object* l_Lean_Parser_Term_binderIdent; static lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_simpleBinder___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_falseVal_formatter___closed__1; +static lean_object* l_Lean_Parser_Term_binop__lazy___closed__5; lean_object* l_Lean_Parser_Term_proj_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__12; static lean_object* l_Lean_Parser_Term_whereDecls___closed__6; +static lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_let_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_forall_formatter___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -3232,6 +3266,7 @@ static lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__14; static lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__17; static lean_object* l___regBuiltin_Lean_Parser_Term_pipeCompletion_formatter___closed__1; static lean_object* l_Lean_Parser_Term_panic___closed__6; +static lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_parserOfStack_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_optExprPrecedence___closed__1; @@ -3345,7 +3380,6 @@ static lean_object* l_Lean_Parser_Term_attrKind___closed__2; static lean_object* l_Lean_Parser_Term_structInstLVal___closed__4; lean_object* l_Lean_Parser_Term_macroArg_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchAlt(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__9; lean_object* l_Lean_Parser_Term_letIdLhs_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_depArrow_formatter___closed__3; @@ -3353,7 +3387,6 @@ static lean_object* l_Lean_Parser_Term_falseVal___closed__1; static lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_optEllipsis_formatter___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__27; lean_object* l_Lean_Parser_Term_binderDefault___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_nomatch___closed__2; static lean_object* l_Lean_Parser_Term_haveDecl___closed__1; @@ -3381,6 +3414,7 @@ static lean_object* l_Lean_Parser_Term_leading__parser_parenthesizer___closed__2 static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__25; static lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_char_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_let__delayed_formatter___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_paren_formatter___closed__1; static lean_object* l_Lean_Parser_Term_namedArgument___elambda__1___closed__10; @@ -3394,7 +3428,6 @@ static lean_object* l_Lean_Parser_Term_let__delayed___closed__3; static lean_object* l_Lean_Parser_Term_sort___closed__6; static lean_object* l_Lean_Parser_Term_funBinder_quot_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__7; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__4; static lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__19; static lean_object* l_Lean_Parser_Command_docComment_formatter___closed__3; lean_object* l_Lean_Parser_Term_simpleBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3429,6 +3462,7 @@ static lean_object* l_Lean_Parser_Term_subst___closed__3; static lean_object* l_Lean_Parser_Term_forInMacro___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__10; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__35; static lean_object* l_Lean_Parser_Term_suffices_formatter___closed__8; static lean_object* l_Lean_Parser_Term_type___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_let__fun_formatter___closed__4; @@ -3446,7 +3480,6 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_pipeProj(lean_object*); static lean_object* l_Lean_Parser_Term_attrInstance___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_instBinder___closed__8; static lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__31; static lean_object* l_Lean_Parser_Term_sufficesDecl___elambda__1___closed__2; static lean_object* l_Lean_Parser_darrow___closed__1; lean_object* l_Lean_Parser_Term_letrec___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -3778,7 +3811,6 @@ static lean_object* l_Lean_Parser_Term_letRecDecl_formatter___closed__4; lean_object* l_Lean_Parser_Term_forInMacro___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_pipeCompletion___closed__1; static lean_object* l_Lean_Parser_Term_letDecl_parenthesizer___closed__8; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__17; static lean_object* l_Lean_Parser_Term_subst___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_haveIdDecl___closed__1; static lean_object* l_Lean_Parser_Term_doubleQuotedName___elambda__1___closed__12; @@ -3910,7 +3942,6 @@ static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_letRecDecls___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_attr_quot___elambda__1___closed__14; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__6; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__6; static lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_letIdDecl___closed__2; @@ -3953,10 +3984,10 @@ lean_object* l___regBuiltin_Lean_Parser_Term_arrow_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_letPatDecl_formatter___closed__2; static lean_object* l_Lean_Parser_Term_letIdLhs_formatter___closed__1; static lean_object* l_Lean_Parser_Term_ellipsis_formatter___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__34; static lean_object* l___regBuiltin_Lean_Parser_Term_arrow_formatter___closed__2; lean_object* l_Lean_Parser_levelParser_formatter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_letRecDecls___elambda__1___closed__8; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__2; static lean_object* l_Lean_Parser_Term_syntheticHole___closed__3; lean_object* l_Lean_Parser_darrow___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_attrInstance___elambda__1___closed__9; @@ -4046,6 +4077,7 @@ static lean_object* l_Lean_Parser_Term_letIdDecl___closed__1; static lean_object* l_Lean_Parser_Term_funBinder_quot_formatter___closed__5; static lean_object* l_Lean_Parser_Term_arrow___closed__7; static lean_object* l_Lean_Parser_Term_matchAltExpr___closed__1; +lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev___elambda__1___closed__3; static lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__7; @@ -4103,6 +4135,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_noindex_parenthesizer___clos static lean_object* l_Lean_Parser_Term_matchDiscr_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_quot; static lean_object* l_Lean_Parser_Term_assert_formatter___closed__3; +static lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_structInstLVal_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Term_letRecDecl___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_bracketedBinder_quot___closed__1; @@ -4198,6 +4231,7 @@ static lean_object* l_Lean_Parser_Term_funSimpleBinder_parenthesizer___closed__3 static lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_tupleTail_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_str_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__36; static lean_object* l_Lean_Parser_Term_trailing__parser___closed__3; static lean_object* l_Lean_Parser_Term_letRecDecl___closed__5; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__8; @@ -4241,6 +4275,7 @@ static lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_let__fun___elambda__1___closed__1; static lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_type___closed__5; +lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_sufficesDecl_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_attributes_formatter___closed__7; static lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__2; @@ -4255,7 +4290,6 @@ static lean_object* l_Lean_Parser_Term_generalizingParam_parenthesizer___closed_ static lean_object* l___regBuiltin_Lean_Parser_Term_trailing__parser_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_optEllipsis___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__11; static lean_object* l_Lean_Parser_Term_binrel___closed__11; lean_object* l___regBuiltin_Lean_Parser_Term_num_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__14; @@ -4287,6 +4321,7 @@ static lean_object* l_Lean_Parser_Term_have___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_doubleQuotedName_formatter___closed__2; static lean_object* l_Lean_Parser_Term_fun_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_optExprPrecedence_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__25; static lean_object* l_Lean_Parser_Term_noImplicitLambda___closed__1; static lean_object* l_Lean_Parser_Term_sufficesDecl_formatter___closed__5; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__24; @@ -4320,6 +4355,7 @@ static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__17; static lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_app___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___closed__14; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__29; static lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__6; @@ -4348,7 +4384,6 @@ static lean_object* l_Lean_Parser_Term_leading__parser___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__22; lean_object* l_Lean_Parser_Tactic_tacticSeq_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__13; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__1; static lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_attrInstance_formatter___closed__6; static lean_object* l_Lean_Parser_Term_fun_formatter___closed__1; @@ -4476,7 +4511,6 @@ static lean_object* l_Lean_Parser_Term_pipeProj_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_attr_quot___closed__9; static lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__6; static lean_object* l_Lean_Parser_Term_namedPattern___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__19; static lean_object* l_Lean_Parser_Term_attrKind_formatter___closed__6; static lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_funStrictImplicitBinder_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4491,6 +4525,7 @@ static lean_object* l_Lean_Parser_Term_forall_parenthesizer___closed__12; static lean_object* l_Lean_Parser_Term_fun_formatter___closed__2; static lean_object* l_Lean_Parser_Term_trueVal___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_optSemicolon_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_binop__lazy_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_anonymousCtor_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_paren___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_explicitUniv___closed__11; @@ -4681,8 +4716,10 @@ static lean_object* l_Lean_Parser_Term_simpleBinder___closed__7; static lean_object* l_Lean_Parser_Term_let__delayed___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__10; static lean_object* l_Lean_Parser_Term_letDecl___closed__14; +static lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1___closed__2; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_formatter___closed__9; static lean_object* l_Lean_Parser_Term_attr_quot___elambda__1___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__6; lean_object* l_Lean_Parser_numLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_generalizingParam_parenthesizer___closed__1; lean_object* l_Lean_Parser_ParserState_mkUnexpectedError(lean_object*, lean_object*, lean_object*); @@ -4740,7 +4777,6 @@ static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_trailing__parser___closed__7; lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l_Lean_Parser_Term_bracketedBinder_formatter(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__2; static lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_binrel_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_generalizingParam___closed__8; @@ -4765,7 +4801,7 @@ static lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__14; static lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_trueVal___elambda__1___closed__6; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_49_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439_(lean_object*); static lean_object* l_Lean_Parser_Term_parenSpecial_formatter___closed__3; static lean_object* l_Lean_Parser_Term_have___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_noindex___elambda__1___closed__5; @@ -4784,6 +4820,7 @@ static lean_object* l_Lean_Parser_Term_depArrow_formatter___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_arrayRef_formatter___closed__1; static lean_object* l_Lean_Parser_Term_simpleBinderWithoutType___closed__5; lean_object* l_Lean_Parser_Term_dbgTrace_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_binop__lazy; lean_object* l___regBuiltin_Lean_Parser_Term_pipeCompletion_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_tupleTail_formatter___closed__1; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev___closed__1; @@ -4799,6 +4836,7 @@ static lean_object* l_Lean_Parser_Term_doubleQuotedName_formatter___closed__5; static lean_object* l_Lean_Parser_Term_bracketedBinder_quot_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_macroDollarArg_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_strictImplicitBinder(uint8_t); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__34; static lean_object* l_Lean_Parser_Term_dbgTrace___closed__7; static lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__9; static lean_object* l_Lean_Parser_Term_letRecDecls___closed__2; @@ -4844,7 +4882,6 @@ static lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__22; static lean_object* l_Lean_Parser_Term_letrec_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_binop_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_match___closed__10; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__8; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_49____closed__3; lean_object* l_Lean_Parser_symbol_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_forInMacro_parenthesizer___closed__3; @@ -4869,6 +4906,7 @@ static lean_object* l_Lean_Parser_Term_matchDiscr_quot___closed__3; static lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_sufficesDecl_formatter___closed__4; static lean_object* l_Lean_Parser_Term_tupleTail_parenthesizer___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__1; static lean_object* l_Lean_Parser_Term_namedPattern_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_macroLastArg_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__24; @@ -4915,6 +4953,7 @@ static lean_object* l_Lean_Parser_Term_sort___closed__7; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_formatter___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_forall_formatter___closed__2; static lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__10; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__19; static lean_object* l_Lean_Parser_Term_pipeProj___closed__1; static lean_object* l_Lean_Parser_Term_letIdLhs_formatter___closed__6; static lean_object* l_Lean_Parser_Term_noImplicitLambda___closed__6; @@ -4959,6 +4998,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_char_parenthesizer___closed_ static lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_local___closed__5; static lean_object* l_Lean_Parser_Level_quot_parenthesizer___closed__5; +static lean_object* l_Lean_Parser_Term_binop__lazy_formatter___closed__3; static lean_object* l_Lean_Parser_Term_funBinder_quot_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_letrec___closed__10; static lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__1; @@ -4980,6 +5020,7 @@ static lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__20; lean_object* l_Lean_Parser_Term_trueVal; extern lean_object* l_Lean_Parser_strLit; static lean_object* l_Lean_Parser_Term_trueVal_formatter___closed__1; +static lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1___closed__13; static lean_object* l_Lean_Parser_Term_generalizingParam___elambda__1___closed__7; static lean_object* l_Lean_Parser_Term_leading__parser_formatter___closed__2; static lean_object* l_Lean_Parser_Tactic_quot_parenthesizer___closed__4; @@ -4996,6 +5037,7 @@ static lean_object* l_Lean_Parser_Term_doubleQuotedName___elambda__1___closed__4 static lean_object* l_Lean_Parser_Term_letIdLhs_formatter___closed__2; static lean_object* l_Lean_Parser_Command_docComment___elambda__1___lambda__3___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Tactic_quot_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Term_binop__lazy___closed__3; static lean_object* l_Lean_Parser_Term_noindex_formatter___closed__2; static lean_object* l_Lean_Parser_Term_leading__parser___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_let; @@ -5012,7 +5054,6 @@ lean_object* l___regBuiltin_Lean_Parser_Term_pipeProj_parenthesizer(lean_object* static lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__22; static lean_object* l_Lean_Parser_Tactic_quotSeq_formatter___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticSeq_parenthesizer___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__36; lean_object* l_Lean_Parser_Level_quot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ppDedent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_doubleQuotedName_formatter___closed__6; @@ -5065,7 +5106,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_attr_quot_formatter___closed static lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__22; static lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_match___elambda__1___closed__13; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__25; lean_object* l_Lean_Parser_termParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_attributes_formatter___closed__3; @@ -5109,6 +5149,7 @@ static lean_object* l_Lean_Parser_Term_bracketedBinder_quot_formatter___closed__ static lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_structInstLVal_parenthesizer___closed__11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__11; static lean_object* l_Lean_Parser_Term_optEllipsis_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_binrel_formatter___closed__7; static lean_object* l_Lean_Parser_Term_strictImplicitRightBracket___elambda__1___closed__5; @@ -54317,6 +54358,590 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("binop_lazy"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_byTactic___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__3; +x_3 = 1; +x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("binop_lazy% "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__5; +x_2 = l_String_trim(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__6; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__7; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tokenWithAntiquotFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__8; +x_2 = l_Lean_Parser_Term_binrel___elambda__1___closed__11; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__9; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__10; +x_2 = l_Lean_Parser_Command_docComment___elambda__1___closed__20; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_docComment___elambda__1___closed__18; +x_2 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__11; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_docComment___elambda__1___lambda__3___closed__6; +x_2 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__13; +x_2 = l_Lean_Parser_Command_docComment___elambda__1___lambda__3___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Parser_Term_binop__lazy___elambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__4; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_5 = l_Lean_Parser_tryAnti(x_1, x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +lean_dec(x_4); +x_6 = lean_unsigned_to_nat(1024u); +x_7 = l_Lean_Parser_checkPrecFn(x_6, x_1, x_2); +x_8 = lean_ctor_get(x_7, 4); +lean_inc(x_8); +x_9 = lean_box(0); +x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); +lean_dec(x_8); +if (x_10 == 0) +{ +lean_dec(x_1); +return x_7; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_25; +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +x_12 = lean_array_get_size(x_11); +lean_dec(x_11); +x_13 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__6; +x_14 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__14; +lean_inc(x_1); +x_15 = l_Lean_Parser_symbolFnAux(x_13, x_14, x_1, x_7); +x_16 = lean_ctor_get(x_15, 4); +lean_inc(x_16); +x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_16, x_9); +lean_dec(x_16); +if (x_17 == 0) +{ +x_25 = x_15; +goto block_37; +} +else +{ +lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_38 = lean_ctor_get(x_1, 4); +lean_inc(x_38); +x_39 = lean_unsigned_to_nat(0u); +x_40 = lean_nat_dec_eq(x_38, x_39); +lean_dec(x_38); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_box(0); +lean_inc(x_1); +x_42 = l_Lean_Parser_Command_docComment___elambda__1___lambda__3(x_15, x_1, x_9, x_41); +x_25 = x_42; +goto block_37; +} +else +{ +x_25 = x_15; +goto block_37; +} +} +block_24: +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_19 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__2; +x_20 = l_Lean_Parser_ParserState_mkNode(x_18, x_19, x_12); +x_21 = lean_ctor_get(x_20, 4); +lean_inc(x_21); +x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_21, x_9); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_dec(x_1); +return x_20; +} +else +{ +lean_object* x_23; +x_23 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_20); +lean_dec(x_1); +return x_23; +} +} +block_37: +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_25, 4); +lean_inc(x_26); +x_27 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_26, x_9); +lean_dec(x_26); +if (x_27 == 0) +{ +x_18 = x_25; +goto block_24; +} +else +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; +lean_inc(x_1); +x_28 = l_Lean_Parser_Term_ident___elambda__1(x_1, x_25); +x_29 = lean_ctor_get(x_28, 4); +lean_inc(x_29); +x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_29, x_9); +lean_dec(x_29); +if (x_30 == 0) +{ +x_18 = x_28; +goto block_24; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_31 = l___regBuiltinParser_Lean_Parser_Term_byTactic___closed__2; +x_32 = l_Lean_Parser_maxPrec; +lean_inc(x_1); +x_33 = l_Lean_Parser_categoryParser___elambda__1(x_31, x_32, x_1, x_28); +x_34 = lean_ctor_get(x_33, 4); +lean_inc(x_34); +x_35 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_34, x_9); +lean_dec(x_34); +if (x_35 == 0) +{ +x_18 = x_33; +goto block_24; +} +else +{ +lean_object* x_36; +lean_inc(x_1); +x_36 = l_Lean_Parser_categoryParser___elambda__1(x_31, x_32, x_1, x_33); +x_18 = x_36; +goto block_24; +} +} +} +} +} +} +else +{ +lean_object* x_43; uint8_t x_44; lean_object* x_45; +x_43 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__12; +x_44 = 1; +x_45 = l_Lean_Parser_orelseFnCore(x_4, x_43, x_44, x_1, x_2); +return x_45; +} +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__6; +x_2 = l_Lean_Parser_symbolInfo(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_binop__lazy___closed__1; +x_2 = l_Lean_Parser_Term_binrel___closed__4; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_binop__lazy___closed__2; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_binop__lazy___closed__3; +x_2 = l_Lean_Parser_epsilonInfo; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Term_binop__lazy___closed__4; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_binop__lazy___closed__5; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_binop__lazy___elambda__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_binop__lazy___closed__6; +x_2 = l_Lean_Parser_Term_binop__lazy___closed__7; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Term_binop__lazy___closed__8; +return x_1; +} +} +lean_object* l___regBuiltinParser_Lean_Parser_Term_binop__lazy(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_2 = l___regBuiltinParser_Lean_Parser_Term_byTactic___closed__2; +x_3 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__2; +x_4 = 1; +x_5 = l_Lean_Parser_Term_binop__lazy; +x_6 = lean_unsigned_to_nat(1000u); +x_7 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_6, x_1); +return x_7; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy_formatter___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_binop__lazy_formatter___closed__2; +x_2 = l_Lean_Parser_Term_binrel_formatter___closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_binop__lazy_formatter___closed__3; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Term_binop__lazy_formatter(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; +x_6 = l_Lean_Parser_Term_binop__lazy_formatter___closed__1; +x_7 = l_Lean_Parser_Term_binop__lazy_formatter___closed__4; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__2; +x_2 = l___regBuiltin_Lean_Parser_Term_byTactic_formatter___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_binop__lazy_formatter), 5, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_PrettyPrinter_formatterAttribute; +x_3 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__2; +x_4 = l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter___closed__1; +x_5 = l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter___closed__2; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Term_binrel_parenthesizer___closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__3; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Term_binop__lazy_parenthesizer(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; +x_6 = l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__1; +x_7 = l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__4; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binop__lazy_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__2; +x_2 = l___regBuiltin_Lean_Parser_Term_byTactic_parenthesizer___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Parser_Term_binop__lazy_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_binop__lazy_parenthesizer), 5, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy_parenthesizer(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute; +x_3 = l_Lean_Parser_Term_binop__lazy___elambda__1___closed__2; +x_4 = l___regBuiltin_Lean_Parser_Term_binop__lazy_parenthesizer___closed__1; +x_5 = l___regBuiltin_Lean_Parser_Term_binop__lazy_parenthesizer___closed__2; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} static lean_object* _init_l_Lean_Parser_Term_forInMacro___elambda__1___closed__1() { _start: { @@ -73532,7 +74157,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -73542,7 +74167,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -73552,7 +74177,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -73562,7 +74187,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -73572,7 +74197,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -73582,7 +74207,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -73592,7 +74217,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__7() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -73602,7 +74227,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__8() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -73612,7 +74237,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__9() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -73622,7 +74247,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__10() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__10() { _start: { lean_object* x_1; lean_object* x_2; @@ -73632,7 +74257,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__11() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__11() { _start: { lean_object* x_1; lean_object* x_2; @@ -73642,7 +74267,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__12() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -73652,7 +74277,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__13() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -73662,7 +74287,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__14() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__14() { _start: { lean_object* x_1; lean_object* x_2; @@ -73672,7 +74297,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__15() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -73682,7 +74307,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__16() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__16() { _start: { lean_object* x_1; lean_object* x_2; @@ -73692,7 +74317,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__17() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -73702,7 +74327,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__18() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -73712,7 +74337,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__19() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__19() { _start: { lean_object* x_1; lean_object* x_2; @@ -73722,7 +74347,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__20() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__20() { _start: { lean_object* x_1; lean_object* x_2; @@ -73732,7 +74357,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__21() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -73742,7 +74367,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__22() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__22() { _start: { lean_object* x_1; lean_object* x_2; @@ -73752,7 +74377,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__23() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__23() { _start: { lean_object* x_1; lean_object* x_2; @@ -73762,7 +74387,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__24() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__24() { _start: { lean_object* x_1; lean_object* x_2; @@ -73772,7 +74397,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__25() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -73782,7 +74407,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__26() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__26() { _start: { lean_object* x_1; lean_object* x_2; @@ -73792,7 +74417,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__27() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -73802,7 +74427,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__28() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__28() { _start: { lean_object* x_1; lean_object* x_2; @@ -73812,7 +74437,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__29() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -73822,7 +74447,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__30() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__30() { _start: { lean_object* x_1; lean_object* x_2; @@ -73832,7 +74457,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__31() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__31() { _start: { lean_object* x_1; lean_object* x_2; @@ -73842,7 +74467,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__32() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__32() { _start: { lean_object* x_1; lean_object* x_2; @@ -73852,7 +74477,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__33() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -73862,7 +74487,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__34() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__34() { _start: { lean_object* x_1; lean_object* x_2; @@ -73872,7 +74497,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__35() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__35() { _start: { lean_object* x_1; lean_object* x_2; @@ -73882,7 +74507,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__36() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__36() { _start: { lean_object* x_1; lean_object* x_2; @@ -73892,13 +74517,13 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Parser_parserAliasesRef; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__1; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__2; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__1; +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__2; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -73907,7 +74532,7 @@ x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); x_7 = l_Lean_PrettyPrinter_Formatter_formatterAliasesRef; -x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__3; +x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__3; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_3, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -73916,7 +74541,7 @@ x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); x_11 = l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; -x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__4; +x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__4; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_3, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -73924,8 +74549,8 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__5; -x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__6; +x_15 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__5; +x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__6; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -73933,7 +74558,7 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); -x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__7; +x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__7; x_20 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_15, x_19, x_18); if (lean_obj_tag(x_20) == 0) { @@ -73941,7 +74566,7 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); -x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__8; +x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__8; x_23 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_15, x_22, x_21); if (lean_obj_tag(x_23) == 0) { @@ -73949,8 +74574,8 @@ lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__9; -x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__10; +x_25 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__9; +x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__10; x_27 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_25, x_26, x_24); if (lean_obj_tag(x_27) == 0) { @@ -73958,7 +74583,7 @@ lean_object* x_28; lean_object* x_29; lean_object* x_30; x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__11; +x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__11; x_30 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_25, x_29, x_28); if (lean_obj_tag(x_30) == 0) { @@ -73966,7 +74591,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); lean_dec(x_30); -x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__12; +x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__12; x_33 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_25, x_32, x_31); if (lean_obj_tag(x_33) == 0) { @@ -73974,8 +74599,8 @@ lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); -x_35 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__13; -x_36 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__14; +x_35 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__13; +x_36 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__14; x_37 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_35, x_36, x_34); if (lean_obj_tag(x_37) == 0) { @@ -73983,7 +74608,7 @@ lean_object* x_38; lean_object* x_39; lean_object* x_40; x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); -x_39 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__15; +x_39 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__15; x_40 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_35, x_39, x_38); if (lean_obj_tag(x_40) == 0) { @@ -73991,7 +74616,7 @@ lean_object* x_41; lean_object* x_42; lean_object* x_43; x_41 = lean_ctor_get(x_40, 1); lean_inc(x_41); lean_dec(x_40); -x_42 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__16; +x_42 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__16; x_43 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_35, x_42, x_41); if (lean_obj_tag(x_43) == 0) { @@ -73999,8 +74624,8 @@ lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; x_44 = lean_ctor_get(x_43, 1); lean_inc(x_44); lean_dec(x_43); -x_45 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__17; -x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__18; +x_45 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__17; +x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__18; x_47 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_45, x_46, x_44); if (lean_obj_tag(x_47) == 0) { @@ -74008,7 +74633,7 @@ lean_object* x_48; lean_object* x_49; lean_object* x_50; x_48 = lean_ctor_get(x_47, 1); lean_inc(x_48); lean_dec(x_47); -x_49 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__19; +x_49 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__19; x_50 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_45, x_49, x_48); if (lean_obj_tag(x_50) == 0) { @@ -74016,7 +74641,7 @@ lean_object* x_51; lean_object* x_52; lean_object* x_53; x_51 = lean_ctor_get(x_50, 1); lean_inc(x_51); lean_dec(x_50); -x_52 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__20; +x_52 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__20; x_53 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_45, x_52, x_51); if (lean_obj_tag(x_53) == 0) { @@ -74024,8 +74649,8 @@ lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; x_54 = lean_ctor_get(x_53, 1); lean_inc(x_54); lean_dec(x_53); -x_55 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__21; -x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__22; +x_55 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__21; +x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__22; x_57 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_55, x_56, x_54); if (lean_obj_tag(x_57) == 0) { @@ -74033,7 +74658,7 @@ lean_object* x_58; lean_object* x_59; lean_object* x_60; x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); lean_dec(x_57); -x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__23; +x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__23; x_60 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_55, x_59, x_58); if (lean_obj_tag(x_60) == 0) { @@ -74041,7 +74666,7 @@ lean_object* x_61; lean_object* x_62; lean_object* x_63; x_61 = lean_ctor_get(x_60, 1); lean_inc(x_61); lean_dec(x_60); -x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__24; +x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__24; x_63 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_55, x_62, x_61); if (lean_obj_tag(x_63) == 0) { @@ -74049,8 +74674,8 @@ lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; x_64 = lean_ctor_get(x_63, 1); lean_inc(x_64); lean_dec(x_63); -x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__25; -x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__26; +x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__25; +x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__26; x_67 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_65, x_66, x_64); if (lean_obj_tag(x_67) == 0) { @@ -74058,7 +74683,7 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; x_68 = lean_ctor_get(x_67, 1); lean_inc(x_68); lean_dec(x_67); -x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__27; +x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__27; x_70 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_65, x_69, x_68); if (lean_obj_tag(x_70) == 0) { @@ -74066,7 +74691,7 @@ lean_object* x_71; lean_object* x_72; lean_object* x_73; x_71 = lean_ctor_get(x_70, 1); lean_inc(x_71); lean_dec(x_70); -x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__28; +x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__28; x_73 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_65, x_72, x_71); if (lean_obj_tag(x_73) == 0) { @@ -74074,8 +74699,8 @@ lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); lean_dec(x_73); -x_75 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__29; -x_76 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__30; +x_75 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__29; +x_76 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__30; x_77 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_75, x_76, x_74); if (lean_obj_tag(x_77) == 0) { @@ -74083,7 +74708,7 @@ lean_object* x_78; lean_object* x_79; lean_object* x_80; x_78 = lean_ctor_get(x_77, 1); lean_inc(x_78); lean_dec(x_77); -x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__31; +x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__31; x_80 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_75, x_79, x_78); if (lean_obj_tag(x_80) == 0) { @@ -74091,7 +74716,7 @@ lean_object* x_81; lean_object* x_82; lean_object* x_83; x_81 = lean_ctor_get(x_80, 1); lean_inc(x_81); lean_dec(x_80); -x_82 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__32; +x_82 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__32; x_83 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_75, x_82, x_81); if (lean_obj_tag(x_83) == 0) { @@ -74099,8 +74724,8 @@ lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; x_84 = lean_ctor_get(x_83, 1); lean_inc(x_84); lean_dec(x_83); -x_85 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__33; -x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__34; +x_85 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__33; +x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__34; x_87 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_85, x_86, x_84); if (lean_obj_tag(x_87) == 0) { @@ -74108,7 +74733,7 @@ lean_object* x_88; lean_object* x_89; lean_object* x_90; x_88 = lean_ctor_get(x_87, 1); lean_inc(x_88); lean_dec(x_87); -x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__35; +x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__35; x_90 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_85, x_89, x_88); if (lean_obj_tag(x_90) == 0) { @@ -74116,7 +74741,7 @@ lean_object* x_91; lean_object* x_92; lean_object* x_93; x_91 = lean_ctor_get(x_90, 1); lean_inc(x_91); lean_dec(x_90); -x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__36; +x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__36; x_93 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_85, x_92, x_91); return x_93; } @@ -81335,6 +81960,85 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_binop_parenthesizer___close res = l___regBuiltin_Lean_Parser_Term_binop_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Term_binop__lazy___elambda__1___closed__1 = _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___elambda__1___closed__1); +l_Lean_Parser_Term_binop__lazy___elambda__1___closed__2 = _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___elambda__1___closed__2); +l_Lean_Parser_Term_binop__lazy___elambda__1___closed__3 = _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___elambda__1___closed__3); +l_Lean_Parser_Term_binop__lazy___elambda__1___closed__4 = _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___elambda__1___closed__4); +l_Lean_Parser_Term_binop__lazy___elambda__1___closed__5 = _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___elambda__1___closed__5); +l_Lean_Parser_Term_binop__lazy___elambda__1___closed__6 = _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___elambda__1___closed__6); +l_Lean_Parser_Term_binop__lazy___elambda__1___closed__7 = _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___elambda__1___closed__7); +l_Lean_Parser_Term_binop__lazy___elambda__1___closed__8 = _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___elambda__1___closed__8); +l_Lean_Parser_Term_binop__lazy___elambda__1___closed__9 = _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__9(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___elambda__1___closed__9); +l_Lean_Parser_Term_binop__lazy___elambda__1___closed__10 = _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__10(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___elambda__1___closed__10); +l_Lean_Parser_Term_binop__lazy___elambda__1___closed__11 = _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__11(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___elambda__1___closed__11); +l_Lean_Parser_Term_binop__lazy___elambda__1___closed__12 = _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__12(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___elambda__1___closed__12); +l_Lean_Parser_Term_binop__lazy___elambda__1___closed__13 = _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__13(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___elambda__1___closed__13); +l_Lean_Parser_Term_binop__lazy___elambda__1___closed__14 = _init_l_Lean_Parser_Term_binop__lazy___elambda__1___closed__14(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___elambda__1___closed__14); +l_Lean_Parser_Term_binop__lazy___closed__1 = _init_l_Lean_Parser_Term_binop__lazy___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___closed__1); +l_Lean_Parser_Term_binop__lazy___closed__2 = _init_l_Lean_Parser_Term_binop__lazy___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___closed__2); +l_Lean_Parser_Term_binop__lazy___closed__3 = _init_l_Lean_Parser_Term_binop__lazy___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___closed__3); +l_Lean_Parser_Term_binop__lazy___closed__4 = _init_l_Lean_Parser_Term_binop__lazy___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___closed__4); +l_Lean_Parser_Term_binop__lazy___closed__5 = _init_l_Lean_Parser_Term_binop__lazy___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___closed__5); +l_Lean_Parser_Term_binop__lazy___closed__6 = _init_l_Lean_Parser_Term_binop__lazy___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___closed__6); +l_Lean_Parser_Term_binop__lazy___closed__7 = _init_l_Lean_Parser_Term_binop__lazy___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___closed__7); +l_Lean_Parser_Term_binop__lazy___closed__8 = _init_l_Lean_Parser_Term_binop__lazy___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy___closed__8); +l_Lean_Parser_Term_binop__lazy = _init_l_Lean_Parser_Term_binop__lazy(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy); +res = l___regBuiltinParser_Lean_Parser_Term_binop__lazy(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Term_binop__lazy_formatter___closed__1 = _init_l_Lean_Parser_Term_binop__lazy_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy_formatter___closed__1); +l_Lean_Parser_Term_binop__lazy_formatter___closed__2 = _init_l_Lean_Parser_Term_binop__lazy_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy_formatter___closed__2); +l_Lean_Parser_Term_binop__lazy_formatter___closed__3 = _init_l_Lean_Parser_Term_binop__lazy_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy_formatter___closed__3); +l_Lean_Parser_Term_binop__lazy_formatter___closed__4 = _init_l_Lean_Parser_Term_binop__lazy_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy_formatter___closed__4); +l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter___closed__1); +l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter___closed__2 = _init_l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter___closed__2); +res = l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__1 = _init_l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__1); +l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__2 = _init_l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__2); +l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__3 = _init_l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__3); +l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__4 = _init_l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__4); +l___regBuiltin_Lean_Parser_Term_binop__lazy_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_binop__lazy_parenthesizer___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_binop__lazy_parenthesizer___closed__1); +l___regBuiltin_Lean_Parser_Term_binop__lazy_parenthesizer___closed__2 = _init_l___regBuiltin_Lean_Parser_Term_binop__lazy_parenthesizer___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_binop__lazy_parenthesizer___closed__2); +res = l___regBuiltin_Lean_Parser_Term_binop__lazy_parenthesizer(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Parser_Term_forInMacro___elambda__1___closed__1 = _init_l_Lean_Parser_Term_forInMacro___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_forInMacro___elambda__1___closed__1); l_Lean_Parser_Term_forInMacro___elambda__1___closed__2 = _init_l_Lean_Parser_Term_forInMacro___elambda__1___closed__2(); @@ -83789,79 +84493,79 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Level_quot_parenthesizer___close res = l___regBuiltin_Lean_Parser_Level_quot_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__6); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__7(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__7); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__8(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__8); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__9(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__9); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__10(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__10); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__11(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__11); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__12(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__12); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__13(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__13); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__14(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__14); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__15(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__15); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__16(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__16); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__17(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__17); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__18(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__18); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__19(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__19); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__20(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__20); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__21(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__21); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__22(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__22); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__23(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__23); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__24(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__24); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__25(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__25); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__26(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__26); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__27(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__27); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__28(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__28); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__29 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__29(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__29); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__30 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__30(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__30); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__31 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__31(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__31); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__32 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__32(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__32); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__33 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__33(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__33); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__34 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__34(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__34); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__35 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__35(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__35); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__36 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__36(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417____closed__36); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2417_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__6); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__7(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__7); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__8(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__8); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__9(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__9); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__10(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__10); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__11(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__11); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__12(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__12); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__13(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__13); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__14(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__14); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__15(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__15); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__16(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__16); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__17(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__17); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__18(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__18); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__19(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__19); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__20(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__20); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__21(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__21); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__22(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__22); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__23(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__23); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__24(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__24); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__25(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__25); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__26(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__26); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__27(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__27); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__28(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__28); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__29 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__29(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__29); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__30 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__30(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__30); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__31 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__31(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__31); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__32 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__32(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__32); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__33 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__33(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__33); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__34 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__34(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__34); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__35 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__35(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__35); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__36 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__36(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439____closed__36); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2439_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0));