chore: update stage0
This commit is contained in:
parent
ac85650e0a
commit
cc321a9d75
11 changed files with 3747 additions and 3411 deletions
93
stage0/src/Lean/Elab/Binders.lean
generated
93
stage0/src/Lean/Elab/Binders.lean
generated
|
|
@ -356,16 +356,52 @@ private def getMatchAltNumPatterns (matchAlts : Syntax) : Nat :=
|
|||
let pats := alt0[0].getSepArgs
|
||||
pats.size
|
||||
|
||||
private def mkMatch (ref : Syntax) (discrs : Array Syntax) (matchAlts : Syntax) (matchTactic := false) : Syntax :=
|
||||
Syntax.node (if matchTactic then `Lean.Parser.Tactic.match else `Lean.Parser.Term.match)
|
||||
#[mkAtomFrom ref "match ", mkNullNode discrs, mkNullNode, mkAtomFrom ref " with ", matchAlts]
|
||||
|
||||
private def addDiscr (ref : Syntax) (discrs : Array Syntax) (discrTerm : Syntax) : Array Syntax :=
|
||||
let discrs := if discrs.isEmpty then discrs else discrs.push $ mkAtomFrom ref ", "
|
||||
discrs.push <| Syntax.node `Lean.Parser.Term.matchDiscr #[mkNullNode, discrTerm]
|
||||
|
||||
/-
|
||||
Recall that
|
||||
```
|
||||
def letRecDecls := sepBy1 (group (optional «attributes» >> letDecl)) ", "
|
||||
def «letrec» := parser!:leadPrec withPosition (group ("let " >> nonReservedSymbol "rec ") >> letRecDecls) >> optSemicolon termParser
|
||||
```
|
||||
|
||||
The argument `letRecDecls` is an array of syntax terms of the form `(group (optional «attributes» >> letDecl))`
|
||||
-/
|
||||
def mkLetRec (ref : Syntax) (letRecDecls : Array Syntax) (body : Syntax) : Syntax :=
|
||||
Syntax.node `Lean.Parser.Term.letrec #[
|
||||
mkNullNode #[mkAtomFrom ref "let ", mkAtomFrom ref "rec "],
|
||||
Syntax.mkSep letRecDecls (mkAtomFrom ref ","),
|
||||
mkNullNode, -- optional ";"
|
||||
body
|
||||
]
|
||||
|
||||
/- Recall that
|
||||
```
|
||||
whereDecls := parser! "where " >> many1Indent (group (optional «attributes» >> letDecl >> optional ";"))
|
||||
``` -/
|
||||
def expandWhereDecls (ref : Syntax) (whereDecls : Syntax) (body : Syntax) : Syntax :=
|
||||
let letRecDecls := whereDecls[1].getArgs.map fun stx => mkNullNode #[stx[0], stx[1]] -- drop (optional ";")
|
||||
return mkLetRec ref letRecDecls body
|
||||
|
||||
def expandWhereDeclsOpt (ref : Syntax) (whereDeclsOpt : Syntax) (body : Syntax) : Syntax :=
|
||||
if whereDeclsOpt.isNone then
|
||||
body
|
||||
else
|
||||
expandWhereDecls ref whereDeclsOpt[0] body
|
||||
|
||||
/- Helper function for `expandMatchAltsIntoMatch` -/
|
||||
private def expandMatchAltsIntoMatchAux (ref : Syntax) (matchAlts : Syntax) (matchTactic : Bool) : Nat → Array Syntax → MacroM Syntax
|
||||
| 0, discrs =>
|
||||
pure $ Syntax.node (if matchTactic then `Lean.Parser.Tactic.match else `Lean.Parser.Term.match)
|
||||
#[mkAtomFrom ref "match ", mkNullNode discrs, mkNullNode, mkAtomFrom ref " with ", matchAlts]
|
||||
return mkMatch ref discrs matchAlts matchTactic
|
||||
| n+1, discrs => withFreshMacroScope do
|
||||
let x ← `(x)
|
||||
let discrs := if discrs.isEmpty then discrs else discrs.push $ mkAtomFrom ref ", "
|
||||
let discrs := discrs.push $ Syntax.node `Lean.Parser.Term.matchDiscr #[mkNullNode, x]
|
||||
let body ← expandMatchAltsIntoMatchAux ref matchAlts matchTactic n discrs
|
||||
let body ← expandMatchAltsIntoMatchAux ref matchAlts matchTactic n (addDiscr ref discrs x)
|
||||
if matchTactic then
|
||||
`(tactic| intro $x:term; $body:tactic)
|
||||
else
|
||||
|
|
@ -378,7 +414,7 @@ private def expandMatchAltsIntoMatchAux (ref : Syntax) (matchAlts : Syntax) (mat
|
|||
| 0, true => alt_1
|
||||
| i, _ => alt_2
|
||||
```
|
||||
expands intro (for tactic == false)
|
||||
expands into (for tactic == false)
|
||||
```
|
||||
fun x_1 x_2 =>
|
||||
match x_1, x_2 with
|
||||
|
|
@ -399,6 +435,51 @@ def expandMatchAltsIntoMatch (ref : Syntax) (matchAlts : Syntax) (tactic := fals
|
|||
def expandMatchAltsIntoMatchTactic (ref : Syntax) (matchAlts : Syntax) : MacroM Syntax :=
|
||||
expandMatchAltsIntoMatchAux ref matchAlts true (getMatchAltNumPatterns matchAlts) #[]
|
||||
|
||||
/--
|
||||
Similar to `expandMatchAltsIntoMatch`, but supports an optional `where` clause.
|
||||
|
||||
Expand `matchAltsWhereDecls` into `let rec` + `match`-expression.
|
||||
Example
|
||||
```
|
||||
| 0, true => ... f 0 ...
|
||||
| i, _ => ... f i + g i ...
|
||||
where
|
||||
f x := g x + 1
|
||||
|
||||
g : Nat → Nat
|
||||
| 0 => 1
|
||||
| x+1 => f x
|
||||
```
|
||||
expands into
|
||||
```
|
||||
fux x_1 x_2 =>
|
||||
let rec
|
||||
f x := g x + 1,
|
||||
g : Nat → Nat
|
||||
| 0 => 1
|
||||
| x+1 => f x
|
||||
match x_1, x_2 with
|
||||
| 0, true => ... f 0 ...
|
||||
| i, _ => ... f i + g i ...
|
||||
```
|
||||
-/
|
||||
def expandMatchAltsWhereDecls (ref : Syntax) (matchAltsWhereDecls : Syntax) : MacroM Syntax :=
|
||||
let matchAlts := matchAltsWhereDecls[0]
|
||||
let whereDeclsOpt := matchAltsWhereDecls[1]
|
||||
let rec loop (i : Nat) (discrs : Array Syntax) : MacroM Syntax :=
|
||||
match i with
|
||||
| 0 =>
|
||||
let matchStx := mkMatch ref discrs matchAlts
|
||||
if whereDeclsOpt.isNone then
|
||||
return matchStx
|
||||
else
|
||||
expandWhereDeclsOpt ref whereDeclsOpt matchStx
|
||||
| n+1 => withFreshMacroScope do
|
||||
let x ← `(x)
|
||||
let body ← loop n (addDiscr ref discrs x)
|
||||
`(@fun $x => $body)
|
||||
loop (getMatchAltNumPatterns matchAlts) #[]
|
||||
|
||||
@[builtinTermElab «fun»] def elabFun : TermElab := fun stx expectedType? => match_syntax stx with
|
||||
| `(fun $binders* => $body) => do
|
||||
let (binders, body, expandedPattern) ← expandFunBinders binders body
|
||||
|
|
|
|||
8
stage0/src/Lean/Elab/MutualDef.lean
generated
8
stage0/src/Lean/Elab/MutualDef.lean
generated
|
|
@ -129,16 +129,16 @@ def matchAlts (optionalFirstBar := true) : Parser :=
|
|||
withPosition $ fun pos =>
|
||||
(if optionalFirstBar then optional "| " else "| ") >>
|
||||
sepBy1 matchAlt (checkColGe pos.column "alternatives must be indented" >> "|")
|
||||
def declValSimple := parser! " := " >> termParser
|
||||
def declValEqns := parser! Term.matchAlts false
|
||||
def declValSimple := parser! " :=\n" >> termParser >> optional Term.whereDecls
|
||||
def declValEqns := parser! Term.matchAltsWhereDecls
|
||||
def declVal := declValSimple <|> declValEqns
|
||||
```
|
||||
-/
|
||||
private def declValToTerm (declVal : Syntax) : MacroM Syntax :=
|
||||
if declVal.isOfKind `Lean.Parser.Command.declValSimple then
|
||||
pure declVal[1]
|
||||
return expandWhereDeclsOpt declVal declVal[2] declVal[1]
|
||||
else if declVal.isOfKind `Lean.Parser.Command.declValEqns then
|
||||
expandMatchAltsIntoMatch declVal declVal[0]
|
||||
expandMatchAltsWhereDecls declVal declVal[0]
|
||||
else
|
||||
Macro.throwErrorAt declVal "unexpected definition value"
|
||||
|
||||
|
|
|
|||
5
stage0/src/Lean/Parser/Command.lean
generated
5
stage0/src/Lean/Parser/Command.lean
generated
|
|
@ -36,10 +36,7 @@ def declId := parser! ident >> optional (".{" >> sepBy1 ident ", " >>
|
|||
def declSig := parser! many (ppSpace >> (Term.simpleBinderWithoutType <|> Term.bracketedBinder)) >> Term.typeSpec
|
||||
def optDeclSig := parser! many (ppSpace >> (Term.simpleBinderWithoutType <|> Term.bracketedBinder)) >> Term.optType
|
||||
def declValSimple := parser! " :=\n" >> termParser >> optional Term.whereDecls
|
||||
def declValEqns := parser!
|
||||
(checkInsideQuot >> Term.matchAltsWhereDecls)
|
||||
<|>
|
||||
(checkOutsideQuot >> Term.matchAlts false)
|
||||
def declValEqns := parser! Term.matchAltsWhereDecls
|
||||
def declVal := declValSimple <|> declValEqns
|
||||
def «abbrev» := parser! "abbrev " >> declId >> optDeclSig >> declVal
|
||||
def «def» := parser! "def " >> declId >> optDeclSig >> declVal
|
||||
|
|
|
|||
1208
stage0/stdlib/Lean/Elab/Binders.c
generated
1208
stage0/stdlib/Lean/Elab/Binders.c
generated
File diff suppressed because it is too large
Load diff
436
stage0/stdlib/Lean/Elab/Declaration.c
generated
436
stage0/stdlib/Lean/Elab/Declaration.c
generated
|
|
@ -7036,25 +7036,25 @@ x_8 = l_Lean_Syntax_getArg(x_2, x_7);
|
|||
x_9 = l_Lean_Syntax_isNone(x_6);
|
||||
if (x_1 == 0)
|
||||
{
|
||||
lean_object* x_192;
|
||||
x_192 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_507____closed__2;
|
||||
x_10 = x_192;
|
||||
goto block_191;
|
||||
lean_object* x_194;
|
||||
x_194 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_507____closed__2;
|
||||
x_10 = x_194;
|
||||
goto block_193;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_193;
|
||||
x_193 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_524____closed__2;
|
||||
x_10 = x_193;
|
||||
goto block_191;
|
||||
lean_object* x_195;
|
||||
x_195 = l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_524____closed__2;
|
||||
x_10 = x_195;
|
||||
goto block_193;
|
||||
}
|
||||
block_191:
|
||||
block_193:
|
||||
{
|
||||
lean_object* x_11;
|
||||
x_11 = l_Lean_mkIdentFrom(x_2, x_10);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109;
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110;
|
||||
x_12 = lean_unsigned_to_nat(0u);
|
||||
x_13 = l_Lean_Syntax_getArg(x_6, x_12);
|
||||
x_14 = l_Lean_Syntax_getArg(x_6, x_5);
|
||||
|
|
@ -7135,224 +7135,226 @@ lean_ctor_set(x_58, 0, x_57);
|
|||
lean_ctor_set(x_58, 1, x_56);
|
||||
x_59 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11379____closed__7;
|
||||
x_60 = lean_array_push(x_59, x_58);
|
||||
x_61 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__6;
|
||||
x_62 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_62, 0, x_61);
|
||||
lean_ctor_set(x_62, 1, x_60);
|
||||
x_63 = lean_array_push(x_54, x_62);
|
||||
x_64 = l_Lean_Elab_Command_isDefLike___closed__4;
|
||||
x_65 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_65, 0, x_64);
|
||||
lean_ctor_set(x_65, 1, x_63);
|
||||
x_66 = l_Lean_Elab_Command_expandInitCmd___closed__9;
|
||||
x_67 = lean_array_push(x_66, x_65);
|
||||
x_68 = l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__2;
|
||||
x_69 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_69, 0, x_68);
|
||||
lean_ctor_set(x_69, 1, x_67);
|
||||
x_70 = lean_array_push(x_24, x_69);
|
||||
x_71 = lean_array_push(x_24, x_11);
|
||||
x_72 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_72, 0, x_39);
|
||||
lean_ctor_set(x_72, 1, x_25);
|
||||
x_73 = lean_array_push(x_71, x_72);
|
||||
x_74 = l_Lean_Elab_Command_expandInitCmd___closed__29;
|
||||
x_75 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_75, 0, x_74);
|
||||
lean_ctor_set(x_75, 1, x_73);
|
||||
x_76 = lean_array_push(x_24, x_75);
|
||||
x_77 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_77, 0, x_39);
|
||||
lean_ctor_set(x_77, 1, x_76);
|
||||
x_78 = l_Lean_Elab_Command_expandInitCmd___closed__27;
|
||||
x_79 = lean_array_push(x_78, x_77);
|
||||
x_80 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3385____closed__10;
|
||||
x_81 = lean_array_push(x_79, x_80);
|
||||
x_82 = l_Lean_Elab_Command_expandInitCmd___closed__25;
|
||||
x_83 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_83, 0, x_82);
|
||||
lean_ctor_set(x_83, 1, x_81);
|
||||
x_84 = lean_array_push(x_24, x_83);
|
||||
x_85 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_85, 0, x_39);
|
||||
lean_ctor_set(x_85, 1, x_84);
|
||||
x_86 = lean_array_push(x_50, x_85);
|
||||
x_87 = lean_array_push(x_86, x_26);
|
||||
x_61 = lean_array_push(x_60, x_26);
|
||||
x_62 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__6;
|
||||
x_63 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_63, 0, x_62);
|
||||
lean_ctor_set(x_63, 1, x_61);
|
||||
x_64 = lean_array_push(x_54, x_63);
|
||||
x_65 = l_Lean_Elab_Command_isDefLike___closed__4;
|
||||
x_66 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_66, 0, x_65);
|
||||
lean_ctor_set(x_66, 1, x_64);
|
||||
x_67 = l_Lean_Elab_Command_expandInitCmd___closed__9;
|
||||
x_68 = lean_array_push(x_67, x_66);
|
||||
x_69 = l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__2;
|
||||
x_70 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_70, 0, x_69);
|
||||
lean_ctor_set(x_70, 1, x_68);
|
||||
x_71 = lean_array_push(x_24, x_70);
|
||||
x_72 = lean_array_push(x_24, x_11);
|
||||
x_73 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_73, 0, x_39);
|
||||
lean_ctor_set(x_73, 1, x_25);
|
||||
x_74 = lean_array_push(x_72, x_73);
|
||||
x_75 = l_Lean_Elab_Command_expandInitCmd___closed__29;
|
||||
x_76 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_76, 0, x_75);
|
||||
lean_ctor_set(x_76, 1, x_74);
|
||||
x_77 = lean_array_push(x_24, x_76);
|
||||
x_78 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_78, 0, x_39);
|
||||
lean_ctor_set(x_78, 1, x_77);
|
||||
x_79 = l_Lean_Elab_Command_expandInitCmd___closed__27;
|
||||
x_80 = lean_array_push(x_79, x_78);
|
||||
x_81 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3385____closed__10;
|
||||
x_82 = lean_array_push(x_80, x_81);
|
||||
x_83 = l_Lean_Elab_Command_expandInitCmd___closed__25;
|
||||
x_84 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_84, 0, x_83);
|
||||
lean_ctor_set(x_84, 1, x_82);
|
||||
x_85 = lean_array_push(x_24, x_84);
|
||||
x_86 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_86, 0, x_39);
|
||||
lean_ctor_set(x_86, 1, x_85);
|
||||
x_87 = lean_array_push(x_50, x_86);
|
||||
x_88 = lean_array_push(x_87, x_26);
|
||||
x_89 = lean_array_push(x_88, x_26);
|
||||
x_90 = lean_array_push(x_89, x_26);
|
||||
x_91 = l_Lean_Elab_Command_expandInitCmd___closed__2;
|
||||
x_92 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_92, 0, x_91);
|
||||
lean_ctor_set(x_92, 1, x_90);
|
||||
x_93 = lean_array_push(x_24, x_92);
|
||||
x_94 = l_Lean_Elab_Command_expandInitCmd___closed__31;
|
||||
x_95 = lean_array_push(x_94, x_13);
|
||||
x_96 = lean_array_push(x_44, x_15);
|
||||
x_97 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_97, 0, x_46);
|
||||
lean_ctor_set(x_97, 1, x_96);
|
||||
x_98 = lean_array_push(x_50, x_97);
|
||||
x_99 = l_Lean_Elab_Command_expandInitCmd___closed__33;
|
||||
x_100 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_100, 0, x_99);
|
||||
lean_ctor_set(x_100, 1, x_98);
|
||||
x_101 = lean_array_push(x_95, x_100);
|
||||
x_102 = lean_array_push(x_101, x_26);
|
||||
x_103 = l_Lean_Elab_Command_isDefLike___closed__8;
|
||||
x_104 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_104, 0, x_103);
|
||||
lean_ctor_set(x_104, 1, x_102);
|
||||
x_105 = lean_array_push(x_93, x_104);
|
||||
x_106 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_106, 0, x_68);
|
||||
lean_ctor_set(x_106, 1, x_105);
|
||||
x_107 = lean_array_push(x_70, x_106);
|
||||
x_108 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_108, 0, x_39);
|
||||
lean_ctor_set(x_108, 1, x_107);
|
||||
x_109 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_109, 0, x_108);
|
||||
lean_ctor_set(x_109, 1, x_4);
|
||||
return x_109;
|
||||
x_91 = lean_array_push(x_90, x_26);
|
||||
x_92 = l_Lean_Elab_Command_expandInitCmd___closed__2;
|
||||
x_93 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_93, 0, x_92);
|
||||
lean_ctor_set(x_93, 1, x_91);
|
||||
x_94 = lean_array_push(x_24, x_93);
|
||||
x_95 = l_Lean_Elab_Command_expandInitCmd___closed__31;
|
||||
x_96 = lean_array_push(x_95, x_13);
|
||||
x_97 = lean_array_push(x_44, x_15);
|
||||
x_98 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_98, 0, x_46);
|
||||
lean_ctor_set(x_98, 1, x_97);
|
||||
x_99 = lean_array_push(x_50, x_98);
|
||||
x_100 = l_Lean_Elab_Command_expandInitCmd___closed__33;
|
||||
x_101 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_101, 0, x_100);
|
||||
lean_ctor_set(x_101, 1, x_99);
|
||||
x_102 = lean_array_push(x_96, x_101);
|
||||
x_103 = lean_array_push(x_102, x_26);
|
||||
x_104 = l_Lean_Elab_Command_isDefLike___closed__8;
|
||||
x_105 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_105, 0, x_104);
|
||||
lean_ctor_set(x_105, 1, x_103);
|
||||
x_106 = lean_array_push(x_94, x_105);
|
||||
x_107 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_107, 0, x_69);
|
||||
lean_ctor_set(x_107, 1, x_106);
|
||||
x_108 = lean_array_push(x_71, x_107);
|
||||
x_109 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_109, 0, x_39);
|
||||
lean_ctor_set(x_109, 1, x_108);
|
||||
x_110 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_110, 0, x_109);
|
||||
lean_ctor_set(x_110, 1, x_4);
|
||||
return x_110;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190;
|
||||
lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192;
|
||||
lean_dec(x_6);
|
||||
x_110 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_110);
|
||||
x_111 = lean_ctor_get(x_3, 1);
|
||||
x_111 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_111);
|
||||
x_112 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_112);
|
||||
lean_dec(x_3);
|
||||
x_112 = l_Array_empty___closed__1;
|
||||
x_113 = lean_array_push(x_112, x_11);
|
||||
x_114 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20;
|
||||
x_115 = lean_array_push(x_113, x_114);
|
||||
x_116 = l_Lean_Elab_Command_expandInitCmd___closed__29;
|
||||
x_117 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_117, 0, x_116);
|
||||
lean_ctor_set(x_117, 1, x_115);
|
||||
x_118 = lean_array_push(x_112, x_117);
|
||||
x_119 = l_Lean_nullKind___closed__2;
|
||||
x_120 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_120, 0, x_119);
|
||||
lean_ctor_set(x_120, 1, x_118);
|
||||
x_121 = l_Lean_Elab_Command_expandInitCmd___closed__27;
|
||||
x_122 = lean_array_push(x_121, x_120);
|
||||
x_123 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3385____closed__10;
|
||||
x_124 = lean_array_push(x_122, x_123);
|
||||
x_125 = l_Lean_Elab_Command_expandInitCmd___closed__25;
|
||||
x_126 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_126, 0, x_125);
|
||||
lean_ctor_set(x_126, 1, x_124);
|
||||
x_127 = lean_array_push(x_112, x_126);
|
||||
x_128 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_128, 0, x_119);
|
||||
lean_ctor_set(x_128, 1, x_127);
|
||||
x_129 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5;
|
||||
x_130 = lean_array_push(x_129, x_128);
|
||||
x_131 = lean_array_push(x_130, x_114);
|
||||
x_132 = lean_array_push(x_131, x_114);
|
||||
x_133 = lean_array_push(x_132, x_114);
|
||||
x_134 = lean_array_push(x_133, x_114);
|
||||
x_135 = l_Lean_Elab_Command_expandInitCmd___closed__2;
|
||||
x_136 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_136, 0, x_135);
|
||||
lean_ctor_set(x_136, 1, x_134);
|
||||
x_137 = lean_array_push(x_112, x_136);
|
||||
x_138 = l_Lean_Elab_Command_expandInitCmd___closed__15;
|
||||
lean_inc(x_110);
|
||||
x_113 = l_Array_empty___closed__1;
|
||||
x_114 = lean_array_push(x_113, x_11);
|
||||
x_115 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20;
|
||||
x_116 = lean_array_push(x_114, x_115);
|
||||
x_117 = l_Lean_Elab_Command_expandInitCmd___closed__29;
|
||||
x_118 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_118, 0, x_117);
|
||||
lean_ctor_set(x_118, 1, x_116);
|
||||
x_119 = lean_array_push(x_113, x_118);
|
||||
x_120 = l_Lean_nullKind___closed__2;
|
||||
x_121 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_121, 0, x_120);
|
||||
lean_ctor_set(x_121, 1, x_119);
|
||||
x_122 = l_Lean_Elab_Command_expandInitCmd___closed__27;
|
||||
x_123 = lean_array_push(x_122, x_121);
|
||||
x_124 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3385____closed__10;
|
||||
x_125 = lean_array_push(x_123, x_124);
|
||||
x_126 = l_Lean_Elab_Command_expandInitCmd___closed__25;
|
||||
x_127 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_127, 0, x_126);
|
||||
lean_ctor_set(x_127, 1, x_125);
|
||||
x_128 = lean_array_push(x_113, x_127);
|
||||
x_129 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_129, 0, x_120);
|
||||
lean_ctor_set(x_129, 1, x_128);
|
||||
x_130 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5;
|
||||
x_131 = lean_array_push(x_130, x_129);
|
||||
x_132 = lean_array_push(x_131, x_115);
|
||||
x_133 = lean_array_push(x_132, x_115);
|
||||
x_134 = lean_array_push(x_133, x_115);
|
||||
x_135 = lean_array_push(x_134, x_115);
|
||||
x_136 = l_Lean_Elab_Command_expandInitCmd___closed__2;
|
||||
x_137 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_137, 0, x_136);
|
||||
lean_ctor_set(x_137, 1, x_135);
|
||||
x_138 = lean_array_push(x_113, x_137);
|
||||
x_139 = l_Lean_Elab_Command_expandInitCmd___closed__15;
|
||||
lean_inc(x_111);
|
||||
x_139 = l_Lean_addMacroScope(x_111, x_138, x_110);
|
||||
x_140 = lean_box(0);
|
||||
x_141 = l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
x_142 = l_Lean_Elab_Command_expandInitCmd___closed__14;
|
||||
x_143 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_143, 0, x_141);
|
||||
lean_ctor_set(x_143, 1, x_142);
|
||||
lean_ctor_set(x_143, 2, x_139);
|
||||
lean_ctor_set(x_143, 3, x_140);
|
||||
x_144 = lean_array_push(x_112, x_143);
|
||||
x_145 = lean_array_push(x_144, x_114);
|
||||
x_146 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__3;
|
||||
x_147 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_147, 0, x_146);
|
||||
lean_ctor_set(x_147, 1, x_145);
|
||||
x_148 = l_Lean_Elab_Command_expandInitCmd___closed__11;
|
||||
x_149 = lean_array_push(x_148, x_147);
|
||||
x_150 = l_myMacro____x40_Init_System_IO___hyg_2513____closed__4;
|
||||
lean_inc(x_110);
|
||||
lean_inc(x_112);
|
||||
x_140 = l_Lean_addMacroScope(x_112, x_139, x_111);
|
||||
x_141 = lean_box(0);
|
||||
x_142 = l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
x_143 = l_Lean_Elab_Command_expandInitCmd___closed__14;
|
||||
x_144 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_144, 0, x_142);
|
||||
lean_ctor_set(x_144, 1, x_143);
|
||||
lean_ctor_set(x_144, 2, x_140);
|
||||
lean_ctor_set(x_144, 3, x_141);
|
||||
x_145 = lean_array_push(x_113, x_144);
|
||||
x_146 = lean_array_push(x_145, x_115);
|
||||
x_147 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__3;
|
||||
x_148 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_148, 0, x_147);
|
||||
lean_ctor_set(x_148, 1, x_146);
|
||||
x_149 = l_Lean_Elab_Command_expandInitCmd___closed__11;
|
||||
x_150 = lean_array_push(x_149, x_148);
|
||||
x_151 = l_myMacro____x40_Init_System_IO___hyg_2513____closed__4;
|
||||
lean_inc(x_111);
|
||||
x_151 = l_Lean_addMacroScope(x_111, x_150, x_110);
|
||||
x_152 = l_myMacro____x40_Init_System_IO___hyg_2513____closed__10;
|
||||
x_153 = l_Lean_Elab_Command_expandInitCmd___closed__19;
|
||||
x_154 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_154, 0, x_141);
|
||||
lean_ctor_set(x_154, 1, x_152);
|
||||
lean_ctor_set(x_154, 2, x_151);
|
||||
lean_ctor_set(x_154, 3, x_153);
|
||||
x_155 = lean_array_push(x_112, x_154);
|
||||
x_156 = l_myMacro____x40_Init_System_IO___hyg_2513____closed__16;
|
||||
x_157 = l_Lean_addMacroScope(x_111, x_156, x_110);
|
||||
x_158 = l_myMacro____x40_Init_System_IO___hyg_2513____closed__15;
|
||||
x_159 = l_myMacro____x40_Init_System_IO___hyg_2513____closed__18;
|
||||
x_160 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_160, 0, x_141);
|
||||
lean_ctor_set(x_160, 1, x_158);
|
||||
lean_ctor_set(x_160, 2, x_157);
|
||||
lean_ctor_set(x_160, 3, x_159);
|
||||
x_161 = lean_array_push(x_112, x_160);
|
||||
x_162 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_162, 0, x_119);
|
||||
lean_ctor_set(x_162, 1, x_161);
|
||||
x_163 = lean_array_push(x_155, x_162);
|
||||
x_164 = l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
||||
x_165 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_165, 0, x_164);
|
||||
lean_ctor_set(x_165, 1, x_163);
|
||||
x_166 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11;
|
||||
x_167 = lean_array_push(x_166, x_165);
|
||||
x_168 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_169 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_169, 0, x_168);
|
||||
lean_ctor_set(x_169, 1, x_167);
|
||||
x_170 = lean_array_push(x_112, x_169);
|
||||
x_171 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_171, 0, x_119);
|
||||
lean_ctor_set(x_171, 1, x_170);
|
||||
x_172 = lean_array_push(x_129, x_171);
|
||||
x_173 = l_Lean_Elab_Command_expandInitCmd___closed__17;
|
||||
x_174 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_174, 0, x_173);
|
||||
lean_ctor_set(x_174, 1, x_172);
|
||||
x_175 = lean_array_push(x_149, x_174);
|
||||
x_176 = l_Lean_Elab_Command_expandInitCmd___closed__23;
|
||||
x_177 = lean_array_push(x_176, x_8);
|
||||
x_178 = l_Lean_Elab_Command_expandInitCmd___closed__21;
|
||||
x_179 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_179, 0, x_178);
|
||||
lean_ctor_set(x_179, 1, x_177);
|
||||
x_180 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11379____closed__7;
|
||||
x_181 = lean_array_push(x_180, x_179);
|
||||
x_182 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__6;
|
||||
x_183 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_183, 0, x_182);
|
||||
lean_ctor_set(x_183, 1, x_181);
|
||||
x_184 = lean_array_push(x_175, x_183);
|
||||
x_185 = l_Lean_Elab_Command_isDefLike___closed__4;
|
||||
x_186 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_186, 0, x_185);
|
||||
lean_ctor_set(x_186, 1, x_184);
|
||||
x_187 = lean_array_push(x_137, x_186);
|
||||
x_188 = l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__2;
|
||||
x_189 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_189, 0, x_188);
|
||||
lean_ctor_set(x_189, 1, x_187);
|
||||
x_190 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_190, 0, x_189);
|
||||
lean_ctor_set(x_190, 1, x_4);
|
||||
return x_190;
|
||||
lean_inc(x_112);
|
||||
x_152 = l_Lean_addMacroScope(x_112, x_151, x_111);
|
||||
x_153 = l_myMacro____x40_Init_System_IO___hyg_2513____closed__10;
|
||||
x_154 = l_Lean_Elab_Command_expandInitCmd___closed__19;
|
||||
x_155 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_155, 0, x_142);
|
||||
lean_ctor_set(x_155, 1, x_153);
|
||||
lean_ctor_set(x_155, 2, x_152);
|
||||
lean_ctor_set(x_155, 3, x_154);
|
||||
x_156 = lean_array_push(x_113, x_155);
|
||||
x_157 = l_myMacro____x40_Init_System_IO___hyg_2513____closed__16;
|
||||
x_158 = l_Lean_addMacroScope(x_112, x_157, x_111);
|
||||
x_159 = l_myMacro____x40_Init_System_IO___hyg_2513____closed__15;
|
||||
x_160 = l_myMacro____x40_Init_System_IO___hyg_2513____closed__18;
|
||||
x_161 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_161, 0, x_142);
|
||||
lean_ctor_set(x_161, 1, x_159);
|
||||
lean_ctor_set(x_161, 2, x_158);
|
||||
lean_ctor_set(x_161, 3, x_160);
|
||||
x_162 = lean_array_push(x_113, x_161);
|
||||
x_163 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_163, 0, x_120);
|
||||
lean_ctor_set(x_163, 1, x_162);
|
||||
x_164 = lean_array_push(x_156, x_163);
|
||||
x_165 = l_myMacro____x40_Init_Notation___hyg_38____closed__8;
|
||||
x_166 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_166, 0, x_165);
|
||||
lean_ctor_set(x_166, 1, x_164);
|
||||
x_167 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11;
|
||||
x_168 = lean_array_push(x_167, x_166);
|
||||
x_169 = l_Lean_expandExplicitBindersAux_loop___closed__8;
|
||||
x_170 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_170, 0, x_169);
|
||||
lean_ctor_set(x_170, 1, x_168);
|
||||
x_171 = lean_array_push(x_113, x_170);
|
||||
x_172 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_172, 0, x_120);
|
||||
lean_ctor_set(x_172, 1, x_171);
|
||||
x_173 = lean_array_push(x_130, x_172);
|
||||
x_174 = l_Lean_Elab_Command_expandInitCmd___closed__17;
|
||||
x_175 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_175, 0, x_174);
|
||||
lean_ctor_set(x_175, 1, x_173);
|
||||
x_176 = lean_array_push(x_150, x_175);
|
||||
x_177 = l_Lean_Elab_Command_expandInitCmd___closed__23;
|
||||
x_178 = lean_array_push(x_177, x_8);
|
||||
x_179 = l_Lean_Elab_Command_expandInitCmd___closed__21;
|
||||
x_180 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_180, 0, x_179);
|
||||
lean_ctor_set(x_180, 1, x_178);
|
||||
x_181 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11379____closed__7;
|
||||
x_182 = lean_array_push(x_181, x_180);
|
||||
x_183 = lean_array_push(x_182, x_115);
|
||||
x_184 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__6;
|
||||
x_185 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_185, 0, x_184);
|
||||
lean_ctor_set(x_185, 1, x_183);
|
||||
x_186 = lean_array_push(x_176, x_185);
|
||||
x_187 = l_Lean_Elab_Command_isDefLike___closed__4;
|
||||
x_188 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_188, 0, x_187);
|
||||
lean_ctor_set(x_188, 1, x_186);
|
||||
x_189 = lean_array_push(x_138, x_188);
|
||||
x_190 = l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__2;
|
||||
x_191 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_191, 0, x_190);
|
||||
lean_ctor_set(x_191, 1, x_189);
|
||||
x_192 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_192, 0, x_191);
|
||||
lean_ctor_set(x_192, 1, x_4);
|
||||
return x_192;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
25
stage0/stdlib/Lean/Elab/Do.c
generated
25
stage0/stdlib/Lean/Elab/Do.c
generated
|
|
@ -128,7 +128,6 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__47;
|
|||
lean_object* l_Lean_Elab_Term_Do_mkMatch___boxed__const__1;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__5;
|
||||
extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__3;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__5___closed__2;
|
||||
uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Do_0__Lean_Elab_Term_hasLiftMethod___spec__1(lean_object*, size_t, size_t);
|
||||
|
|
@ -271,7 +270,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__17;
|
|||
lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__5;
|
||||
lean_object* l_Std_RBNode_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_union___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__7;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__8;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__10;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12;
|
||||
|
|
@ -531,6 +529,7 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore(lean_object*, l
|
|||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_getDoLetRecVars___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_getDoLetArrowVars___closed__3;
|
||||
extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__41;
|
||||
extern lean_object* l_Lean_Elab_Term_mkLetRec___closed__1;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_eraseVars___spec__1(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__12;
|
||||
lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__8;
|
||||
|
|
@ -551,7 +550,6 @@ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__4;
|
|||
lean_object* l_Lean_Elab_Term_Do_ToTerm_toTerm(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodDelimiter___closed__5;
|
||||
extern lean_object* l_Lean_Parser_Tactic_letrec___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__18;
|
||||
lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__15;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__4;
|
||||
|
|
@ -724,6 +722,7 @@ lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux(lean_object*, lean_object*, l
|
|||
lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__25;
|
||||
lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addDiscr___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_Do_mkReassignCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -26336,16 +26335,6 @@ x_3 = lean_name_mk_string(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6;
|
||||
x_2 = l_Lean_Parser_Tactic_letrec___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTermCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -26399,7 +26388,7 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean
|
|||
lean_dec(x_4);
|
||||
x_22 = l_Lean_Syntax_getArgs(x_1);
|
||||
lean_dec(x_1);
|
||||
x_23 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__3;
|
||||
x_23 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addDiscr___closed__1;
|
||||
x_24 = lean_array_push(x_23, x_2);
|
||||
x_25 = l_Array_append___rarg(x_22, x_24);
|
||||
lean_dec(x_24);
|
||||
|
|
@ -26569,7 +26558,7 @@ x_101 = lean_array_push(x_100, x_98);
|
|||
x_102 = l_Lean_mkOptionalNode___closed__1;
|
||||
x_103 = lean_array_push(x_101, x_102);
|
||||
x_104 = lean_array_push(x_103, x_2);
|
||||
x_105 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__8;
|
||||
x_105 = l_Lean_Elab_Term_mkLetRec___closed__1;
|
||||
x_106 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_106, 0, x_105);
|
||||
lean_ctor_set(x_106, 1, x_104);
|
||||
|
|
@ -26632,7 +26621,7 @@ lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125;
|
|||
lean_dec(x_113);
|
||||
x_122 = l_Lean_Syntax_getArgs(x_1);
|
||||
lean_dec(x_1);
|
||||
x_123 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__3;
|
||||
x_123 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addDiscr___closed__1;
|
||||
x_124 = lean_array_push(x_123, x_2);
|
||||
x_125 = l_Array_append___rarg(x_122, x_124);
|
||||
lean_dec(x_124);
|
||||
|
|
@ -26802,7 +26791,7 @@ x_201 = lean_array_push(x_200, x_198);
|
|||
x_202 = l_Lean_mkOptionalNode___closed__1;
|
||||
x_203 = lean_array_push(x_201, x_202);
|
||||
x_204 = lean_array_push(x_203, x_2);
|
||||
x_205 = l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__8;
|
||||
x_205 = l_Lean_Elab_Term_mkLetRec___closed__1;
|
||||
x_206 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_206, 0, x_205);
|
||||
lean_ctor_set(x_206, 1, x_204);
|
||||
|
|
@ -49435,8 +49424,6 @@ l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__6 = _init_l_Lean_Elab_Term_D
|
|||
lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__6);
|
||||
l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__7 = _init_l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__7();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__7);
|
||||
l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__8 = _init_l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__8();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__8);
|
||||
l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__1 = _init_l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__1);
|
||||
l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2 = _init_l_Lean_Elab_Term_Do_ToTerm_reassignToTermCore___closed__2();
|
||||
|
|
|
|||
20
stage0/stdlib/Lean/Elab/LetRec.c
generated
20
stage0/stdlib/Lean/Elab/LetRec.c
generated
|
|
@ -97,9 +97,9 @@ lean_object* l_Lean_Meta_mkFreshExprMVar___at___private_Lean_Elab_LetRec_0__Lean
|
|||
lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Term_mkLetRec___closed__1;
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_letrec___closed__1;
|
||||
lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop___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*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___boxed__const__1;
|
||||
extern lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__2;
|
||||
|
|
@ -119,7 +119,6 @@ lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_T
|
|||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6;
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__9___lambda__3___closed__3;
|
||||
extern lean_object* l_Lean_Elab_Term_termElabAttribute;
|
||||
lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -173,7 +172,6 @@ lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
|||
lean_object* l_List_foldr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabLetRec___spec__1(size_t, size_t, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3___closed__2;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__2;
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -3013,16 +3011,6 @@ return x_10;
|
|||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6;
|
||||
x_2 = l_Lean_Parser_Tactic_letrec___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetRec___boxed), 9, 0);
|
||||
return x_1;
|
||||
|
|
@ -3033,8 +3021,8 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Elab_Term_termElabAttribute;
|
||||
x_3 = l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__1;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__2;
|
||||
x_3 = l_Lean_Elab_Term_mkLetRec___closed__1;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -3082,8 +3070,6 @@ l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___boxed__con
|
|||
lean_mark_persistent(l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___boxed__const__1);
|
||||
l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__1);
|
||||
l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__2();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__2);
|
||||
res = l___regBuiltin_Lean_Elab_Term_elabLetRec(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Elab/Match.c
generated
10
stage0/stdlib/Lean/Elab/Match.c
generated
|
|
@ -107,7 +107,6 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop_
|
|||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_processExplicitArg___spec__1(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabMatch_match__4(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___closed__1;
|
||||
extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__3;
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType___spec__1___lambda__1___closed__5;
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__15;
|
||||
|
|
@ -276,6 +275,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars___rar
|
|||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedTypeAndDiscrs_match__1(lean_object*);
|
||||
lean_object* l_List_map___at_Lean_Elab_Term_reportMatcherResultErrors___spec__2(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_mkMatchAltView___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__4;
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getDiscrs(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMacrosInPatterns___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_synthesizeUsingDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -394,7 +394,6 @@ lean_object* l_Nat_repr(lean_object*);
|
|||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_LocalDecl_binderInfo(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandMacrosInPatterns(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__5;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabNoMatch___closed__2;
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
|
|
@ -540,6 +539,7 @@ lean_object* l_Lean_Elab_Term_elabMatch___closed__2;
|
|||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__1;
|
||||
extern lean_object* l_Lean_Elab_Term_termElabAttribute;
|
||||
lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addDiscr___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_instToStringPatternVar(lean_object*);
|
||||
lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -5559,7 +5559,7 @@ x_22 = lean_ctor_get(x_20, 0);
|
|||
lean_dec(x_22);
|
||||
x_23 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_23);
|
||||
x_24 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__5;
|
||||
x_24 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__4;
|
||||
x_25 = lean_array_push(x_24, x_23);
|
||||
x_26 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__2;
|
||||
x_27 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -5580,7 +5580,7 @@ lean_inc(x_30);
|
|||
lean_dec(x_20);
|
||||
x_31 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_31);
|
||||
x_32 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__5;
|
||||
x_32 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__4;
|
||||
x_33 = lean_array_push(x_32, x_31);
|
||||
x_34 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__2;
|
||||
x_35 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -30394,7 +30394,7 @@ lean_inc(x_21);
|
|||
x_22 = lean_ctor_get(x_20, 1);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_20);
|
||||
x_23 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__3;
|
||||
x_23 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addDiscr___closed__1;
|
||||
x_24 = lean_array_push(x_23, x_19);
|
||||
x_25 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4;
|
||||
x_26 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
|
|||
29
stage0/stdlib/Lean/Elab/MutualDef.c
generated
29
stage0/stdlib/Lean/Elab/MutualDef.c
generated
|
|
@ -285,6 +285,7 @@ lean_object* l_Lean_Elab_Command_elabMutualDef___boxed__const__1;
|
|||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm___closed__2;
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__6;
|
||||
lean_object* l_Std_RBNode_foldM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandMatchAltsWhereDecls(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -589,6 +590,7 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2
|
|||
lean_object* l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_MutualClosure_getKindForLetRecs___boxed(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandWhereDeclsOpt(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pickMaxFVar_x3f(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds___closed__3;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -603,7 +605,6 @@ lean_object* l_Lean_Elab_Term_MutualClosure_FixPoint_run(lean_object*, lean_obje
|
|||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_markModified___boxed(lean_object*);
|
||||
lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatch(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Expr_ReplaceImpl_initCache;
|
||||
|
|
@ -4274,26 +4275,30 @@ return x_9;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13;
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_10 = lean_unsigned_to_nat(0u);
|
||||
x_11 = l_Lean_Syntax_getArg(x_1, x_10);
|
||||
x_12 = 0;
|
||||
x_13 = l_Lean_Elab_Term_expandMatchAltsIntoMatch(x_1, x_11, x_12, x_2, x_3);
|
||||
x_12 = l_Lean_Elab_Term_expandMatchAltsWhereDecls(x_1, x_11, x_2, x_3);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_1);
|
||||
return x_13;
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
lean_dec(x_2);
|
||||
x_14 = lean_unsigned_to_nat(1u);
|
||||
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
|
||||
x_13 = lean_unsigned_to_nat(2u);
|
||||
x_14 = l_Lean_Syntax_getArg(x_1, x_13);
|
||||
x_15 = lean_unsigned_to_nat(1u);
|
||||
x_16 = l_Lean_Syntax_getArg(x_1, x_15);
|
||||
x_17 = l_Lean_Elab_Term_expandWhereDeclsOpt(x_1, x_14, x_16);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_1);
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_3);
|
||||
return x_16;
|
||||
x_18 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_17);
|
||||
lean_ctor_set(x_18, 1, x_3);
|
||||
return x_18;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
5051
stage0/stdlib/Lean/Elab/Syntax.c
generated
5051
stage0/stdlib/Lean/Elab/Syntax.c
generated
File diff suppressed because it is too large
Load diff
273
stage0/stdlib/Lean/Parser/Command.c
generated
273
stage0/stdlib/Lean/Parser/Command.c
generated
|
|
@ -60,7 +60,6 @@ lean_object* l_Lean_Parser_Command_printAxioms___elambda__1___closed__7;
|
|||
lean_object* l_Lean_Parser_Command_structCtor___closed__8;
|
||||
extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_567____closed__24;
|
||||
lean_object* l_Lean_Parser_Command_structExplicitBinder_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_declValEqns_parenthesizer___closed__7;
|
||||
lean_object* l_Lean_Parser_Term_quot_parenthesizer___closed__4;
|
||||
lean_object* l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__5;
|
||||
lean_object* l_Lean_Parser_Command_theorem___closed__9;
|
||||
|
|
@ -151,7 +150,6 @@ lean_object* l_Lean_Parser_Command_extends___elambda__1___closed__7;
|
|||
lean_object* l_Lean_Parser_Command_printAxioms___elambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_end___elambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_openRenamingItem___elambda__1___closed__4;
|
||||
lean_object* l_Lean_Parser_Command_declValEqns_formatter___closed__8;
|
||||
extern lean_object* l_Lean_Parser_Term_forall_parenthesizer___closed__2;
|
||||
lean_object* l_Lean_Parser_Command_extends___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_synth_formatter___closed__4;
|
||||
|
|
@ -165,7 +163,6 @@ lean_object* l_Lean_Parser_Command_ctor___elambda__1___closed__9;
|
|||
lean_object* l_Lean_Parser_Command_structCtor___closed__9;
|
||||
lean_object* l_Lean_Parser_Command_structureTk___closed__4;
|
||||
lean_object* l_Lean_Parser_Command_structImplicitBinder___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_declValEqns___closed__8;
|
||||
lean_object* l_Lean_Parser_Command_declId___closed__5;
|
||||
lean_object* l_Lean_Parser_Command_declaration_parenthesizer___closed__13;
|
||||
lean_object* l_Lean_Parser_Command_openRenamingItem___elambda__1___closed__8;
|
||||
|
|
@ -185,7 +182,6 @@ lean_object* l_Lean_Parser_Term_quot___closed__2;
|
|||
lean_object* l_Lean_Parser_Command_attribute___closed__7;
|
||||
lean_object* l_Lean_Parser_Command_protected___elambda__1___closed__8;
|
||||
lean_object* l_Lean_Parser_Command_attribute_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_declValEqns_formatter___closed__4;
|
||||
lean_object* l_Lean_Parser_Command_noncomputable;
|
||||
lean_object* l_Lean_Parser_Command_initialize___elambda__1___closed__13;
|
||||
lean_object* l_Lean_Parser_Command_section___elambda__1___closed__9;
|
||||
|
|
@ -209,10 +205,8 @@ lean_object* l_Lean_Parser_Command_ctor___elambda__1___closed__15;
|
|||
lean_object* l_Lean_Parser_Command_resolve__name___elambda__1___closed__1;
|
||||
extern lean_object* l_Lean_Parser_Term_explicitUniv_formatter___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_print_formatter___closed__2;
|
||||
extern lean_object* l_Lean_Parser_Term_fun_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Command_declModifiers___boxed(lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_extends_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_declValEqns_formatter___closed__5;
|
||||
lean_object* l_Lean_Parser_Command_protected___elambda__1___closed__2;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_quot_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_set__option___elambda__1___closed__6;
|
||||
|
|
@ -298,7 +292,6 @@ lean_object* l_Lean_Parser_Command_declaration___closed__7;
|
|||
lean_object* l___regBuiltinParser_Lean_Parser_Command_attribute(lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_section___closed__5;
|
||||
lean_object* l_Lean_Parser_Command_openSimple___elambda__1___closed__3;
|
||||
lean_object* l_Lean_PrettyPrinter_Formatter_checkInsideQuot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_ctor_parenthesizer___closed__5;
|
||||
extern lean_object* l_Lean_Parser_Term_attributes_parenthesizer___closed__3;
|
||||
lean_object* l_Lean_Parser_group_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -438,7 +431,6 @@ lean_object* l_Lean_Parser_Command_structFields___closed__4;
|
|||
lean_object* l_Lean_Parser_Command_set__option___elambda__1___closed__3;
|
||||
extern lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_mutual;
|
||||
lean_object* l_Lean_Parser_Command_declValEqns___elambda__1___closed__9;
|
||||
lean_object* l_Lean_Parser_Command_structure___elambda__1___closed__7;
|
||||
lean_object* l_Lean_Parser_Command_constant___closed__9;
|
||||
lean_object* l_Lean_Parser_Command_structure_formatter___closed__4;
|
||||
|
|
@ -540,7 +532,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_toggleInsideQuot_parenthesizer(l
|
|||
lean_object* l_Lean_Parser_Command_printAxioms_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_init__quot___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Parser_Command_def_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkOutsideQuot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_structure_parenthesizer___closed__8;
|
||||
lean_object* l_Lean_Parser_Command_visibility_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_exit___closed__6;
|
||||
|
|
@ -674,7 +665,6 @@ extern lean_object* l_Lean_Parser_Term_attributes___closed__8;
|
|||
lean_object* l_Lean_Parser_Command_openRenaming___elambda__1___closed__11;
|
||||
lean_object* l_Lean_Parser_Command_mutual___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_declaration_formatter___closed__20;
|
||||
lean_object* l_Lean_Parser_Command_declValEqns___elambda__1___closed__8;
|
||||
lean_object* l_Lean_Parser_Command_declId___closed__3;
|
||||
extern lean_object* l_Lean_Parser_Term_explicitBinder_parenthesizer___closed__5;
|
||||
lean_object* l_Lean_Parser_Command_namespace___closed__3;
|
||||
|
|
@ -751,7 +741,6 @@ lean_object* l_Lean_Parser_Term_quot_formatter___closed__2;
|
|||
lean_object* l_Lean_Parser_Command_initialize_formatter___closed__2;
|
||||
lean_object* l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__9;
|
||||
lean_object* l_Lean_Parser_Command_set__option_formatter___closed__9;
|
||||
lean_object* l_Lean_Parser_Command_declValEqns_parenthesizer___closed__6;
|
||||
lean_object* l_Lean_Parser_Command_inductive_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_check___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_quot___elambda__1___closed__13;
|
||||
|
|
@ -845,7 +834,6 @@ lean_object* l_Lean_Parser_Command_universes___elambda__1___closed__10;
|
|||
lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__7;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Command_synth_formatter(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_binderDefault;
|
||||
extern lean_object* l_Lean_Parser_checkOutsideQuot___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__4;
|
||||
lean_object* l_Lean_Parser_Command_visibility_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Parser_Command_in_parenthesizer(lean_object*);
|
||||
|
|
@ -897,7 +885,6 @@ lean_object* l_Lean_Parser_Command_attribute_parenthesizer___closed__3;
|
|||
lean_object* l_Lean_Parser_Command_structure_parenthesizer___closed__3;
|
||||
lean_object* l_Lean_Parser_Command_export_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_declValEqns_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_declValEqns___closed__7;
|
||||
lean_object* l_Lean_Parser_Term_quot___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Parser_Command_attribute;
|
||||
lean_object* l_Lean_Parser_Command_docComment___closed__4;
|
||||
|
|
@ -931,7 +918,6 @@ lean_object* l_Lean_Parser_Command_classInductive___closed__5;
|
|||
lean_object* l_Lean_Parser_Command_open___closed__2;
|
||||
lean_object* l_Lean_Parser_Command_printAxioms___elambda__1___closed__11;
|
||||
lean_object* l_Lean_Parser_Command_structCtor___closed__6;
|
||||
lean_object* l_Lean_Parser_Command_declValEqns_parenthesizer___closed__5;
|
||||
lean_object* l_Lean_Parser_Command_initialize___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Parser_Command_synth___closed__3;
|
||||
lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*);
|
||||
|
|
@ -1512,7 +1498,6 @@ lean_object* l_Lean_Parser_Command_abbrev___closed__2;
|
|||
lean_object* l_Lean_Parser_Command_unsafe___elambda__1___closed__5;
|
||||
lean_object* l_Lean_Parser_Command_openOnly___closed__5;
|
||||
lean_object* l_Lean_Parser_Command_declValSimple_formatter___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_declValEqns___closed__6;
|
||||
lean_object* l_Lean_Parser_Command_check___elambda__1___closed__8;
|
||||
lean_object* l_Lean_Parser_Command_printAxioms___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_eval___elambda__1___closed__8;
|
||||
|
|
@ -1525,7 +1510,6 @@ lean_object* l_Lean_Parser_Command_init__quot___elambda__1___closed__7;
|
|||
lean_object* l_Lean_Parser_Command_structExplicitBinder_parenthesizer___closed__10;
|
||||
lean_object* l_Lean_Parser_withResultOfFn(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_quot_parenthesizer___closed__3;
|
||||
lean_object* l_Lean_Parser_Command_declValEqns_formatter___closed__7;
|
||||
lean_object* l_Lean_Parser_Command_synth___elambda__1___closed__9;
|
||||
lean_object* l_Lean_Parser_Command_declaration___elambda__1___closed__13;
|
||||
lean_object* l_Lean_Parser_Command_initialize_formatter___closed__5;
|
||||
|
|
@ -1564,10 +1548,8 @@ lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__9;
|
|||
lean_object* l_Lean_Parser_Command_variables_parenthesizer___closed__3;
|
||||
lean_object* l_Lean_Parser_Command_classInductive___closed__8;
|
||||
lean_object* l_Lean_Parser_Command_structCtor___closed__7;
|
||||
extern lean_object* l_Lean_Parser_checkInsideQuot___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_openOnly___elambda__1___closed__6;
|
||||
lean_object* l_Lean_Parser_Command_check_parenthesizer___closed__2;
|
||||
extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__7;
|
||||
lean_object* l_Lean_PrettyPrinter_Formatter_many1_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_openRenaming___elambda__1___closed__9;
|
||||
lean_object* l_Lean_Parser_Command_protected_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1751,7 +1733,6 @@ lean_object* l_Lean_Parser_Command_theorem_parenthesizer___closed__4;
|
|||
lean_object* l_Lean_Parser_Command_docComment_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Command_declaration_parenthesizer___closed__16;
|
||||
lean_object* l_Lean_Parser_Command_attribute___closed__2;
|
||||
lean_object* l_Lean_Parser_Command_declValEqns___elambda__1___closed__7;
|
||||
lean_object* l_Lean_Parser_Command_synth___closed__4;
|
||||
lean_object* l_Lean_Parser_Command_inductive_parenthesizer___closed__5;
|
||||
lean_object* l_Lean_Parser_Command_in_formatter___closed__1;
|
||||
|
|
@ -1828,7 +1809,6 @@ lean_object* l_Lean_Parser_Command_declaration_formatter___closed__2;
|
|||
lean_object* l_Lean_Parser_Command_universe___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_openHiding_formatter___closed__5;
|
||||
lean_object* l_Lean_Parser_Command_check__failure___closed__2;
|
||||
lean_object* l_Lean_Parser_Command_declValEqns_parenthesizer___closed__8;
|
||||
lean_object* l_Lean_Parser_Command_declaration;
|
||||
lean_object* l_Lean_Parser_Command_builtin__initialize___elambda__1___closed__8;
|
||||
lean_object* l_Lean_Parser_Command_optDeclSig___closed__5;
|
||||
|
|
@ -1904,7 +1884,6 @@ lean_object* l_Lean_Parser_Command_namespace_parenthesizer___closed__3;
|
|||
lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__21;
|
||||
extern lean_object* l_Lean_Parser_Term_explicitUniv___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_print___elambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_declValEqns_parenthesizer___closed__4;
|
||||
lean_object* l_Lean_Parser_Command_structImplicitBinder_formatter___closed__4;
|
||||
lean_object* l_Lean_Parser_Command_structure_formatter___closed__13;
|
||||
lean_object* l_Lean_Parser_Command_open___closed__6;
|
||||
|
|
@ -1999,7 +1978,6 @@ lean_object* l_Lean_Parser_Command_openRenamingItem___elambda__1___closed__11;
|
|||
lean_object* l_Lean_Parser_Command_openHiding___closed__2;
|
||||
lean_object* l_Lean_Parser_Command_constant___closed__4;
|
||||
lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__21;
|
||||
lean_object* l_Lean_PrettyPrinter_Formatter_checkOutsideQuot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_universe_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Command_partial___closed__2;
|
||||
lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__7;
|
||||
|
|
@ -2138,7 +2116,6 @@ lean_object* l_Lean_Parser_Command_set__option___closed__2;
|
|||
lean_object* l_Lean_Parser_Command_init__quot___elambda__1___closed__6;
|
||||
lean_object* l___regBuiltinParser_Lean_Parser_Command_mutual(lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__17;
|
||||
lean_object* l_Lean_Parser_Command_declValEqns_formatter___closed__6;
|
||||
lean_object* l_Lean_Parser_Command_openOnly___elambda__1___closed__9;
|
||||
lean_object* l_Lean_Parser_Command_openSimple___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Parser_Command_openOnly___closed__1;
|
||||
|
|
@ -2154,7 +2131,6 @@ lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__8;
|
|||
lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__13;
|
||||
lean_object* l_Lean_Parser_Command_variables;
|
||||
lean_object* l_Lean_Parser_Command_builtin__initialize___closed__1;
|
||||
extern lean_object* l_Lean_Parser_Term_fun_parenthesizer___closed__2;
|
||||
lean_object* l_Lean_Parser_Command_export___elambda__1___closed__13;
|
||||
lean_object* l_Lean_Parser_Command_set__option_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Command_set__option___elambda__1___closed__10;
|
||||
|
|
@ -2426,7 +2402,6 @@ lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__9;
|
|||
lean_object* l_Lean_Parser_Command_constant___elambda__1___closed__13;
|
||||
lean_object* l_Lean_Parser_Command_abbrev___closed__6;
|
||||
lean_object* l_Lean_Parser_Command_open___closed__9;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_example___closed__2;
|
||||
lean_object* l_Lean_Parser_Command_declValEqns_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_mutual___closed__5;
|
||||
|
|
@ -5703,9 +5678,9 @@ static lean_object* _init_l_Lean_Parser_Command_declValEqns___elambda__1___close
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_checkInsideQuot___closed__1;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__2;
|
||||
x_2 = l_Lean_Parser_Term_matchAltsWhereDecls___closed__6;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -5714,47 +5689,9 @@ return x_3;
|
|||
static lean_object* _init_l_Lean_Parser_Command_declValEqns___elambda__1___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Term_fun___elambda__1___closed__7;
|
||||
x_2 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_2);
|
||||
x_3 = l_Lean_Parser_checkOutsideQuot___closed__1;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_4, 0, x_3);
|
||||
lean_closure_set(x_4, 1, x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns___elambda__1___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__5;
|
||||
x_2 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__6;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns___elambda__1___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__2;
|
||||
x_2 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__7;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns___elambda__1___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8;
|
||||
x_2 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__8;
|
||||
x_2 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__5;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
|
|
@ -5768,7 +5705,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object*
|
|||
x_3 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__4;
|
||||
x_4 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_4);
|
||||
x_5 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__9;
|
||||
x_5 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__6;
|
||||
x_6 = 1;
|
||||
x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2);
|
||||
return x_7;
|
||||
|
|
@ -5781,66 +5718,34 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
|||
x_1 = l_Lean_Parser_Term_matchAltsWhereDecls;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = l_Lean_Parser_epsilonInfo;
|
||||
x_4 = l_Lean_Parser_andthenInfo(x_3, x_2);
|
||||
x_3 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__2;
|
||||
x_4 = l_Lean_Parser_nodeInfo(x_3, x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Term_fun___elambda__1___closed__7;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = l_Lean_Parser_epsilonInfo;
|
||||
x_4 = l_Lean_Parser_andthenInfo(x_3, x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns___closed__1;
|
||||
x_2 = l_Lean_Parser_Command_declValEqns___closed__2;
|
||||
x_3 = l_Lean_Parser_orelseInfo(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__2;
|
||||
x_2 = l_Lean_Parser_Command_declValEqns___closed__3;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_epsilonInfo;
|
||||
x_2 = l_Lean_Parser_Command_declValEqns___closed__4;
|
||||
x_2 = l_Lean_Parser_Command_declValEqns___closed__1;
|
||||
x_3 = l_Lean_Parser_andthenInfo(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns___closed__6() {
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__4;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = l_Lean_Parser_Command_declValEqns___closed__5;
|
||||
x_3 = l_Lean_Parser_Command_declValEqns___closed__2;
|
||||
x_4 = l_Lean_Parser_orelseInfo(x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns___closed__7() {
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -5848,12 +5753,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_declValEqns___elambda__1)
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns___closed__8() {
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns___closed__6;
|
||||
x_2 = l_Lean_Parser_Command_declValEqns___closed__7;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns___closed__3;
|
||||
x_2 = l_Lean_Parser_Command_declValEqns___closed__4;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
|
|
@ -5864,7 +5769,7 @@ static lean_object* _init_l_Lean_Parser_Command_declValEqns() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns___closed__8;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns___closed__5;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -5873,7 +5778,7 @@ _start:
|
|||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6;
|
||||
x_3 = l_Lean_Parser_Command_declValSimple___closed__7;
|
||||
x_4 = l_Lean_Parser_Command_declValEqns___closed__7;
|
||||
x_4 = l_Lean_Parser_Command_declValEqns___closed__4;
|
||||
x_5 = 1;
|
||||
x_6 = l_Lean_Parser_orelseFnCore(x_3, x_4, x_5, x_1, x_2);
|
||||
return x_6;
|
||||
|
|
@ -12069,69 +11974,17 @@ static lean_object* _init_l_Lean_Parser_Command_declValEqns_formatter___closed__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkInsideQuot_formatter___boxed), 4, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_matchAltsWhereDecls_formatter), 5, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns_formatter___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_matchAltsWhereDecls_formatter), 5, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns_formatter___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns_formatter___closed__2;
|
||||
x_2 = l_Lean_Parser_Command_declValEqns_formatter___closed__3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns_formatter___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkOutsideQuot_formatter___boxed), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns_formatter___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns_formatter___closed__5;
|
||||
x_2 = l_Lean_Parser_Term_fun_formatter___closed__3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns_formatter___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns_formatter___closed__4;
|
||||
x_2 = l_Lean_Parser_Command_declValEqns_formatter___closed__6;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns_formatter___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__2;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Command_declValEqns_formatter___closed__7;
|
||||
x_3 = l_Lean_Parser_Command_declValEqns_formatter___closed__2;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
lean_closure_set(x_4, 0, x_1);
|
||||
lean_closure_set(x_4, 1, x_2);
|
||||
|
|
@ -12144,7 +11997,7 @@ _start:
|
|||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_6 = l_Lean_Parser_Command_declValEqns_formatter___closed__1;
|
||||
x_7 = l_Lean_Parser_Command_declValEqns_formatter___closed__8;
|
||||
x_7 = l_Lean_Parser_Command_declValEqns_formatter___closed__3;
|
||||
x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5);
|
||||
return x_8;
|
||||
}
|
||||
|
|
@ -15208,69 +15061,17 @@ static lean_object* _init_l_Lean_Parser_Command_declValEqns_parenthesizer___clos
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer___boxed), 4, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_matchAltsWhereDecls_parenthesizer), 5, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns_parenthesizer___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_matchAltsWhereDecls_parenthesizer), 5, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns_parenthesizer___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns_parenthesizer___closed__2;
|
||||
x_2 = l_Lean_Parser_Command_declValEqns_parenthesizer___closed__3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns_parenthesizer___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkOutsideQuot_parenthesizer___boxed), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns_parenthesizer___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns_parenthesizer___closed__5;
|
||||
x_2 = l_Lean_Parser_Term_fun_parenthesizer___closed__2;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns_parenthesizer___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns_parenthesizer___closed__4;
|
||||
x_2 = l_Lean_Parser_Command_declValEqns_parenthesizer___closed__6;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer), 7, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Command_declValEqns_parenthesizer___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__2;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Command_declValEqns_parenthesizer___closed__7;
|
||||
x_3 = l_Lean_Parser_Command_declValEqns_parenthesizer___closed__2;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
lean_closure_set(x_4, 0, x_1);
|
||||
lean_closure_set(x_4, 1, x_2);
|
||||
|
|
@ -15283,7 +15084,7 @@ _start:
|
|||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_6 = l_Lean_Parser_Command_declValEqns_parenthesizer___closed__1;
|
||||
x_7 = l_Lean_Parser_Command_declValEqns_parenthesizer___closed__8;
|
||||
x_7 = l_Lean_Parser_Command_declValEqns_parenthesizer___closed__3;
|
||||
x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5);
|
||||
return x_8;
|
||||
}
|
||||
|
|
@ -29151,12 +28952,6 @@ l_Lean_Parser_Command_declValEqns___elambda__1___closed__5 = _init_l_Lean_Parser
|
|||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns___elambda__1___closed__5);
|
||||
l_Lean_Parser_Command_declValEqns___elambda__1___closed__6 = _init_l_Lean_Parser_Command_declValEqns___elambda__1___closed__6();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns___elambda__1___closed__6);
|
||||
l_Lean_Parser_Command_declValEqns___elambda__1___closed__7 = _init_l_Lean_Parser_Command_declValEqns___elambda__1___closed__7();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns___elambda__1___closed__7);
|
||||
l_Lean_Parser_Command_declValEqns___elambda__1___closed__8 = _init_l_Lean_Parser_Command_declValEqns___elambda__1___closed__8();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns___elambda__1___closed__8);
|
||||
l_Lean_Parser_Command_declValEqns___elambda__1___closed__9 = _init_l_Lean_Parser_Command_declValEqns___elambda__1___closed__9();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns___elambda__1___closed__9);
|
||||
l_Lean_Parser_Command_declValEqns___closed__1 = _init_l_Lean_Parser_Command_declValEqns___closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns___closed__1);
|
||||
l_Lean_Parser_Command_declValEqns___closed__2 = _init_l_Lean_Parser_Command_declValEqns___closed__2();
|
||||
|
|
@ -29167,12 +28962,6 @@ l_Lean_Parser_Command_declValEqns___closed__4 = _init_l_Lean_Parser_Command_decl
|
|||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns___closed__4);
|
||||
l_Lean_Parser_Command_declValEqns___closed__5 = _init_l_Lean_Parser_Command_declValEqns___closed__5();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns___closed__5);
|
||||
l_Lean_Parser_Command_declValEqns___closed__6 = _init_l_Lean_Parser_Command_declValEqns___closed__6();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns___closed__6);
|
||||
l_Lean_Parser_Command_declValEqns___closed__7 = _init_l_Lean_Parser_Command_declValEqns___closed__7();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns___closed__7);
|
||||
l_Lean_Parser_Command_declValEqns___closed__8 = _init_l_Lean_Parser_Command_declValEqns___closed__8();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns___closed__8);
|
||||
l_Lean_Parser_Command_declValEqns = _init_l_Lean_Parser_Command_declValEqns();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns);
|
||||
l_Lean_Parser_Command_declVal___closed__1 = _init_l_Lean_Parser_Command_declVal___closed__1();
|
||||
|
|
@ -30262,16 +30051,6 @@ l_Lean_Parser_Command_declValEqns_formatter___closed__2 = _init_l_Lean_Parser_Co
|
|||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns_formatter___closed__2);
|
||||
l_Lean_Parser_Command_declValEqns_formatter___closed__3 = _init_l_Lean_Parser_Command_declValEqns_formatter___closed__3();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns_formatter___closed__3);
|
||||
l_Lean_Parser_Command_declValEqns_formatter___closed__4 = _init_l_Lean_Parser_Command_declValEqns_formatter___closed__4();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns_formatter___closed__4);
|
||||
l_Lean_Parser_Command_declValEqns_formatter___closed__5 = _init_l_Lean_Parser_Command_declValEqns_formatter___closed__5();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns_formatter___closed__5);
|
||||
l_Lean_Parser_Command_declValEqns_formatter___closed__6 = _init_l_Lean_Parser_Command_declValEqns_formatter___closed__6();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns_formatter___closed__6);
|
||||
l_Lean_Parser_Command_declValEqns_formatter___closed__7 = _init_l_Lean_Parser_Command_declValEqns_formatter___closed__7();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns_formatter___closed__7);
|
||||
l_Lean_Parser_Command_declValEqns_formatter___closed__8 = _init_l_Lean_Parser_Command_declValEqns_formatter___closed__8();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns_formatter___closed__8);
|
||||
l_Lean_Parser_Command_declVal_formatter___closed__1 = _init_l_Lean_Parser_Command_declVal_formatter___closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declVal_formatter___closed__1);
|
||||
l_Lean_Parser_Command_declVal_formatter___closed__2 = _init_l_Lean_Parser_Command_declVal_formatter___closed__2();
|
||||
|
|
@ -30741,16 +30520,6 @@ l_Lean_Parser_Command_declValEqns_parenthesizer___closed__2 = _init_l_Lean_Parse
|
|||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns_parenthesizer___closed__2);
|
||||
l_Lean_Parser_Command_declValEqns_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_declValEqns_parenthesizer___closed__3();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns_parenthesizer___closed__3);
|
||||
l_Lean_Parser_Command_declValEqns_parenthesizer___closed__4 = _init_l_Lean_Parser_Command_declValEqns_parenthesizer___closed__4();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns_parenthesizer___closed__4);
|
||||
l_Lean_Parser_Command_declValEqns_parenthesizer___closed__5 = _init_l_Lean_Parser_Command_declValEqns_parenthesizer___closed__5();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns_parenthesizer___closed__5);
|
||||
l_Lean_Parser_Command_declValEqns_parenthesizer___closed__6 = _init_l_Lean_Parser_Command_declValEqns_parenthesizer___closed__6();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns_parenthesizer___closed__6);
|
||||
l_Lean_Parser_Command_declValEqns_parenthesizer___closed__7 = _init_l_Lean_Parser_Command_declValEqns_parenthesizer___closed__7();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns_parenthesizer___closed__7);
|
||||
l_Lean_Parser_Command_declValEqns_parenthesizer___closed__8 = _init_l_Lean_Parser_Command_declValEqns_parenthesizer___closed__8();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declValEqns_parenthesizer___closed__8);
|
||||
l_Lean_Parser_Command_declVal_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_declVal_parenthesizer___closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Command_declVal_parenthesizer___closed__1);
|
||||
l_Lean_Parser_Command_declVal_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_declVal_parenthesizer___closed__2();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue