From 13518da4c74ef2354de9ec3ee611b0f4b4cfb2da Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Thu, 4 Aug 2022 19:37:58 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Lean/Elab/Tactic/Config.lean | 5 + stage0/src/Lean/Linter/MissingDocs.lean | 111 +- stage0/stdlib/Lean/Elab/Declaration.c | 10 +- stage0/stdlib/Lean/Elab/Deriving/BEq.c | 43 +- stage0/stdlib/Lean/Elab/Deriving/Basic.c | 4 +- stage0/stdlib/Lean/Elab/Deriving/DecEq.c | 43 +- stage0/stdlib/Lean/Elab/Deriving/FromToJson.c | 263 +- stage0/stdlib/Lean/Elab/Deriving/Hashable.c | 43 +- stage0/stdlib/Lean/Elab/Deriving/Ord.c | 43 +- stage0/stdlib/Lean/Elab/Deriving/Repr.c | 43 +- stage0/stdlib/Lean/Elab/MutualDef.c | 432 +-- stage0/stdlib/Lean/Elab/Tactic/Config.c | 40 +- stage0/stdlib/Lean/Linter/MissingDocs.c | 2414 +++++++---------- stage0/stdlib/Lean/Meta/IndPredBelow.c | 6 +- stage0/stdlib/Lean/Meta/Tactic/AC/Main.c | 33 +- stage0/stdlib/Lean/Widget/UserWidget.c | 4 +- 16 files changed, 1235 insertions(+), 2302 deletions(-) diff --git a/stage0/src/Lean/Elab/Tactic/Config.lean b/stage0/src/Lean/Elab/Tactic/Config.lean index 0fac460482..a6d7f35c23 100644 --- a/stage0/src/Lean/Elab/Tactic/Config.lean +++ b/stage0/src/Lean/Elab/Tactic/Config.lean @@ -6,6 +6,7 @@ Authors: Leonardo de Moura import Lean.Meta.Eval import Lean.Elab.Tactic.Basic import Lean.Elab.SyntheticMVars +import Lean.Linter.MissingDocs namespace Lean.Elab.Tactic open Meta @@ -25,4 +26,8 @@ macro (name := configElab) doc?:(docComment)? "declare_config_elab" elabName:ide eval c ) +open Linter.MissingDocs in +@[missingDocsHandler Elab.Tactic.configElab] +def checkConfigElab : SimpleHandler := mkSimpleHandler "config elab" + end Lean.Elab.Tactic diff --git a/stage0/src/Lean/Linter/MissingDocs.lean b/stage0/src/Lean/Linter/MissingDocs.lean index b0162f651b..f4ba57dcff 100644 --- a/stage0/src/Lean/Linter/MissingDocs.lean +++ b/stage0/src/Lean/Linter/MissingDocs.lean @@ -4,8 +4,6 @@ Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ -import Lean.Elab.Command -import Lean.Elab.Tactic.Config import Lean.Linter.Util namespace Lean.Linter @@ -63,6 +61,8 @@ partial def missingDocs : Linter := fun stx => do if let some h := (getHandlers (← getEnv)).find? stx.getKind then h (getLinterMissingDocs (← getOptions)) stx +builtin_initialize addLinter missingDocs + builtin_initialize let name := `missingDocsHandler registerBuiltinAttribute { @@ -92,7 +92,7 @@ def lintField (parent stx : Syntax) (msg : String) : CommandElabM Unit := lint stx s!"{msg} {parent.getId}.{stx.getId}" def lintDeclHead (k : SyntaxNodeKind) (id : Syntax) : CommandElabM Unit := do - if k == ``«abbrev» then lintNamed id s!"public abbrev" + if k == ``«abbrev» then lintNamed id "public abbrev" else if k == ``«def» then lintNamed id "public def" else if k == ``«opaque» then lintNamed id "public opaque" else if k == ``«axiom» then lintNamed id "public axiom" @@ -100,8 +100,9 @@ def lintDeclHead (k : SyntaxNodeKind) (id : Syntax) : CommandElabM Unit := do else if k == ``classInductive then lintNamed id "public inductive" else if k == ``«structure» then lintNamed id "public structure" -def checkDecl (args : Array Syntax) : CommandElabM Unit := do - let #[head, rest] := args | return +@[missingDocsHandler declaration] +def checkDecl : SimpleHandler := fun stx => do + let head := stx[0]; let rest := stx[1] if head[2][0].getKind == ``«private» then return -- not private let k := rest.getKind if head[0].isNone then -- no doc string @@ -128,60 +129,64 @@ def checkDecl (args : Array Syntax) : CommandElabM Unit := do for stx in stx[2].getArgs do lintField rest[1][0] stx "public field" -def main (stx : Syntax) (k : SyntaxNodeKind) (args : Array Syntax) : CommandElabM Unit := do - if k == ``declaration then - checkDecl args - else if k == ``«initialize» then - let #[head, _, rest, _] := args | return - if rest.isNone then return - if head[2][0].getKind != ``«private» && head[0].isNone then - lintNamed rest[0] "initializer" - else if k == ``«syntax» then - if stx[0].isNone && stx[2][0][0].getKind != ``«local» then - if stx[5].isNone then lint stx[3] "syntax" - else lintNamed stx[5][0][3] "syntax" - else if k == ``syntaxAbbrev then - if stx[0].isNone then - lintNamed stx[2] "syntax" - else if k == ``syntaxCat then - if stx[0].isNone then - lintNamed stx[2] "syntax category" - else if k == ``«macro» then - if stx[0].isNone && stx[1][0][0].getKind != ``«local» then - if stx[4].isNone then lint stx[2] "macro" - else lintNamed stx[4][0][3] "macro" - else if k == ``«elab» then - if stx[0].isNone && stx[1][0][0].getKind != ``«local» then - if stx[4].isNone then lint stx[2] "elab" - else lintNamed stx[4][0][3] "elab" - else if k == ``classAbbrev then - let head := stx[0] - if head[2][0].getKind != ``«private» && head[0].isNone then - lintNamed stx[3] "class abbrev" - else if k == ``Parser.Tactic.declareSimpLikeTactic then - if stx[0].isNone then - lintNamed stx[3] "simp-like tactic" - else if k == ``Option.registerBuiltinOption then - if stx[0].isNone then - lintNamed stx[2] "option" - else if k == ``Option.registerOption then - if stx[0].isNone then - lintNamed stx[2] "option" - else if k == ``registerSimpAttr then - if stx[0].isNone then - lintNamed stx[2] "simp attr" - else if k == ``Elab.Tactic.configElab then - if stx[0].isNone then - lintNamed stx[2] "config elab" - else return +@[missingDocsHandler «initialize»] +def checkInit : SimpleHandler := fun stx => do + if stx[2].isNone then return + if stx[0][2][0].getKind != ``«private» && stx[0][0].isNone then + lintNamed stx[2][0] "initializer" +@[missingDocsHandler «syntax»] +def checkSyntax : SimpleHandler := fun stx => do + if stx[0].isNone && stx[2][0][0].getKind != ``«local» then + if stx[5].isNone then lint stx[3] "syntax" + else lintNamed stx[5][0][3] "syntax" + +def mkSimpleHandler (name : String) : SimpleHandler := fun stx => do + if stx[0].isNone then + lintNamed stx[2] name + +@[missingDocsHandler syntaxAbbrev] +def checkSyntaxAbbrev : SimpleHandler := mkSimpleHandler "syntax" + +@[missingDocsHandler syntaxCat] +def checkSyntaxCat : SimpleHandler := mkSimpleHandler "syntax category" + +@[missingDocsHandler «macro»] +def checkMacro : SimpleHandler := fun stx => do + if stx[0].isNone && stx[1][0][0].getKind != ``«local» then + if stx[4].isNone then lint stx[2] "macro" + else lintNamed stx[4][0][3] "macro" + +@[missingDocsHandler «elab»] +def checkElab : SimpleHandler := fun stx => do + if stx[0].isNone && stx[1][0][0].getKind != ``«local» then + if stx[4].isNone then lint stx[2] "elab" + else lintNamed stx[4][0][3] "elab" + +@[missingDocsHandler classAbbrev] +def checkClassAbbrev : SimpleHandler := fun stx => do + let head := stx[0] + if head[2][0].getKind != ``«private» && head[0].isNone then + lintNamed stx[3] "class abbrev" + +@[missingDocsHandler Parser.Tactic.declareSimpLikeTactic] +def checkSimpLike : SimpleHandler := mkSimpleHandler "simp-like tactic" + +@[missingDocsHandler Option.registerBuiltinOption, missingDocsHandler Option.registerOption] +def checkRegisterOption : SimpleHandler := mkSimpleHandler "option" + +@[missingDocsHandler registerSimpAttr] +def checkRegisterSimpAttr : SimpleHandler := mkSimpleHandler "simp attr" + +@[missingDocsHandler «in»] def handleIn : Handler := fun _ stx => do if stx[0].getKind == ``«set_option» then let opts ← Elab.elabSetOption stx[0][1] stx[0][2] withScope (fun scope => { scope with opts }) do missingDocs stx[2] + else + missingDocs stx[2] +@[missingDocsHandler «mutual»] def handleMutual : Handler := fun _ stx => do stx[1].getArgs.forM missingDocs - -builtin_initialize addLinter missingDocs diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index 1be8351c31..4f874fdbd4 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -64,6 +64,7 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMutualNa uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(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__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__1; static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__2___closed__3; static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__2; @@ -512,7 +513,6 @@ static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Le static lean_object* l_panic___at_Lean_Elab_Command_expandMutualNamespace___spec__2___closed__2; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_setDeclIdName___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Modifiers_isPrivate(lean_object*); static size_t l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble_declRange___closed__6; @@ -8430,7 +8430,7 @@ else lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; x_9 = lean_ctor_get(x_6, 0); x_10 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutual___spec__1___lambda__1___closed__3; -x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__14(x_9, x_10, x_3, x_4, x_5); +x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(x_9, x_10, x_3, x_4, x_5); x_12 = !lean_is_exclusive(x_11); if (x_12 == 0) { @@ -8549,7 +8549,7 @@ x_25 = lean_ctor_get(x_12, 0); lean_inc(x_25); lean_dec(x_12); x_26 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutual___spec__1___closed__2; -x_27 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__14(x_25, x_26, x_5, x_6, x_7); +x_27 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(x_25, x_26, x_5, x_6, x_7); lean_dec(x_25); x_28 = !lean_is_exclusive(x_27); if (x_28 == 0) @@ -8620,7 +8620,7 @@ x_9 = lean_ctor_get(x_2, 0); lean_inc(x_9); lean_dec(x_2); x_10 = l_Lean_Elab_Command_elabMutual___lambda__2___closed__2; -x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__14(x_9, x_10, x_4, x_5, x_6); +x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(x_9, x_10, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_9); x_12 = !lean_is_exclusive(x_11); @@ -8780,7 +8780,7 @@ x_32 = lean_ctor_get(x_7, 0); lean_inc(x_32); lean_dec(x_7); x_33 = l_Lean_Elab_Command_elabMutual___closed__4; -x_34 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__14(x_32, x_33, x_2, x_3, x_4); +x_34 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(x_32, x_33, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_32); x_35 = !lean_is_exclusive(x_34); diff --git a/stage0/stdlib/Lean/Elab/Deriving/BEq.c b/stage0/stdlib/Lean/Elab/Deriving/BEq.c index d69ada3719..1a595f968d 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/BEq.c +++ b/stage0/stdlib/Lean/Elab/Deriving/BEq.c @@ -119,6 +119,7 @@ LEAN_EXPORT lean_object* l_Lean_isInductive___at_Lean_Elab_Deriving_BEq_mkBEqIns lean_object* l_Lean_Expr_fvarId_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_BEq_mkMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__1; +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(size_t, size_t, lean_object*); lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); static lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqEnumFun___closed__14; static lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__5; @@ -190,7 +191,6 @@ static lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq static lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__16; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__4; uint8_t lean_nat_dec_le(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_BEq_mkMatch___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Deriving_BEq_mkBEqInstanceHandler___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__3; static lean_object* l_Lean_Elab_Deriving_BEq_mkMatch___closed__5; @@ -259,7 +259,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_BEq_mkBEqInstanceHandler(lean_obje static lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqInstanceCmds___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___spec__1___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_BEq_mkMatch___spec__1(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriving_BEq_mkBEqEnumFun___closed__11; static lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__8; static lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__12; @@ -2755,30 +2754,6 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__ return x_6; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_BEq_mkMatch___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_usize_dec_lt(x_2, x_1); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; -x_5 = lean_array_uget(x_3, x_2); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = 1; -x_9 = lean_usize_add(x_2, x_8); -x_10 = lean_array_uset(x_7, x_2, x_5); -x_2 = x_9; -x_3 = x_10; -goto _start; -} -} -} static lean_object* _init_l_Lean_Elab_Deriving_BEq_mkMatch___closed__1() { _start: { @@ -2892,7 +2867,7 @@ x_25 = lean_array_get_size(x_12); x_26 = lean_usize_of_nat(x_25); lean_dec(x_25); x_27 = 0; -x_28 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_BEq_mkMatch___spec__1(x_26, x_27, x_12); +x_28 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(x_26, x_27, x_12); x_29 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17; x_30 = l_Lean_mkSepArray(x_28, x_29); lean_dec(x_28); @@ -2951,7 +2926,7 @@ x_57 = lean_array_get_size(x_12); x_58 = lean_usize_of_nat(x_57); lean_dec(x_57); x_59 = 0; -x_60 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_BEq_mkMatch___spec__1(x_58, x_59, x_12); +x_60 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(x_58, x_59, x_12); x_61 = l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__17; x_62 = l_Lean_mkSepArray(x_60, x_61); lean_dec(x_60); @@ -3025,18 +3000,6 @@ return x_90; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_BEq_mkMatch___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_BEq_mkMatch___spec__1(x_4, x_5, x_3); -return x_6; -} -} static lean_object* _init_l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__1() { _start: { diff --git a/stage0/stdlib/Lean/Elab/Deriving/Basic.c b/stage0/stdlib/Lean/Elab/Deriving/Basic.c index 6cd14513ca..6457020a9e 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Basic.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Basic.c @@ -32,7 +32,6 @@ lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getOptDerivingClasses___spec__1(lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_elabDeriving___spec__1___rarg___closed__2; lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstCore___spec__2(lean_object*, lean_object*); -lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabMutualDef___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; static lean_object* l___regBuiltin_Lean_Elab_elabDeriving_declRange___closed__7; static lean_object* l_Lean_Elab_applyDerivingHandlers___closed__1; @@ -207,6 +206,7 @@ static lean_object* l___regBuiltin_Lean_Elab_elabDeriving___closed__1; LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_elabDeriving___spec__12(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_elabDeriving___spec__10___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getOptDerivingClasses___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Linter_MissingDocs_handleIn___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Deriving_Basic_0__Lean_Elab_tryApplyDefHandler(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_elabDeriving___spec__17(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabDeriving___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1941,7 +1941,7 @@ lean_ctor_set(x_25, 3, x_19); lean_ctor_set_uint8(x_25, sizeof(void*)*4, x_24); x_26 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_26, 0, x_25); -x_27 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabMutualDef___spec__5(x_26, x_3, x_4, x_20); +x_27 = l_Lean_Elab_pushInfoLeaf___at_Lean_Linter_MissingDocs_handleIn___spec__3(x_26, x_3, x_4, x_20); lean_dec(x_4); lean_dec(x_3); x_28 = !lean_is_exclusive(x_27); diff --git a/stage0/stdlib/Lean/Elab/Deriving/DecEq.c b/stage0/stdlib/Lean/Elab/Deriving/DecEq.c index 69e6c9e914..12ccae3ebc 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/DecEq.c +++ b/stage0/stdlib/Lean/Elab/Deriving/DecEq.c @@ -62,7 +62,6 @@ static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAl static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__48; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__3; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__46; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_DecEq_mkMatch___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__12; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__29; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -202,6 +201,7 @@ lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__17; static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNat_mkDecTree___closed__2; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(size_t, size_t, lean_object*); lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__11; @@ -411,7 +411,6 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__7 lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__14; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___closed__5; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_DecEq_mkMatch___spec__1(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__6; static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__28; static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__4; @@ -4961,30 +4960,6 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec return x_6; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_DecEq_mkMatch___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_usize_dec_lt(x_2, x_1); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; -x_5 = lean_array_uget(x_3, x_2); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = 1; -x_9 = lean_usize_add(x_2, x_8); -x_10 = lean_array_uset(x_7, x_2, x_5); -x_2 = x_9; -x_3 = x_10; -goto _start; -} -} -} static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkMatch___closed__1() { _start: { @@ -5084,7 +5059,7 @@ x_25 = lean_array_get_size(x_12); x_26 = lean_usize_of_nat(x_25); lean_dec(x_25); x_27 = 0; -x_28 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_DecEq_mkMatch___spec__1(x_26, x_27, x_12); +x_28 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(x_26, x_27, x_12); x_29 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10; x_30 = l_Lean_mkSepArray(x_28, x_29); lean_dec(x_28); @@ -5143,7 +5118,7 @@ x_57 = lean_array_get_size(x_12); x_58 = lean_usize_of_nat(x_57); lean_dec(x_57); x_59 = 0; -x_60 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_DecEq_mkMatch___spec__1(x_58, x_59, x_12); +x_60 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(x_58, x_59, x_12); x_61 = l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__10; x_62 = l_Lean_mkSepArray(x_60, x_61); lean_dec(x_60); @@ -5217,18 +5192,6 @@ return x_90; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_DecEq_mkMatch___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_DecEq_mkMatch___spec__1(x_4, x_5, x_3); -return x_6; -} -} static lean_object* _init_l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__1() { _start: { diff --git a/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c b/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c index 4113ffc97d..e0654bcae3 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c +++ b/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c @@ -22,6 +22,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJs static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__12; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__13; lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__8; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__20; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); @@ -125,9 +126,9 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJs static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__3; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3(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_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3; lean_object* l_Array_zip___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7(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*); static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__16; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__9; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___closed__1; @@ -140,6 +141,7 @@ lean_object* l_Lean_Elab_Deriving_mkDiscrs(lean_object*, lean_object*, lean_obje static lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__1___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___closed__4; lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__3(size_t, size_t, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__5; LEAN_EXPORT lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__9; uint8_t l_Lean_Name_hasMacroScopes(lean_object*); @@ -158,10 +160,9 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___la uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__13; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__4(size_t, size_t, lean_object*); lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__8; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__5; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__6; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__3; @@ -181,11 +182,12 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mk lean_object* l_Lean_getStructureFieldsFlattened(lean_object*, lean_object*, uint8_t); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__34; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__8; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__1; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__14; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__10; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l_Lean_Elab_Deriving_mkLet(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -195,8 +197,8 @@ lean_object* l_Lean_Expr_fvarId_x21(lean_object*); LEAN_EXPORT uint8_t l_Array_qsort_sort___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__8___lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__15; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__26; +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(size_t, size_t, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__2; static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__5; lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); @@ -206,16 +208,17 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mk static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__11; static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___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*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__5; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__1; static lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__1___closed__2; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__11; lean_object* l_Nat_repr(lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__1___boxed(lean_object**); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__9; static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__7; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__5; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__4; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__16; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6684_(lean_object*); @@ -272,7 +275,6 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___la static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__2; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___lambda__1___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6___closed__1; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__6; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__4; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__2___closed__12; static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__1___closed__2; @@ -280,8 +282,8 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___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_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__6; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__8; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__1___closed__4; lean_object* l_Lean_Syntax_mkNumLit(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__9; @@ -290,7 +292,6 @@ lean_object* l_Lean_Elab_Deriving_mkHeader(lean_object*, lean_object*, lean_obje LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__4___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__18; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__18; static lean_object* l_Array_qsort_sort___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__8___closed__1; static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__15; @@ -323,7 +324,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJs LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__5; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___closed__2; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__1; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__10; @@ -338,14 +338,13 @@ lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax__ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__39; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4(lean_object*, lean_object*, 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_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__12; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__19; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts(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_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__17; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__27; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__4; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__8; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6(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*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__2; @@ -387,13 +386,13 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mk static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__29; lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInductArgNames___spec__2___rarg(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_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__15; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__7; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__2; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__19; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__22; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__12; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__11; lean_object* lean_mk_syntax_ident(lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__7; static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__10; @@ -2940,31 +2939,7 @@ return x_148; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6(size_t x_1, size_t x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_usize_dec_lt(x_2, x_1); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; -x_5 = lean_array_uget(x_3, x_2); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = 1; -x_9 = lean_usize_add(x_2, x_8); -x_10 = lean_array_uset(x_7, x_2, x_5); -x_2 = x_9; -x_3 = x_10; -goto _start; -} -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__1() { _start: { lean_object* x_1; @@ -2972,17 +2947,17 @@ x_1 = lean_mk_string_from_bytes("term[_]", 7); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__1; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3() { _start: { lean_object* x_1; @@ -2990,7 +2965,7 @@ x_1 = lean_mk_string_from_bytes("[", 1); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4() { _start: { lean_object* x_1; @@ -2998,7 +2973,7 @@ x_1 = lean_mk_string_from_bytes("]", 1); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__5() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__5() { _start: { lean_object* x_1; @@ -3006,22 +2981,22 @@ x_1 = lean_mk_string_from_bytes("opt", 3); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__6() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__5; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__5; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__7() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__5; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__5; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__6; +x_3 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__6; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3029,17 +3004,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__8() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__5; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9() { _start: { lean_object* x_1; @@ -3047,7 +3022,7 @@ x_1 = lean_mk_string_from_bytes("Json", 4); return x_1; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7(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) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6(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; @@ -3104,7 +3079,7 @@ x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); lean_dec(x_37); x_40 = lean_environment_main_module(x_39); -x_41 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; +x_41 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3; lean_inc(x_33); x_42 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_42, 0, x_33); @@ -3165,7 +3140,7 @@ lean_ctor_set(x_73, 0, x_33); lean_ctor_set(x_73, 1, x_72); x_74 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5; x_75 = lean_array_push(x_74, x_50); -x_76 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; +x_76 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; x_77 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_77, 0, x_33); lean_ctor_set(x_77, 1, x_76); @@ -3237,7 +3212,7 @@ lean_ctor_set(x_101, 1, x_85); lean_ctor_set(x_101, 2, x_100); x_102 = lean_array_push(x_78, x_101); x_103 = lean_array_push(x_102, x_77); -x_104 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2; +x_104 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2; x_105 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_105, 0, x_84); lean_ctor_set(x_105, 1, x_104); @@ -3272,7 +3247,7 @@ x_118 = lean_ctor_get(x_116, 0); lean_inc(x_118); lean_dec(x_116); x_119 = lean_environment_main_module(x_118); -x_120 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; +x_120 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3; lean_inc(x_112); x_121 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_121, 0, x_112); @@ -3334,7 +3309,7 @@ lean_ctor_set(x_153, 0, x_112); lean_ctor_set(x_153, 1, x_152); x_154 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5; x_155 = lean_array_push(x_154, x_129); -x_156 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; +x_156 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; x_157 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_157, 0, x_112); lean_ctor_set(x_157, 1, x_156); @@ -3406,7 +3381,7 @@ lean_ctor_set(x_181, 1, x_165); lean_ctor_set(x_181, 2, x_180); x_182 = lean_array_push(x_158, x_181); x_183 = lean_array_push(x_182, x_157); -x_184 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2; +x_184 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2; x_185 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_185, 0, x_164); lean_ctor_set(x_185, 1, x_184); @@ -3453,12 +3428,12 @@ x_204 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstan x_205 = l_Lean_Name_str___override(x_203, x_204); x_206 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__2; x_207 = l_Lean_Name_str___override(x_205, x_206); -x_208 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__8; +x_208 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__8; x_209 = l_Lean_addMacroScope(x_201, x_208, x_196); -x_210 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_210 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; lean_inc(x_1); x_211 = l_Lean_Name_str___override(x_1, x_210); -x_212 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__5; +x_212 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__5; x_213 = l_Lean_Name_str___override(x_211, x_212); x_214 = lean_box(0); lean_ctor_set(x_26, 1, x_214); @@ -3466,7 +3441,7 @@ lean_ctor_set(x_26, 0, x_213); x_215 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_215, 0, x_26); lean_ctor_set(x_215, 1, x_214); -x_216 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__7; +x_216 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__7; x_217 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_217, 0, x_194); lean_ctor_set(x_217, 1, x_216); @@ -3559,12 +3534,12 @@ x_255 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstan x_256 = l_Lean_Name_str___override(x_254, x_255); x_257 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__2; x_258 = l_Lean_Name_str___override(x_256, x_257); -x_259 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__8; +x_259 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__8; x_260 = l_Lean_addMacroScope(x_252, x_259, x_247); -x_261 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_261 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; lean_inc(x_1); x_262 = l_Lean_Name_str___override(x_1, x_261); -x_263 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__5; +x_263 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__5; x_264 = l_Lean_Name_str___override(x_262, x_263); x_265 = lean_box(0); x_266 = lean_alloc_ctor(0, 2, 0); @@ -3573,7 +3548,7 @@ lean_ctor_set(x_266, 1, x_265); x_267 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_267, 0, x_266); lean_ctor_set(x_267, 1, x_265); -x_268 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__7; +x_268 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__7; x_269 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_269, 0, x_245); lean_ctor_set(x_269, 1, x_268); @@ -3726,7 +3701,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -3835,7 +3810,7 @@ x_40 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___clo lean_inc(x_28); lean_inc(x_33); x_41 = l_Lean_addMacroScope(x_33, x_40, x_28); -x_42 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_42 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; x_43 = l_Lean_Name_str___override(x_2, x_42); x_44 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__1; lean_inc(x_43); @@ -3854,7 +3829,7 @@ lean_ctor_set(x_50, 0, x_26); lean_ctor_set(x_50, 1, x_49); lean_ctor_set(x_50, 2, x_41); lean_ctor_set(x_50, 3, x_48); -x_51 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; +x_51 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3; lean_inc(x_26); x_52 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_52, 0, x_26); @@ -3916,7 +3891,7 @@ x_84 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_84, 0, x_60); lean_ctor_set(x_84, 1, x_83); lean_ctor_set(x_84, 2, x_82); -x_85 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; +x_85 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; lean_inc(x_26); x_86 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_86, 0, x_26); @@ -3986,7 +3961,7 @@ lean_ctor_set(x_117, 2, x_116); x_118 = lean_array_push(x_87, x_52); x_119 = lean_array_push(x_118, x_117); x_120 = lean_array_push(x_119, x_86); -x_121 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2; +x_121 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2; x_122 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_122, 0, x_60); lean_ctor_set(x_122, 1, x_121); @@ -4029,7 +4004,7 @@ x_138 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___cl lean_inc(x_28); lean_inc(x_131); x_139 = l_Lean_addMacroScope(x_131, x_138, x_28); -x_140 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_140 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; x_141 = l_Lean_Name_str___override(x_2, x_140); x_142 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__1; lean_inc(x_141); @@ -4048,7 +4023,7 @@ lean_ctor_set(x_148, 0, x_26); lean_ctor_set(x_148, 1, x_147); lean_ctor_set(x_148, 2, x_139); lean_ctor_set(x_148, 3, x_146); -x_149 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; +x_149 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3; lean_inc(x_26); x_150 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_150, 0, x_26); @@ -4110,7 +4085,7 @@ x_182 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_182, 0, x_158); lean_ctor_set(x_182, 1, x_181); lean_ctor_set(x_182, 2, x_180); -x_183 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; +x_183 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; lean_inc(x_26); x_184 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_184, 0, x_26); @@ -4180,7 +4155,7 @@ lean_ctor_set(x_215, 2, x_214); x_216 = lean_array_push(x_185, x_150); x_217 = lean_array_push(x_216, x_215); x_218 = lean_array_push(x_217, x_184); -x_219 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2; +x_219 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2; x_220 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_220, 0, x_158); lean_ctor_set(x_220, 1, x_219); @@ -4246,7 +4221,7 @@ lean_inc(x_244); x_246 = l_Lean_Name_str___override(x_244, x_245); x_247 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__4; x_248 = l_Lean_addMacroScope(x_240, x_247, x_235); -x_249 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_249 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; x_250 = l_Lean_Name_str___override(x_2, x_249); x_251 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__1; x_252 = l_Lean_Name_str___override(x_250, x_251); @@ -4264,7 +4239,7 @@ lean_ctor_set(x_257, 0, x_233); lean_ctor_set(x_257, 1, x_256); lean_ctor_set(x_257, 2, x_248); lean_ctor_set(x_257, 3, x_255); -x_258 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; +x_258 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3; lean_inc(x_233); x_259 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_259, 0, x_233); @@ -4305,7 +4280,7 @@ x_282 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_282, 0, x_267); lean_ctor_set(x_282, 1, x_281); lean_ctor_set(x_282, 2, x_280); -x_283 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; +x_283 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; lean_inc(x_233); x_284 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_284, 0, x_233); @@ -4316,7 +4291,7 @@ lean_inc(x_286); x_287 = lean_array_push(x_286, x_282); lean_inc(x_284); x_288 = lean_array_push(x_287, x_284); -x_289 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2; +x_289 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2; x_290 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_290, 0, x_267); lean_ctor_set(x_290, 1, x_289); @@ -4415,7 +4390,7 @@ lean_inc(x_330); x_332 = l_Lean_Name_str___override(x_330, x_331); x_333 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__4; x_334 = l_Lean_addMacroScope(x_326, x_333, x_235); -x_335 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_335 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; x_336 = l_Lean_Name_str___override(x_2, x_335); x_337 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__1; x_338 = l_Lean_Name_str___override(x_336, x_337); @@ -4433,7 +4408,7 @@ lean_ctor_set(x_343, 0, x_233); lean_ctor_set(x_343, 1, x_342); lean_ctor_set(x_343, 2, x_334); lean_ctor_set(x_343, 3, x_341); -x_344 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; +x_344 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3; lean_inc(x_233); x_345 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_345, 0, x_233); @@ -4474,7 +4449,7 @@ x_368 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_368, 0, x_353); lean_ctor_set(x_368, 1, x_367); lean_ctor_set(x_368, 2, x_366); -x_369 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; +x_369 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; lean_inc(x_233); x_370 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_370, 0, x_233); @@ -4485,7 +4460,7 @@ lean_inc(x_372); x_373 = lean_array_push(x_372, x_368); lean_inc(x_370); x_374 = lean_array_push(x_373, x_370); -x_375 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2; +x_375 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2; x_376 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_376, 0, x_353); lean_ctor_set(x_376, 1, x_375); @@ -4746,7 +4721,7 @@ lean_inc(x_432); x_434 = l_Lean_Name_str___override(x_432, x_433); x_435 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__4; x_436 = l_Lean_addMacroScope(x_428, x_435, x_423); -x_437 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_437 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; x_438 = l_Lean_Name_str___override(x_2, x_437); x_439 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__1; x_440 = l_Lean_Name_str___override(x_438, x_439); @@ -4768,7 +4743,7 @@ lean_ctor_set(x_445, 0, x_421); lean_ctor_set(x_445, 1, x_444); lean_ctor_set(x_445, 2, x_436); lean_ctor_set(x_445, 3, x_443); -x_446 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; +x_446 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3; lean_inc(x_421); x_447 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_447, 0, x_421); @@ -4837,14 +4812,14 @@ x_482 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_482, 0, x_455); lean_ctor_set(x_482, 1, x_463); lean_ctor_set(x_482, 2, x_481); -x_483 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; +x_483 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; x_484 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_484, 0, x_421); lean_ctor_set(x_484, 1, x_483); x_485 = lean_array_push(x_476, x_447); x_486 = lean_array_push(x_485, x_482); x_487 = lean_array_push(x_486, x_484); -x_488 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2; +x_488 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2; x_489 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_489, 0, x_455); lean_ctor_set(x_489, 1, x_488); @@ -4885,7 +4860,7 @@ lean_inc(x_502); x_504 = l_Lean_Name_str___override(x_502, x_503); x_505 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__4; x_506 = l_Lean_addMacroScope(x_498, x_505, x_423); -x_507 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_507 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; x_508 = l_Lean_Name_str___override(x_2, x_507); x_509 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__1; x_510 = l_Lean_Name_str___override(x_508, x_509); @@ -4907,7 +4882,7 @@ lean_ctor_set(x_515, 0, x_421); lean_ctor_set(x_515, 1, x_514); lean_ctor_set(x_515, 2, x_506); lean_ctor_set(x_515, 3, x_513); -x_516 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; +x_516 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3; lean_inc(x_421); x_517 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_517, 0, x_421); @@ -4976,14 +4951,14 @@ x_552 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_552, 0, x_525); lean_ctor_set(x_552, 1, x_533); lean_ctor_set(x_552, 2, x_551); -x_553 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; +x_553 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; x_554 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_554, 0, x_421); lean_ctor_set(x_554, 1, x_553); x_555 = lean_array_push(x_546, x_517); x_556 = lean_array_push(x_555, x_552); x_557 = lean_array_push(x_556, x_554); -x_558 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2; +x_558 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2; x_559 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_559, 0, x_525); lean_ctor_set(x_559, 1, x_558); @@ -5063,7 +5038,7 @@ lean_inc(x_645); x_647 = l_Lean_Name_str___override(x_645, x_646); x_648 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__4; x_649 = l_Lean_addMacroScope(x_641, x_648, x_636); -x_650 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_650 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; x_651 = l_Lean_Name_str___override(x_2, x_650); x_652 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__1; x_653 = l_Lean_Name_str___override(x_651, x_652); @@ -5080,7 +5055,7 @@ lean_ctor_set(x_657, 0, x_634); lean_ctor_set(x_657, 1, x_656); lean_ctor_set(x_657, 2, x_649); lean_ctor_set(x_657, 3, x_655); -x_658 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; +x_658 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3; lean_inc(x_634); x_659 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_659, 0, x_634); @@ -5121,7 +5096,7 @@ x_682 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_682, 0, x_667); lean_ctor_set(x_682, 1, x_681); lean_ctor_set(x_682, 2, x_680); -x_683 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; +x_683 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; lean_inc(x_634); x_684 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_684, 0, x_634); @@ -5132,7 +5107,7 @@ lean_inc(x_686); x_687 = lean_array_push(x_686, x_682); lean_inc(x_684); x_688 = lean_array_push(x_687, x_684); -x_689 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2; +x_689 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2; x_690 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_690, 0, x_667); lean_ctor_set(x_690, 1, x_689); @@ -5230,7 +5205,7 @@ lean_inc(x_729); x_731 = l_Lean_Name_str___override(x_729, x_730); x_732 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__4; x_733 = l_Lean_addMacroScope(x_725, x_732, x_636); -x_734 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_734 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; x_735 = l_Lean_Name_str___override(x_2, x_734); x_736 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__1; x_737 = l_Lean_Name_str___override(x_735, x_736); @@ -5247,7 +5222,7 @@ lean_ctor_set(x_741, 0, x_634); lean_ctor_set(x_741, 1, x_740); lean_ctor_set(x_741, 2, x_733); lean_ctor_set(x_741, 3, x_739); -x_742 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; +x_742 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3; lean_inc(x_634); x_743 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_743, 0, x_634); @@ -5288,7 +5263,7 @@ x_766 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_766, 0, x_751); lean_ctor_set(x_766, 1, x_765); lean_ctor_set(x_766, 2, x_764); -x_767 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; +x_767 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; lean_inc(x_634); x_768 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_768, 0, x_634); @@ -5299,7 +5274,7 @@ lean_inc(x_770); x_771 = lean_array_push(x_770, x_766); lean_inc(x_768); x_772 = lean_array_push(x_771, x_768); -x_773 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2; +x_773 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2; x_774 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_774, 0, x_751); lean_ctor_set(x_774, 1, x_773); @@ -5430,7 +5405,7 @@ lean_inc(x_825); x_827 = l_Lean_Name_str___override(x_825, x_826); x_828 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__4; x_829 = l_Lean_addMacroScope(x_821, x_828, x_815); -x_830 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_830 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; x_831 = l_Lean_Name_str___override(x_2, x_830); x_832 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__1; x_833 = l_Lean_Name_str___override(x_831, x_832); @@ -5448,7 +5423,7 @@ lean_ctor_set(x_838, 0, x_813); lean_ctor_set(x_838, 1, x_837); lean_ctor_set(x_838, 2, x_829); lean_ctor_set(x_838, 3, x_836); -x_839 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; +x_839 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3; lean_inc(x_813); x_840 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_840, 0, x_813); @@ -5489,7 +5464,7 @@ x_863 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_863, 0, x_848); lean_ctor_set(x_863, 1, x_862); lean_ctor_set(x_863, 2, x_861); -x_864 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; +x_864 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; lean_inc(x_813); x_865 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_865, 0, x_813); @@ -5500,7 +5475,7 @@ lean_inc(x_867); x_868 = lean_array_push(x_867, x_863); lean_inc(x_865); x_869 = lean_array_push(x_868, x_865); -x_870 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2; +x_870 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2; x_871 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_871, 0, x_848); lean_ctor_set(x_871, 1, x_870); @@ -6042,7 +6017,7 @@ static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandle _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } @@ -6051,7 +6026,7 @@ static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandle _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; x_2 = lean_unsigned_to_nat(0u); x_3 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__29; x_4 = lean_alloc_ctor(0, 3, 0); @@ -6066,7 +6041,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__2; -x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -6289,7 +6264,7 @@ x_45 = lean_array_get_size(x_31); x_46 = lean_usize_of_nat(x_45); lean_dec(x_45); x_47 = 0; -x_48 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6(x_46, x_47, x_31); +x_48 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(x_46, x_47, x_31); x_49 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__14; x_50 = l_Lean_mkSepArray(x_48, x_49); lean_dec(x_48); @@ -7021,7 +6996,7 @@ lean_dec(x_26); x_28 = 0; x_29 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__2; lean_inc(x_7); -x_30 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7(x_29, x_15, x_18, x_27, x_28, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +x_30 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6(x_29, x_15, x_18, x_27, x_28, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_22); x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); @@ -7165,7 +7140,7 @@ lean_ctor_set(x_101, 0, x_34); lean_ctor_set(x_101, 1, x_99); lean_ctor_set(x_101, 2, x_98); lean_ctor_set(x_101, 3, x_100); -x_102 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; +x_102 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3; lean_inc(x_34); x_103 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_103, 0, x_34); @@ -7178,7 +7153,7 @@ x_107 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_107, 0, x_46); lean_ctor_set(x_107, 1, x_50); lean_ctor_set(x_107, 2, x_106); -x_108 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; +x_108 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; x_109 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_109, 0, x_34); lean_ctor_set(x_109, 1, x_108); @@ -7186,7 +7161,7 @@ x_110 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceH x_111 = lean_array_push(x_110, x_103); x_112 = lean_array_push(x_111, x_107); x_113 = lean_array_push(x_112, x_109); -x_114 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2; +x_114 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2; x_115 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_115, 0, x_46); lean_ctor_set(x_115, 1, x_114); @@ -8146,19 +8121,7 @@ lean_dec(x_1); return x_19; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6(x_4, x_5, x_3); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___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* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___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* 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; @@ -8166,7 +8129,7 @@ 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_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7(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); +x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6(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_10); lean_dec(x_9); @@ -8732,7 +8695,7 @@ lean_ctor_set(x_43, 0, x_26); lean_ctor_set(x_43, 1, x_42); lean_ctor_set(x_43, 2, x_41); lean_ctor_set(x_43, 3, x_36); -x_44 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; +x_44 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3; lean_inc(x_26); x_45 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_45, 0, x_26); @@ -8741,7 +8704,7 @@ lean_inc(x_6); x_46 = l_Nat_repr(x_6); x_47 = lean_box(2); x_48 = l_Lean_Syntax_mkNumLit(x_46, x_47); -x_49 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; +x_49 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; lean_inc(x_26); x_50 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_50, 0, x_26); @@ -8827,7 +8790,7 @@ lean_ctor_set(x_92, 0, x_80); lean_ctor_set(x_92, 1, x_91); lean_ctor_set(x_92, 2, x_89); lean_ctor_set(x_92, 3, x_90); -x_93 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3; +x_93 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3; lean_inc(x_80); x_94 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_94, 0, x_80); @@ -8836,7 +8799,7 @@ lean_inc(x_6); x_95 = l_Nat_repr(x_6); x_96 = lean_box(2); x_97 = l_Lean_Syntax_mkNumLit(x_95, x_96); -x_98 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; +x_98 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; lean_inc(x_80); x_99 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_99, 0, x_80); @@ -10392,7 +10355,7 @@ x_79 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_79, 0, x_77); lean_ctor_set(x_79, 1, x_78); lean_ctor_set(x_79, 2, x_76); -x_80 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4; +x_80 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4; x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_50); lean_ctor_set(x_81, 1, x_80); @@ -12157,7 +12120,7 @@ x_229 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___cl lean_inc(x_175); lean_inc(x_180); x_230 = l_Lean_addMacroScope(x_180, x_229, x_175); -x_231 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_231 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; x_232 = l_Lean_Name_str___override(x_13, x_231); lean_inc(x_12); x_233 = lean_alloc_ctor(0, 2, 0); @@ -12491,7 +12454,7 @@ x_95 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___clo lean_inc(x_34); lean_inc(x_39); x_96 = l_Lean_addMacroScope(x_39, x_95, x_34); -x_97 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +x_97 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9; x_98 = l_Lean_Name_str___override(x_13, x_97); lean_inc(x_12); x_99 = lean_alloc_ctor(0, 2, 0); @@ -14983,24 +14946,24 @@ l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler__ lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__4); l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5 = _init_l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5(); lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5); -l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__2); -l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__3); -l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__4); -l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__5(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__5); -l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__6 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__6(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__6); -l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__7 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__7(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__7); -l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__8 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__8(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__8); -l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__3); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__4); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__5(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__5); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__6 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__6(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__6); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__7 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__7(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__7); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__8 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__8(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__8); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___closed__9); l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__1 = _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__1); l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__2 = _init_l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Deriving/Hashable.c b/stage0/stdlib/Lean/Elab/Deriving/Hashable.c index db2c065cfb..30cd2d66fb 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Hashable.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Hashable.c @@ -99,10 +99,10 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMa static lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__29; static lean_object* l___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___closed__7; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__6; +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_isInductive___at_Lean_Elab_Deriving_Hashable_mkHashableHandler___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__23; lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Hashable_mkMatch___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__14; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__28; lean_object* l_Nat_repr(lean_object*); @@ -187,7 +187,6 @@ lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_obje static lean_object* l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__31; static lean_object* l_Lean_Elab_Deriving_Hashable_mkHashFuncs___closed__1; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__4___closed__17; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Hashable_mkMatch___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInductArgNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Deriving_Hashable_0__Lean_Elab_Deriving_Hashable_mkHashableInstanceCmds___spec__1(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__3___closed__2; @@ -2641,30 +2640,6 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___s return x_6; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Hashable_mkMatch___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_usize_dec_lt(x_2, x_1); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; -x_5 = lean_array_uget(x_3, x_2); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = 1; -x_9 = lean_usize_add(x_2, x_8); -x_10 = lean_array_uset(x_7, x_2, x_5); -x_2 = x_9; -x_3 = x_10; -goto _start; -} -} -} static lean_object* _init_l_Lean_Elab_Deriving_Hashable_mkMatch___closed__1() { _start: { @@ -2764,7 +2739,7 @@ x_25 = lean_array_get_size(x_12); x_26 = lean_usize_of_nat(x_25); lean_dec(x_25); x_27 = 0; -x_28 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Hashable_mkMatch___spec__1(x_26, x_27, x_12); +x_28 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(x_26, x_27, x_12); x_29 = l_List_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__5___lambda__1___closed__11; x_30 = l_Lean_mkSepArray(x_28, x_29); lean_dec(x_28); @@ -2823,7 +2798,7 @@ x_57 = lean_array_get_size(x_12); x_58 = lean_usize_of_nat(x_57); lean_dec(x_57); x_59 = 0; -x_60 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Hashable_mkMatch___spec__1(x_58, x_59, x_12); +x_60 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(x_58, x_59, x_12); x_61 = l_List_forIn_loop___at_Lean_Elab_Deriving_Hashable_mkMatch_mkAlts___spec__5___lambda__1___closed__11; x_62 = l_Lean_mkSepArray(x_60, x_61); lean_dec(x_60); @@ -2897,18 +2872,6 @@ return x_90; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Hashable_mkMatch___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Hashable_mkMatch___spec__1(x_4, x_5, x_3); -return x_6; -} -} static lean_object* _init_l_Lean_Elab_Deriving_Hashable_mkAuxFunction___closed__1() { _start: { diff --git a/stage0/stdlib/Lean/Elab/Deriving/Ord.c b/stage0/stdlib/Lean/Elab/Deriving/Ord.c index 7b05b11eae..65495a7399 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Ord.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Ord.c @@ -110,7 +110,6 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_m static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__7___lambda__2___closed__2; lean_object* l_Lean_Elab_Deriving_mkInstanceCmds(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Ord_mkMatch___spec__1(size_t, size_t, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___closed__4; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__3___closed__2; @@ -121,6 +120,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_Ord_mkOrdInstanceHandler(lean_obje static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___lambda__1___closed__48; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__28; +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__5; lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___lambda__1___closed__50; @@ -230,7 +230,6 @@ static lean_object* l_Lean_Elab_Deriving_Ord_mkMutualBlock___closed__5; lean_object* l_Lean_Core_betaReduce___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__7___lambda__2___closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_Ord_mkMatch_mkAlts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Ord_mkMatch___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___lambda__1___closed__40; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__5___lambda__1___closed__9; @@ -3313,30 +3312,6 @@ lean_dec(x_4); return x_13; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Ord_mkMatch___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_usize_dec_lt(x_2, x_1); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; -x_5 = lean_array_uget(x_3, x_2); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = 1; -x_9 = lean_usize_add(x_2, x_8); -x_10 = lean_array_uset(x_7, x_2, x_5); -x_2 = x_9; -x_3 = x_10; -goto _start; -} -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_Ord_mkMatch(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: { @@ -3383,7 +3358,7 @@ x_24 = lean_array_get_size(x_11); x_25 = lean_usize_of_nat(x_24); lean_dec(x_24); x_26 = 0; -x_27 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Ord_mkMatch___spec__1(x_25, x_26, x_11); +x_27 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(x_25, x_26, x_11); x_28 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__7___lambda__2___closed__11; x_29 = l_Lean_mkSepArray(x_27, x_28); lean_dec(x_27); @@ -3442,7 +3417,7 @@ x_56 = lean_array_get_size(x_11); x_57 = lean_usize_of_nat(x_56); lean_dec(x_56); x_58 = 0; -x_59 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Ord_mkMatch___spec__1(x_57, x_58, x_11); +x_59 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(x_57, x_58, x_11); x_60 = l_List_forIn_loop___at_Lean_Elab_Deriving_Ord_mkMatch_mkAlts___spec__7___lambda__2___closed__11; x_61 = l_Lean_mkSepArray(x_59, x_60); lean_dec(x_59); @@ -3516,18 +3491,6 @@ return x_89; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Ord_mkMatch___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Ord_mkMatch___spec__1(x_4, x_5, x_3); -return x_6; -} -} static lean_object* _init_l_Lean_Elab_Deriving_Ord_mkAuxFunction___lambda__1___closed__1() { _start: { diff --git a/stage0/stdlib/Lean/Elab/Deriving/Repr.c b/stage0/stdlib/Lean/Elab/Deriving/Repr.c index 43f6fc8ccf..3fcdc3822e 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Repr.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Repr.c @@ -27,7 +27,6 @@ lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_Repr_mkReprInstanceHandler(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__3___lambda__1___closed__5; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Repr_mkBodyForInduct___spec__1(size_t, size_t, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__3___lambda__1___closed__14; @@ -136,7 +135,6 @@ lean_object* l_Lean_Elab_Deriving_mkInstanceCmds(lean_object*, lean_object*, lea LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___closed__29; lean_object* lean_nat_sub(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Repr_mkBodyForInduct___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___closed__25; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__3___lambda__1___closed__4; @@ -161,6 +159,7 @@ lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__3___lambda__1___closed__2; static lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__4; static lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__27; +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(size_t, size_t, lean_object*); lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__27; static lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__17; @@ -5329,30 +5328,6 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts return x_6; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Repr_mkBodyForInduct___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_usize_dec_lt(x_2, x_1); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; -x_5 = lean_array_uget(x_3, x_2); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = 1; -x_9 = lean_usize_add(x_2, x_8); -x_10 = lean_array_uset(x_7, x_2, x_5); -x_2 = x_9; -x_3 = x_10; -goto _start; -} -} -} static lean_object* _init_l_Lean_Elab_Deriving_Repr_mkBodyForInduct___closed__1() { _start: { @@ -5443,7 +5418,7 @@ x_25 = lean_array_get_size(x_12); x_26 = lean_usize_of_nat(x_25); lean_dec(x_25); x_27 = 0; -x_28 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Repr_mkBodyForInduct___spec__1(x_26, x_27, x_12); +x_28 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(x_26, x_27, x_12); x_29 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__16; x_30 = l_Lean_mkSepArray(x_28, x_29); lean_dec(x_28); @@ -5502,7 +5477,7 @@ x_57 = lean_array_get_size(x_12); x_58 = lean_usize_of_nat(x_57); lean_dec(x_57); x_59 = 0; -x_60 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Repr_mkBodyForInduct___spec__1(x_58, x_59, x_12); +x_60 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__9(x_58, x_59, x_12); x_61 = l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__16; x_62 = l_Lean_mkSepArray(x_60, x_61); lean_dec(x_60); @@ -5576,18 +5551,6 @@ return x_90; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Repr_mkBodyForInduct___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_Repr_mkBodyForInduct___spec__1(x_4, x_5, x_3); -return x_6; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_Repr_mkBody(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: { diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index a02089e776..a21462fd46 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -26,7 +26,6 @@ LEAN_EXPORT lean_object* l_Nat_foldAux___at_Lean_Elab_Term_MutualClosure_insertR lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__1(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_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__11___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__8___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_checkForHiddenUnivLevels_visit___spec__4(lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___closed__1; @@ -54,7 +53,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check LEAN_EXPORT lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_checkForHiddenUnivLevels_visit___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__3___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabMutualDef___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process___spec__1___lambda__1___boxed(lean_object*); @@ -65,7 +63,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Mutua lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLetRecsToLift___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__11___closed__2; static lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___closed__8; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__8___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getDelayedMVarRoot___at_Lean_Elab_Term_isLetRecAuxMVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -96,12 +93,11 @@ static lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_elabMutualDef_ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___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_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___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*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___lambda__1(lean_object*, lean_object*, lean_object*, 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_List_mapTRAux___at_Lean_resolveGlobalConstCore___spec__2(lean_object*, lean_object*); LEAN_EXPORT 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*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabMutualDef___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Command_elabMutualDef___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_MutualClosure_getKindForLetRecs(lean_object*); LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___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*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__8___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -143,9 +139,7 @@ lean_object* l_Lean_Elab_Term_elabBindersEx___rarg(lean_object*, lean_object*, l lean_object* l_Lean_Elab_Term_expandWhereDecls(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___closed__5; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Command_elabMutualDef___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___boxed__const__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__5___closed__8; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -157,7 +151,6 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0_ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isExample___spec__1(lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_Check_0__Lean_Meta_checkAux_check___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -165,12 +158,14 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Mutua LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_mkInst_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_mkInst_x3f_go_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_MkInstResult_outParams___default; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___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_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__7(lean_object*); static lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___closed__4; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__1___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__2___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__8(lean_object*); @@ -207,6 +202,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabH LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__17(lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicitForbiddenPred___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -232,6 +228,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_ClosureState_newLocalDec static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_resetModified___rarg(lean_object*); LEAN_EXPORT 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_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsAtLetRecToLift___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_insert___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__2(lean_object*, lean_object*, lean_object*); @@ -262,7 +259,6 @@ LEAN_EXPORT uint8_t l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeader 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_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___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___lambda__7___closed__1; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__8(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__5___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__6___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go___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_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -287,7 +283,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check extern lean_object* l_Lean_levelZero; LEAN_EXPORT lean_object* l_Std_RBNode_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___closed__5; lean_object* l_Lean_Elab_Term_withAuxDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__10___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__11(lean_object*); @@ -346,6 +341,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go(lean_object*, lean_ob LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_setBlack___rarg(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_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT 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_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_insertReplacementForMainFns(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___closed__2; @@ -390,6 +386,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Mutua LEAN_EXPORT 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*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getKindForLetRecs___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_pushLetRecs(lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___closed__1; @@ -421,6 +418,7 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0_ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_pushLetRecs___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__5___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; static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -489,7 +487,6 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_g uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm___closed__1; lean_object* l_List_findSome_x3f___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); uint8_t l_Std_HashSetImp_contains___at_Lean_CollectLevelParams_visitLevel___spec__1(lean_object*, lean_object*); @@ -499,6 +496,7 @@ LEAN_EXPORT lean_object* l_Array_getMax_x3f___at___private_Lean_Elab_MutualDef_0 LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__18(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_instHashableExpr; @@ -554,7 +552,6 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0_ lean_object* l_Lean_CollectLevelParams_main(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__3___closed__1; LEAN_EXPORT 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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__4___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___spec__2(lean_object*, size_t, size_t); @@ -566,7 +563,6 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0_ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___lambda__2(lean_object*, size_t, 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_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__2; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__3___closed__2; -LEAN_EXPORT lean_object* l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__11(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_instInhabitedDefView; static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__3___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__7___rarg___closed__1; @@ -633,7 +629,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutual LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__3___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__15___closed__1; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__1; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__1___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -647,10 +642,8 @@ static lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__4; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__1___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_pp_funBinderTypes; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__8___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__9(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_ClosureState_localDecls___default; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_getUsedFVarsMap(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__6(lean_object*, size_t, size_t, lean_object*); @@ -663,7 +656,6 @@ uint8_t l_Lean_Syntax_isMissing(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_checkForHiddenUnivLevels_visit___spec__2___boxed(lean_object**); lean_object* l_Lean_Elab_Term_levelMVarToParam_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___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_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___closed__2; lean_object* l_Lean_Elab_addPreDefinitions(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Term_checkForHiddenUnivLevels_visit___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -686,6 +678,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualD lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__19___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_EXPORT 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*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__2___closed__3; @@ -709,12 +702,14 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutual lean_object* l_Lean_mkHole(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___closed__2; static lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; +static lean_object* l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9___closed__2; lean_object* lean_environment_main_module(lean_object*); static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___closed__9; lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_checkForHiddenUnivLevels___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__7___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT 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_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT 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*); @@ -738,7 +733,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_checkForHi LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_checkForHiddenUnivLevels___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_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); @@ -774,7 +769,6 @@ static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___close static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___closed__8; LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__2(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT 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_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -795,7 +789,6 @@ LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Elab_Term_MutualClosure_main___sp LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_type; LEAN_EXPORT 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_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__9(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; lean_object* l_Lean_Option_setIfNotSet___at_Lean_Meta_withPPInaccessibleNamesImp___spec__1(lean_object*, lean_object*, uint8_t); @@ -816,6 +809,7 @@ LEAN_EXPORT lean_object* l_Std_RBNode_fold___at___private_Lean_Elab_MutualDef_0_ LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Elab_Term_MutualClosure_Replacement_apply___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___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_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_ClosureState_newLetDecls___default; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___closed__4; lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -906,14 +900,12 @@ lean_object* l_Lean_Elab_instantiateMVarsAtPreDecls(lean_object*, lean_object*, lean_object* l_Lean_Elab_toAttributeKind___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_fixpoint(lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_processDefDeriving___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___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_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -935,9 +927,9 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Mutua static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__3___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf(lean_object*, lean_object*, lean_object*); LEAN_EXPORT 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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_resetModified___boxed(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___lambda__2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1002,6 +994,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Mutua static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___closed__5; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__5___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__8___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Linter_MissingDocs_handleIn___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_checkForHiddenUnivLevels_visit___spec__4___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*); @@ -1013,6 +1006,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_checkForH static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__1___closed__5; LEAN_EXPORT lean_object* l_Std_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__7___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_insert___at_Lean_Elab_Term_MutualClosure_insertReplacementForMainFns___spec__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__11(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT 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*); @@ -1032,6 +1026,7 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0_ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__3___closed__3; LEAN_EXPORT 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_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___lambda__2(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_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__2; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_processDefDeriving___spec__4___rarg(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___closed__2; @@ -1048,13 +1043,15 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_FixPoint_run(lean_object LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_markModified___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___closed__6; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__7___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__8___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__3___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT 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*); lean_object* l_Lean_Elab_mkUnusedBaseName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); @@ -41329,264 +41326,7 @@ return x_31; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Command_elabMutualDef___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; uint8_t x_8; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_6, 7); -lean_inc(x_7); -lean_dec(x_6); -x_8 = lean_ctor_get_uint8(x_7, sizeof(void*)*2); -lean_dec(x_7); -if (x_8 == 0) -{ -uint8_t x_9; -lean_dec(x_1); -x_9 = !lean_is_exclusive(x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_5, 0); -lean_dec(x_10); -x_11 = lean_box(0); -lean_ctor_set(x_5, 0, x_11); -return x_5; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_5, 1); -lean_inc(x_12); -lean_dec(x_5); -x_13 = lean_box(0); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_15 = lean_ctor_get(x_5, 1); -lean_inc(x_15); -lean_dec(x_5); -x_16 = lean_st_ref_take(x_3, x_15); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_17, 7); -lean_inc(x_18); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_dec(x_16); -x_20 = !lean_is_exclusive(x_17); -if (x_20 == 0) -{ -lean_object* x_21; uint8_t x_22; -x_21 = lean_ctor_get(x_17, 7); -lean_dec(x_21); -x_22 = !lean_is_exclusive(x_18); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_23 = lean_ctor_get(x_18, 1); -x_24 = l_Std_PersistentArray_push___rarg(x_23, x_1); -lean_ctor_set(x_18, 1, x_24); -x_25 = lean_st_ref_set(x_3, x_17, x_19); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_25, 0); -lean_dec(x_27); -x_28 = lean_box(0); -lean_ctor_set(x_25, 0, x_28); -return x_25; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_25, 1); -lean_inc(x_29); -lean_dec(x_25); -x_30 = lean_box(0); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -return x_31; -} -} -else -{ -uint8_t 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; -x_32 = lean_ctor_get_uint8(x_18, sizeof(void*)*2); -x_33 = lean_ctor_get(x_18, 0); -x_34 = lean_ctor_get(x_18, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_18); -x_35 = l_Std_PersistentArray_push___rarg(x_34, x_1); -x_36 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_36, 0, x_33); -lean_ctor_set(x_36, 1, x_35); -lean_ctor_set_uint8(x_36, sizeof(void*)*2, x_32); -lean_ctor_set(x_17, 7, x_36); -x_37 = lean_st_ref_set(x_3, x_17, x_19); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -if (lean_is_exclusive(x_37)) { - lean_ctor_release(x_37, 0); - lean_ctor_release(x_37, 1); - x_39 = x_37; -} else { - lean_dec_ref(x_37); - x_39 = lean_box(0); -} -x_40 = lean_box(0); -if (lean_is_scalar(x_39)) { - x_41 = lean_alloc_ctor(0, 2, 0); -} else { - x_41 = x_39; -} -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_38); -return x_41; -} -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_42 = lean_ctor_get(x_17, 0); -x_43 = lean_ctor_get(x_17, 1); -x_44 = lean_ctor_get(x_17, 2); -x_45 = lean_ctor_get(x_17, 3); -x_46 = lean_ctor_get(x_17, 4); -x_47 = lean_ctor_get(x_17, 5); -x_48 = lean_ctor_get(x_17, 6); -x_49 = lean_ctor_get(x_17, 8); -lean_inc(x_49); -lean_inc(x_48); -lean_inc(x_47); -lean_inc(x_46); -lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_17); -x_50 = lean_ctor_get_uint8(x_18, sizeof(void*)*2); -x_51 = lean_ctor_get(x_18, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_18, 1); -lean_inc(x_52); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - lean_ctor_release(x_18, 1); - x_53 = x_18; -} else { - lean_dec_ref(x_18); - x_53 = lean_box(0); -} -x_54 = l_Std_PersistentArray_push___rarg(x_52, x_1); -if (lean_is_scalar(x_53)) { - x_55 = lean_alloc_ctor(0, 2, 1); -} else { - x_55 = x_53; -} -lean_ctor_set(x_55, 0, x_51); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set_uint8(x_55, sizeof(void*)*2, x_50); -x_56 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_56, 0, x_42); -lean_ctor_set(x_56, 1, x_43); -lean_ctor_set(x_56, 2, x_44); -lean_ctor_set(x_56, 3, x_45); -lean_ctor_set(x_56, 4, x_46); -lean_ctor_set(x_56, 5, x_47); -lean_ctor_set(x_56, 6, x_48); -lean_ctor_set(x_56, 7, x_55); -lean_ctor_set(x_56, 8, x_49); -x_57 = lean_st_ref_set(x_3, x_56, x_19); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_59 = x_57; -} else { - lean_dec_ref(x_57); - x_59 = lean_box(0); -} -x_60 = lean_box(0); -if (lean_is_scalar(x_59)) { - x_61 = lean_alloc_ctor(0, 2, 0); -} else { - x_61 = x_59; -} -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_58); -return x_61; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabMutualDef___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_6, 7); -lean_inc(x_7); -lean_dec(x_6); -x_8 = lean_ctor_get_uint8(x_7, sizeof(void*)*2); -lean_dec(x_7); -if (x_8 == 0) -{ -uint8_t x_9; -lean_dec(x_1); -x_9 = !lean_is_exclusive(x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_5, 0); -lean_dec(x_10); -x_11 = lean_box(0); -lean_ctor_set(x_5, 0, x_11); -return x_5; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_5, 1); -lean_inc(x_12); -lean_dec(x_5); -x_13 = lean_box(0); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_5, 1); -lean_inc(x_15); -lean_dec(x_5); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_checkForHiddenUnivLevels___spec__2___closed__3; -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_1); -lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Command_elabMutualDef___spec__6(x_17, x_2, x_3, x_15); -return x_18; -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; 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; @@ -41794,7 +41534,7 @@ x_40 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lam x_41 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_41, 0, x_39); lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__7(x_41, x_5, x_6, x_10); +x_42 = l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__5(x_41, x_5, x_6, x_10); return x_42; } else @@ -41887,7 +41627,7 @@ lean_ctor_set(x_29, 0, x_12); lean_ctor_set(x_29, 1, x_28); x_30 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_30, 0, x_29); -x_31 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabMutualDef___spec__5(x_30, x_5, x_6, x_19); +x_31 = l_Lean_Elab_pushInfoLeaf___at_Lean_Linter_MissingDocs_handleIn___spec__3(x_30, x_5, x_6, x_19); x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); x_33 = lean_ctor_get(x_31, 1); @@ -42082,7 +41822,7 @@ return x_44; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__8(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__6(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; @@ -42211,7 +41951,7 @@ x_6 = lean_usize_of_nat(x_5); lean_dec(x_5); x_7 = 0; x_8 = l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; -x_9 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__8(x_1, x_6, x_7, x_8, x_2, x_3, x_4); +x_9 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__6(x_1, x_6, x_7, x_8, x_2, x_3, x_4); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -42272,7 +42012,7 @@ lean_dec(x_7); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___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; @@ -42326,7 +42066,7 @@ return x_20; } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -42346,7 +42086,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_elabMutualDef___spec__10(x_2, x_3, x_4, x_8); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__8(x_2, x_3, x_4, x_8); lean_dec(x_4); return x_12; } @@ -42377,13 +42117,13 @@ lean_ctor_set(x_20, 4, x_17); lean_ctor_set(x_20, 5, x_18); lean_ctor_set(x_20, 6, x_9); lean_ctor_set(x_20, 7, x_19); -x_21 = l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__10(x_2, x_20, x_4, x_8); +x_21 = l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__8(x_2, x_20, x_4, x_8); lean_dec(x_4); return x_21; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -42437,7 +42177,7 @@ return x_20; } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -42457,7 +42197,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_elabMutualDef___spec__13(x_2, x_3, x_4, x_8); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__11(x_2, x_3, x_4, x_8); lean_dec(x_4); return x_12; } @@ -42488,13 +42228,13 @@ lean_ctor_set(x_20, 4, x_17); lean_ctor_set(x_20, 5, x_18); lean_ctor_set(x_20, 6, x_9); lean_ctor_set(x_20, 7, x_19); -x_21 = l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__13(x_2, x_20, x_4, x_8); +x_21 = l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__11(x_2, x_20, x_4, x_8); lean_dec(x_4); return x_21; } } } -static lean_object* _init_l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__11___closed__1() { +static lean_object* _init_l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9___closed__1() { _start: { lean_object* x_1; @@ -42502,16 +42242,16 @@ x_1 = lean_mk_string_from_bytes("unexpected doc string", 21); return x_1; } } -static lean_object* _init_l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__11___closed__2() { +static lean_object* _init_l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__11___closed__1; +x_1 = l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; @@ -42545,7 +42285,7 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_14, 0, x_6); x_15 = l_Lean_indentD(x_14); -x_16 = l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__11___closed__2; +x_16 = l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9___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); @@ -42553,7 +42293,7 @@ x_18 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___clo x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(x_1, x_19, x_2, x_3, x_4); +x_20 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__10(x_1, x_19, x_2, x_3, x_4); return x_20; } } @@ -42791,7 +42531,7 @@ lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_dec(x_6); lean_dec(x_4); x_19 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___closed__6; -x_20 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__9(x_13, x_19, x_7, x_8, x_9); +x_20 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__7(x_13, x_19, x_7, x_8, x_9); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -42923,7 +42663,7 @@ lean_object* x_23; lean_object* x_24; x_23 = lean_ctor_get(x_18, 0); lean_inc(x_3); lean_inc(x_2); -x_24 = l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__11(x_23, x_2, x_3, x_4); +x_24 = l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9(x_23, x_2, x_3, x_4); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; lean_object* x_26; lean_object* x_27; @@ -42976,7 +42716,7 @@ lean_inc(x_32); lean_dec(x_18); lean_inc(x_3); lean_inc(x_2); -x_33 = l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__11(x_32, x_2, x_3, x_4); +x_33 = l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9(x_32, x_2, x_3, x_4); if (lean_obj_tag(x_33) == 0) { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; @@ -43027,7 +42767,7 @@ return x_41; } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -43081,7 +42821,7 @@ return x_21; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___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) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -43091,7 +42831,7 @@ x_9 = l_Lean_Elab_Command_mkDefView(x_2, x_8, x_4, x_5, x_6); return x_9; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__1() { _start: { lean_object* x_1; @@ -43099,16 +42839,16 @@ x_1 = lean_mk_string_from_bytes("invalid use of 'nonrec' modifier in 'mutual' bl return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___closed__1; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___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; @@ -43151,7 +42891,7 @@ lean_object* x_20; lean_object* x_21; x_20 = lean_box(0); lean_inc(x_6); lean_inc(x_5); -x_21 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___lambda__1(x_10, x_15, x_20, x_5, x_6, x_16); +x_21 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___lambda__1(x_10, x_15, x_20, x_5, x_6, x_16); lean_dec(x_10); if (lean_obj_tag(x_21) == 0) { @@ -43205,7 +42945,7 @@ lean_object* x_33; lean_object* x_34; x_33 = lean_box(0); lean_inc(x_6); lean_inc(x_5); -x_34 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___lambda__1(x_10, x_15, x_33, x_5, x_6, x_16); +x_34 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___lambda__1(x_10, x_15, x_33, x_5, x_6, x_16); lean_dec(x_10); if (lean_obj_tag(x_34) == 0) { @@ -43254,8 +42994,8 @@ else lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_dec(x_15); lean_dec(x_12); -x_45 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___closed__2; -x_46 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__14(x_10, x_45, x_5, x_6, x_16); +x_45 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__2; +x_46 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(x_10, x_45, x_5, x_6, x_16); lean_dec(x_6); lean_dec(x_10); x_47 = !lean_is_exclusive(x_46); @@ -43485,7 +43225,7 @@ x_8 = 0; lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_9 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15(x_1, x_7, x_8, x_1, x_3, x_4, x_5); +x_9 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13(x_1, x_7, x_8, x_1, x_3, x_4, x_5); lean_dec(x_1); if (lean_obj_tag(x_9) == 0) { @@ -43546,31 +43286,11 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Command_elabMutualDef___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__5___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_pushInfoTree___at_Lean_Elab_Command_elabMutualDef___spec__6(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabMutualDef___spec__5___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_pushInfoLeaf___at_Lean_Elab_Command_elabMutualDef___spec__5(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___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_throwError___at_Lean_Elab_Command_elabMutualDef___spec__7(x_1, x_2, x_3, x_4); +x_5 = l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__5(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -43609,7 +43329,7 @@ lean_dec(x_6); return x_9; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___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) { _start: { size_t x_8; size_t x_9; lean_object* x_10; @@ -43617,7 +43337,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_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__8(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +x_10 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__6(x_1, x_8, x_9, x_4, x_5, x_6, x_7); lean_dec(x_1); return x_10; } @@ -43631,20 +43351,20 @@ lean_dec(x_1); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___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_elabMutualDef___spec__10(x_1, x_2, x_3, x_4); +x_5 = l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__8(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__13(x_1, x_2, x_3, x_4); +x_5 = l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__11(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -43691,27 +43411,27 @@ lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12___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_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__14(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___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_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___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; @@ -43719,7 +43439,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_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13(x_1, x_8, x_9, x_4, x_5, x_6, x_7); lean_dec(x_1); return x_10; } @@ -44252,10 +43972,10 @@ l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__2 lean_mark_persistent(l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__2); l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__3 = _init_l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__3(); lean_mark_persistent(l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__3); -l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__11___closed__1 = _init_l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__11___closed__1(); -lean_mark_persistent(l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__11___closed__1); -l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__11___closed__2 = _init_l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__11___closed__2(); -lean_mark_persistent(l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__11___closed__2); +l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9___closed__1 = _init_l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9___closed__1(); +lean_mark_persistent(l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9___closed__1); +l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9___closed__2 = _init_l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9___closed__2(); +lean_mark_persistent(l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9___closed__2); l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___closed__1 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___closed__1(); lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___closed__1); l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___closed__2 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___closed__2(); @@ -44272,10 +43992,10 @@ l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___close lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__1); l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__2 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__2(); lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__2); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__15___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__2); l_Lean_Elab_Command_elabMutualDef___boxed__const__1 = _init_l_Lean_Elab_Command_elabMutualDef___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Command_elabMutualDef___boxed__const__1); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Config.c b/stage0/stdlib/Lean/Elab/Tactic/Config.c index 55c39cbb41..35d96b803b 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Config.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Config.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.Tactic.Config -// Imports: Init Lean.Meta.Eval Lean.Elab.Tactic.Basic Lean.Elab.SyntheticMVars +// Imports: Init Lean.Meta.Eval Lean.Elab.Tactic.Basic Lean.Elab.SyntheticMVars Lean.Linter.MissingDocs #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -215,12 +215,15 @@ static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______ma static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__243; static lean_object* l_Lean_Elab_Tactic_configElab___closed__19; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__112; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_checkConfigElab___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__116; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__231; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__128; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__192; +static lean_object* l_Lean_Elab_Tactic_checkConfigElab___closed__1; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__136; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__101; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_checkConfigElab(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__95; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__250; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__79; @@ -270,6 +273,7 @@ static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______ma static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__129; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__8; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__83; +lean_object* l_Lean_Linter_MissingDocs_mkSimpleHandler(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__94; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__145; static lean_object* l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__45; @@ -4328,10 +4332,39 @@ return x_537; } } } +static lean_object* _init_l_Lean_Elab_Tactic_checkConfigElab___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("config elab", 11); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_checkConfigElab(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; +x_5 = l_Lean_Elab_Tactic_checkConfigElab___closed__1; +x_6 = l_Lean_Linter_MissingDocs_mkSimpleHandler(x_5, x_1, x_2, x_3, x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_checkConfigElab___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_Tactic_checkConfigElab(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Eval(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_Tactic_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_SyntheticMVars(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Linter_MissingDocs(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_Config(uint8_t builtin, lean_object* w) { lean_object * res; @@ -4349,6 +4382,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_SyntheticMVars(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Linter_MissingDocs(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Elab_Tactic_configElab___closed__1 = _init_l_Lean_Elab_Tactic_configElab___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_configElab___closed__1); l_Lean_Elab_Tactic_configElab___closed__2 = _init_l_Lean_Elab_Tactic_configElab___closed__2(); @@ -4925,6 +4961,8 @@ l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab lean_mark_persistent(l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__261); l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__262 = _init_l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__262(); lean_mark_persistent(l_Lean_Elab_Tactic___aux__Lean__Elab__Tactic__Config______macroRules__Lean__Elab__Tactic__configElab__1___closed__262); +l_Lean_Elab_Tactic_checkConfigElab___closed__1 = _init_l_Lean_Elab_Tactic_checkConfigElab___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_checkConfigElab___closed__1); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Linter/MissingDocs.c b/stage0/stdlib/Lean/Linter/MissingDocs.c index cc22640f30..23e6cb5224 100644 --- a/stage0/stdlib/Lean/Linter/MissingDocs.c +++ b/stage0/stdlib/Lean/Linter/MissingDocs.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Linter.MissingDocs -// Imports: Init Lean.Elab.Command Lean.Elab.Tactic.Config Lean.Linter.Util +// Imports: Init Lean.Linter.Util #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,69 +13,71 @@ #ifdef __cplusplus extern "C" { #endif +static lean_object* l_Lean_Linter_MissingDocs_checkSyntax___closed__3; +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleMutual___boxed(lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__2___closed__1; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__27; static lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__8; -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____spec__2(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__9; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__25; size_t lean_usize_add(size_t, size_t); static lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__6; static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__3; lean_object* lean_erase_macro_scopes(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkInit___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__2; lean_object* l_Lean_stringToMessageData(lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__6; -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_main(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_Lean_Elab_pushInfoLeaf___at_Lean_Linter_MissingDocs_handleIn___spec__3___closed__3; +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__14; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__4; lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_mkElabAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__14; lean_object* l_Lean_throwError___at_Lean_registerTagAttribute___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_linter_missingDocs; +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__13; +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5___closed__1; uint8_t lean_usize_dec_eq(size_t, size_t); static lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__2; lean_object* lean_array_uget(lean_object*, size_t); lean_object* lean_io_error_to_string(lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__13; static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__36; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_checkSyntax___closed__5; LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lint___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleIn___rarg___lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__1; +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__6; lean_object* l_Lean_Attribute_Builtin_getIdent(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__19; static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__22; -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__2___closed__2; static lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__9; static lean_object* l_Lean_Linter_MissingDocs_lint___closed__2; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_lintNamed___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintNamed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____lambda__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Linter_MissingDocs_handleIn___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__39; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__40; -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_checkSyntax___closed__2; +static lean_object* l_Lean_Linter_MissingDocs_checkSyntaxCat___closed__1; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntaxCat___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_checkDecl___closed__1; lean_object* lean_environment_find(lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__31; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Linter_MissingDocs_handleIn___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSimpLike___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleIn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_handleIn___rarg___closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Linter_MissingDocs_handleIn___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_checkSyntax___closed__1; static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__17; static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__8; +static lean_object* l_Lean_Linter_MissingDocs_checkSimpLike___closed__1; lean_object* l_Lean_Elab_Command_addLinter(lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_lintField___closed__1; lean_object* l_Lean_getConstInfo___at_Lean_registerInitAttrUnsafe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -83,114 +85,107 @@ static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingD static lean_object* l_Lean_Linter_MissingDocs_handleIn___rarg___closed__2; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__6; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__35; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__11; lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____lambda__4___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleMutual(uint8_t); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__1; +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__5; LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____lambda__3(lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__16; +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__10; static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__18; static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__15; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__17; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__8; lean_object* l_List_head_x21___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Linter_MissingDocs_missingDocs___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintField___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__7; uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__7; -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__12; static lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Linter_MissingDocs_handleIn___spec__6___closed__1; static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__1; -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4___closed__2; static lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Linter_MissingDocs_handleIn___spec__6___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Linter_MissingDocs_handleIn___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_logAt___at_Lean_Elab_Command_elabCommand___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__10; LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__4; static lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__7; +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__5; LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_missingDocsExt; -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__4; +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__3; extern lean_object* l_Lean_LocalContext_empty; static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__23; -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4___closed__1; -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__13; -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__14; static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____closed__7; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__18; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkSimpleHandler___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__9; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Syntax_isNatLit_x3f(lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__3; +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__7; static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__4; -uint8_t lean_nat_dec_eq(lean_object*, lean_object*); uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_192_(uint8_t, uint8_t); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__15; lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__15; lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_getOptionDecl(lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__2; +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5___closed__2; LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_Linter_MissingDocs_mkHandlerUnsafe___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__18; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkClassAbbrev___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_checkClassAbbrev___closed__1; +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__3; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__15; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__18; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__30; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterOption___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__16; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_handleMutual___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleMutual___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__32; +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__4; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__10; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__20; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Linter_MissingDocs_handleIn___spec__3___closed__1; static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Linter_MissingDocs_handleIn___spec__1___closed__4; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntax(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__43; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntaxAbbrev(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_missingDocs(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__7; uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); lean_object* l_Lean_Syntax_setArgs(lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_checkInit___lambda__1___closed__1; static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Linter_MissingDocs_handleIn___spec__1___closed__2; lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Linter_MissingDocs_handleIn___spec__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterSimpAttr(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkInit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2___closed__2; +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__1; lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__21; +static lean_object* l_Lean_Linter_MissingDocs_checkRegisterOption___closed__1; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkMacro(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__26; LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Linter_MissingDocs_handleIn___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_getHandlers(lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_addHandler(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__12; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSimpLike(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_lint___closed__1; lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_eval_const(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_Linter_MissingDocs_mkHandlerUnsafe___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____lambda__4(lean_object*); static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__6; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__28; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__14; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__5; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkClassAbbrev(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__12; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_handleMutual___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleIn(uint8_t); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintNamed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__2; @@ -198,74 +193,69 @@ LEAN_EXPORT uint8_t l_Lean_Linter_getLinterMissingDocs(lean_object*); lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__2___closed__1; static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__19; -LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__11; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____closed__6; -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___at_Lean_Linter_MissingDocs_handleIn___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Linter_MissingDocs_handleIn___spec__1___closed__1; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__3; size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_Linter_MissingDocs_checkDecl___lambda__1___closed__1; -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__1; lean_object* l_Lean_ConstantInfo_type(lean_object*); static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__12; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkElab___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_checkElab___closed__1; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__24; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Linter_MissingDocs_handleIn___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___lambda__1___closed__1; +static lean_object* l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___closed__1; static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__1; -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_main___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__42; lean_object* l_Lean_setEnv___at_Lean_registerTagAttribute___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_getLinterMissingDocs___closed__1; -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_main___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__4; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__1___closed__2; -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__2; lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__22; LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Linter_MissingDocs_handleIn___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__16; -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__9; uint8_t lean_expr_eqv(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkMacro___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__3; +static lean_object* l_Lean_Linter_MissingDocs_checkMacro___closed__1; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___elambda__1___boxed(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_Linter_MissingDocs_main___closed__37; static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__24; LEAN_EXPORT lean_object* l_Lean_Linter_getLinterMissingDocs___boxed(lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4___closed__1; uint8_t l_Lean_Linter_getLinterValue(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__17; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__16; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntaxCat(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_instInhabitedScope; -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__4; LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Linter_MissingDocs_missingDocs___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__8; lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Linter_MissingDocs_handleIn___spec__1___closed__5; +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__9; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkInit(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__17; static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Linter_MissingDocs_handleIn___spec__1___closed__6; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__38; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__21; +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintDeclHead(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_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__8; lean_object* l_Array_ofSubarray___rarg(lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__2; lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__2; LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_getHandlers___boxed(lean_object*); LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_Linter_MissingDocs_mkHandlerUnsafe___spec__2(lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); @@ -275,60 +265,58 @@ static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingD static lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__4___closed__2; static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__1; lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_5205____closed__1; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_5205_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308_(lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__11; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__7; +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4___closed__2; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkElab(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__1; static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__3; static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Linter_MissingDocs_handleIn___spec__1___closed__3; lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Linter_MissingDocs_handleIn___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkSimpleHandler(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_handleIn___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Linter_MissingDocs_handleIn___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__23; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__10; static lean_object* l_Lean_Linter_MissingDocs_lintDeclHead___closed__20; lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_addHandler___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__3___closed__1; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__41; -static lean_object* l_Lean_Linter_MissingDocs_main___closed__13; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__34; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntaxAbbrev___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_lintField(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5___closed__2; static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Linter_MissingDocs_handleIn___spec__1___closed__7; static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____closed__3; static lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5; uint8_t l_List_isEmpty___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__2; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkInit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____closed__5; -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__3; -static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5___closed__1; +static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Linter_MissingDocs_handleIn___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____closed__2; lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_initFn____x40_Lean_Deprecated___hyg_4____spec__2(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__33; +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterOption(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkHandlerUnsafe___elambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Linter_MissingDocs_checkSyntax___closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_MissingDocs___hyg_8____closed__6; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Linter_MissingDocs_handleIn___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_Linter_MissingDocs_mkHandlerUnsafe___spec__2___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Linter_MissingDocs_main___closed__29; static lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_308____closed__1; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); @@ -1784,7 +1772,24 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_missingDocs), 4, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__1; +x_3 = l_Lean_Elab_Command_addLinter(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -1850,7 +1855,7 @@ return x_22; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; @@ -1860,7 +1865,7 @@ lean_ctor_set(x_6, 1, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; @@ -1919,7 +1924,7 @@ x_17 = lean_ctor_get(x_9, 1); lean_inc(x_17); lean_dec(x_9); lean_inc(x_7); -x_18 = l_Lean_mkConstWithLevelParams___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____spec__2(x_7, x_3, x_4, x_17); +x_18 = l_Lean_mkConstWithLevelParams___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____spec__2(x_7, x_3, x_4, x_17); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; @@ -2023,7 +2028,7 @@ return x_39; } } } -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____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_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -2111,7 +2116,7 @@ return x_35; } } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__2___closed__1() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -2120,7 +2125,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__2___closed__2() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -2129,7 +2134,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____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_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____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) { _start: { lean_object* x_9; @@ -2158,7 +2163,7 @@ lean_dec(x_12); x_15 = lean_box(0); lean_inc(x_7); lean_inc(x_6); -x_16 = l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____spec__1(x_13, x_15, x_6, x_7, x_14); +x_16 = l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____spec__1(x_13, x_15, x_6, x_7, x_14); if (lean_obj_tag(x_16) == 0) { lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; @@ -2179,11 +2184,11 @@ lean_dec(x_4); lean_dec(x_3); x_21 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_21, 0, x_1); -x_22 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__2___closed__1; +x_22 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__2___closed__1; x_23 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); -x_24 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__2___closed__2; +x_24 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__2___closed__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); @@ -2237,11 +2242,11 @@ lean_dec(x_17); lean_dec(x_3); x_41 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_41, 0, x_1); -x_42 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__2___closed__1; +x_42 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__2___closed__1; x_43 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); -x_44 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__2___closed__2; +x_44 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__2___closed__2; x_45 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_45, 0, x_43); lean_ctor_set(x_45, 1, x_44); @@ -2271,7 +2276,7 @@ else { lean_object* x_51; lean_object* x_52; x_51 = lean_box(0); -x_52 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__1(x_1, x_17, x_3, x_51, x_6, x_7, x_18); +x_52 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__1(x_1, x_17, x_3, x_51, x_6, x_7, x_18); lean_dec(x_7); lean_dec(x_6); return x_52; @@ -2283,7 +2288,7 @@ lean_object* x_53; lean_object* x_54; lean_dec(x_31); lean_dec(x_4); x_53 = lean_box(0); -x_54 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__1(x_1, x_17, x_3, x_53, x_6, x_7, x_18); +x_54 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__1(x_1, x_17, x_3, x_53, x_6, x_7, x_18); lean_dec(x_7); lean_dec(x_6); return x_54; @@ -2378,7 +2383,7 @@ return x_66; } } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__1() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__1() { _start: { lean_object* x_1; @@ -2386,16 +2391,16 @@ x_1 = lean_mk_string_from_bytes("invalid attribute '", 19); return x_1; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__2() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__1; +x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__3() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__3() { _start: { lean_object* x_1; @@ -2403,16 +2408,16 @@ x_1 = lean_mk_string_from_bytes("', declaration is in an imported module", 39); return x_1; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__4() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__3; +x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____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_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____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) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -2434,7 +2439,7 @@ if (lean_obj_tag(x_13) == 0) lean_object* x_14; lean_object* x_15; lean_dec(x_4); x_14 = lean_box(0); -x_15 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__2(x_1, x_2, x_12, x_3, x_14, x_6, x_7, x_11); +x_15 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__2(x_1, x_2, x_12, x_3, x_14, x_6, x_7, x_11); return x_15; } else @@ -2447,11 +2452,11 @@ lean_dec(x_2); lean_dec(x_1); x_16 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_16, 0, x_4); -x_17 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__2; +x_17 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__2; x_18 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); -x_19 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__4; +x_19 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__4; x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); @@ -2479,7 +2484,7 @@ return x_25; } } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4___closed__1() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4___closed__1() { _start: { lean_object* x_1; @@ -2487,16 +2492,16 @@ x_1 = lean_mk_string_from_bytes("', must be global", 17); return x_1; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4___closed__2() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4___closed__1; +x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; uint8_t x_10; @@ -2510,11 +2515,11 @@ lean_dec(x_3); lean_dec(x_1); x_11 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_11, 0, x_2); -x_12 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__2; +x_12 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___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); -x_14 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4___closed__2; +x_14 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4___closed__2; x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); @@ -2544,12 +2549,12 @@ else { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); -x_22 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3(x_3, x_4, x_1, x_2, x_21, x_6, x_7, x_8); +x_22 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3(x_3, x_4, x_1, x_2, x_21, x_6, x_7, x_8); return x_22; } } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5___closed__1() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5___closed__1() { _start: { lean_object* x_1; @@ -2557,25 +2562,25 @@ x_1 = lean_mk_string_from_bytes("attribute cannot be erased", 26); return x_1; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5___closed__2() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5___closed__1; +x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; -x_5 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5___closed__2; +x_5 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5___closed__2; x_6 = l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(x_5, x_2, x_3, x_4); return x_6; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__1() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__1() { _start: { lean_object* x_1; @@ -2583,17 +2588,17 @@ x_1 = lean_mk_string_from_bytes("missingDocsHandler", 18); return x_1; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__2() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__1; +x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__3() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -2603,27 +2608,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__4() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__3; +x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__3; x_2 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__5() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__4; +x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__4; x_2 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__6() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__6() { _start: { lean_object* x_1; @@ -2631,17 +2636,17 @@ x_1 = lean_mk_string_from_bytes("initFn", 6); return x_1; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__7() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__5; -x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__6; +x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__5; +x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__8() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__8() { _start: { lean_object* x_1; @@ -2649,47 +2654,47 @@ x_1 = lean_mk_string_from_bytes("_@", 2); return x_1; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__9() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__7; -x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__8; +x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__7; +x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__10() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__9; +x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__9; x_2 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__11() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__10; +x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__10; x_2 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__12() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__11; +x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__11; x_2 = l_Lean_Linter_MissingDocs_mkHandlerUnsafe___closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__13() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__13() { _start: { lean_object* x_1; @@ -2697,27 +2702,27 @@ x_1 = lean_mk_string_from_bytes("_hyg", 4); return x_1; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__14() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__12; -x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__13; +x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__12; +x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__13; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__15() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__14; -x_2 = lean_unsigned_to_nat(647u); +x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__14; +x_2 = lean_unsigned_to_nat(661u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__16() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__16() { _start: { lean_object* x_1; @@ -2725,13 +2730,13 @@ x_1 = lean_mk_string_from_bytes("adds a syntax traversal for the missing docs li return x_1; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__17() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__15; -x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__2; -x_3 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__16; +x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__15; +x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__2; +x_3 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__16; x_4 = 1; x_5 = lean_alloc_ctor(0, 3, 1); lean_ctor_set(x_5, 0, x_1); @@ -2741,25 +2746,25 @@ lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__18() { +static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__18() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5___boxed), 4, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__5; -x_3 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__2; -x_4 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4___boxed), 8, 2); +x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__5; +x_3 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__2; +x_4 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4___boxed), 8, 2); lean_closure_set(x_4, 0, x_2); lean_closure_set(x_4, 1, x_3); -x_5 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__17; -x_6 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__18; +x_5 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__17; +x_6 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__18; x_7 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_7, 0, x_5); lean_ctor_set(x_7, 1, x_4); @@ -2768,53 +2773,53 @@ x_8 = l_Lean_registerBuiltinAttribute(x_7, x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_mkConstWithLevelParams___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____spec__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_mkConstWithLevelParams___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____spec__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____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_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__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_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_5); lean_dec(x_5); -x_10 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4(x_1, x_2, x_3, x_4, x_9, x_6, x_7, x_8); +x_10 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4(x_1, x_2, x_3, x_4, x_9, x_6, x_7, x_8); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5___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_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -2963,7 +2968,7 @@ static lean_object* _init_l_Lean_Linter_MissingDocs_lintDeclHead___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__3; +x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__3; x_2 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -4120,60 +4125,41 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkDecl(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; uint8_t x_7; -x_5 = lean_array_get_size(x_1); -x_6 = lean_unsigned_to_nat(2u); -x_7 = lean_nat_dec_eq(x_5, x_6); -lean_dec(x_5); -if (x_7 == 0) +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Lean_Syntax_getArg(x_1, x_5); +x_7 = lean_unsigned_to_nat(1u); +x_8 = l_Lean_Syntax_getArg(x_1, x_7); +lean_dec(x_1); +x_9 = lean_unsigned_to_nat(2u); +x_10 = l_Lean_Syntax_getArg(x_6, x_9); +x_11 = l_Lean_Syntax_getArg(x_10, x_5); +lean_dec(x_10); +x_12 = l_Lean_Syntax_getKind(x_11); +x_13 = l_Lean_Linter_MissingDocs_checkDecl___closed__1; +x_14 = lean_name_eq(x_12, x_13); +lean_dec(x_12); +if (x_14 == 0) { -lean_object* x_8; lean_object* x_9; +lean_object* x_15; lean_object* x_16; +x_15 = lean_box(0); +x_16 = l_Lean_Linter_MissingDocs_checkDecl___lambda__2(x_8, x_6, x_15, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(0); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_4); -return x_9; +return x_16; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_array_fget(x_1, x_10); -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_array_fget(x_1, x_12); -lean_dec(x_1); -x_14 = l_Lean_Syntax_getArg(x_11, x_6); -x_15 = l_Lean_Syntax_getArg(x_14, x_10); -lean_dec(x_14); -x_16 = l_Lean_Syntax_getKind(x_15); -x_17 = l_Lean_Linter_MissingDocs_checkDecl___closed__1; -x_18 = lean_name_eq(x_16, x_17); -lean_dec(x_16); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_box(0); -x_20 = l_Lean_Linter_MissingDocs_checkDecl___lambda__2(x_13, x_11, x_19, x_2, x_3, x_4); +lean_object* x_17; lean_object* x_18; +lean_dec(x_8); +lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_4); -return x_22; -} +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_4); +return x_18; } } } @@ -4278,7 +4264,7 @@ lean_dec(x_4); return x_7; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_main___lambda__1___closed__1() { +static lean_object* _init_l_Lean_Linter_MissingDocs_checkInit___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -4286,396 +4272,112 @@ x_1 = lean_mk_string_from_bytes("initializer", 11); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_main___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_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkInit___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_object* x_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; uint8_t x_13; +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Lean_Syntax_getArg(x_1, x_6); x_8 = lean_unsigned_to_nat(2u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = lean_unsigned_to_nat(0u); -x_11 = l_Lean_Syntax_getArg(x_9, x_10); +x_9 = l_Lean_Syntax_getArg(x_7, x_8); +x_10 = l_Lean_Syntax_getArg(x_9, x_6); lean_dec(x_9); -x_12 = l_Lean_Syntax_getKind(x_11); -x_13 = l_Array_forInUnsafe_loop___at_Lean_Linter_MissingDocs_checkDecl___spec__1___closed__1; -x_14 = l_Lean_Name_str___override(x_2, x_13); -x_15 = lean_name_eq(x_12, x_14); +x_11 = l_Lean_Syntax_getKind(x_10); +x_12 = l_Lean_Linter_MissingDocs_checkDecl___closed__1; +x_13 = lean_name_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; +x_14 = l_Lean_Syntax_getArg(x_7, x_6); +lean_dec(x_7); +x_15 = l_Lean_Syntax_isNone(x_14); lean_dec(x_14); -lean_dec(x_12); if (x_15 == 0) { -lean_object* x_16; uint8_t x_17; -x_16 = l_Lean_Syntax_getArg(x_1, x_10); -x_17 = l_Lean_Syntax_isNone(x_16); -lean_dec(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_box(0); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_7); -return x_19; +lean_object* x_16; lean_object* x_17; +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_5); +return x_17; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = l_Lean_Syntax_getArg(x_3, x_10); -x_21 = l_Lean_Linter_MissingDocs_main___lambda__1___closed__1; -x_22 = l_Lean_Linter_MissingDocs_lintNamed(x_20, x_21, x_5, x_6, x_7); -lean_dec(x_20); -return x_22; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = l_Lean_Syntax_getArg(x_1, x_8); +x_19 = l_Lean_Syntax_getArg(x_18, x_6); +lean_dec(x_18); +x_20 = l_Lean_Linter_MissingDocs_checkInit___lambda__1___closed__1; +x_21 = l_Lean_Linter_MissingDocs_lintNamed(x_19, x_20, x_3, x_4, x_5); +lean_dec(x_19); +return x_21; } } else { -lean_object* x_23; lean_object* x_24; -x_23 = lean_box(0); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_7); -return x_24; +lean_object* x_22; lean_object* x_23; +lean_dec(x_7); +x_22 = lean_box(0); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_5); +return x_23; } } } -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__1() { +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkInit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("declaration", 11); -return x_1; +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_unsigned_to_nat(2u); +x_6 = l_Lean_Syntax_getArg(x_1, x_5); +x_7 = l_Lean_Syntax_isNone(x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_box(0); +x_9 = l_Lean_Linter_MissingDocs_checkInit___lambda__1(x_1, x_8, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_3); +lean_dec(x_2); +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_4); +return x_11; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__2() { +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkInit___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__4; -x_2 = l_Lean_Linter_MissingDocs_main___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; +lean_object* x_6; +x_6 = l_Lean_Linter_MissingDocs_checkInit___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_6; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__3() { +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkInit___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("initialize", 10); -return x_1; +lean_object* x_5; +x_5 = l_Lean_Linter_MissingDocs_checkInit(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__4; -x_2 = l_Lean_Linter_MissingDocs_main___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("syntax", 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__4; -x_2 = l_Lean_Linter_MissingDocs_main___closed__5; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("syntaxAbbrev", 12); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__4; -x_2 = l_Lean_Linter_MissingDocs_main___closed__7; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("syntaxCat", 9); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__4; -x_2 = l_Lean_Linter_MissingDocs_main___closed__9; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("macro", 5); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__4; -x_2 = l_Lean_Linter_MissingDocs_main___closed__11; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("elab", 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__4; -x_2 = l_Lean_Linter_MissingDocs_main___closed__13; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("classAbbrev", 11); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__4; -x_2 = l_Lean_Linter_MissingDocs_main___closed__15; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__17() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Tactic", 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__2; -x_2 = l_Lean_Linter_MissingDocs_main___closed__17; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__19() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("declareSimpLikeTactic", 21); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_main___closed__18; -x_2 = l_Lean_Linter_MissingDocs_main___closed__19; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__21() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Option", 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__3; -x_2 = l_Lean_Linter_MissingDocs_main___closed__21; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__23() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("registerBuiltinOption", 21); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_main___closed__22; -x_2 = l_Lean_Linter_MissingDocs_main___closed__23; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__25() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("registerOption", 14); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_main___closed__22; -x_2 = l_Lean_Linter_MissingDocs_main___closed__25; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__27() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("registerSimpAttr", 16); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__28() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__4; -x_2 = l_Lean_Linter_MissingDocs_main___closed__27; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__29() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Elab", 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__30() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__3; -x_2 = l_Lean_Linter_MissingDocs_main___closed__29; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__31() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_main___closed__30; -x_2 = l_Lean_Linter_MissingDocs_main___closed__17; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__32() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("configElab", 10); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__33() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_main___closed__31; -x_2 = l_Lean_Linter_MissingDocs_main___closed__32; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__34() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("config elab", 11); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__35() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("simp attr", 9); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__36() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("option", 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__37() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("simp-like tactic", 16); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__38() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("class abbrev", 12); -return x_1; -} -} -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__39() { +static lean_object* _init_l_Lean_Linter_MissingDocs_checkSyntax___closed__1() { _start: { lean_object* x_1; @@ -4683,17 +4385,17 @@ x_1 = lean_mk_string_from_bytes("Term", 4); return x_1; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__40() { +static lean_object* _init_l_Lean_Linter_MissingDocs_checkSyntax___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__2; -x_2 = l_Lean_Linter_MissingDocs_main___closed__39; +x_2 = l_Lean_Linter_MissingDocs_checkSyntax___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__41() { +static lean_object* _init_l_Lean_Linter_MissingDocs_checkSyntax___closed__3() { _start: { lean_object* x_1; @@ -4701,17 +4403,169 @@ x_1 = lean_mk_string_from_bytes("local", 5); return x_1; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__42() { +static lean_object* _init_l_Lean_Linter_MissingDocs_checkSyntax___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Linter_MissingDocs_main___closed__40; -x_2 = l_Lean_Linter_MissingDocs_main___closed__41; +x_1 = l_Lean_Linter_MissingDocs_checkSyntax___closed__2; +x_2 = l_Lean_Linter_MissingDocs_checkSyntax___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_main___closed__43() { +static lean_object* _init_l_Lean_Linter_MissingDocs_checkSyntax___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("syntax", 6); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntax(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; uint8_t x_7; +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Lean_Syntax_getArg(x_1, x_5); +x_7 = l_Lean_Syntax_isNone(x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_4); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_getArg(x_11, x_5); +lean_dec(x_11); +x_13 = l_Lean_Syntax_getArg(x_12, x_5); +lean_dec(x_12); +x_14 = l_Lean_Syntax_getKind(x_13); +x_15 = l_Lean_Linter_MissingDocs_checkSyntax___closed__4; +x_16 = lean_name_eq(x_14, x_15); +lean_dec(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_unsigned_to_nat(5u); +x_18 = l_Lean_Syntax_getArg(x_1, x_17); +x_19 = l_Lean_Syntax_isNone(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = l_Lean_Syntax_getArg(x_18, x_5); +lean_dec(x_18); +x_21 = lean_unsigned_to_nat(3u); +x_22 = l_Lean_Syntax_getArg(x_20, x_21); +lean_dec(x_20); +x_23 = l_Lean_Linter_MissingDocs_checkSyntax___closed__5; +x_24 = l_Lean_Linter_MissingDocs_lintNamed(x_22, x_23, x_2, x_3, x_4); +lean_dec(x_22); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_18); +x_25 = lean_unsigned_to_nat(3u); +x_26 = l_Lean_Syntax_getArg(x_1, x_25); +x_27 = l_Lean_Linter_MissingDocs_checkSyntax___closed__5; +x_28 = l_Lean_Linter_MissingDocs_lint(x_26, x_27, x_2, x_3, x_4); +lean_dec(x_26); +return x_28; +} +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_4); +return x_30; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntax___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_Linter_MissingDocs_checkSyntax(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkSimpleHandler(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; uint8_t x_8; +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Lean_Syntax_getArg(x_2, x_6); +x_8 = l_Lean_Syntax_isNone(x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_5); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_unsigned_to_nat(2u); +x_12 = l_Lean_Syntax_getArg(x_2, x_11); +x_13 = l_Lean_Linter_MissingDocs_lintNamed(x_12, x_1, x_3, x_4, x_5); +lean_dec(x_12); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_mkSimpleHandler___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_Linter_MissingDocs_mkSimpleHandler(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntaxAbbrev(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; +x_5 = l_Lean_Linter_MissingDocs_checkSyntax___closed__5; +x_6 = l_Lean_Linter_MissingDocs_mkSimpleHandler(x_5, x_1, x_2, x_3, x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntaxAbbrev___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_Linter_MissingDocs_checkSyntaxAbbrev(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Linter_MissingDocs_checkSyntaxCat___closed__1() { _start: { lean_object* x_1; @@ -4719,726 +4573,364 @@ x_1 = lean_mk_string_from_bytes("syntax category", 15); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_main(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_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntaxCat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_7; uint8_t x_8; -x_7 = l_Lean_Linter_MissingDocs_main___closed__2; -x_8 = lean_name_eq(x_2, x_7); -if (x_8 == 0) +lean_object* x_5; lean_object* x_6; +x_5 = l_Lean_Linter_MissingDocs_checkSyntaxCat___closed__1; +x_6 = l_Lean_Linter_MissingDocs_mkSimpleHandler(x_5, x_1, x_2, x_3, x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSyntaxCat___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -lean_object* x_9; uint8_t x_10; -x_9 = l_Lean_Linter_MissingDocs_main___closed__4; -x_10 = lean_name_eq(x_2, x_9); -if (x_10 == 0) -{ -lean_object* x_11; uint8_t x_12; +lean_object* x_5; +x_5 = l_Lean_Linter_MissingDocs_checkSyntaxCat(x_1, x_2, x_3, x_4); lean_dec(x_3); -x_11 = l_Lean_Linter_MissingDocs_main___closed__6; -x_12 = lean_name_eq(x_2, x_11); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Linter_MissingDocs_checkMacro___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("macro", 5); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkMacro(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; uint8_t x_7; +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Lean_Syntax_getArg(x_1, x_5); +x_7 = l_Lean_Syntax_isNone(x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_4); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_getArg(x_11, x_5); +lean_dec(x_11); +x_13 = l_Lean_Syntax_getArg(x_12, x_5); +lean_dec(x_12); +x_14 = l_Lean_Syntax_getKind(x_13); +x_15 = l_Lean_Linter_MissingDocs_checkSyntax___closed__4; +x_16 = lean_name_eq(x_14, x_15); +lean_dec(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_unsigned_to_nat(4u); +x_18 = l_Lean_Syntax_getArg(x_1, x_17); +x_19 = l_Lean_Syntax_isNone(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = l_Lean_Syntax_getArg(x_18, x_5); +lean_dec(x_18); +x_21 = lean_unsigned_to_nat(3u); +x_22 = l_Lean_Syntax_getArg(x_20, x_21); +lean_dec(x_20); +x_23 = l_Lean_Linter_MissingDocs_checkMacro___closed__1; +x_24 = l_Lean_Linter_MissingDocs_lintNamed(x_22, x_23, x_2, x_3, x_4); +lean_dec(x_22); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_18); +x_25 = lean_unsigned_to_nat(2u); +x_26 = l_Lean_Syntax_getArg(x_1, x_25); +x_27 = l_Lean_Linter_MissingDocs_checkMacro___closed__1; +x_28 = l_Lean_Linter_MissingDocs_lint(x_26, x_27, x_2, x_3, x_4); +lean_dec(x_26); +return x_28; +} +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_4); +return x_30; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkMacro___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_Linter_MissingDocs_checkMacro(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Linter_MissingDocs_checkElab___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("elab", 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkElab(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; uint8_t x_7; +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Lean_Syntax_getArg(x_1, x_5); +x_7 = l_Lean_Syntax_isNone(x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_4); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Syntax_getArg(x_11, x_5); +lean_dec(x_11); +x_13 = l_Lean_Syntax_getArg(x_12, x_5); +lean_dec(x_12); +x_14 = l_Lean_Syntax_getKind(x_13); +x_15 = l_Lean_Linter_MissingDocs_checkSyntax___closed__4; +x_16 = lean_name_eq(x_14, x_15); +lean_dec(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_unsigned_to_nat(4u); +x_18 = l_Lean_Syntax_getArg(x_1, x_17); +x_19 = l_Lean_Syntax_isNone(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = l_Lean_Syntax_getArg(x_18, x_5); +lean_dec(x_18); +x_21 = lean_unsigned_to_nat(3u); +x_22 = l_Lean_Syntax_getArg(x_20, x_21); +lean_dec(x_20); +x_23 = l_Lean_Linter_MissingDocs_checkElab___closed__1; +x_24 = l_Lean_Linter_MissingDocs_lintNamed(x_22, x_23, x_2, x_3, x_4); +lean_dec(x_22); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_18); +x_25 = lean_unsigned_to_nat(2u); +x_26 = l_Lean_Syntax_getArg(x_1, x_25); +x_27 = l_Lean_Linter_MissingDocs_checkElab___closed__1; +x_28 = l_Lean_Linter_MissingDocs_lint(x_26, x_27, x_2, x_3, x_4); +lean_dec(x_26); +return x_28; +} +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_4); +return x_30; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkElab___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_Linter_MissingDocs_checkElab(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Linter_MissingDocs_checkClassAbbrev___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("class abbrev", 12); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkClassAbbrev(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; uint8_t x_12; +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Lean_Syntax_getArg(x_1, x_5); +x_7 = lean_unsigned_to_nat(2u); +x_8 = l_Lean_Syntax_getArg(x_6, x_7); +x_9 = l_Lean_Syntax_getArg(x_8, x_5); +lean_dec(x_8); +x_10 = l_Lean_Syntax_getKind(x_9); +x_11 = l_Lean_Linter_MissingDocs_checkDecl___closed__1; +x_12 = lean_name_eq(x_10, x_11); +lean_dec(x_10); if (x_12 == 0) { lean_object* x_13; uint8_t x_14; -x_13 = l_Lean_Linter_MissingDocs_main___closed__8; -x_14 = lean_name_eq(x_2, x_13); +x_13 = l_Lean_Syntax_getArg(x_6, x_5); +lean_dec(x_6); +x_14 = l_Lean_Syntax_isNone(x_13); +lean_dec(x_13); if (x_14 == 0) { -lean_object* x_15; uint8_t x_16; -x_15 = l_Lean_Linter_MissingDocs_main___closed__10; -x_16 = lean_name_eq(x_2, x_15); -if (x_16 == 0) -{ -lean_object* x_17; uint8_t x_18; -x_17 = l_Lean_Linter_MissingDocs_main___closed__12; -x_18 = lean_name_eq(x_2, x_17); -if (x_18 == 0) -{ -lean_object* x_19; uint8_t x_20; -x_19 = l_Lean_Linter_MissingDocs_main___closed__14; -x_20 = lean_name_eq(x_2, x_19); -if (x_20 == 0) -{ -lean_object* x_21; uint8_t x_22; -x_21 = l_Lean_Linter_MissingDocs_main___closed__16; -x_22 = lean_name_eq(x_2, x_21); -if (x_22 == 0) -{ -lean_object* x_23; uint8_t x_24; -x_23 = l_Lean_Linter_MissingDocs_main___closed__20; -x_24 = lean_name_eq(x_2, x_23); -if (x_24 == 0) -{ -lean_object* x_25; uint8_t x_26; -x_25 = l_Lean_Linter_MissingDocs_main___closed__24; -x_26 = lean_name_eq(x_2, x_25); -if (x_26 == 0) -{ -lean_object* x_27; uint8_t x_28; -x_27 = l_Lean_Linter_MissingDocs_main___closed__26; -x_28 = lean_name_eq(x_2, x_27); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; -x_29 = l_Lean_Linter_MissingDocs_main___closed__28; -x_30 = lean_name_eq(x_2, x_29); -if (x_30 == 0) -{ -lean_object* x_31; uint8_t x_32; -x_31 = l_Lean_Linter_MissingDocs_main___closed__33; -x_32 = lean_name_eq(x_2, x_31); -lean_dec(x_2); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_33 = lean_box(0); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_6); -return x_34; +lean_object* x_15; lean_object* x_16; +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; } else { -lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_35 = lean_unsigned_to_nat(0u); -x_36 = l_Lean_Syntax_getArg(x_1, x_35); -x_37 = l_Lean_Syntax_isNone(x_36); -lean_dec(x_36); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_38 = lean_box(0); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_6); -return x_39; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_40 = lean_unsigned_to_nat(2u); -x_41 = l_Lean_Syntax_getArg(x_1, x_40); -lean_dec(x_1); -x_42 = l_Lean_Linter_MissingDocs_main___closed__34; -x_43 = l_Lean_Linter_MissingDocs_lintNamed(x_41, x_42, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_41); -return x_43; -} +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_unsigned_to_nat(3u); +x_18 = l_Lean_Syntax_getArg(x_1, x_17); +x_19 = l_Lean_Linter_MissingDocs_checkClassAbbrev___closed__1; +x_20 = l_Lean_Linter_MissingDocs_lintNamed(x_18, x_19, x_2, x_3, x_4); +lean_dec(x_18); +return x_20; } } else { -lean_object* x_44; lean_object* x_45; uint8_t x_46; -lean_dec(x_2); -x_44 = lean_unsigned_to_nat(0u); -x_45 = l_Lean_Syntax_getArg(x_1, x_44); -x_46 = l_Lean_Syntax_isNone(x_45); -lean_dec(x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_47 = lean_box(0); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_6); -return x_48; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_49 = lean_unsigned_to_nat(2u); -x_50 = l_Lean_Syntax_getArg(x_1, x_49); -lean_dec(x_1); -x_51 = l_Lean_Linter_MissingDocs_main___closed__35; -x_52 = l_Lean_Linter_MissingDocs_lintNamed(x_50, x_51, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_50); -return x_52; +lean_object* x_21; lean_object* x_22; +lean_dec(x_6); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_4); +return x_22; } } } -else -{ -lean_object* x_53; lean_object* x_54; uint8_t x_55; -lean_dec(x_2); -x_53 = lean_unsigned_to_nat(0u); -x_54 = l_Lean_Syntax_getArg(x_1, x_53); -x_55 = l_Lean_Syntax_isNone(x_54); -lean_dec(x_54); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; -lean_dec(x_5); -lean_dec(x_4); -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_6); -return x_57; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_58 = lean_unsigned_to_nat(2u); -x_59 = l_Lean_Syntax_getArg(x_1, x_58); -lean_dec(x_1); -x_60 = l_Lean_Linter_MissingDocs_main___closed__36; -x_61 = l_Lean_Linter_MissingDocs_lintNamed(x_59, x_60, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_59); -return x_61; -} -} -} -else -{ -lean_object* x_62; lean_object* x_63; uint8_t x_64; -lean_dec(x_2); -x_62 = lean_unsigned_to_nat(0u); -x_63 = l_Lean_Syntax_getArg(x_1, x_62); -x_64 = l_Lean_Syntax_isNone(x_63); -lean_dec(x_63); -if (x_64 == 0) -{ -lean_object* x_65; lean_object* x_66; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_65 = lean_box(0); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_6); -return x_66; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_67 = lean_unsigned_to_nat(2u); -x_68 = l_Lean_Syntax_getArg(x_1, x_67); -lean_dec(x_1); -x_69 = l_Lean_Linter_MissingDocs_main___closed__36; -x_70 = l_Lean_Linter_MissingDocs_lintNamed(x_68, x_69, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_68); -return x_70; -} -} -} -else -{ -lean_object* x_71; lean_object* x_72; uint8_t x_73; -lean_dec(x_2); -x_71 = lean_unsigned_to_nat(0u); -x_72 = l_Lean_Syntax_getArg(x_1, x_71); -x_73 = l_Lean_Syntax_isNone(x_72); -lean_dec(x_72); -if (x_73 == 0) -{ -lean_object* x_74; lean_object* x_75; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_74 = lean_box(0); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_6); -return x_75; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_76 = lean_unsigned_to_nat(3u); -x_77 = l_Lean_Syntax_getArg(x_1, x_76); -lean_dec(x_1); -x_78 = l_Lean_Linter_MissingDocs_main___closed__37; -x_79 = l_Lean_Linter_MissingDocs_lintNamed(x_77, x_78, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_77); -return x_79; -} -} -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; -lean_dec(x_2); -x_80 = lean_unsigned_to_nat(0u); -x_81 = l_Lean_Syntax_getArg(x_1, x_80); -x_82 = lean_unsigned_to_nat(2u); -x_83 = l_Lean_Syntax_getArg(x_81, x_82); -x_84 = l_Lean_Syntax_getArg(x_83, x_80); -lean_dec(x_83); -x_85 = l_Lean_Syntax_getKind(x_84); -x_86 = l_Lean_Linter_MissingDocs_checkDecl___closed__1; -x_87 = lean_name_eq(x_85, x_86); -lean_dec(x_85); -if (x_87 == 0) -{ -lean_object* x_88; uint8_t x_89; -x_88 = l_Lean_Syntax_getArg(x_81, x_80); -lean_dec(x_81); -x_89 = l_Lean_Syntax_isNone(x_88); -lean_dec(x_88); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_90 = lean_box(0); -x_91 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_6); -return x_91; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_unsigned_to_nat(3u); -x_93 = l_Lean_Syntax_getArg(x_1, x_92); -lean_dec(x_1); -x_94 = l_Lean_Linter_MissingDocs_main___closed__38; -x_95 = l_Lean_Linter_MissingDocs_lintNamed(x_93, x_94, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_93); -return x_95; -} -} -else -{ -lean_object* x_96; lean_object* x_97; -lean_dec(x_81); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_96 = lean_box(0); -x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_6); -return x_97; -} -} -} -else -{ -lean_object* x_98; lean_object* x_99; uint8_t x_100; -lean_dec(x_2); -x_98 = lean_unsigned_to_nat(0u); -x_99 = l_Lean_Syntax_getArg(x_1, x_98); -x_100 = l_Lean_Syntax_isNone(x_99); -lean_dec(x_99); -if (x_100 == 0) -{ -lean_object* x_101; lean_object* x_102; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_101 = lean_box(0); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_6); -return x_102; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; -x_103 = lean_unsigned_to_nat(1u); -x_104 = l_Lean_Syntax_getArg(x_1, x_103); -x_105 = l_Lean_Syntax_getArg(x_104, x_98); -lean_dec(x_104); -x_106 = l_Lean_Syntax_getArg(x_105, x_98); -lean_dec(x_105); -x_107 = l_Lean_Syntax_getKind(x_106); -x_108 = l_Lean_Linter_MissingDocs_main___closed__42; -x_109 = lean_name_eq(x_107, x_108); -lean_dec(x_107); -if (x_109 == 0) -{ -lean_object* x_110; lean_object* x_111; uint8_t x_112; -x_110 = lean_unsigned_to_nat(4u); -x_111 = l_Lean_Syntax_getArg(x_1, x_110); -x_112 = l_Lean_Syntax_isNone(x_111); -if (x_112 == 0) -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -lean_dec(x_1); -x_113 = l_Lean_Syntax_getArg(x_111, x_98); -lean_dec(x_111); -x_114 = lean_unsigned_to_nat(3u); -x_115 = l_Lean_Syntax_getArg(x_113, x_114); -lean_dec(x_113); -x_116 = l_Lean_Linter_MissingDocs_main___closed__13; -x_117 = l_Lean_Linter_MissingDocs_lintNamed(x_115, x_116, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_115); -return x_117; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -lean_dec(x_111); -x_118 = lean_unsigned_to_nat(2u); -x_119 = l_Lean_Syntax_getArg(x_1, x_118); -lean_dec(x_1); -x_120 = l_Lean_Linter_MissingDocs_main___closed__13; -x_121 = l_Lean_Linter_MissingDocs_lint(x_119, x_120, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_119); -return x_121; -} -} -else -{ -lean_object* x_122; lean_object* x_123; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_122 = lean_box(0); -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_6); -return x_123; -} -} -} -} -else -{ -lean_object* x_124; lean_object* x_125; uint8_t x_126; -lean_dec(x_2); -x_124 = lean_unsigned_to_nat(0u); -x_125 = l_Lean_Syntax_getArg(x_1, x_124); -x_126 = l_Lean_Syntax_isNone(x_125); -lean_dec(x_125); -if (x_126 == 0) -{ -lean_object* x_127; lean_object* x_128; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_127 = lean_box(0); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_6); -return x_128; -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; -x_129 = lean_unsigned_to_nat(1u); -x_130 = l_Lean_Syntax_getArg(x_1, x_129); -x_131 = l_Lean_Syntax_getArg(x_130, x_124); -lean_dec(x_130); -x_132 = l_Lean_Syntax_getArg(x_131, x_124); -lean_dec(x_131); -x_133 = l_Lean_Syntax_getKind(x_132); -x_134 = l_Lean_Linter_MissingDocs_main___closed__42; -x_135 = lean_name_eq(x_133, x_134); -lean_dec(x_133); -if (x_135 == 0) -{ -lean_object* x_136; lean_object* x_137; uint8_t x_138; -x_136 = lean_unsigned_to_nat(4u); -x_137 = l_Lean_Syntax_getArg(x_1, x_136); -x_138 = l_Lean_Syntax_isNone(x_137); -if (x_138 == 0) -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -lean_dec(x_1); -x_139 = l_Lean_Syntax_getArg(x_137, x_124); -lean_dec(x_137); -x_140 = lean_unsigned_to_nat(3u); -x_141 = l_Lean_Syntax_getArg(x_139, x_140); -lean_dec(x_139); -x_142 = l_Lean_Linter_MissingDocs_main___closed__11; -x_143 = l_Lean_Linter_MissingDocs_lintNamed(x_141, x_142, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_141); -return x_143; -} -else -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -lean_dec(x_137); -x_144 = lean_unsigned_to_nat(2u); -x_145 = l_Lean_Syntax_getArg(x_1, x_144); -lean_dec(x_1); -x_146 = l_Lean_Linter_MissingDocs_main___closed__11; -x_147 = l_Lean_Linter_MissingDocs_lint(x_145, x_146, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_145); -return x_147; -} -} -else -{ -lean_object* x_148; lean_object* x_149; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_148 = lean_box(0); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_6); -return x_149; -} -} -} -} -else -{ -lean_object* x_150; lean_object* x_151; uint8_t x_152; -lean_dec(x_2); -x_150 = lean_unsigned_to_nat(0u); -x_151 = l_Lean_Syntax_getArg(x_1, x_150); -x_152 = l_Lean_Syntax_isNone(x_151); -lean_dec(x_151); -if (x_152 == 0) -{ -lean_object* x_153; lean_object* x_154; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_153 = lean_box(0); -x_154 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_6); -return x_154; -} -else -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_155 = lean_unsigned_to_nat(2u); -x_156 = l_Lean_Syntax_getArg(x_1, x_155); -lean_dec(x_1); -x_157 = l_Lean_Linter_MissingDocs_main___closed__43; -x_158 = l_Lean_Linter_MissingDocs_lintNamed(x_156, x_157, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_156); -return x_158; -} -} -} -else -{ -lean_object* x_159; lean_object* x_160; uint8_t x_161; -lean_dec(x_2); -x_159 = lean_unsigned_to_nat(0u); -x_160 = l_Lean_Syntax_getArg(x_1, x_159); -x_161 = l_Lean_Syntax_isNone(x_160); -lean_dec(x_160); -if (x_161 == 0) -{ -lean_object* x_162; lean_object* x_163; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_162 = lean_box(0); -x_163 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_6); -return x_163; -} -else -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_164 = lean_unsigned_to_nat(2u); -x_165 = l_Lean_Syntax_getArg(x_1, x_164); -lean_dec(x_1); -x_166 = l_Lean_Linter_MissingDocs_main___closed__5; -x_167 = l_Lean_Linter_MissingDocs_lintNamed(x_165, x_166, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_165); -return x_167; -} -} -} -else -{ -lean_object* x_168; lean_object* x_169; uint8_t x_170; -lean_dec(x_2); -x_168 = lean_unsigned_to_nat(0u); -x_169 = l_Lean_Syntax_getArg(x_1, x_168); -x_170 = l_Lean_Syntax_isNone(x_169); -lean_dec(x_169); -if (x_170 == 0) -{ -lean_object* x_171; lean_object* x_172; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_171 = lean_box(0); -x_172 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_6); -return x_172; -} -else -{ -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; -x_173 = lean_unsigned_to_nat(2u); -x_174 = l_Lean_Syntax_getArg(x_1, x_173); -x_175 = l_Lean_Syntax_getArg(x_174, x_168); -lean_dec(x_174); -x_176 = l_Lean_Syntax_getArg(x_175, x_168); -lean_dec(x_175); -x_177 = l_Lean_Syntax_getKind(x_176); -x_178 = l_Lean_Linter_MissingDocs_main___closed__42; -x_179 = lean_name_eq(x_177, x_178); -lean_dec(x_177); -if (x_179 == 0) -{ -lean_object* x_180; lean_object* x_181; uint8_t x_182; -x_180 = lean_unsigned_to_nat(5u); -x_181 = l_Lean_Syntax_getArg(x_1, x_180); -x_182 = l_Lean_Syntax_isNone(x_181); -if (x_182 == 0) -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; -lean_dec(x_1); -x_183 = l_Lean_Syntax_getArg(x_181, x_168); -lean_dec(x_181); -x_184 = lean_unsigned_to_nat(3u); -x_185 = l_Lean_Syntax_getArg(x_183, x_184); -lean_dec(x_183); -x_186 = l_Lean_Linter_MissingDocs_main___closed__5; -x_187 = l_Lean_Linter_MissingDocs_lintNamed(x_185, x_186, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_185); -return x_187; -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -lean_dec(x_181); -x_188 = lean_unsigned_to_nat(3u); -x_189 = l_Lean_Syntax_getArg(x_1, x_188); -lean_dec(x_1); -x_190 = l_Lean_Linter_MissingDocs_main___closed__5; -x_191 = l_Lean_Linter_MissingDocs_lint(x_189, x_190, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_189); -return x_191; -} -} -else -{ -lean_object* x_192; lean_object* x_193; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_192 = lean_box(0); -x_193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_6); -return x_193; -} -} -} -} -else -{ -lean_object* x_194; lean_object* x_195; uint8_t x_196; -lean_dec(x_2); -lean_dec(x_1); -x_194 = lean_array_get_size(x_3); -x_195 = lean_unsigned_to_nat(4u); -x_196 = lean_nat_dec_eq(x_194, x_195); -lean_dec(x_194); -if (x_196 == 0) -{ -lean_object* x_197; lean_object* x_198; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_197 = lean_box(0); -x_198 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_198, 0, x_197); -lean_ctor_set(x_198, 1, x_6); -return x_198; -} -else -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; -x_199 = lean_unsigned_to_nat(0u); -x_200 = lean_array_fget(x_3, x_199); -x_201 = lean_unsigned_to_nat(2u); -x_202 = lean_array_fget(x_3, x_201); -lean_dec(x_3); -x_203 = l_Lean_Syntax_isNone(x_202); -if (x_203 == 0) -{ -lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_204 = l_Lean_Linter_MissingDocs_lintDeclHead___closed__4; -x_205 = lean_box(0); -x_206 = l_Lean_Linter_MissingDocs_main___lambda__1(x_200, x_204, x_202, x_205, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_202); -lean_dec(x_200); -return x_206; -} -else -{ -lean_object* x_207; lean_object* x_208; -lean_dec(x_202); -lean_dec(x_200); -lean_dec(x_5); -lean_dec(x_4); -x_207 = lean_box(0); -x_208 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_208, 0, x_207); -lean_ctor_set(x_208, 1, x_6); -return x_208; -} -} -} -} -else -{ -lean_object* x_209; -lean_dec(x_2); -lean_dec(x_1); -x_209 = l_Lean_Linter_MissingDocs_checkDecl(x_3, x_4, x_5, x_6); -return x_209; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_main___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_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkClassAbbrev___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_8; -x_8 = l_Lean_Linter_MissingDocs_main___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); +lean_object* x_5; +x_5 = l_Lean_Linter_MissingDocs_checkClassAbbrev(x_1, x_2, x_3, x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_5; +} +} +static lean_object* _init_l_Lean_Linter_MissingDocs_checkSimpLike___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("simp-like tactic", 16); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSimpLike(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; +x_5 = l_Lean_Linter_MissingDocs_checkSimpLike___closed__1; +x_6 = l_Lean_Linter_MissingDocs_mkSimpleHandler(x_5, x_1, x_2, x_3, x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkSimpLike___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_Linter_MissingDocs_checkSimpLike(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Linter_MissingDocs_checkRegisterOption___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("option", 6); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterOption(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; +x_5 = l_Lean_Linter_MissingDocs_checkRegisterOption___closed__1; +x_6 = l_Lean_Linter_MissingDocs_mkSimpleHandler(x_5, x_1, x_2, x_3, x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterOption___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_Linter_MissingDocs_checkRegisterOption(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("simp attr", 9); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterSimpAttr(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; +x_5 = l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___closed__1; +x_6 = l_Lean_Linter_MissingDocs_mkSimpleHandler(x_5, x_1, x_2, x_3, x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___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_Linter_MissingDocs_checkRegisterSimpAttr(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; } } LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Linter_MissingDocs_handleIn___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -6237,65 +5729,62 @@ x_9 = lean_name_eq(x_7, x_8); lean_dec(x_7); if (x_9 == 0) { -lean_object* x_10; lean_object* x_11; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_10 = lean_box(0); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_4); -return x_11; +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Linter_MissingDocs_missingDocs(x_11, x_2, x_3, x_4); +return x_12; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_unsigned_to_nat(1u); -x_13 = l_Lean_Syntax_getArg(x_6, x_12); -x_14 = lean_unsigned_to_nat(2u); -x_15 = l_Lean_Syntax_getArg(x_6, x_14); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_unsigned_to_nat(1u); +x_14 = l_Lean_Syntax_getArg(x_6, x_13); +x_15 = lean_unsigned_to_nat(2u); +x_16 = l_Lean_Syntax_getArg(x_6, x_15); lean_dec(x_6); lean_inc(x_3); lean_inc(x_2); -x_16 = l_Lean_Elab_elabSetOption___at_Lean_Linter_MissingDocs_handleIn___spec__1(x_13, x_15, x_2, x_3, x_4); -if (lean_obj_tag(x_16) == 0) +x_17 = l_Lean_Elab_elabSetOption___at_Lean_Linter_MissingDocs_handleIn___spec__1(x_14, x_16, x_2, x_3, x_4); +if (lean_obj_tag(x_17) == 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_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); +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_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_handleIn___rarg___lambda__1), 2, 1); -lean_closure_set(x_19, 0, x_17); -x_20 = l_Lean_Syntax_getArg(x_1, x_14); -x_21 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_missingDocs), 4, 1); -lean_closure_set(x_21, 0, x_20); -x_22 = l_Lean_Elab_Command_withScope___rarg(x_19, x_21, x_2, x_3, x_18); -return x_22; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_handleIn___rarg___lambda__1), 2, 1); +lean_closure_set(x_20, 0, x_18); +x_21 = l_Lean_Syntax_getArg(x_1, x_15); +x_22 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_missingDocs), 4, 1); +lean_closure_set(x_22, 0, x_21); +x_23 = l_Lean_Elab_Command_withScope___rarg(x_20, x_22, x_2, x_3, x_19); +return x_23; } else { -uint8_t x_23; +uint8_t x_24; lean_dec(x_3); lean_dec(x_2); -x_23 = !lean_is_exclusive(x_16); -if (x_23 == 0) +x_24 = !lean_is_exclusive(x_17); +if (x_24 == 0) { -return x_16; +return x_17; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_16, 0); -x_25 = lean_ctor_get(x_16, 1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_17, 0); +x_26 = lean_ctor_get(x_17, 1); +lean_inc(x_26); lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_16); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; +lean_dec(x_17); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } @@ -6530,26 +6019,7 @@ x_3 = l_Lean_Linter_MissingDocs_handleMutual(x_2); return x_3; } } -static lean_object* _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_5205____closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Linter_MissingDocs_missingDocs), 4, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_5205_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_5205____closed__1; -x_3 = l_Lean_Elab_Command_addLinter(x_2, x_1); -return x_3; -} -} lean_object* initialize_Init(uint8_t builtin, lean_object*); -lean_object* initialize_Lean_Elab_Command(uint8_t builtin, lean_object*); -lean_object* initialize_Lean_Elab_Tactic_Config(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Linter_Util(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Linter_MissingDocs(uint8_t builtin, lean_object* w) { @@ -6559,12 +6029,6 @@ _G_initialized = true; res = initialize_Init(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Lean_Elab_Command(builtin, lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Lean_Elab_Tactic_Config(builtin, lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); res = initialize_Lean_Linter_Util(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -6632,65 +6096,70 @@ lean_mark_persistent(l_Lean_Linter_MissingDocs_missingDocsExt); lean_dec_ref(res); }l_Lean_Linter_MissingDocs_addHandler___closed__1 = _init_l_Lean_Linter_MissingDocs_addHandler___closed__1(); lean_mark_persistent(l_Lean_Linter_MissingDocs_addHandler___closed__1); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__2___closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__2___closed__1); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__2___closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__2___closed__2); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__1); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__2); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__3 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__3(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__3); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__4 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__4(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__3___closed__4); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4___closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4___closed__1); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4___closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4___closed__2(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__4___closed__2); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5___closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5___closed__1(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5___closed__1); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5___closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5___closed__2(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____lambda__5___closed__2); l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__1(); lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__1); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__2(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__2); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__3 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__3(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__3); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__4 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__4(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__4); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__5 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__5(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__5); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__6 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__6(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__6); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__7 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__7(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__7); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__8 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__8(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__8); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__9 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__9(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__9); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__10 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__10(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__10); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__11 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__11(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__11); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__12 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__12(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__12); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__13 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__13(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__13); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__14 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__14(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__14); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__15 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__15(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__15); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__16 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__16(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__16); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__17 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__17(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__17); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__18 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__18(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647____closed__18); res = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_647_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__2___closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__2___closed__1); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__2___closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__2___closed__2); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__1); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__2); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__3 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__3); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__4 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__3___closed__4); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4___closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4___closed__1); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4___closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__4___closed__2); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5___closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5___closed__1); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5___closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____lambda__5___closed__2); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__1(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__1); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__2 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__2(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__2); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__3 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__3(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__3); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__4 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__4(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__4); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__5 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__5(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__5); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__6 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__6(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__6); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__7 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__7(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__7); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__8 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__8(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__8); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__9 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__9(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__9); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__10 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__10(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__10); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__11 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__11(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__11); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__12 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__12(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__12); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__13 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__13(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__13); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__14 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__14(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__14); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__15 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__15(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__15); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__16 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__16(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__16); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__17 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__17(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__17); +l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__18 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__18(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661____closed__18); +res = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_661_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Linter_MissingDocs_lint___closed__1 = _init_l_Lean_Linter_MissingDocs_lint___closed__1(); lean_mark_persistent(l_Lean_Linter_MissingDocs_lint___closed__1); l_Lean_Linter_MissingDocs_lint___closed__2 = _init_l_Lean_Linter_MissingDocs_lint___closed__2(); @@ -6767,94 +6236,32 @@ l_Lean_Linter_MissingDocs_checkDecl___lambda__1___closed__1 = _init_l_Lean_Linte lean_mark_persistent(l_Lean_Linter_MissingDocs_checkDecl___lambda__1___closed__1); l_Lean_Linter_MissingDocs_checkDecl___closed__1 = _init_l_Lean_Linter_MissingDocs_checkDecl___closed__1(); lean_mark_persistent(l_Lean_Linter_MissingDocs_checkDecl___closed__1); -l_Lean_Linter_MissingDocs_main___lambda__1___closed__1 = _init_l_Lean_Linter_MissingDocs_main___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___lambda__1___closed__1); -l_Lean_Linter_MissingDocs_main___closed__1 = _init_l_Lean_Linter_MissingDocs_main___closed__1(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__1); -l_Lean_Linter_MissingDocs_main___closed__2 = _init_l_Lean_Linter_MissingDocs_main___closed__2(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__2); -l_Lean_Linter_MissingDocs_main___closed__3 = _init_l_Lean_Linter_MissingDocs_main___closed__3(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__3); -l_Lean_Linter_MissingDocs_main___closed__4 = _init_l_Lean_Linter_MissingDocs_main___closed__4(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__4); -l_Lean_Linter_MissingDocs_main___closed__5 = _init_l_Lean_Linter_MissingDocs_main___closed__5(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__5); -l_Lean_Linter_MissingDocs_main___closed__6 = _init_l_Lean_Linter_MissingDocs_main___closed__6(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__6); -l_Lean_Linter_MissingDocs_main___closed__7 = _init_l_Lean_Linter_MissingDocs_main___closed__7(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__7); -l_Lean_Linter_MissingDocs_main___closed__8 = _init_l_Lean_Linter_MissingDocs_main___closed__8(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__8); -l_Lean_Linter_MissingDocs_main___closed__9 = _init_l_Lean_Linter_MissingDocs_main___closed__9(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__9); -l_Lean_Linter_MissingDocs_main___closed__10 = _init_l_Lean_Linter_MissingDocs_main___closed__10(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__10); -l_Lean_Linter_MissingDocs_main___closed__11 = _init_l_Lean_Linter_MissingDocs_main___closed__11(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__11); -l_Lean_Linter_MissingDocs_main___closed__12 = _init_l_Lean_Linter_MissingDocs_main___closed__12(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__12); -l_Lean_Linter_MissingDocs_main___closed__13 = _init_l_Lean_Linter_MissingDocs_main___closed__13(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__13); -l_Lean_Linter_MissingDocs_main___closed__14 = _init_l_Lean_Linter_MissingDocs_main___closed__14(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__14); -l_Lean_Linter_MissingDocs_main___closed__15 = _init_l_Lean_Linter_MissingDocs_main___closed__15(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__15); -l_Lean_Linter_MissingDocs_main___closed__16 = _init_l_Lean_Linter_MissingDocs_main___closed__16(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__16); -l_Lean_Linter_MissingDocs_main___closed__17 = _init_l_Lean_Linter_MissingDocs_main___closed__17(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__17); -l_Lean_Linter_MissingDocs_main___closed__18 = _init_l_Lean_Linter_MissingDocs_main___closed__18(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__18); -l_Lean_Linter_MissingDocs_main___closed__19 = _init_l_Lean_Linter_MissingDocs_main___closed__19(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__19); -l_Lean_Linter_MissingDocs_main___closed__20 = _init_l_Lean_Linter_MissingDocs_main___closed__20(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__20); -l_Lean_Linter_MissingDocs_main___closed__21 = _init_l_Lean_Linter_MissingDocs_main___closed__21(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__21); -l_Lean_Linter_MissingDocs_main___closed__22 = _init_l_Lean_Linter_MissingDocs_main___closed__22(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__22); -l_Lean_Linter_MissingDocs_main___closed__23 = _init_l_Lean_Linter_MissingDocs_main___closed__23(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__23); -l_Lean_Linter_MissingDocs_main___closed__24 = _init_l_Lean_Linter_MissingDocs_main___closed__24(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__24); -l_Lean_Linter_MissingDocs_main___closed__25 = _init_l_Lean_Linter_MissingDocs_main___closed__25(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__25); -l_Lean_Linter_MissingDocs_main___closed__26 = _init_l_Lean_Linter_MissingDocs_main___closed__26(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__26); -l_Lean_Linter_MissingDocs_main___closed__27 = _init_l_Lean_Linter_MissingDocs_main___closed__27(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__27); -l_Lean_Linter_MissingDocs_main___closed__28 = _init_l_Lean_Linter_MissingDocs_main___closed__28(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__28); -l_Lean_Linter_MissingDocs_main___closed__29 = _init_l_Lean_Linter_MissingDocs_main___closed__29(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__29); -l_Lean_Linter_MissingDocs_main___closed__30 = _init_l_Lean_Linter_MissingDocs_main___closed__30(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__30); -l_Lean_Linter_MissingDocs_main___closed__31 = _init_l_Lean_Linter_MissingDocs_main___closed__31(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__31); -l_Lean_Linter_MissingDocs_main___closed__32 = _init_l_Lean_Linter_MissingDocs_main___closed__32(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__32); -l_Lean_Linter_MissingDocs_main___closed__33 = _init_l_Lean_Linter_MissingDocs_main___closed__33(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__33); -l_Lean_Linter_MissingDocs_main___closed__34 = _init_l_Lean_Linter_MissingDocs_main___closed__34(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__34); -l_Lean_Linter_MissingDocs_main___closed__35 = _init_l_Lean_Linter_MissingDocs_main___closed__35(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__35); -l_Lean_Linter_MissingDocs_main___closed__36 = _init_l_Lean_Linter_MissingDocs_main___closed__36(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__36); -l_Lean_Linter_MissingDocs_main___closed__37 = _init_l_Lean_Linter_MissingDocs_main___closed__37(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__37); -l_Lean_Linter_MissingDocs_main___closed__38 = _init_l_Lean_Linter_MissingDocs_main___closed__38(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__38); -l_Lean_Linter_MissingDocs_main___closed__39 = _init_l_Lean_Linter_MissingDocs_main___closed__39(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__39); -l_Lean_Linter_MissingDocs_main___closed__40 = _init_l_Lean_Linter_MissingDocs_main___closed__40(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__40); -l_Lean_Linter_MissingDocs_main___closed__41 = _init_l_Lean_Linter_MissingDocs_main___closed__41(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__41); -l_Lean_Linter_MissingDocs_main___closed__42 = _init_l_Lean_Linter_MissingDocs_main___closed__42(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__42); -l_Lean_Linter_MissingDocs_main___closed__43 = _init_l_Lean_Linter_MissingDocs_main___closed__43(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_main___closed__43); +l_Lean_Linter_MissingDocs_checkInit___lambda__1___closed__1 = _init_l_Lean_Linter_MissingDocs_checkInit___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_checkInit___lambda__1___closed__1); +l_Lean_Linter_MissingDocs_checkSyntax___closed__1 = _init_l_Lean_Linter_MissingDocs_checkSyntax___closed__1(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_checkSyntax___closed__1); +l_Lean_Linter_MissingDocs_checkSyntax___closed__2 = _init_l_Lean_Linter_MissingDocs_checkSyntax___closed__2(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_checkSyntax___closed__2); +l_Lean_Linter_MissingDocs_checkSyntax___closed__3 = _init_l_Lean_Linter_MissingDocs_checkSyntax___closed__3(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_checkSyntax___closed__3); +l_Lean_Linter_MissingDocs_checkSyntax___closed__4 = _init_l_Lean_Linter_MissingDocs_checkSyntax___closed__4(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_checkSyntax___closed__4); +l_Lean_Linter_MissingDocs_checkSyntax___closed__5 = _init_l_Lean_Linter_MissingDocs_checkSyntax___closed__5(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_checkSyntax___closed__5); +l_Lean_Linter_MissingDocs_checkSyntaxCat___closed__1 = _init_l_Lean_Linter_MissingDocs_checkSyntaxCat___closed__1(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_checkSyntaxCat___closed__1); +l_Lean_Linter_MissingDocs_checkMacro___closed__1 = _init_l_Lean_Linter_MissingDocs_checkMacro___closed__1(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_checkMacro___closed__1); +l_Lean_Linter_MissingDocs_checkElab___closed__1 = _init_l_Lean_Linter_MissingDocs_checkElab___closed__1(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_checkElab___closed__1); +l_Lean_Linter_MissingDocs_checkClassAbbrev___closed__1 = _init_l_Lean_Linter_MissingDocs_checkClassAbbrev___closed__1(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_checkClassAbbrev___closed__1); +l_Lean_Linter_MissingDocs_checkSimpLike___closed__1 = _init_l_Lean_Linter_MissingDocs_checkSimpLike___closed__1(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_checkSimpLike___closed__1); +l_Lean_Linter_MissingDocs_checkRegisterOption___closed__1 = _init_l_Lean_Linter_MissingDocs_checkRegisterOption___closed__1(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_checkRegisterOption___closed__1); +l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___closed__1 = _init_l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___closed__1(); +lean_mark_persistent(l_Lean_Linter_MissingDocs_checkRegisterSimpAttr___closed__1); l_Lean_Elab_pushInfoLeaf___at_Lean_Linter_MissingDocs_handleIn___spec__3___closed__1 = _init_l_Lean_Elab_pushInfoLeaf___at_Lean_Linter_MissingDocs_handleIn___spec__3___closed__1(); lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at_Lean_Linter_MissingDocs_handleIn___spec__3___closed__1); l_Lean_Elab_pushInfoLeaf___at_Lean_Linter_MissingDocs_handleIn___spec__3___closed__2 = _init_l_Lean_Elab_pushInfoLeaf___at_Lean_Linter_MissingDocs_handleIn___spec__3___closed__2(); @@ -6883,11 +6290,6 @@ l_Lean_Linter_MissingDocs_handleIn___rarg___closed__1 = _init_l_Lean_Linter_Miss lean_mark_persistent(l_Lean_Linter_MissingDocs_handleIn___rarg___closed__1); l_Lean_Linter_MissingDocs_handleIn___rarg___closed__2 = _init_l_Lean_Linter_MissingDocs_handleIn___rarg___closed__2(); lean_mark_persistent(l_Lean_Linter_MissingDocs_handleIn___rarg___closed__2); -l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_5205____closed__1 = _init_l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_5205____closed__1(); -lean_mark_persistent(l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_5205____closed__1); -res = l_Lean_Linter_MissingDocs_initFn____x40_Lean_Linter_MissingDocs___hyg_5205_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/IndPredBelow.c b/stage0/stdlib/Lean/Meta/IndPredBelow.c index 91bb8b0dd7..80e491f727 100644 --- a/stage0/stdlib/Lean/Meta/IndPredBelow.c +++ b/stage0/stdlib/Lean/Meta/IndPredBelow.c @@ -34,7 +34,6 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_back lean_object* l_Lean_getConstInfoInduct___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_copyVarName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__2(size_t, size_t, lean_object*); @@ -526,6 +525,7 @@ static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatch extern lean_object* l_Lean_instInhabitedInductiveVal; static lean_object* l_Lean_addTrace___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__6___closed__5; static lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkIH___closed__2; +lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_brecOnSuffix; static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__1___closed__2; static lean_object* l_Lean_addDecl___at_Lean_Meta_IndPredBelow_mkBelow___spec__2___closed__3; @@ -17800,7 +17800,7 @@ x_10 = lean_alloc_closure((void*)(l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMot lean_closure_set(x_10, 0, x_1); lean_closure_set(x_10, 1, x_2); lean_closure_set(x_10, 2, x_3); -x_11 = l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__6___rarg(x_9, x_10, x_4, x_5, x_6, x_7, x_8); +x_11 = l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(x_9, x_10, x_4, x_5, x_6, x_7, x_8); return x_11; } } @@ -18616,7 +18616,7 @@ lean_closure_set(x_26, 0, x_23); lean_closure_set(x_26, 1, x_24); lean_closure_set(x_26, 2, x_6); lean_closure_set(x_26, 3, x_20); -x_27 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__6___rarg), 7, 2); +x_27 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg), 7, 2); lean_closure_set(x_27, 0, x_20); lean_closure_set(x_27, 1, x_26); lean_inc(x_12); diff --git a/stage0/stdlib/Lean/Meta/Tactic/AC/Main.c b/stage0/stdlib/Lean/Meta/Tactic/AC/Main.c index 39df59a72b..36a215f4d3 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/AC/Main.c +++ b/stage0/stdlib/Lean/Meta/Tactic/AC/Main.c @@ -90,7 +90,6 @@ static lean_object* l_Lean_Meta_AC_getInstance___closed__8; static lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic___closed__3; LEAN_EXPORT lean_object* l_Array_insertionSort_traverse___at_Lean_Meta_AC_toACExpr___spec__4(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -lean_object* l_Std_HashSetImp_insert___at_Lean_CollectMVars_visit___spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_AC_toACExpr_toPreExpr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -188,7 +187,6 @@ static lean_object* l_Lean_Meta_AC_buildNormProof_convert___closed__6; static lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic_declRange___closed__1; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); lean_object* l_Lean_Meta_applySimpResultToTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern uint8_t l_instInhabitedBool; static lean_object* l_Lean_Meta_AC_toACExpr___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_AC_buildNormProof_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); @@ -225,10 +223,9 @@ lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_obje LEAN_EXPORT lean_object* l_Lean_Meta_AC_getInstance___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_AC_buildNormProof_mkContext___closed__12; -lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Lean_Meta_AC_preContext___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_AC_instEvalInformationPreContextACExpr; -LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___spec__1(lean_object*); +lean_object* l_Std_HashSetImp_insert___at_Lean_CollectFVars_visit___spec__3(lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Data_AC_norm___at_Lean_Meta_AC_buildNormProof___spec__1___boxed(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic_declRange___closed__2; @@ -250,6 +247,7 @@ static lean_object* l_Lean_Meta_AC_rewriteUnnormalized___closed__1; static lean_object* l_Lean_Meta_AC_instInhabitedPreContext___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_AC_toACExpr___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_AC_toACExpr___spec__15(lean_object*, lean_object*); +lean_object* l_panic___at_Lean_Meta_Match_mkMatcher___spec__12(lean_object*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_AC_buildNormProof_convert___closed__4; lean_object* l_Lean_indentExpr(lean_object*); @@ -297,16 +295,6 @@ x_1 = l_Lean_Meta_AC_instInhabitedPreContext___closed__2; return x_1; } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___spec__1(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_instInhabitedBool; -x_3 = lean_box(x_2); -x_4 = lean_panic_fn(x_3, x_1); -return x_4; -} -} static lean_object* _init_l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___lambda__1___closed__1() { _start: { @@ -349,24 +337,20 @@ _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; x_3 = lean_ctor_get(x_1, 1); -lean_inc(x_3); -lean_dec(x_1); x_4 = lean_array_get_size(x_3); x_5 = lean_nat_dec_lt(x_2, x_4); lean_dec(x_4); if (x_5 == 0) { lean_object* x_6; lean_object* x_7; -lean_dec(x_3); x_6 = l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___lambda__1___closed__4; -x_7 = l_panic___at_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___spec__1(x_6); +x_7 = l_panic___at_Lean_Meta_Match_mkMatcher___spec__12(x_6); return x_7; } else { lean_object* x_8; x_8 = lean_array_fget(x_3, x_2); -lean_dec(x_3); return x_8; } } @@ -463,6 +447,7 @@ _start: lean_object* x_3; x_3 = l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___lambda__1(x_1, x_2); lean_dec(x_2); +lean_dec(x_1); return x_3; } } @@ -1320,7 +1305,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_inc(x_1); x_9 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_9, 0, x_1); -x_10 = l_Std_HashSetImp_insert___at_Lean_CollectMVars_visit___spec__3(x_3, x_1); +x_10 = l_Std_HashSetImp_insert___at_Lean_CollectFVars_visit___spec__3(x_3, x_1); x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_9); lean_ctor_set(x_11, 1, x_10); @@ -1574,7 +1559,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); lean_inc(x_2); -x_55 = l_Std_HashSetImp_insert___at_Lean_CollectMVars_visit___spec__3(x_3, x_2); +x_55 = l_Std_HashSetImp_insert___at_Lean_CollectFVars_visit___spec__3(x_3, x_2); x_56 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_56, 0, x_2); x_57 = lean_alloc_ctor(0, 2, 0); @@ -1595,7 +1580,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); lean_inc(x_2); -x_59 = l_Std_HashSetImp_insert___at_Lean_CollectMVars_visit___spec__3(x_3, x_2); +x_59 = l_Std_HashSetImp_insert___at_Lean_CollectFVars_visit___spec__3(x_3, x_2); x_60 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_60, 0, x_2); x_61 = lean_alloc_ctor(0, 2, 0); @@ -3609,7 +3594,7 @@ if (x_9 == 0) { lean_object* x_10; lean_object* x_11; uint8_t x_12; x_10 = l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___lambda__1___closed__4; -x_11 = l_panic___at_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___spec__1(x_10); +x_11 = l_panic___at_Lean_Meta_Match_mkMatcher___spec__12(x_10); x_12 = lean_unbox(x_11); lean_dec(x_11); if (x_12 == 0) @@ -3665,7 +3650,7 @@ if (x_23 == 0) { lean_object* x_24; lean_object* x_25; uint8_t x_26; x_24 = l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___lambda__1___closed__4; -x_25 = l_panic___at_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___spec__1(x_24); +x_25 = l_panic___at_Lean_Meta_Match_mkMatcher___spec__12(x_24); x_26 = lean_unbox(x_25); lean_dec(x_25); if (x_26 == 0) diff --git a/stage0/stdlib/Lean/Widget/UserWidget.c b/stage0/stdlib/Lean/Widget/UserWidget.c index 61713509b1..767db5bd08 100644 --- a/stage0/stdlib/Lean/Widget/UserWidget.c +++ b/stage0/stdlib/Lean/Widget/UserWidget.c @@ -36,7 +36,6 @@ lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___elambda__1___boxed(lean_object*); uint64_t lean_uint64_of_nat(lean_object*); static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___elambda__2___closed__2; -lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabMutualDef___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_getWidgets___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_attributeImpl___closed__12; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____spec__5(lean_object*, size_t, size_t, lean_object*); @@ -301,6 +300,7 @@ lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPosition____x40_L LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Widget_getWidgetSource___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonWidgetSource; LEAN_EXPORT lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1216_(lean_object*); +lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Linter_MissingDocs_handleIn___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_423____lambda__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_toJsonGetWidgetSourceParams____x40_Lean_Widget_UserWidget___hyg_628____closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonGetWidgetsResponse____x40_Lean_Widget_UserWidget___hyg_1245____spec__2___boxed(lean_object*, lean_object*, lean_object*); @@ -6645,7 +6645,7 @@ lean_ctor_set(x_7, 1, x_1); lean_ctor_set(x_7, 2, x_2); x_8 = lean_alloc_ctor(6, 1, 0); lean_ctor_set(x_8, 0, x_7); -x_9 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_elabMutualDef___spec__5(x_8, x_4, x_5, x_6); +x_9 = l_Lean_Elab_pushInfoLeaf___at_Lean_Linter_MissingDocs_handleIn___spec__3(x_8, x_4, x_5, x_6); return x_9; } }