chore: update stage0
This commit is contained in:
parent
672436bc5f
commit
bea7aaa3dc
43 changed files with 5087 additions and 4350 deletions
1
stage0/src/Init.lean
generated
1
stage0/src/Init.lean
generated
|
|
@ -13,3 +13,4 @@ import Init.System
|
|||
import Init.Util
|
||||
import Init.Fix
|
||||
import Init.LeanInit
|
||||
import Init.Tactics
|
||||
|
|
|
|||
11
stage0/src/Init/Tactics.lean
generated
Normal file
11
stage0/src/Init/Tactics.lean
generated
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/-
|
||||
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
|
||||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
Authors: Leonardo de Moura
|
||||
-/
|
||||
prelude
|
||||
import Init.LeanInit
|
||||
|
||||
macro "rfl" : tactic => `(exact rfl)
|
||||
macro "decide!" : tactic => `(exact decide!)
|
||||
macro "admit" : tactic => `(exact sorry)
|
||||
2
stage0/src/Lean/Data/Json/Basic.lean
generated
2
stage0/src/Lean/Data/Json/Basic.lean
generated
|
|
@ -16,7 +16,7 @@ protected def JsonNumber.decEq : (a b : JsonNumber) → Decidable (a = b)
|
|||
match decEq m1 m2 with
|
||||
| isTrue hm =>
|
||||
match decEq e1 e2 with
|
||||
| isTrue he => isTrue $ by rw [hm, he]; exact rfl
|
||||
| isTrue he => isTrue $ by rw [hm, he]; rfl
|
||||
| isFalse he => isFalse (fun h => JsonNumber.noConfusion h (fun hm he2 => he he2))
|
||||
| isFalse hm => isFalse (fun h => JsonNumber.noConfusion h (fun hm2 he => hm hm2))
|
||||
|
||||
|
|
|
|||
2
stage0/src/Lean/Data/Position.lean
generated
2
stage0/src/Lean/Data/Position.lean
generated
|
|
@ -16,7 +16,7 @@ instance : DecidableEq Position :=
|
|||
fun ⟨l₁, c₁⟩ ⟨l₂, c₂⟩ =>
|
||||
if h₁ : l₁ = l₂ then
|
||||
if h₂ : c₁ = c₂ then
|
||||
isTrue $ by subst h₁; subst h₂; exact rfl
|
||||
isTrue $ by subst h₁; subst h₂; rfl
|
||||
else
|
||||
isFalse fun contra => Position.noConfusion contra (fun e₁ e₂ => absurd e₂ h₂)
|
||||
else
|
||||
|
|
|
|||
42
stage0/src/Lean/Elab/Syntax.lean
generated
42
stage0/src/Lean/Elab/Syntax.lean
generated
|
|
@ -451,11 +451,18 @@ def expandMacroHeadIntoPattern (stx : Syntax) : MacroM Syntax :=
|
|||
else
|
||||
expandMacroArgIntoPattern stx
|
||||
|
||||
def expandOptPrio (stx : Syntax) : Nat :=
|
||||
if stx.isNone then
|
||||
0
|
||||
else
|
||||
stx[1].isNatLit?.getD 0
|
||||
|
||||
@[builtinMacro Lean.Parser.Command.macro] def expandMacro : Macro := fun stx => do
|
||||
let prec := stx[1].getArgs
|
||||
let head := stx[2]
|
||||
let args := stx[3].getArgs
|
||||
let cat := stx[5]
|
||||
let prio := expandOptPrio stx[2]
|
||||
let head := stx[3]
|
||||
let args := stx[4].getArgs
|
||||
let cat := stx[6]
|
||||
let kind ← Macro.mkFreshKind (cat.getId).eraseMacroScopes
|
||||
-- build parser
|
||||
let stxPart ← expandMacroHeadIntoSyntaxItem head
|
||||
|
|
@ -465,15 +472,15 @@ def expandMacroHeadIntoPattern (stx : Syntax) : MacroM Syntax :=
|
|||
let patHead ← expandMacroHeadIntoPattern head
|
||||
let patArgs ← args.mapM expandMacroArgIntoPattern
|
||||
let pat := Syntax.node kind (#[patHead] ++ patArgs)
|
||||
if stx.getArgs.size == 8 then
|
||||
if stx.getArgs.size == 9 then
|
||||
-- `stx` is of the form `macro $head $args* : $cat => term`
|
||||
let rhs := stx[7]
|
||||
`(syntax $prec* [$(mkIdentFrom stx kind):ident] $stxParts* : $cat
|
||||
let rhs := stx[8]
|
||||
`(syntax $prec* [$(mkIdentFrom stx kind):ident, $(quote prio):numLit] $stxParts* : $cat
|
||||
macro_rules | `($pat) => $rhs)
|
||||
else
|
||||
-- `stx` is of the form `macro $head $args* : $cat => `( $body )`
|
||||
let rhsBody := stx[8]
|
||||
`(syntax $prec* [$(mkIdentFrom stx kind):ident] $stxParts* : $cat
|
||||
let rhsBody := stx[9]
|
||||
`(syntax $prec* [$(mkIdentFrom stx kind):ident, $(quote prio):numLit] $stxParts* : $cat
|
||||
macro_rules | `($pat) => `($rhsBody))
|
||||
|
||||
builtin_initialize
|
||||
|
|
@ -492,11 +499,12 @@ parser! "elab " >> optPrecedence >> elabHead >> many elabArg >> elabTail
|
|||
@[builtinMacro Lean.Parser.Command.elab] def expandElab : Macro := fun stx => do
|
||||
let ref := stx
|
||||
let prec := stx[1].getArgs
|
||||
let head := stx[2]
|
||||
let args := stx[3].getArgs
|
||||
let cat := stx[5]
|
||||
let expectedTypeSpec := stx[6]
|
||||
let rhs := stx[8]
|
||||
let prio := expandOptPrio stx[2]
|
||||
let head := stx[3]
|
||||
let args := stx[4].getArgs
|
||||
let cat := stx[6]
|
||||
let expectedTypeSpec := stx[7]
|
||||
let rhs := stx[9]
|
||||
let catName := cat.getId
|
||||
let kind ← Macro.mkFreshKind catName.eraseMacroScopes
|
||||
-- build parser
|
||||
|
|
@ -511,7 +519,7 @@ parser! "elab " >> optPrecedence >> elabHead >> many elabArg >> elabTail
|
|||
if expectedTypeSpec.hasArgs then
|
||||
if catName == `term then
|
||||
let expId := expectedTypeSpec[1]
|
||||
`(syntax $prec* [$kindId:ident] $stxParts* : $cat
|
||||
`(syntax $prec* [$kindId:ident, $(quote prio):numLit] $stxParts* : $cat
|
||||
@[termElab $kindId:ident] def elabFn : Lean.Elab.Term.TermElab :=
|
||||
fun stx expectedType? => match_syntax stx with
|
||||
| `($pat) => Lean.Elab.Command.withExpectedType expectedType? fun $expId => $rhs
|
||||
|
|
@ -519,19 +527,19 @@ parser! "elab " >> optPrecedence >> elabHead >> many elabArg >> elabTail
|
|||
else
|
||||
Macro.throwError expectedTypeSpec s!"syntax category '{catName}' does not support expected type specification"
|
||||
else if catName == `term then
|
||||
`(syntax $prec* [$kindId:ident] $stxParts* : $cat
|
||||
`(syntax $prec* [$kindId:ident, $(quote prio):numLit] $stxParts* : $cat
|
||||
@[termElab $kindId:ident] def elabFn : Lean.Elab.Term.TermElab :=
|
||||
fun stx _ => match_syntax stx with
|
||||
| `($pat) => $rhs
|
||||
| _ => throwUnsupportedSyntax)
|
||||
else if catName == `command then
|
||||
`(syntax $prec* [$kindId:ident] $stxParts* : $cat
|
||||
`(syntax $prec* [$kindId:ident, $(quote prio):numLit] $stxParts* : $cat
|
||||
@[commandElab $kindId:ident] def elabFn : Lean.Elab.Command.CommandElab :=
|
||||
fun stx => match_syntax stx with
|
||||
| `($pat) => $rhs
|
||||
| _ => throwUnsupportedSyntax)
|
||||
else if catName == `tactic then
|
||||
`(syntax $prec* [$kindId:ident] $stxParts* : $cat
|
||||
`(syntax $prec* [$kindId:ident, $(quote prio):numLit] $stxParts* : $cat
|
||||
@[tactic $kindId:ident] def elabFn : Lean.Elab.Tactic.Tactic :=
|
||||
fun stx => match_syntax stx with
|
||||
| `(tactic|$pat) => $rhs
|
||||
|
|
|
|||
3
stage0/src/Lean/Elab/Tactic/ElabTerm.lean
generated
3
stage0/src/Lean/Elab/Tactic/ElabTerm.lean
generated
|
|
@ -36,9 +36,6 @@ def elabTermEnsuringType (stx : Syntax) (expectedType? : Option Expr) (mayPostpo
|
|||
setGoals gs
|
||||
| _ => throwUnsupportedSyntax
|
||||
|
||||
@[builtinMacro Lean.Parser.Tactic.admit] def expandAdmit : Macro := fun _ =>
|
||||
`(tactic| exact sorry)
|
||||
|
||||
def elabTermWithHoles (stx : Syntax) (expectedType? : Option Expr) (tagSuffix : Name) (allowNaturalHoles := false) : TacticM (Expr × List MVarId) := do
|
||||
let val ← elabTermEnsuringType stx expectedType?
|
||||
let newMVarIds ← getMVarsNoDelayed val
|
||||
|
|
|
|||
5
stage0/src/Lean/Parser/Syntax.lean
generated
5
stage0/src/Lean/Parser/Syntax.lean
generated
|
|
@ -85,13 +85,14 @@ def macroTailTactic : Parser := «try» (" : " >> identEq "tactic") >> darrow
|
|||
def macroTailCommand : Parser := «try» (" : " >> identEq "command") >> darrow >> ("`(" >> toggleInsideQuot (many1Unbox commandParser) >> ")" <|> termParser)
|
||||
def macroTailDefault : Parser := «try» (" : " >> ident) >> darrow >> (("`(" >> toggleInsideQuot (categoryParserOfStack 2) >> ")") <|> termParser)
|
||||
def macroTail := macroTailTactic <|> macroTailCommand <|> macroTailDefault
|
||||
@[builtinCommandParser] def «macro» := parser! suppressInsideQuot ("macro " >> optPrecedence >> macroHead >> many macroArg >> macroTail)
|
||||
def optPrio := optional ("[" >> numLit >> "]")
|
||||
@[builtinCommandParser] def «macro» := parser! suppressInsideQuot ("macro " >> optPrecedence >> optPrio >> macroHead >> many macroArg >> macroTail)
|
||||
|
||||
@[builtinCommandParser] def «elab_rules» := parser! suppressInsideQuot ("elab_rules" >> optKind >> optional (" : " >> ident) >> Term.matchAlts)
|
||||
def elabHead := macroHead
|
||||
def elabArg := macroArg
|
||||
def elabTail := «try» (" : " >> ident >> optional (" <= " >> ident)) >> darrow >> termParser
|
||||
@[builtinCommandParser] def «elab» := parser! suppressInsideQuot ("elab " >> optPrecedence >> elabHead >> many elabArg >> elabTail)
|
||||
@[builtinCommandParser] def «elab» := parser! suppressInsideQuot ("elab " >> optPrecedence >> optPrio >> elabHead >> many elabArg >> elabTail)
|
||||
|
||||
end Command
|
||||
|
||||
|
|
|
|||
3
stage0/src/Lean/Parser/Tactic.lean
generated
3
stage0/src/Lean/Parser/Tactic.lean
generated
|
|
@ -40,7 +40,6 @@ def ident' : Parser := ident <|> underscore
|
|||
@[builtinTacticParser] def «focus» := parser! nonReservedSymbol "focus " >> tacticSeq
|
||||
@[builtinTacticParser] def «skip» := parser! nonReservedSymbol "skip"
|
||||
@[builtinTacticParser] def «done» := parser! nonReservedSymbol "done"
|
||||
@[builtinTacticParser] def «admit» := parser! nonReservedSymbol "admit"
|
||||
@[builtinTacticParser] def «traceState» := parser! nonReservedSymbol "traceState"
|
||||
@[builtinTacticParser] def «failIfSuccess» := parser! nonReservedSymbol "failIfSuccess " >> tacticSeq
|
||||
@[builtinTacticParser] def «generalize» := parser! nonReservedSymbol "generalize " >> optional («try» (ident >> " : ")) >> termParser 51 >> " = " >> ident
|
||||
|
|
@ -73,7 +72,7 @@ def matchAlts : Parser := group $ withPosition $ (optional "| ") >> sepBy1 match
|
|||
@[builtinTacticParser] def «match» := parser! nonReservedSymbol "match " >> sepBy1 Term.matchDiscr ", " >> Term.optType >> " with " >> matchAlts
|
||||
@[builtinTacticParser] def «introMatch» := parser! nonReservedSymbol "intro " >> matchAlts
|
||||
|
||||
def withIds : Parser := optional (" with " >> many1 ident')
|
||||
def withIds : Parser := optional (" with " >> many1 (checkColGt >> ident'))
|
||||
@[builtinTacticParser] def «injection» := parser! nonReservedSymbol "injection " >> termParser >> withIds
|
||||
@[builtinTacticParser] def paren := parser! "(" >> seq1 >> ")"
|
||||
@[builtinTacticParser] def nestedTactic := tacticSeqBracketed
|
||||
|
|
|
|||
8
stage0/src/Std/Data/DList.lean
generated
8
stage0/src/Std/Data/DList.lean
generated
|
|
@ -20,7 +20,7 @@ variables {α : Type u}
|
|||
open List
|
||||
|
||||
def ofList (l : List α) : DList α :=
|
||||
⟨Append.append l, fun t => by rw appendNil; exact rfl⟩
|
||||
⟨Append.append l, fun t => by rw appendNil; rfl⟩
|
||||
|
||||
def empty : DList α :=
|
||||
⟨id, fun t => rfl⟩
|
||||
|
|
@ -43,7 +43,7 @@ def cons : α → DList α → DList α
|
|||
intro t
|
||||
show a :: f t = a :: f [] ++ t
|
||||
rw [consAppend, h]
|
||||
exact rfl
|
||||
rfl
|
||||
}
|
||||
|
||||
def append : DList α → DList α → DList α
|
||||
|
|
@ -53,7 +53,7 @@ def append : DList α → DList α → DList α
|
|||
intro t
|
||||
show f (g t) = (f (g [])) ++ t
|
||||
rw [h₁ (g t), h₂ t, ← appendAssoc (f []) (g []) t, ← h₁ (g [])]
|
||||
exact rfl
|
||||
rfl
|
||||
}
|
||||
|
||||
def push : DList α → α → DList α
|
||||
|
|
@ -63,7 +63,7 @@ def push : DList α → α → DList α
|
|||
intro t
|
||||
show f (a :: t) = f (a :: nil) ++ t
|
||||
rw [h [a], h (a::t), appendAssoc (f []) [a] t]
|
||||
exact rfl
|
||||
rfl
|
||||
}
|
||||
|
||||
instance : Append (DList α) := ⟨DList.append⟩
|
||||
|
|
|
|||
8
stage0/src/Std/Data/PersistentHashMap.lean
generated
8
stage0/src/Std/Data/PersistentHashMap.lean
generated
|
|
@ -67,11 +67,11 @@ abbrev EntriesNode (α β) := { n : Node α β // IsEntriesNode n }
|
|||
private theorem setSizeEq {ks : Array α} {vs : Array β} (h : ks.size = vs.size) (i : Fin ks.size) (j : Fin vs.size) (k : α) (v : β)
|
||||
: (ks.set i k).size = (vs.set j v).size := by
|
||||
rw [Array.szFSetEq, Array.szFSetEq vs, h]
|
||||
exact rfl
|
||||
rfl
|
||||
|
||||
private theorem pushSizeEq {ks : Array α} {vs : Array β} (h : ks.size = vs.size) (k : α) (v : β) : (ks.push k).size = (vs.push v).size := by
|
||||
rw [Array.szPushEq, Array.szPushEq, h]
|
||||
exact rfl
|
||||
rfl
|
||||
|
||||
partial def insertAtCollisionNodeAux [BEq α] : CollisionNode α β → Nat → α → β → CollisionNode α β
|
||||
| n@⟨Node.collision keys vals heq, _⟩, i, k, v =>
|
||||
|
|
@ -213,7 +213,7 @@ def isUnaryNode : Node α β → Option (α × β)
|
|||
| Node.entries entries => isUnaryEntries entries 0 none
|
||||
| Node.collision keys vals heq =>
|
||||
if h : 1 = keys.size then
|
||||
have 0 < keys.size by rw [←h]; exact decide!
|
||||
have 0 < keys.size by rw [←h]; decide!
|
||||
some (keys.get ⟨0, this⟩, vals.get ⟨0, by rw [←heq]; assumption⟩)
|
||||
else
|
||||
none
|
||||
|
|
@ -224,7 +224,7 @@ partial def eraseAux [BEq α] : Node α β → USize → α → Node α β × Bo
|
|||
| some idx =>
|
||||
let ⟨keys', keq⟩ := keys.eraseIdx' idx
|
||||
let ⟨vals', veq⟩ := vals.eraseIdx' (Eq.ndrec idx heq)
|
||||
have keys.size - 1 = vals.size - 1 by rw [heq]; exact rfl
|
||||
have keys.size - 1 = vals.size - 1 by rw [heq]; rfl
|
||||
(Node.collision keys' vals' (keq.trans (this.trans veq.symm)), true)
|
||||
| none => (n, false)
|
||||
| n@(Node.entries entries), h, k =>
|
||||
|
|
|
|||
2
stage0/stdlib/CMakeLists.txt
generated
2
stage0/stdlib/CMakeLists.txt
generated
File diff suppressed because one or more lines are too long
6
stage0/stdlib/Init.c
generated
6
stage0/stdlib/Init.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Init
|
||||
// Imports: Init.Core Init.Control Init.Data.Basic Init.WF Init.Data Init.System Init.Util Init.Fix Init.LeanInit
|
||||
// Imports: Init.Core Init.Control Init.Data.Basic Init.WF Init.Data Init.System Init.Util Init.Fix Init.LeanInit Init.Tactics
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -22,6 +22,7 @@ lean_object* initialize_Init_System(lean_object*);
|
|||
lean_object* initialize_Init_Util(lean_object*);
|
||||
lean_object* initialize_Init_Fix(lean_object*);
|
||||
lean_object* initialize_Init_LeanInit(lean_object*);
|
||||
lean_object* initialize_Init_Tactics(lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
lean_object* initialize_Init(lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -54,6 +55,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_LeanInit(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Tactics(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
1042
stage0/stdlib/Init/Tactics.c
generated
Normal file
1042
stage0/stdlib/Init/Tactics.c
generated
Normal file
File diff suppressed because it is too large
Load diff
82
stage0/stdlib/Lean/Data/FormatMacro.c
generated
82
stage0/stdlib/Lean/Data/FormatMacro.c
generated
|
|
@ -15,6 +15,7 @@ extern "C" {
|
|||
#endif
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__8;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__4;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__12;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStrChunks(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__1;
|
||||
|
|
@ -22,6 +23,7 @@ lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__5;
|
|||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__2;
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__3;
|
||||
extern lean_object* l___private_Init_LeanInit_0__Lean_eraseMacroScopesAux___closed__5;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__6;
|
||||
|
|
@ -29,7 +31,6 @@ lean_object* lean_string_utf8_byte_size(lean_object*);
|
|||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____closed__6;
|
||||
extern lean_object* l_Lean_mkAppStx___closed__8;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__7;
|
||||
extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__5;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3_;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__10;
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__22;
|
||||
|
|
@ -51,6 +52,8 @@ lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____lambda__1__
|
|||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____lambda__1___closed__2;
|
||||
extern lean_object* l_Lean_Init_LeanInit___instance__8___closed__1;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__13;
|
||||
extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__2;
|
||||
extern lean_object* l_Lean_Name_hasMacroScopes___closed__1;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__9;
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
|
|
@ -61,6 +64,7 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
|||
extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__8;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__8;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__4;
|
||||
extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__3;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__8;
|
||||
|
|
@ -73,8 +77,8 @@ static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__5;
|
||||
x_2 = l_Lean_mkAppStx___closed__1;
|
||||
x_1 = l___kind_tactic____x40_Init_Tactics___hyg_2____closed__2;
|
||||
x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -84,7 +88,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__1;
|
||||
x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__8;
|
||||
x_2 = l___private_Init_LeanInit_0__Lean_eraseMacroScopesAux___closed__5;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -92,17 +96,19 @@ return x_3;
|
|||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("FormatMacro");
|
||||
return x_1;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__2;
|
||||
x_2 = l_Lean_mkAppStx___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__2;
|
||||
x_2 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__3;
|
||||
x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__8;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -110,24 +116,42 @@ return x_3;
|
|||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__4;
|
||||
x_2 = l_Lean_Name_hasMacroScopes___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("FormatMacro");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__5;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__4;
|
||||
x_2 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__5;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__6;
|
||||
x_2 = l_Lean_Name_hasMacroScopes___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__7;
|
||||
x_2 = lean_unsigned_to_nat(3u);
|
||||
x_3 = lean_name_mk_numeral(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__7() {
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -135,17 +159,17 @@ x_1 = lean_mk_string("f!");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__8() {
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__7;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__9;
|
||||
x_2 = lean_alloc_ctor(11, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__9() {
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -155,25 +179,25 @@ lean_ctor_set(x_2, 0, x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__10() {
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__8;
|
||||
x_2 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__9;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__10;
|
||||
x_2 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__11;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__11() {
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__6;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__8;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__10;
|
||||
x_3 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__12;
|
||||
x_4 = lean_alloc_ctor(9, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -185,7 +209,7 @@ static lean_object* _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__11;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__13;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -388,7 +412,7 @@ lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38_(lean_object*
|
|||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
x_4 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__6;
|
||||
x_4 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__8;
|
||||
lean_inc(x_1);
|
||||
x_5 = l_Lean_Syntax_isOfKind(x_1, x_4);
|
||||
if (x_5 == 0)
|
||||
|
|
@ -602,6 +626,10 @@ l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__10 = _init_l_
|
|||
lean_mark_persistent(l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__10);
|
||||
l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__11 = _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__11();
|
||||
lean_mark_persistent(l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__11);
|
||||
l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__12 = _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__12();
|
||||
lean_mark_persistent(l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__12);
|
||||
l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__13 = _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__13();
|
||||
lean_mark_persistent(l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__13);
|
||||
l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3_ = _init_l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3_();
|
||||
lean_mark_persistent(l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3_);
|
||||
l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____lambda__1___closed__1 = _init_l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_38____lambda__1___closed__1();
|
||||
|
|
|
|||
73
stage0/stdlib/Lean/Elab/Binders.c
generated
73
stage0/stdlib/Lean/Elab/Binders.c
generated
|
|
@ -80,7 +80,6 @@ extern lean_object* l_Lean_identKind___closed__2;
|
|||
extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__24;
|
||||
lean_object* l_Lean_Elab_Term_expandFunBinders___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
extern lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__12;
|
||||
lean_object* l_Lean_Elab_Term_elabLetDeclAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -105,7 +104,6 @@ lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__18;
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__14;
|
||||
lean_object* l_Lean_Elab_Term_elabFun_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__6;
|
||||
lean_object* l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -132,6 +130,7 @@ lean_object* l_Lean_Meta_getLocalInstances___at_Lean_Elab_Term_elabBinders___spe
|
|||
lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__2(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*);
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -164,7 +163,6 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec
|
|||
lean_object* l_Lean_Meta_restoreSynthInstanceCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_FunBinders_elabFunBindersAux(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_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__13;
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_getMVarDecl___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -320,6 +318,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabLetBangDecl___closed__1;
|
|||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__2;
|
||||
lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_mkAppStx___closed__3;
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__4;
|
||||
lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__3;
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -17395,7 +17394,7 @@ static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expand
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("seq1");
|
||||
x_1 = lean_mk_string("intro");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -17403,7 +17402,7 @@ static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expand
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__6;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -17412,44 +17411,26 @@ return x_3;
|
|||
static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("intro");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_2 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__8;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Init_LeanInit___instance__8___closed__1;
|
||||
x_2 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__8;
|
||||
x_2 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__6;
|
||||
x_3 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__11() {
|
||||
static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__10;
|
||||
x_2 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__8;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__12() {
|
||||
static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -17457,7 +17438,7 @@ x_1 = lean_mk_string("match ");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__13() {
|
||||
static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -17465,11 +17446,11 @@ x_1 = lean_mk_string(" with ");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__14() {
|
||||
static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -17626,9 +17607,9 @@ x_75 = l_Lean_nullKind___closed__2;
|
|||
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 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__11;
|
||||
x_77 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__9;
|
||||
x_78 = lean_array_push(x_77, x_76);
|
||||
x_79 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__9;
|
||||
x_79 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__7;
|
||||
x_80 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_80, 0, x_79);
|
||||
lean_ctor_set(x_80, 1, x_78);
|
||||
|
|
@ -17640,7 +17621,7 @@ x_85 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_85, 0, x_75);
|
||||
lean_ctor_set(x_85, 1, x_84);
|
||||
x_86 = lean_array_push(x_73, x_85);
|
||||
x_87 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__7;
|
||||
x_87 = l_myMacro____x40_Init_Tactics___hyg_31____closed__4;
|
||||
x_88 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_88, 0, x_87);
|
||||
lean_ctor_set(x_88, 1, x_86);
|
||||
|
|
@ -17661,9 +17642,9 @@ x_93 = l_Lean_nullKind___closed__2;
|
|||
x_94 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_94, 0, x_93);
|
||||
lean_ctor_set(x_94, 1, x_92);
|
||||
x_95 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__11;
|
||||
x_95 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__9;
|
||||
x_96 = lean_array_push(x_95, x_94);
|
||||
x_97 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__9;
|
||||
x_97 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__7;
|
||||
x_98 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_98, 0, x_97);
|
||||
lean_ctor_set(x_98, 1, x_96);
|
||||
|
|
@ -17675,7 +17656,7 @@ x_103 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_103, 0, x_93);
|
||||
lean_ctor_set(x_103, 1, x_102);
|
||||
x_104 = lean_array_push(x_91, x_103);
|
||||
x_105 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__7;
|
||||
x_105 = l_myMacro____x40_Init_Tactics___hyg_31____closed__4;
|
||||
x_106 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_106, 0, x_105);
|
||||
lean_ctor_set(x_106, 1, x_104);
|
||||
|
|
@ -17816,9 +17797,9 @@ x_158 = l_Lean_nullKind___closed__2;
|
|||
x_159 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_159, 0, x_158);
|
||||
lean_ctor_set(x_159, 1, x_157);
|
||||
x_160 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__11;
|
||||
x_160 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__9;
|
||||
x_161 = lean_array_push(x_160, x_159);
|
||||
x_162 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__9;
|
||||
x_162 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__7;
|
||||
x_163 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_163, 0, x_162);
|
||||
lean_ctor_set(x_163, 1, x_161);
|
||||
|
|
@ -17830,7 +17811,7 @@ x_168 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_168, 0, x_158);
|
||||
lean_ctor_set(x_168, 1, x_167);
|
||||
x_169 = lean_array_push(x_156, x_168);
|
||||
x_170 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__7;
|
||||
x_170 = l_myMacro____x40_Init_Tactics___hyg_31____closed__4;
|
||||
x_171 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_171, 0, x_170);
|
||||
lean_ctor_set(x_171, 1, x_169);
|
||||
|
|
@ -17850,13 +17831,13 @@ else
|
|||
{
|
||||
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_dec(x_6);
|
||||
x_177 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__12;
|
||||
x_177 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__10;
|
||||
x_178 = l_Lean_mkAtomFrom(x_1, x_177);
|
||||
x_179 = l_Lean_nullKind;
|
||||
x_180 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_180, 0, x_179);
|
||||
lean_ctor_set(x_180, 1, x_5);
|
||||
x_181 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__13;
|
||||
x_181 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__11;
|
||||
x_182 = l_Lean_mkAtomFrom(x_1, x_181);
|
||||
x_183 = l_Lean_Elab_Term_mkExplicitBinder___closed__7;
|
||||
x_184 = lean_array_push(x_183, x_178);
|
||||
|
|
@ -17880,7 +17861,7 @@ return x_192;
|
|||
else
|
||||
{
|
||||
lean_object* x_193; lean_object* x_194; lean_object* x_195;
|
||||
x_193 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__14;
|
||||
x_193 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__12;
|
||||
x_194 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_194, 0, x_193);
|
||||
lean_ctor_set(x_194, 1, x_189);
|
||||
|
|
@ -20006,13 +19987,13 @@ else
|
|||
{
|
||||
lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122;
|
||||
lean_dec(x_5);
|
||||
x_107 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__12;
|
||||
x_107 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__10;
|
||||
x_108 = l_Lean_mkAtomFrom(x_1, x_107);
|
||||
x_109 = l_Lean_nullKind;
|
||||
x_110 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_110, 0, x_109);
|
||||
lean_ctor_set(x_110, 1, x_4);
|
||||
x_111 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__13;
|
||||
x_111 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__11;
|
||||
x_112 = l_Lean_mkAtomFrom(x_1, x_111);
|
||||
x_113 = l_Lean_Elab_Term_mkExplicitBinder___closed__7;
|
||||
x_114 = lean_array_push(x_113, x_108);
|
||||
|
|
@ -21303,10 +21284,6 @@ l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___cl
|
|||
lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__11);
|
||||
l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__12 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__12();
|
||||
lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__12);
|
||||
l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__13 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__13();
|
||||
lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__13);
|
||||
l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__14 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__14();
|
||||
lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__14);
|
||||
l___regBuiltin_Lean_Elab_Term_elabFun___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabFun___closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabFun___closed__1);
|
||||
res = l___regBuiltin_Lean_Elab_Term_elabFun(lean_io_mk_world());
|
||||
|
|
|
|||
98
stage0/stdlib/Lean/Elab/BuiltinNotation.c
generated
98
stage0/stdlib/Lean/Elab/BuiltinNotation.c
generated
|
|
@ -86,6 +86,7 @@ extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_
|
|||
lean_object* l_Lean_Elab_Term_elabSubst_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandMul(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_186____closed__2;
|
||||
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__13;
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__31;
|
||||
|
|
@ -119,7 +120,6 @@ lean_object* l_Lean_Elab_Term_expandPow___closed__1;
|
|||
extern lean_object* l_Lean_Expr_isSyntheticSorry_match__1___rarg___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__11;
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkNativeReflAuxDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandSorry___closed__3;
|
||||
lean_object* l_Lean_Elab_Term_expandModN___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandPow___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandOrM___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -288,7 +288,6 @@ lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParser
|
|||
lean_object* l___regBuiltin_Lean_Elab_Term_expandHave(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandAnd___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic(lean_object*);
|
||||
extern lean_object* l_Lean_Meta_mkDecide___rarg___closed__2;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandGT___closed__3;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandLE(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandBEq___closed__1;
|
||||
|
|
@ -366,6 +365,7 @@ lean_object* l_Lean_Elab_Term_expandDiv___boxed(lean_object*, lean_object*, lean
|
|||
lean_object* l_Lean_Elab_Term_expandSub___boxed(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Expr_heq_x3f___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_expandBEq___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__15;
|
||||
lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeDecide___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -499,6 +499,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_expandUMinus(lean_object*);
|
|||
lean_object* l_Lean_Elab_Term_expandBNe___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandOrM(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabNativeRefl___lambda__1___closed__9;
|
||||
lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__16;
|
||||
lean_object* l_Lean_Meta_mkArrow___at_Lean_Elab_Term_elabStateRefT___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Literal_type___closed__2;
|
||||
extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__19;
|
||||
|
|
@ -517,7 +518,6 @@ extern lean_object* l_Lean_Meta_evalNat___closed__14;
|
|||
lean_object* l_Lean_Elab_Term_elabNativeRefl___lambda__1___closed__8;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandBOr___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandAnd___closed__3;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_elabDecide___closed__2;
|
||||
uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabStateRefT___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic___closed__2;
|
||||
|
|
@ -643,6 +643,7 @@ lean_object* l_Lean_Elab_Term_elabSubst_match__3___rarg(lean_object*, lean_objec
|
|||
lean_object* l___regBuiltin_Lean_Elab_Term_expandSeqRight___closed__2;
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__28;
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__14;
|
||||
extern lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__2;
|
||||
extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__11;
|
||||
lean_object* l_Lean_Elab_Term_expandSorry___boxed(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_getSepArgs___spec__1(lean_object*, size_t, size_t, lean_object*);
|
||||
|
|
@ -679,6 +680,7 @@ lean_object* l_Lean_Elab_Term_expandNot(lean_object*, lean_object*, lean_object*
|
|||
lean_object* l_Lean_Elab_Term_expandBind(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Init_LeanInit___instance__8___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_expandAssert___closed__14;
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__2;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandIff___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_expandIf___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_expandOr___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -714,7 +716,6 @@ lean_object* l_Lean_Syntax_getPos(lean_object*);
|
|||
lean_object* l_Lean_Elab_Term_expandSeqLeft___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__12;
|
||||
lean_object* l_Lean_Elab_Term_expandSorry___rarg___closed__8;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandSorry___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_elabNativeDecide___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__10;
|
||||
lean_object* l_Lean_Elab_Term_expandNe___closed__2;
|
||||
|
|
@ -775,6 +776,7 @@ lean_object* l_Lean_Elab_Term_expandShow___closed__4;
|
|||
lean_object* l_Lean_Elab_Term_elabSubst___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandOrElse___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_expandUnreachable___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__6;
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandUMinus___closed__3;
|
||||
lean_object* l_Lean_Elab_Term_expandSubtype___closed__12;
|
||||
|
|
@ -823,6 +825,7 @@ lean_object* l_Lean_Elab_Term_mkPairs_loop(lean_object*, lean_object*, lean_obje
|
|||
lean_object* l_Lean_Elab_Term_expandUnreachable___rarg___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandNot___closed__3;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__8;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic___closed__3;
|
||||
lean_object* l_Lean_Elab_Term_expandSuffices(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabArrow___spec__1___rarg(lean_object*);
|
||||
|
|
@ -832,7 +835,6 @@ lean_object* l_Lean_Elab_Term_expandSorry___rarg___closed__1;
|
|||
extern lean_object* l_Lean_mkOptionalNode___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_expandAssert___closed__3;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable(lean_object*);
|
||||
extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__9;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandGT___closed__2;
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__4;
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -8187,7 +8189,7 @@ x_10 = lean_box(0);
|
|||
x_11 = l_Lean_mkAppStx___closed__9;
|
||||
x_12 = lean_array_push(x_11, x_9);
|
||||
x_13 = lean_array_push(x_12, x_10);
|
||||
x_14 = l_Lean_Meta_mkDecide___rarg___closed__2;
|
||||
x_14 = l_Lean_Meta_mkDecide___rarg___closed__1;
|
||||
x_15 = l_Lean_Meta_mkAppOptM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__2(x_14, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_15;
|
||||
}
|
||||
|
|
@ -8711,16 +8713,6 @@ return x_2;
|
|||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabDecide___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_mkAppStx___closed__6;
|
||||
x_2 = l_Lean_Meta_mkDecide___rarg___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabDecide___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabDecide___boxed), 1, 0);
|
||||
return x_1;
|
||||
|
|
@ -8731,8 +8723,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_elabDecide___closed__1;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_elabDecide___closed__2;
|
||||
x_3 = l_myMacro____x40_Init_Tactics___hyg_186____closed__2;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_elabDecide___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -12615,8 +12607,8 @@ static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__9() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__9;
|
||||
x_2 = l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__10;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__2;
|
||||
x_2 = l___kind_tactic____x40_Init_Tactics___hyg_2____closed__6;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -12626,7 +12618,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_expandDbgTrace___closed__9;
|
||||
x_2 = l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__12;
|
||||
x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__8;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -12636,7 +12628,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_expandDbgTrace___closed__10;
|
||||
x_2 = l_Lean_Name_hasMacroScopes___closed__1;
|
||||
x_2 = l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__10;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -12646,12 +12638,32 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_expandDbgTrace___closed__11;
|
||||
x_2 = l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__12;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_expandDbgTrace___closed__12;
|
||||
x_2 = l_Lean_Name_hasMacroScopes___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_expandDbgTrace___closed__13;
|
||||
x_2 = lean_unsigned_to_nat(2u);
|
||||
x_3 = lean_name_mk_numeral(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__13() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -12663,12 +12675,12 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__14() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_expandDbgTrace___closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l_Lean_Elab_Term_expandDbgTrace___closed__13;
|
||||
x_2 = l_Lean_Elab_Term_expandDbgTrace___closed__15;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -12788,9 +12800,9 @@ lean_ctor_set(x_64, 2, x_60);
|
|||
lean_ctor_set(x_64, 3, x_63);
|
||||
x_65 = l_Array_empty___closed__1;
|
||||
x_66 = lean_array_push(x_65, x_64);
|
||||
x_67 = l_Lean_Elab_Term_expandDbgTrace___closed__14;
|
||||
x_67 = l_Lean_Elab_Term_expandDbgTrace___closed__16;
|
||||
x_68 = lean_array_push(x_67, x_5);
|
||||
x_69 = l_Lean_Elab_Term_expandDbgTrace___closed__12;
|
||||
x_69 = l_Lean_Elab_Term_expandDbgTrace___closed__14;
|
||||
x_70 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_70, 0, x_69);
|
||||
lean_ctor_set(x_70, 1, x_68);
|
||||
|
|
@ -13050,24 +13062,6 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandSorry___closed__1(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("sorry");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandSorry___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_mkAppStx___closed__6;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Term_expandSorry___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandSorry___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandSorry___boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
|
|
@ -13077,8 +13071,8 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Elab_macroAttribute;
|
||||
x_3 = l___regBuiltin_Lean_Elab_Term_expandSorry___closed__2;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_expandSorry___closed__3;
|
||||
x_3 = l_myMacro____x40_Init_Tactics___hyg_338____closed__2;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_expandSorry___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -17497,8 +17491,6 @@ l_Lean_Elab_Term_elabDecide___rarg___closed__2 = _init_l_Lean_Elab_Term_elabDeci
|
|||
lean_mark_persistent(l_Lean_Elab_Term_elabDecide___rarg___closed__2);
|
||||
l___regBuiltin_Lean_Elab_Term_elabDecide___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabDecide___closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabDecide___closed__1);
|
||||
l___regBuiltin_Lean_Elab_Term_elabDecide___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_elabDecide___closed__2();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabDecide___closed__2);
|
||||
res = l___regBuiltin_Lean_Elab_Term_elabDecide(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
@ -18088,6 +18080,10 @@ l_Lean_Elab_Term_expandDbgTrace___closed__13 = _init_l_Lean_Elab_Term_expandDbgT
|
|||
lean_mark_persistent(l_Lean_Elab_Term_expandDbgTrace___closed__13);
|
||||
l_Lean_Elab_Term_expandDbgTrace___closed__14 = _init_l_Lean_Elab_Term_expandDbgTrace___closed__14();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_expandDbgTrace___closed__14);
|
||||
l_Lean_Elab_Term_expandDbgTrace___closed__15 = _init_l_Lean_Elab_Term_expandDbgTrace___closed__15();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_expandDbgTrace___closed__15);
|
||||
l_Lean_Elab_Term_expandDbgTrace___closed__16 = _init_l_Lean_Elab_Term_expandDbgTrace___closed__16();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_expandDbgTrace___closed__16);
|
||||
l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__1);
|
||||
l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__2();
|
||||
|
|
@ -18115,10 +18111,6 @@ l_Lean_Elab_Term_expandSorry___rarg___closed__9 = _init_l_Lean_Elab_Term_expandS
|
|||
lean_mark_persistent(l_Lean_Elab_Term_expandSorry___rarg___closed__9);
|
||||
l___regBuiltin_Lean_Elab_Term_expandSorry___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_expandSorry___closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_expandSorry___closed__1);
|
||||
l___regBuiltin_Lean_Elab_Term_expandSorry___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_expandSorry___closed__2();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_expandSorry___closed__2);
|
||||
l___regBuiltin_Lean_Elab_Term_expandSorry___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_expandSorry___closed__3();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_expandSorry___closed__3);
|
||||
res = l___regBuiltin_Lean_Elab_Term_expandSorry(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Do.c
generated
4
stage0/stdlib/Lean/Elab/Do.c
generated
|
|
@ -37,6 +37,7 @@ lean_object* l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update_match__1(lean_objec
|
|||
lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__26;
|
||||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed__const__1;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTermCore___closed__4;
|
||||
extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__10;
|
||||
size_t l_USize_add(size_t, size_t);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_inferType___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -908,7 +909,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment_
|
|||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___closed__5;
|
||||
extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__12;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Elab_Term_Do_ToCodeBlock_Context_insideFor___default;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__30;
|
||||
|
|
@ -2847,7 +2847,7 @@ static lean_object* _init_l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___clo
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__12;
|
||||
x_1 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__10;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Import.c
generated
4
stage0/stdlib/Lean/Elab/Import.c
generated
|
|
@ -46,10 +46,10 @@ uint8_t l_Lean_Syntax_isNone(lean_object*);
|
|||
lean_object* l_List_map___at_Lean_Elab_headerToImports___spec__1(lean_object*);
|
||||
lean_object* l_Array_toList___rarg(lean_object*);
|
||||
lean_object* l_Lean_Elab_parseImports(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__6;
|
||||
lean_object* l_IO_println___at_Lean_Environment_displayStats___spec__3(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_parseImportsExport_match__1___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__6;
|
||||
lean_object* l_Lean_Elab_parseImportsExport_match__1(lean_object*);
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_printDeps___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_map___at_Lean_Elab_headerToImports___spec__1(lean_object* x_1) {
|
||||
|
|
@ -154,7 +154,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__6;
|
||||
x_2 = l___kind_tactic____x40_Init_Tactics___hyg_2____closed__6;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
26
stage0/stdlib/Lean/Elab/Quotation.c
generated
26
stage0/stdlib/Lean/Elab/Quotation.c
generated
|
|
@ -132,16 +132,15 @@ lean_object* l_Lean_Elab_Term_Quotation_antiquotKind_x3f___closed__1;
|
|||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__6;
|
||||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_elabStxQuot(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_mkAppStx___closed__4;
|
||||
lean_object* l_Lean_mkAtom(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss_match__1(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__13;
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_List_join___rarg(lean_object*);
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__3;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__9;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__3;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -282,7 +281,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compile
|
|||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__49;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__4___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__3;
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__4(lean_object*);
|
||||
|
|
@ -4549,23 +4547,13 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_mkAppStx___closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Syntax_isQuot_match__1___rarg___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__3() {
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -4578,8 +4566,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_Quotation_elabTacticQuot___closed__2;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__3;
|
||||
x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__2;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -4605,7 +4593,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -13195,8 +13183,6 @@ l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1 = _init_l___r
|
|||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__2();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__2);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__3();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__3);
|
||||
res = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
5844
stage0/stdlib/Lean/Elab/Syntax.c
generated
5844
stage0/stdlib/Lean/Elab/Syntax.c
generated
File diff suppressed because it is too large
Load diff
74
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
74
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
|
|
@ -96,7 +96,6 @@ lean_object* l_Lean_mkMVar(lean_object*);
|
|||
lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f(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___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__4;
|
||||
uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_forEachVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -118,8 +117,8 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase___closed__1;
|
|||
lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_saveAllState(lean_object*);
|
||||
extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__14;
|
||||
lean_object* l_Lean_Meta_subst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__1;
|
||||
lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14;
|
||||
lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux_match__2___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -159,6 +158,7 @@ extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_834____closed
|
|||
lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Elab_Tactic_evalTactic___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_throwTacticEx___rarg___closed__2;
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_done___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
|
|
@ -333,7 +333,6 @@ extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__3;
|
|||
lean_object* l_Lean_Elab_Tactic_evalTactic_match__3(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_Lean_Elab_Tactic_Basic___instance__4___closed__1;
|
||||
lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Tactic_evalTactic___spec__9(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOrelse___closed__1;
|
||||
|
|
@ -371,6 +370,7 @@ lean_object* l_Lean_Meta_instantiateMVars___at_Lean_Elab_Tactic_ensureHasNoMVars
|
|||
lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalIntros___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__4;
|
||||
lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_appendGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_saveBacktrackableState(lean_object*);
|
||||
|
|
@ -402,7 +402,6 @@ lean_object* l_Lean_Elab_Tactic_liftTermElabM___rarg___boxed(lean_object*, lean_
|
|||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus(lean_object*);
|
||||
lean_object* lean_environment_main_module(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1;
|
||||
extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__11;
|
||||
lean_object* l_Lean_Elab_Tactic_evalSubst___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_evalRevert___closed__1;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
|
|
@ -469,6 +468,7 @@ lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSiz
|
|||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Elab_Tactic_evalTactic___spec__5(lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__12;
|
||||
lean_object* l_Lean_Elab_Tactic_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -558,6 +558,7 @@ lean_object* l_Lean_indentExpr(lean_object*);
|
|||
lean_object* l_Lean_Elab_Tactic_getMainModule___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_getFVarId___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__2(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___kind_tactic____x40_Init_Tactics___hyg_2____closed__3;
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_setMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase(lean_object*);
|
||||
|
|
@ -583,7 +584,6 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__3;
|
|||
lean_object* l_Lean_Elab_Tactic_TacticM_run_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_evalTactic___spec__8(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_expandTacticMacro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___rarg(lean_object*);
|
||||
|
|
@ -1683,7 +1683,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_mkMacroAttributeUnsafe___closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Tactics___hyg_31____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -1729,7 +1729,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__2;
|
||||
x_2 = l___kind_tactic____x40_Init_Tactics___hyg_2____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -1739,7 +1739,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Tactics___hyg_31____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -1751,9 +1751,9 @@ lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_obj
|
|||
x_2 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__3;
|
||||
x_3 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5;
|
||||
x_4 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__6;
|
||||
x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_5 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_6 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__7;
|
||||
x_7 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__2;
|
||||
x_7 = l___kind_tactic____x40_Init_Tactics___hyg_2____closed__3;
|
||||
x_8 = l_Lean_Elab_mkElabAttribute___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_1);
|
||||
return x_8;
|
||||
}
|
||||
|
|
@ -7118,7 +7118,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__2()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -8147,7 +8147,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
x_3 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__7;
|
||||
x_3 = l_myMacro____x40_Init_Tactics___hyg_31____closed__4;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
|
|
@ -8177,7 +8177,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__1(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -8388,7 +8388,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -8611,7 +8611,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -8669,7 +8669,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__2(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -8725,7 +8725,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -9067,7 +9067,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__2()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -9226,7 +9226,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___cl
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -9312,7 +9312,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState___close
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -9500,7 +9500,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption___close
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Meta_assumptionAux___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -9914,7 +9914,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__6() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Elab_Term_expandFunBinders_loop___closed__17;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -9924,7 +9924,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_evalIntro___closed__7() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Meta_clear___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -9956,7 +9956,7 @@ lean_object* l_Lean_Elab_Tactic_evalIntro(lean_object* x_1, lean_object* x_2, le
|
|||
_start:
|
||||
{
|
||||
lean_object* x_11; uint8_t x_12;
|
||||
x_11 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__9;
|
||||
x_11 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__7;
|
||||
lean_inc(x_1);
|
||||
x_12 = l_Lean_Syntax_isOfKind(x_1, x_11);
|
||||
if (x_12 == 0)
|
||||
|
|
@ -10120,7 +10120,7 @@ x_34 = l_Lean_nullKind___closed__2;
|
|||
x_35 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_34);
|
||||
lean_ctor_set(x_35, 1, x_33);
|
||||
x_36 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__11;
|
||||
x_36 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__9;
|
||||
x_37 = lean_array_push(x_36, x_35);
|
||||
x_38 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_38, 0, x_11);
|
||||
|
|
@ -10142,7 +10142,7 @@ x_47 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_47, 0, x_34);
|
||||
lean_ctor_set(x_47, 1, x_46);
|
||||
x_48 = lean_array_push(x_32, x_47);
|
||||
x_49 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__7;
|
||||
x_49 = l_myMacro____x40_Init_Tactics___hyg_31____closed__4;
|
||||
x_50 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_50, 0, x_49);
|
||||
lean_ctor_set(x_50, 1, x_48);
|
||||
|
|
@ -10314,7 +10314,7 @@ x_97 = lean_array_push(x_96, x_95);
|
|||
x_98 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_98, 0, x_72);
|
||||
lean_ctor_set(x_98, 1, x_97);
|
||||
x_99 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__11;
|
||||
x_99 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__9;
|
||||
lean_inc(x_98);
|
||||
x_100 = lean_array_push(x_99, x_98);
|
||||
x_101 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -10362,7 +10362,7 @@ x_130 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_130, 0, x_72);
|
||||
lean_ctor_set(x_130, 1, x_129);
|
||||
x_131 = lean_array_push(x_116, x_130);
|
||||
x_132 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__14;
|
||||
x_132 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__12;
|
||||
x_133 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_133, 0, x_132);
|
||||
lean_ctor_set(x_133, 1, x_131);
|
||||
|
|
@ -10379,7 +10379,7 @@ x_141 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_141, 0, x_72);
|
||||
lean_ctor_set(x_141, 1, x_140);
|
||||
x_142 = lean_array_push(x_96, x_141);
|
||||
x_143 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__7;
|
||||
x_143 = l_myMacro____x40_Init_Tactics___hyg_31____closed__4;
|
||||
x_144 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_144, 0, x_143);
|
||||
lean_ctor_set(x_144, 1, x_142);
|
||||
|
|
@ -10483,7 +10483,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
x_3 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__9;
|
||||
x_3 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__7;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
|
|
@ -10661,7 +10661,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___close
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -11174,7 +11174,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_evalIntros___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Elab_Tactic_evalIntros___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -11812,7 +11812,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_evalRevert___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Meta_revert___lambda__2___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -13547,7 +13547,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_evalSubst___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Meta_substCore___lambda__13___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -14154,7 +14154,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_evalCase___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Elab_Tactic_evalCase___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -14558,7 +14558,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_evalOrelse___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Elab_Tactic_evalOrelse___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -14677,7 +14677,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_834____closed__1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__2;
|
||||
x_2 = l___kind_tactic____x40_Init_Tactics___hyg_2____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
20
stage0/stdlib/Lean/Elab/Tactic/Binders.c
generated
20
stage0/stdlib/Lean/Elab/Tactic/Binders.c
generated
|
|
@ -23,12 +23,12 @@ lean_object* l_Array_append___rarg(lean_object*, lean_object*);
|
|||
lean_object* l___regBuiltin_Lean_Elab_Tactic_expandSufficesTactic___closed__3;
|
||||
extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__1;
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
extern lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_expandSufficesTactic___closed__2;
|
||||
lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax___closed__9;
|
||||
lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax___closed__4;
|
||||
lean_object* l_Lean_Elab_Tactic_expandLetTactic___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_expandSufficesTactic___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__1;
|
||||
extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__14;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic(lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
|
|
@ -39,6 +39,7 @@ lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBi
|
|||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__6;
|
||||
lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax___closed__1;
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_expandLetBangTactic___closed__1;
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_299____closed__5;
|
||||
lean_object* l_Lean_Elab_Tactic_expandLetBangTactic(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -57,7 +58,6 @@ lean_object* l_Lean_Elab_Tactic_expandShowTactic___closed__8;
|
|||
extern lean_object* l_Lean_Parser_Error_toString___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_expandHaveTactic___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_expandShowTactic(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_expandShowTactic___closed__11;
|
||||
lean_object* l_Lean_Elab_Tactic_expandSufficesTactic(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax_match__1(lean_object*);
|
||||
|
|
@ -113,7 +113,7 @@ x_8 = lean_ctor_get(x_4, 1);
|
|||
lean_inc(x_8);
|
||||
x_9 = lean_ctor_get_usize(x_4, 2);
|
||||
lean_dec(x_4);
|
||||
x_10 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
x_10 = l_myMacro____x40_Init_Tactics___hyg_31____closed__1;
|
||||
x_11 = lean_string_dec_eq(x_8, x_10);
|
||||
lean_dec(x_8);
|
||||
if (x_11 == 0)
|
||||
|
|
@ -226,7 +226,7 @@ static lean_object* _init_l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tact
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax___closed__6;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -276,7 +276,7 @@ lean_inc(x_7);
|
|||
x_8 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_5);
|
||||
x_9 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
x_9 = l_myMacro____x40_Init_Tactics___hyg_31____closed__1;
|
||||
x_10 = lean_string_dec_eq(x_8, x_9);
|
||||
lean_dec(x_8);
|
||||
if (x_10 == 0)
|
||||
|
|
@ -377,7 +377,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___clo
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Tactic_expandHaveTactic___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -423,7 +423,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_expandLetTactic___clos
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Array_myMacro____x40_Init_Data_Array_Macros___hyg_464____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -469,7 +469,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_expandLetBangTactic___
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Elab_Term_elabLetDeclCore___closed__9;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -523,7 +523,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_expandSufficesTactic__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Tactic_expandSufficesTactic___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -714,7 +714,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_expandShowTactic___clo
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Elab_Tactic_expandShowTactic___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
235
stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c
generated
235
stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c
generated
|
|
@ -15,7 +15,6 @@ extern "C" {
|
|||
#endif
|
||||
lean_object* l_Lean_Meta_assert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabAsFVar___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_expandAdmit___rarg___closed__4;
|
||||
size_t l_USize_add(size_t, size_t);
|
||||
lean_object* l_Lean_Elab_Tactic_refineCore_match__2___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_getMainTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -23,45 +22,37 @@ extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2;
|
|||
uint8_t l_USize_decEq(size_t, size_t);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact(lean_object*);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
lean_object* l_Lean_Elab_Tactic_expandAdmit___rarg___closed__9;
|
||||
uint8_t l_Lean_MetavarKind_isNatural(uint8_t);
|
||||
lean_object* l_Lean_Elab_Tactic_expandAdmit___rarg___closed__8;
|
||||
lean_object* l_Lean_Elab_Tactic_evalExact_match__1(lean_object*);
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
extern lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
lean_object* l_List_append___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_expandAdmit___rarg___closed__6;
|
||||
lean_object* l_Lean_Meta_getMVarsNoDelayed___at_Lean_Elab_Tactic_elabTermWithHoles___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_expandAdmit___rarg(lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_expandAdmit___rarg___closed__3;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_elabTermWithHoles___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*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabAsFVar_match__3(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabAsFVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalApply(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_expandAdmit___rarg___closed__5;
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_995____spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_evalRefine(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_refineCore_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getMVarDecl___at_Lean_Elab_Tactic_getMainTag___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_apply(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__6;
|
||||
lean_object* l_Lean_Elab_Tactic_elabTerm___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabTermWithHoles(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalExact___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_elabAsFVar_match__4___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getMVarsNoDelayed___at_Lean_Elab_Tactic_elabTermWithHoles___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_assignExprMVar___at_Lean_Elab_Tactic_evalExact___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_assignExprMVar___at_Lean_Elab_Tactic_evalExact___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalExact___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_evalApply___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_Lean_Elab_Tactic_expandAdmit___rarg___closed__1;
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabAsFVar_match__4(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -70,12 +61,7 @@ lean_object* l_Lean_MetavarContext_assignExpr(lean_object*, lean_object*, lean_o
|
|||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_elabTermWithHoles___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalRefine___closed__3;
|
||||
lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_expandAdmit___rarg___closed__2;
|
||||
extern lean_object* l_Lean_mkAppStx___closed__6;
|
||||
lean_object* l_Lean_Elab_Tactic_evalApply_match__1(lean_object*);
|
||||
extern lean_object* l_Lean_Meta_admit___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_expandAdmit___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_expandAdmit___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabAsFVar_match__1(lean_object*);
|
||||
extern lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_throwApplyError___rarg___closed__1;
|
||||
lean_object* l_Lean_Meta_getMVarsNoDelayedImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -84,7 +70,6 @@ lean_object* l_Lean_Elab_Tactic_evalApply___lambda__1___boxed(lean_object*, lean
|
|||
extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
lean_object* l_Lean_Elab_Tactic_evalRefineBang___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_evalExact___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___regBuiltin_Lean_Elab_Tactic_expandAdmit(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabAsFVar_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalExact___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*);
|
||||
|
|
@ -95,7 +80,6 @@ lean_object* l_Lean_Elab_Tactic_elabTerm___lambda__1(uint8_t, lean_object*, lean
|
|||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_evalExact_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalRefine___closed__2;
|
||||
extern lean_object* l_Lean_Elab_macroAttribute;
|
||||
lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Tactic_elabAsFVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_refineCore_match__1(lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
|
|
@ -103,9 +87,7 @@ lean_object* l_Lean_Elab_Tactic_elabAsFVar_match__2(lean_object*);
|
|||
extern lean_object* l_Lean_Elab_Tactic_evalIntro___closed__4;
|
||||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_expandAdmit___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_refineCore_match__2(lean_object*);
|
||||
extern lean_object* l_Lean_Init_LeanInit___instance__8___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_setGoals(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_elabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_reorderNonDependentFirst___closed__1;
|
||||
|
|
@ -120,7 +102,6 @@ lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars(lean_object*, lean_object*, lea
|
|||
lean_object* l_Lean_Elab_Tactic_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefineBang(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalApply(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_expandAdmit(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_refineCore___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_toList___rarg(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_ensureHasType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -139,7 +120,6 @@ lean_object* l_Lean_Elab_Tactic_refineCore___boxed(lean_object*, lean_object*, l
|
|||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_elabTermWithHoles___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabTermWithHoles___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_expandAdmit___rarg___closed__7;
|
||||
lean_object* l_Lean_Elab_Tactic_evalRefineBang___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_refineCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalExact(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -552,29 +532,11 @@ return x_29;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_evalExact___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("exact");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_evalExact___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_2 = l_Lean_Elab_Tactic_evalExact___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_evalExact(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_11; uint8_t x_12;
|
||||
x_11 = l_Lean_Elab_Tactic_evalExact___closed__2;
|
||||
x_11 = l_myMacro____x40_Init_Tactics___hyg_31____closed__6;
|
||||
lean_inc(x_1);
|
||||
x_12 = l_Lean_Syntax_isOfKind(x_1, x_11);
|
||||
if (x_12 == 0)
|
||||
|
|
@ -779,166 +741,12 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
x_3 = l_Lean_Elab_Tactic_evalExact___closed__2;
|
||||
x_3 = l_myMacro____x40_Init_Tactics___hyg_31____closed__6;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Tactic_evalExact___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Init_LeanInit___instance__8___closed__1;
|
||||
x_2 = l_Lean_Elab_Tactic_evalExact___closed__1;
|
||||
x_3 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l_Lean_Elab_Tactic_expandAdmit___rarg___closed__1;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("sorry");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_mkAppStx___closed__6;
|
||||
x_2 = l_Lean_Elab_Tactic_expandAdmit___rarg___closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Init_LeanInit___instance__8___closed__1;
|
||||
x_2 = l_Lean_Elab_Tactic_expandAdmit___rarg___closed__3;
|
||||
x_3 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Array_empty___closed__1;
|
||||
x_2 = l_Lean_Elab_Tactic_expandAdmit___rarg___closed__5;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_expandAdmit___rarg___closed__4;
|
||||
x_2 = l_Lean_Elab_Tactic_expandAdmit___rarg___closed__6;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_expandAdmit___rarg___closed__2;
|
||||
x_2 = l_Lean_Elab_Tactic_expandAdmit___rarg___closed__7;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_evalExact___closed__2;
|
||||
x_2 = l_Lean_Elab_Tactic_expandAdmit___rarg___closed__8;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_expandAdmit___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Elab_Tactic_expandAdmit___rarg___closed__9;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_expandAdmit(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_expandAdmit___rarg), 1, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_expandAdmit___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Elab_Tactic_expandAdmit(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_expandAdmit___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_2 = l_Lean_Meta_admit___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_expandAdmit___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_expandAdmit___boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_expandAdmit(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Elab_macroAttribute;
|
||||
x_3 = l___regBuiltin_Lean_Elab_Tactic_expandAdmit___closed__1;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Tactic_expandAdmit___closed__2;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Meta_getMVarsNoDelayed___at_Lean_Elab_Tactic_elabTermWithHoles___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1869,7 +1677,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_evalRefine___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Elab_Tactic_evalRefine___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -1976,7 +1784,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_evalRefineBang___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Elab_Tactic_evalRefineBang___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -2231,7 +2039,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_evalApply___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_throwApplyError___rarg___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -3037,40 +2845,11 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Elab_SyntheticMVars(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Elab_Tactic_evalExact___closed__1 = _init_l_Lean_Elab_Tactic_evalExact___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_evalExact___closed__1);
|
||||
l_Lean_Elab_Tactic_evalExact___closed__2 = _init_l_Lean_Elab_Tactic_evalExact___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_evalExact___closed__2);
|
||||
l___regBuiltin_Lean_Elab_Tactic_evalExact___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalExact___closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalExact___closed__1);
|
||||
res = l___regBuiltin_Lean_Elab_Tactic_evalExact(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Elab_Tactic_expandAdmit___rarg___closed__1 = _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_expandAdmit___rarg___closed__1);
|
||||
l_Lean_Elab_Tactic_expandAdmit___rarg___closed__2 = _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_expandAdmit___rarg___closed__2);
|
||||
l_Lean_Elab_Tactic_expandAdmit___rarg___closed__3 = _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_expandAdmit___rarg___closed__3);
|
||||
l_Lean_Elab_Tactic_expandAdmit___rarg___closed__4 = _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_expandAdmit___rarg___closed__4);
|
||||
l_Lean_Elab_Tactic_expandAdmit___rarg___closed__5 = _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_expandAdmit___rarg___closed__5);
|
||||
l_Lean_Elab_Tactic_expandAdmit___rarg___closed__6 = _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__6();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_expandAdmit___rarg___closed__6);
|
||||
l_Lean_Elab_Tactic_expandAdmit___rarg___closed__7 = _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__7();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_expandAdmit___rarg___closed__7);
|
||||
l_Lean_Elab_Tactic_expandAdmit___rarg___closed__8 = _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__8();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_expandAdmit___rarg___closed__8);
|
||||
l_Lean_Elab_Tactic_expandAdmit___rarg___closed__9 = _init_l_Lean_Elab_Tactic_expandAdmit___rarg___closed__9();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_expandAdmit___rarg___closed__9);
|
||||
l___regBuiltin_Lean_Elab_Tactic_expandAdmit___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_expandAdmit___closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_expandAdmit___closed__1);
|
||||
l___regBuiltin_Lean_Elab_Tactic_expandAdmit___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_expandAdmit___closed__2();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_expandAdmit___closed__2);
|
||||
res = l___regBuiltin_Lean_Elab_Tactic_expandAdmit(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Elab_Tactic_evalRefine___closed__1 = _init_l_Lean_Elab_Tactic_evalRefine___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_evalRefine___closed__1);
|
||||
l_Lean_Elab_Tactic_evalRefine___closed__2 = _init_l_Lean_Elab_Tactic_evalRefine___closed__2();
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Tactic/Generalize.c
generated
4
stage0/stdlib/Lean/Elab/Tactic/Generalize.c
generated
|
|
@ -25,12 +25,12 @@ lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGen
|
|||
lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeWithEq___lambda__1___closed__3;
|
||||
lean_object* l_Lean_Elab_Tactic_evalGeneralizeAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
lean_object* l_Lean_Meta_getMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqReflImp___closed__2;
|
||||
lean_object* lean_expr_lift_loose_bvars(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_getVarName___boxed(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFallback___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Generalize_0__Lean_Elab_Tactic_evalGeneralizeFinalize_match__1___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -1589,7 +1589,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalGeneralize___close
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Meta_generalize___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/Tactic/Induction.c
generated
6
stage0/stdlib/Lean/Elab/Tactic/Induction.c
generated
|
|
@ -56,7 +56,6 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAlts_
|
|||
lean_object* l_Lean_Elab_Tactic_done(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecFromUsingLoop_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
extern lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
lean_object* lean_environment_find(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeMajor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*);
|
||||
|
|
@ -94,6 +93,7 @@ lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecIn
|
|||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecInfoDefault_match__2(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkCasesResult_loop___closed__4;
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_evalInduction_match__1___rarg(lean_object*, lean_object*);
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecInfoDefault_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -8612,7 +8612,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalInduction___closed
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -9344,7 +9344,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCases___closed__1(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_unifyEqsAux___lambda__1___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Tactic/Injection.c
generated
4
stage0/stdlib/Lean/Elab/Tactic/Injection.c
generated
|
|
@ -15,13 +15,13 @@ extern "C" {
|
|||
#endif
|
||||
extern lean_object* l_Lean_Meta_injectionCore___closed__1;
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
extern lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
lean_object* l_ReaderT_lift___rarg___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___closed__1;
|
||||
lean_object* l_Lean_MessageData_ofList(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds___closed__2;
|
||||
lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_getInjectionNewIds(lean_object*);
|
||||
lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -806,7 +806,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalInjection___closed
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Meta_injectionCore___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
38
stage0/stdlib/Lean/Elab/Tactic/Location.c
generated
38
stage0/stdlib/Lean/Elab/Tactic/Location.c
generated
|
|
@ -20,10 +20,9 @@ lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
|||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_expandLocation___boxed(lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
extern lean_object* l_Lean_mkAppStx___closed__4;
|
||||
lean_object* l_Lean_Elab_Tactic_expandLocation___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
lean_object* l_Lean_Elab_Tactic_expandLocation___closed__6;
|
||||
lean_object* l_Lean_Elab_Tactic_expandLocation___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_expandOptLocation(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_expandLocation(lean_object*);
|
||||
|
|
@ -35,7 +34,6 @@ size_t lean_usize_of_nat(lean_object*);
|
|||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_expandLocation___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_expandLocation___closed__5;
|
||||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -74,7 +72,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_expandLocation___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("Tactic");
|
||||
x_1 = lean_mk_string("locationWildcard");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -82,7 +80,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_expandLocation___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_mkAppStx___closed__4;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Elab_Tactic_expandLocation___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -92,7 +90,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_expandLocation___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("locationWildcard");
|
||||
x_1 = lean_mk_string("locationTarget");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -100,30 +98,12 @@ static lean_object* _init_l_Lean_Elab_Tactic_expandLocation___closed__4() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_expandLocation___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Elab_Tactic_expandLocation___closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_expandLocation___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("locationTarget");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_expandLocation___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_expandLocation___closed__2;
|
||||
x_2 = l_Lean_Elab_Tactic_expandLocation___closed__5;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_expandLocation(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -132,12 +112,12 @@ x_2 = lean_unsigned_to_nat(1u);
|
|||
x_3 = l_Lean_Syntax_getArg(x_1, x_2);
|
||||
lean_inc(x_3);
|
||||
x_4 = l_Lean_Syntax_getKind(x_3);
|
||||
x_5 = l_Lean_Elab_Tactic_expandLocation___closed__4;
|
||||
x_5 = l_Lean_Elab_Tactic_expandLocation___closed__2;
|
||||
x_6 = lean_name_eq(x_4, x_5);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
lean_object* x_7; uint8_t x_8;
|
||||
x_7 = l_Lean_Elab_Tactic_expandLocation___closed__6;
|
||||
x_7 = l_Lean_Elab_Tactic_expandLocation___closed__4;
|
||||
x_8 = lean_name_eq(x_4, x_7);
|
||||
lean_dec(x_4);
|
||||
if (x_8 == 0)
|
||||
|
|
@ -246,10 +226,6 @@ l_Lean_Elab_Tactic_expandLocation___closed__3 = _init_l_Lean_Elab_Tactic_expandL
|
|||
lean_mark_persistent(l_Lean_Elab_Tactic_expandLocation___closed__3);
|
||||
l_Lean_Elab_Tactic_expandLocation___closed__4 = _init_l_Lean_Elab_Tactic_expandLocation___closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_expandLocation___closed__4);
|
||||
l_Lean_Elab_Tactic_expandLocation___closed__5 = _init_l_Lean_Elab_Tactic_expandLocation___closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_expandLocation___closed__5);
|
||||
l_Lean_Elab_Tactic_expandLocation___closed__6 = _init_l_Lean_Elab_Tactic_expandLocation___closed__6();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_expandLocation___closed__6);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Tactic/Match.c
generated
4
stage0/stdlib/Lean/Elab/Tactic/Match.c
generated
|
|
@ -30,7 +30,6 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__14;
|
||||
lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm_match__1(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___lambda__1___closed__2;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
|
|
@ -72,6 +71,7 @@ lean_object* l_Lean_Elab_Tactic_evalMatch(lean_object*, lean_object*, lean_objec
|
|||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__2;
|
||||
extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__12;
|
||||
extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__18;
|
||||
extern lean_object* l_Lean_Level_LevelToFormat_toResult___closed__4;
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
|
|
@ -1123,7 +1123,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
x_3 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__14;
|
||||
x_3 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__12;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/Tactic/Rewrite.c
generated
6
stage0/stdlib/Lean/Elab/Tactic/Rewrite.c
generated
|
|
@ -41,8 +41,8 @@ lean_object* lean_array_push(lean_object*, lean_object*);
|
|||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_rewriteAll___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Tactic_expandLocation___closed__2;
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_rewriteTarget___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -116,7 +116,7 @@ static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_expandRew
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_expandLocation___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Meta_rewrite___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -233,7 +233,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_expandRewriteTactic___
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_expandLocation___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Tactic_expandRewriteTactic___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
16
stage0/stdlib/Lean/Exception.c
generated
16
stage0/stdlib/Lean/Exception.c
generated
|
|
@ -19,13 +19,14 @@ lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_727____closed__5;
|
|||
extern lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__8;
|
||||
lean_object* l_Lean_InternalExceptionId_toString(lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
extern lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__5;
|
||||
lean_object* l_Lean_Exception_getRef_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Exception___hyg_682____closed__1;
|
||||
lean_object* l_Lean_withIncRecDepth___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_withIncRecDepth___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__3;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Exception___hyg_682____closed__2;
|
||||
extern lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__7;
|
||||
lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__1;
|
||||
lean_object* l_Lean_throwError_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_withRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -67,7 +68,6 @@ lean_object* l_Lean_replaceRef_match__1(lean_object*);
|
|||
lean_object* l_Lean_Lean_Exception___instance__1;
|
||||
lean_object* l_Lean_ofExcept_match__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Lean_Exception___instance__1___closed__1;
|
||||
extern lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__1;
|
||||
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Exception___hyg_643____closed__6;
|
||||
lean_object* l_Lean_Lean_Exception___instance__4___rarg___lambda__3(lean_object*, lean_object*);
|
||||
|
|
@ -98,6 +98,7 @@ extern lean_object* l_Lean_nullKind___closed__2;
|
|||
lean_object* l_Lean_replaceRef___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Exception___hyg_643____closed__3;
|
||||
lean_object* l_Lean_throwError(lean_object*);
|
||||
extern lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__10;
|
||||
lean_object* l_Lean_Lean_Exception___instance__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Lean_Exception___instance__4___rarg(lean_object*);
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Exception___hyg_643____closed__9;
|
||||
|
|
@ -126,7 +127,6 @@ uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_throwUnknownConstant(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__4;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Exception___hyg_643____closed__1;
|
||||
extern lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__6;
|
||||
lean_object* l_Lean_withRef(lean_object*);
|
||||
lean_object* l_Lean_throwError___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
|
|
@ -1011,7 +1011,7 @@ static lean_object* _init_l_Lean___kind_term____x40_Lean_Exception___hyg_643____
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__1;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__3;
|
||||
x_2 = l_Lean___kind_term____x40_Lean_Exception___hyg_643____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -1059,7 +1059,7 @@ static lean_object* _init_l_Lean___kind_term____x40_Lean_Exception___hyg_643____
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__8;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__10;
|
||||
x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__18;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -1267,7 +1267,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Init_LeanInit___instance__8___closed__1;
|
||||
x_2 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__6;
|
||||
x_2 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__8;
|
||||
x_3 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
|
|
@ -1390,7 +1390,7 @@ x_44 = l_Array_empty___closed__1;
|
|||
x_45 = lean_array_push(x_44, x_43);
|
||||
x_46 = l_Lean_myMacro____x40_Lean_Exception___hyg_727____closed__9;
|
||||
x_47 = lean_array_push(x_46, x_15);
|
||||
x_48 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__5;
|
||||
x_48 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__7;
|
||||
x_49 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_49, 0, x_48);
|
||||
lean_ctor_set(x_49, 1, x_47);
|
||||
|
|
@ -1612,7 +1612,7 @@ x_48 = lean_array_push(x_47, x_46);
|
|||
x_49 = lean_array_push(x_47, x_15);
|
||||
x_50 = l_Lean_myMacro____x40_Lean_Exception___hyg_727____closed__9;
|
||||
x_51 = lean_array_push(x_50, x_17);
|
||||
x_52 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__5;
|
||||
x_52 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__7;
|
||||
x_53 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_53, 0, x_52);
|
||||
lean_ctor_set(x_53, 1, x_51);
|
||||
|
|
|
|||
80
stage0/stdlib/Lean/Message.c
generated
80
stage0/stdlib/Lean/Message.c
generated
|
|
@ -76,6 +76,7 @@ extern lean_object* l_Lean_Lean_Data_Format___instance__6___rarg___closed__1;
|
|||
lean_object* l_Lean_MessageData_nil;
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__9;
|
||||
lean_object* l_Lean_Lean_Message___instance__22(lean_object*);
|
||||
extern lean_object* l___private_Init_LeanInit_0__Lean_eraseMacroScopesAux___closed__5;
|
||||
lean_object* l_Lean_MessageData_Lean_Message___instance__4(lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -122,7 +123,6 @@ lean_object* l_Lean_MessageData_Lean_Message___instance__2(lean_object*, lean_ob
|
|||
lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_MessageLog_getInfoMessages___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1875____lambda__1___closed__9;
|
||||
lean_object* lean_string_utf8_next(lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__5;
|
||||
lean_object* l_Lean_MessageLog_toList(lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1875____lambda__1___closed__7;
|
||||
lean_object* l_Lean_ppGoal(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -298,6 +298,7 @@ lean_object* l_Lean_MessageData_Lean_Message___instance__10(lean_object*);
|
|||
lean_object* l_Std_PersistentArray_forM___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__2;
|
||||
lean_object* l_Lean_MessageData_ofList___closed__4;
|
||||
extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__2;
|
||||
extern lean_object* l_Lean_Format_paren___closed__4;
|
||||
lean_object* l_Lean_mkMessageEx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_bracket(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -353,6 +354,7 @@ lean_object* l_Lean_MessageData_joinSep_match__1(lean_object*);
|
|||
lean_object* l_Lean_MessageData_Lean_Message___instance__3;
|
||||
uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*);
|
||||
extern lean_object* l_Init_Core___instance__1___closed__1;
|
||||
extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__3;
|
||||
lean_object* l_Lean_KernelException_toMessageData_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_System_FilePath_dirName___closed__1;
|
||||
lean_object* l_Lean_KernelException_toMessageData___closed__44;
|
||||
|
|
@ -382,6 +384,7 @@ uint8_t lean_string_utf8_at_end(lean_object*, lean_object*);
|
|||
extern lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__18;
|
||||
lean_object* l_Lean_MessageData_formatAux___closed__2;
|
||||
lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__11;
|
||||
lean_object* l_Lean_Lean_Message___instance__28_match__1(lean_object*);
|
||||
extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_ppGoal___spec__7___closed__1;
|
||||
lean_object* lean_nat_to_int(lean_object*);
|
||||
|
|
@ -403,6 +406,7 @@ lean_object* l_Lean_MessageData_arrayExpr_toMessageData___boxed(lean_object*, le
|
|||
lean_object* l_Lean_MessageData_Lean_Message___instance__1;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageData_formatAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_String_split___at_Lean_stringToMessageData___spec__1___boxed(lean_object*);
|
||||
lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__12;
|
||||
lean_object* lean_mk_message(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_fmt___at_Lean_stringToMessageData___spec__3(lean_object*);
|
||||
|
|
@ -7434,8 +7438,8 @@ static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____c
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__5;
|
||||
x_2 = l_Lean_mkAppStx___closed__1;
|
||||
x_1 = l___kind_tactic____x40_Init_Tactics___hyg_2____closed__2;
|
||||
x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -7443,17 +7447,19 @@ return x_3;
|
|||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("Message");
|
||||
return x_1;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__1;
|
||||
x_2 = l___private_Init_LeanInit_0__Lean_eraseMacroScopesAux___closed__5;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__1;
|
||||
x_2 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__2;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__2;
|
||||
x_2 = l_Lean_mkAppStx___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -7461,24 +7467,42 @@ return x_3;
|
|||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__3;
|
||||
x_2 = l_Lean_Name_hasMacroScopes___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("Message");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__4;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__3;
|
||||
x_2 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__4;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__5;
|
||||
x_2 = l_Lean_Name_hasMacroScopes___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__6;
|
||||
x_2 = lean_unsigned_to_nat(1842u);
|
||||
x_3 = lean_name_mk_numeral(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__6() {
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -7486,17 +7510,17 @@ x_1 = lean_mk_string("msg!");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__7() {
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__6;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__8;
|
||||
x_2 = lean_alloc_ctor(11, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__8() {
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -7506,25 +7530,25 @@ lean_ctor_set(x_2, 0, x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__9() {
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__7;
|
||||
x_2 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__8;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__9;
|
||||
x_2 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__10;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__10() {
|
||||
static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__5;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__7;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__9;
|
||||
x_3 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__11;
|
||||
x_4 = lean_alloc_ctor(9, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -7536,7 +7560,7 @@ static lean_object* _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842_() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__10;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__12;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -7757,7 +7781,7 @@ lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1875_(lean_object* x_1, le
|
|||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
x_4 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__5;
|
||||
x_4 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__7;
|
||||
lean_inc(x_1);
|
||||
x_5 = l_Lean_Syntax_isOfKind(x_1, x_4);
|
||||
if (x_5 == 0)
|
||||
|
|
@ -8190,6 +8214,10 @@ l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__9 = _init_l_Lean___
|
|||
lean_mark_persistent(l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__9);
|
||||
l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__10 = _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__10();
|
||||
lean_mark_persistent(l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__10);
|
||||
l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__11 = _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__11();
|
||||
lean_mark_persistent(l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__11);
|
||||
l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__12 = _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__12();
|
||||
lean_mark_persistent(l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__12);
|
||||
l_Lean___kind_term____x40_Lean_Message___hyg_1842_ = _init_l_Lean___kind_term____x40_Lean_Message___hyg_1842_();
|
||||
lean_mark_persistent(l_Lean___kind_term____x40_Lean_Message___hyg_1842_);
|
||||
l_Lean_myMacro____x40_Lean_Message___hyg_1875____lambda__1___closed__1 = _init_l_Lean_myMacro____x40_Lean_Message___hyg_1875____lambda__1___closed__1();
|
||||
|
|
|
|||
18
stage0/stdlib/Lean/Meta/AppBuilder.c
generated
18
stage0/stdlib/Lean/Meta/AppBuilder.c
generated
|
|
@ -159,7 +159,6 @@ lean_object* l_Lean_Meta_mkAppM___rarg___lambda__1___closed__5;
|
|||
lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqTransImp_match__1(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppOptMAux___closed__6;
|
||||
lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkDecide___rarg___closed__2;
|
||||
lean_object* l_Lean_Meta_mkAppOptM_match__1(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_getMVarDecl___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkCongrArgImp_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -198,6 +197,7 @@ lean_object* l_Lean_Meta_mkDecide___rarg___closed__1;
|
|||
lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkListLitAux___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqNDRecImp___closed__3;
|
||||
lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkListLitAux_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_186____closed__1;
|
||||
extern lean_object* l_Lean_Expr_heq_x3f___closed__2;
|
||||
lean_object* l_Lean_Meta_mkEq___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -11090,17 +11090,9 @@ return x_5;
|
|||
static lean_object* _init_l_Lean_Meta_mkDecide___rarg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("decide");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_mkDecide___rarg___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_mkDecIsTrue___closed__2;
|
||||
x_2 = l_Lean_Meta_mkDecide___rarg___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Tactics___hyg_186____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -11115,7 +11107,7 @@ x_4 = lean_box(0);
|
|||
x_5 = l_Lean_mkAppStx___closed__9;
|
||||
x_6 = lean_array_push(x_5, x_3);
|
||||
x_7 = lean_array_push(x_6, x_4);
|
||||
x_8 = l_Lean_Meta_mkDecide___rarg___closed__2;
|
||||
x_8 = l_Lean_Meta_mkDecide___rarg___closed__1;
|
||||
x_9 = l_Lean_Meta_mkAppOptM___rarg(x_1, x_8, x_7);
|
||||
return x_9;
|
||||
}
|
||||
|
|
@ -11991,7 +11983,7 @@ x_8 = lean_box(0);
|
|||
x_9 = l_Lean_mkAppStx___closed__9;
|
||||
x_10 = lean_array_push(x_9, x_7);
|
||||
x_11 = lean_array_push(x_10, x_8);
|
||||
x_12 = l_Lean_Meta_mkDecide___rarg___closed__2;
|
||||
x_12 = l_Lean_Meta_mkDecide___rarg___closed__1;
|
||||
x_13 = l_Lean_Meta_mkAppOptM___at_Lean_Meta_mkDecideProof___spec__2(x_12, x_11, x_2, x_3, x_4, x_5, x_6);
|
||||
return x_13;
|
||||
}
|
||||
|
|
@ -13442,8 +13434,6 @@ l_Lean_Meta_mkSorry___rarg___lambda__1___closed__4 = _init_l_Lean_Meta_mkSorry__
|
|||
lean_mark_persistent(l_Lean_Meta_mkSorry___rarg___lambda__1___closed__4);
|
||||
l_Lean_Meta_mkDecide___rarg___closed__1 = _init_l_Lean_Meta_mkDecide___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_mkDecide___rarg___closed__1);
|
||||
l_Lean_Meta_mkDecide___rarg___closed__2 = _init_l_Lean_Meta_mkDecide___rarg___closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_mkDecide___rarg___closed__2);
|
||||
l_Lean_Meta_mkDecideProof___rarg___lambda__1___closed__1 = _init_l_Lean_Meta_mkDecideProof___rarg___lambda__1___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_mkDecideProof___rarg___lambda__1___closed__1);
|
||||
l_Lean_Meta_mkDecideProof___rarg___lambda__1___closed__2 = _init_l_Lean_Meta_mkDecideProof___rarg___lambda__1___closed__2();
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/Tactic/Cases.c
generated
4
stage0/stdlib/Lean/Meta/Tactic/Cases.c
generated
|
|
@ -243,6 +243,7 @@ lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp(lean_objec
|
|||
lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_unifyEqsAux___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkHEqReflImp___closed__1;
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
lean_object* l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__45___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_withNewIndexEqs_loop_match__1___rarg(lean_object*, lean_object*);
|
||||
uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__20(lean_object*, lean_object*, uint8_t, lean_object*, size_t, size_t);
|
||||
|
|
@ -394,7 +395,6 @@ lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_unifyEqsAux_m
|
|||
lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___rarg___closed__2;
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_unifyEqsAux___spec__18(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__2;
|
||||
lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___lambda__6___closed__1;
|
||||
lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_toCasesSubgoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_assignExprMVar___at___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -15626,7 +15626,7 @@ static lean_object* _init_l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
x_2 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_unifyEqsAux___lambda__1___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/Tactic/Induction.c
generated
4
stage0/stdlib/Lean/Meta/Tactic/Induction.c
generated
|
|
@ -163,6 +163,7 @@ lean_object* l_Lean_Meta_Lean_Meta_Tactic_Induction___instance__1___closed__1;
|
|||
lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__3;
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
lean_object* l_Lean_Meta_RecursorInfo_firstIndexPos(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___lambda__3___closed__1;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_induction___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -264,7 +265,6 @@ lean_object* l_Lean_Meta_induction_match__9(lean_object*);
|
|||
lean_object* l_List_foldlM___at_Lean_Meta_induction___spec__10(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_Expr_withAppAux___at_Lean_Meta_induction___spec__12___closed__1;
|
||||
lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_finalize_loop___lambda__3___closed__2;
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__2;
|
||||
lean_object* l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_getTypeBody_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_assignExprMVar___at___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_induction_match__11(lean_object*);
|
||||
|
|
@ -6511,7 +6511,7 @@ static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_induction___spec
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
x_2 = l___private_Lean_Meta_Tactic_Induction_0__Lean_Meta_addRecParams___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
20
stage0/stdlib/Lean/Meta/Tactic/Intro.c
generated
20
stage0/stdlib/Lean/Meta/Tactic/Intro.c
generated
|
|
@ -21,7 +21,6 @@ lean_object* l_Lean_Meta_intro1Core___boxed(lean_object*, lean_object*, lean_obj
|
|||
lean_object* lean_local_ctx_get_unused_name(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_introN(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__4;
|
||||
lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___lambda__1___closed__4;
|
||||
uint8_t l_Lean_Meta_hygienicIntroDefault;
|
||||
lean_object* lean_local_ctx_mk_let_decl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
|
|
@ -124,6 +123,7 @@ lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___at
|
|||
lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___at_Lean_Meta_introNCore___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getMVarTag___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkFreshId___at_Lean_Meta_mkFreshExprMVarAt___spec__1___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__3;
|
||||
lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_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*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__2;
|
||||
lean_object* l_Lean_Meta_assignExprMVar___at___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1233,25 +1233,17 @@ static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("tactic");
|
||||
x_1 = lean_mk_string("make sure 'intro'-like tactics are hygienic");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("make sure 'intro'-like tactics are hygienic");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__2;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__3;
|
||||
x_2 = l___kind_tactic____x40_Init_Tactics___hyg_2____closed__3;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__2;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -1264,7 +1256,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_Meta_getHygienicIntro___rarg___closed__2;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__4;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__3;
|
||||
x_4 = lean_register_option(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -2536,8 +2528,6 @@ l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__2 = _init_
|
|||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__2);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538____closed__4);
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_538_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/Tactic/Subst.c
generated
4
stage0/stdlib/Lean/Meta/Tactic/Subst.c
generated
|
|
@ -108,6 +108,7 @@ extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__3;
|
|||
lean_object* l_Lean_Meta_substCore___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_substCore___lambda__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_subst_match__3(lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
lean_object* l_Lean_Meta_substCore___lambda__13___closed__1;
|
||||
lean_object* l_Lean_mkFVar(lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
|
|
@ -181,7 +182,6 @@ lean_object* l_Lean_Meta_mkEqSymm___at_Lean_Meta_substCore___spec__3(lean_object
|
|||
lean_object* l_Lean_Meta_substCore_match__5___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_substCore___lambda__5(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_substCore___lambda__11___closed__5;
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__2;
|
||||
lean_object* l_Lean_Meta_assignExprMVar___at___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_substCore___lambda__13___closed__6;
|
||||
extern lean_object* l_Array_findSomeM_x3f___rarg___closed__1;
|
||||
|
|
@ -2981,7 +2981,7 @@ static lean_object* _init_l_Lean_Meta_substCore___lambda__13___closed__18() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
x_2 = l_Lean_Meta_substCore___lambda__13___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
32
stage0/stdlib/Lean/Meta/Tactic/Util.c
generated
32
stage0/stdlib/Lean/Meta/Tactic/Util.c
generated
|
|
@ -29,6 +29,7 @@ lean_object* l_Lean_Meta_checkNotAssigned___closed__1;
|
|||
lean_object* l_Lean_Meta_getMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_checkNotAssigned___closed__2;
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__1;
|
||||
lean_object* l_Lean_MetavarContext_setMVarUserName(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_throwTacticEx___rarg___closed__3;
|
||||
lean_object* l_Lean_Meta_throwTacticEx___rarg___closed__1;
|
||||
|
|
@ -57,7 +58,6 @@ lean_object* l_Lean_Meta_admit___lambda__1(lean_object*, uint8_t, lean_object*,
|
|||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_appendTagSuffix___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_admit___closed__2;
|
||||
lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1;
|
||||
lean_object* l_Lean_Meta_checkNotAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -73,6 +73,7 @@ extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__4;
|
|||
lean_object* l_Lean_Meta_mkSorry___at_Lean_Meta_admit___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__2;
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_309____closed__2;
|
||||
lean_object* l_Lean_Meta_ppGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -80,7 +81,6 @@ lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225_(lean_obj
|
|||
lean_object* l_Lean_Meta_getMVarTag___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_setMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkConst(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__2;
|
||||
lean_object* l_Lean_Meta_assignExprMVar___at___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_bind___at_Lean_Meta_Lean_Meta_Basic___instance__8___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getMVarTag(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
|
|
@ -760,17 +760,9 @@ return x_7;
|
|||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("Tactic");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_516____closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Tactics___hyg_31____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -779,7 +771,7 @@ lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225_(lean_obj
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1;
|
||||
x_3 = l_Lean_registerTraceClass(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -1035,17 +1027,9 @@ return x_23;
|
|||
static lean_object* _init_l_Lean_Meta_admit___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("admit");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_admit___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_admit___closed__1;
|
||||
x_2 = l___kind_tactic____x40_Init_Tactics___hyg_309____closed__2;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -1054,7 +1038,7 @@ lean_object* l_Lean_Meta_admit(lean_object* x_1, uint8_t x_2, lean_object* x_3,
|
|||
_start:
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_8 = l_Lean_Meta_admit___closed__2;
|
||||
x_8 = l_Lean_Meta_admit___closed__1;
|
||||
lean_inc(x_1);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_Meta_checkNotAssigned___boxed), 7, 2);
|
||||
lean_closure_set(x_9, 0, x_1);
|
||||
|
|
@ -1139,15 +1123,11 @@ l_Lean_Meta_checkNotAssigned___closed__3 = _init_l_Lean_Meta_checkNotAssigned___
|
|||
lean_mark_persistent(l_Lean_Meta_checkNotAssigned___closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__1);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225____closed__2);
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_225_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Meta_admit___closed__1 = _init_l_Lean_Meta_admit___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_admit___closed__1);
|
||||
l_Lean_Meta_admit___closed__2 = _init_l_Lean_Meta_admit___closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_admit___closed__2);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
573
stage0/stdlib/Lean/Parser/Syntax.c
generated
573
stage0/stdlib/Lean/Parser/Syntax.c
generated
File diff suppressed because it is too large
Load diff
689
stage0/stdlib/Lean/Parser/Tactic.c
generated
689
stage0/stdlib/Lean/Parser/Tactic.c
generated
File diff suppressed because it is too large
Load diff
238
stage0/stdlib/Lean/Parser/Term.c
generated
238
stage0/stdlib/Lean/Parser/Term.c
generated
|
|
@ -391,6 +391,7 @@ lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__5;
|
|||
lean_object* l_Lean_Parser_Term_eq___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_match_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_186____closed__2;
|
||||
lean_object* l_Lean_Parser_Term_listLit___elambda__1___closed__3;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_ensureTypeOf_formatter(lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_letEqnsDecl___closed__1;
|
||||
|
|
@ -910,7 +911,6 @@ lean_object* l_Lean_Parser_Term_sorry___closed__2;
|
|||
lean_object* l_Lean_Parser_Term_nomatch___closed__7;
|
||||
lean_object* l_Lean_Parser_Term_if___closed__11;
|
||||
lean_object* l_Lean_Parser_Term_byTactic_formatter___closed__2;
|
||||
extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_app_parenthesizer___closed__7;
|
||||
lean_object* l_Lean_Parser_Term_emptyC_parenthesizer___closed__4;
|
||||
lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__18;
|
||||
|
|
@ -1106,6 +1106,7 @@ lean_object* l_Lean_Parser_Term_nativeRefl_formatter___closed__2;
|
|||
lean_object* l_Lean_Parser_Term_haveDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_not_parenthesizer___closed__3;
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
lean_object* l_Lean_Parser_Tactic_tacticSeq_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Formatter_checkStackTop_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__11;
|
||||
|
|
@ -1649,7 +1650,6 @@ lean_object* l_Lean_Parser_Term_paren___closed__9;
|
|||
lean_object* l_Lean_Parser_Term_namedArgument___elambda__1___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_mapRev___closed__2;
|
||||
lean_object* l___regBuiltinParser_Lean_Parser_Term_forall(lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_decide___elambda__1___closed__8;
|
||||
lean_object* l_Lean_Parser_Term_dollar_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_instBinder_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_bor___closed__3;
|
||||
|
|
@ -1688,7 +1688,6 @@ lean_object* l_Lean_Parser_Term_quotedName_parenthesizer___closed__1;
|
|||
lean_object* l_Lean_Parser_Term_listLit;
|
||||
lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_listLit_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_decide___elambda__1___closed__9;
|
||||
lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__4;
|
||||
lean_object* l_Lean_Parser_Term_letDecl;
|
||||
lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1(lean_object*, lean_object*);
|
||||
|
|
@ -1700,7 +1699,6 @@ lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__6;
|
|||
lean_object* l_Lean_Parser_Term_match_formatter___closed__9;
|
||||
lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_haveAssign_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__8;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_modN_parenthesizer(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_mul_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_explicitUniv___closed__6;
|
||||
|
|
@ -1826,6 +1824,7 @@ lean_object* l_Lean_Parser_Term_show___elambda__1___closed__7;
|
|||
lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__9;
|
||||
lean_object* l_Lean_Parser_Term_macroDollarArg___elambda__1___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_186____closed__1;
|
||||
lean_object* l_Lean_Parser_Term_type___closed__7;
|
||||
lean_object* l_Lean_Parser_Term_arrayRef;
|
||||
lean_object* l_Lean_Parser_Term_subst___elambda__1___closed__7;
|
||||
|
|
@ -1888,6 +1887,7 @@ lean_object* l_Lean_Parser_Term_ge___elambda__1___closed__1;
|
|||
lean_object* l_Lean_Parser_Term_attrInstance___elambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_quotedName;
|
||||
lean_object* l_Lean_Parser_Term_explicitUniv_parenthesizer___closed__6;
|
||||
extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_157____closed__2;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_panic_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_byTactic_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_mod;
|
||||
|
|
@ -1953,7 +1953,6 @@ lean_object* l_Lean_Parser_Term_subtype;
|
|||
lean_object* l_Lean_PrettyPrinter_Formatter_node_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_depArrow_formatter___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__9;
|
||||
extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_nativeDecide___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__9;
|
||||
|
|
@ -2359,7 +2358,6 @@ lean_object* l_Lean_Parser_Term_nomatch_formatter___closed__1;
|
|||
lean_object* l_Lean_Parser_Term_haveDecl___closed__4;
|
||||
lean_object* l_Lean_Parser_Term_unreachable;
|
||||
lean_object* l_Lean_Parser_Term_letPatDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_depArrow___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_binderDefault_formatter___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1;
|
||||
|
|
@ -2876,6 +2874,7 @@ lean_object* l_Lean_Parser_Term_dollarProj___closed__3;
|
|||
lean_object* l_Lean_Parser_Term_depArrow_parenthesizer___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_arrayRef_formatter(lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_arrow___elambda__1___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__4;
|
||||
lean_object* l_Lean_Parser_Term_ensureTypeOf_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_have___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__6;
|
||||
|
|
@ -3051,6 +3050,7 @@ lean_object* l_Lean_Parser_Term_matchAlt___closed__4;
|
|||
lean_object* l_Lean_Parser_Term_pow___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_app;
|
||||
lean_object* l_Lean_Parser_Term_depArrow_parenthesizer___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__1;
|
||||
lean_object* l_Lean_Parser_Term_explicit_formatter___closed__4;
|
||||
lean_object* l_Lean_Parser_Term_syntheticHole___closed__4;
|
||||
lean_object* l_Lean_Parser_Tactic_quotSeq___closed__3;
|
||||
|
|
@ -3335,6 +3335,7 @@ lean_object* l_Lean_Parser_Term_type_parenthesizer___closed__9;
|
|||
lean_object* l_Lean_Parser_Term_let_x2a___elambda__1___closed__4;
|
||||
lean_object* l___regBuiltinParser_Lean_Parser_Term_uminus(lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_338____closed__2;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_hole_parenthesizer(lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_ensureTypeOf_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__3;
|
||||
|
|
@ -3705,7 +3706,6 @@ lean_object* l_Lean_Parser_Term_funBinder_quot_formatter___closed__5;
|
|||
lean_object* l_Lean_Parser_Term_arrayLit___elambda__1___closed__8;
|
||||
lean_object* l_Lean_Parser_Term_nativeRefl___elambda__1___closed__4;
|
||||
lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__7;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_formatter(lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_matchAlt___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_parenSpecial___closed__2;
|
||||
|
|
@ -3891,7 +3891,6 @@ lean_object* l_Lean_Parser_Term_andthen___closed__1;
|
|||
lean_object* l_Lean_Parser_Term_have_formatter___closed__8;
|
||||
lean_object* l_Lean_Parser_Term_nativeRefl_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_and___elambda__1___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_decide___elambda__1___closed__7;
|
||||
lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__6;
|
||||
lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Parser_Tactic_quotSeq_formatter___closed__2;
|
||||
|
|
@ -4310,6 +4309,7 @@ lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__1;
|
|||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4_(lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_parenSpecial_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_bne___elambda__1___closed__1;
|
||||
extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_dollar___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_match_formatter(lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_let_x2a___closed__6;
|
||||
|
|
@ -4666,7 +4666,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4____closed__2;
|
||||
x_3 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2;
|
||||
x_3 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_registerBuiltinParserAttribute(x_2, x_3, x_4, x_1);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
|
|
@ -4707,7 +4707,7 @@ lean_object* l_Lean_Parser_tacticParser(lean_object* x_1) {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2;
|
||||
x_2 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1;
|
||||
x_3 = l_Lean_Parser_categoryParser(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -5138,7 +5138,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -5198,7 +5198,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2;
|
||||
x_1 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_categoryParser___elambda__1), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -5258,7 +5258,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2;
|
||||
x_1 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1;
|
||||
x_2 = l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__6;
|
||||
x_3 = l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__12;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___lambda__1), 5, 3);
|
||||
|
|
@ -5309,7 +5309,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented___closed__1()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2;
|
||||
x_1 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_Lean_Parser_categoryParser(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -5447,7 +5447,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -5724,7 +5724,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Parser_Tactic_tacticSeq___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -5826,7 +5826,7 @@ x_5 = 1;
|
|||
x_6 = l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__8;
|
||||
x_7 = l_Lean_Parser_Tactic_seq1___elambda__1___closed__3;
|
||||
x_8 = l_Lean_Parser_sepBy1Fn(x_5, x_6, x_7, x_1, x_2);
|
||||
x_9 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__5;
|
||||
x_9 = l_myMacro____x40_Init_Tactics___hyg_31____closed__4;
|
||||
x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_4);
|
||||
return x_10;
|
||||
}
|
||||
|
|
@ -5856,7 +5856,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_seq1___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__5;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__4;
|
||||
x_2 = l_Lean_Parser_Tactic_seq1___closed__2;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -6485,7 +6485,7 @@ lean_object* l_Lean_Parser_tacticParser_formatter___rarg(lean_object* x_1, lean_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
x_6 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2;
|
||||
x_6 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1;
|
||||
x_7 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter(x_6, x_1, x_2, x_3, x_4, x_5);
|
||||
return x_7;
|
||||
}
|
||||
|
|
@ -6864,7 +6864,7 @@ lean_object* l_Lean_Parser_tacticParser_parenthesizer(lean_object* x_1, lean_obj
|
|||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8;
|
||||
x_7 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2;
|
||||
x_7 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1;
|
||||
x_8 = l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer(x_7, x_1, x_2, x_3, x_4, x_5, x_6);
|
||||
return x_8;
|
||||
}
|
||||
|
|
@ -9712,79 +9712,61 @@ return x_5;
|
|||
static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("sorry");
|
||||
return x_1;
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_338____closed__2;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_mkAppStx___closed__6;
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_338____closed__1;
|
||||
x_2 = l_Lean_Parser_Term_sorry___elambda__1___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__2;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_338____closed__1;
|
||||
x_2 = l_String_trim(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__1;
|
||||
x_2 = l_Lean_Parser_Term_sorry___elambda__1___closed__3;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__1;
|
||||
x_2 = l_String_trim(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__5;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__3;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__7() {
|
||||
static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__2;
|
||||
x_2 = l_Lean_Parser_Term_sorry___elambda__1___closed__6;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_338____closed__2;
|
||||
x_2 = l_Lean_Parser_Term_sorry___elambda__1___closed__4;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__8() {
|
||||
static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__6() {
|
||||
_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_Term_sorry___elambda__1___closed__7;
|
||||
x_2 = l_Lean_Parser_Term_sorry___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);
|
||||
|
|
@ -9795,10 +9777,10 @@ lean_object* l_Lean_Parser_Term_sorry___elambda__1(lean_object* x_1, lean_object
|
|||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7;
|
||||
x_3 = l_Lean_Parser_Term_sorry___elambda__1___closed__4;
|
||||
x_3 = l_Lean_Parser_Term_sorry___elambda__1___closed__2;
|
||||
x_4 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_4);
|
||||
x_5 = l_Lean_Parser_Term_sorry___elambda__1___closed__8;
|
||||
x_5 = l_Lean_Parser_Term_sorry___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;
|
||||
|
|
@ -9808,7 +9790,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__5;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__3;
|
||||
x_2 = l_Lean_Parser_symbolInfo(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -9817,7 +9799,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_338____closed__2;
|
||||
x_2 = l_Lean_Parser_Term_sorry___closed__1;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -9837,7 +9819,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry___closed__4() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__4;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__2;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = l_Lean_Parser_Term_sorry___closed__3;
|
||||
|
|
@ -9878,7 +9860,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17;
|
||||
x_3 = l_Lean_Parser_Term_sorry___elambda__1___closed__2;
|
||||
x_3 = l_myMacro____x40_Init_Tactics___hyg_338____closed__2;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_Term_sorry;
|
||||
x_6 = lean_unsigned_to_nat(0u);
|
||||
|
|
@ -9890,8 +9872,8 @@ static lean_object* _init_l_Lean_Parser_Term_sorry_formatter___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__1;
|
||||
x_2 = l_Lean_Parser_Term_sorry___elambda__1___closed__3;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_338____closed__1;
|
||||
x_2 = l_Lean_Parser_Term_sorry___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3);
|
||||
|
|
@ -9905,7 +9887,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry_formatter___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_338____closed__1;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -9915,7 +9897,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry_formatter___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_338____closed__2;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_sorry_formatter___closed__2;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
|
|
@ -9948,7 +9930,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_PrettyPrinter_formatterAttribute;
|
||||
x_3 = l_Lean_Parser_Term_sorry___elambda__1___closed__2;
|
||||
x_3 = l_myMacro____x40_Init_Tactics___hyg_338____closed__2;
|
||||
x_4 = l___regBuiltin_Lean_Parser_Term_sorry_formatter___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
|
|
@ -9958,8 +9940,8 @@ static lean_object* _init_l_Lean_Parser_Term_sorry_parenthesizer___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__1;
|
||||
x_2 = l_Lean_Parser_Term_sorry___elambda__1___closed__3;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_338____closed__1;
|
||||
x_2 = l_Lean_Parser_Term_sorry___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -9973,7 +9955,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry_parenthesizer___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_338____closed__1;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_symbol_parenthesizer___boxed), 2, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -9983,7 +9965,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry_parenthesizer___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Term_sorry___elambda__1___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_338____closed__2;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_sorry_parenthesizer___closed__2;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -10016,7 +9998,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute;
|
||||
x_3 = l_Lean_Parser_Term_sorry___elambda__1___closed__2;
|
||||
x_3 = l_myMacro____x40_Init_Tactics___hyg_338____closed__2;
|
||||
x_4 = l___regBuiltin_Lean_Parser_Term_sorry_parenthesizer___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
|
|
@ -35387,87 +35369,61 @@ return x_5;
|
|||
static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("decide");
|
||||
return x_1;
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_186____closed__2;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_mkAppStx___closed__6;
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_186____closed__1;
|
||||
x_2 = l_Lean_Parser_Term_decide___elambda__1___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__2;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
x_1 = l___kind_tactic____x40_Init_Tactics___hyg_157____closed__2;
|
||||
x_2 = l_String_trim(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__1;
|
||||
x_2 = l_Lean_Parser_Term_decide___elambda__1___closed__3;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("decide!");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__5;
|
||||
x_2 = l_String_trim(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__6;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__3;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__8() {
|
||||
static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__2;
|
||||
x_2 = l_Lean_Parser_Term_decide___elambda__1___closed__7;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_186____closed__2;
|
||||
x_2 = l_Lean_Parser_Term_decide___elambda__1___closed__4;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__9() {
|
||||
static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__6() {
|
||||
_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_Term_decide___elambda__1___closed__8;
|
||||
x_2 = l_Lean_Parser_Term_decide___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);
|
||||
|
|
@ -35478,10 +35434,10 @@ lean_object* l_Lean_Parser_Term_decide___elambda__1(lean_object* x_1, lean_objec
|
|||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7;
|
||||
x_3 = l_Lean_Parser_Term_decide___elambda__1___closed__4;
|
||||
x_3 = l_Lean_Parser_Term_decide___elambda__1___closed__2;
|
||||
x_4 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_4);
|
||||
x_5 = l_Lean_Parser_Term_decide___elambda__1___closed__9;
|
||||
x_5 = l_Lean_Parser_Term_decide___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;
|
||||
|
|
@ -35491,7 +35447,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__6;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__3;
|
||||
x_2 = l_Lean_Parser_symbolInfo(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -35500,7 +35456,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_186____closed__2;
|
||||
x_2 = l_Lean_Parser_Term_decide___closed__1;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -35520,7 +35476,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide___closed__4() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__4;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__2;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = l_Lean_Parser_Term_decide___closed__3;
|
||||
|
|
@ -35561,7 +35517,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_2 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_109____closed__17;
|
||||
x_3 = l_Lean_Parser_Term_decide___elambda__1___closed__2;
|
||||
x_3 = l_myMacro____x40_Init_Tactics___hyg_186____closed__2;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_Term_decide;
|
||||
x_6 = lean_unsigned_to_nat(0u);
|
||||
|
|
@ -35573,8 +35529,8 @@ static lean_object* _init_l_Lean_Parser_Term_decide_formatter___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__1;
|
||||
x_2 = l_Lean_Parser_Term_decide___elambda__1___closed__3;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_186____closed__1;
|
||||
x_2 = l_Lean_Parser_Term_decide___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3);
|
||||
|
|
@ -35588,7 +35544,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide_formatter___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__5;
|
||||
x_1 = l___kind_tactic____x40_Init_Tactics___hyg_157____closed__2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -35598,7 +35554,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide_formatter___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_186____closed__2;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_decide_formatter___closed__2;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
|
|
@ -35631,7 +35587,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_PrettyPrinter_formatterAttribute;
|
||||
x_3 = l_Lean_Parser_Term_decide___elambda__1___closed__2;
|
||||
x_3 = l_myMacro____x40_Init_Tactics___hyg_186____closed__2;
|
||||
x_4 = l___regBuiltin_Lean_Parser_Term_decide_formatter___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
|
|
@ -35641,8 +35597,8 @@ static lean_object* _init_l_Lean_Parser_Term_decide_parenthesizer___closed__1()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__1;
|
||||
x_2 = l_Lean_Parser_Term_decide___elambda__1___closed__3;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_186____closed__1;
|
||||
x_2 = l_Lean_Parser_Term_decide___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -35656,7 +35612,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide_parenthesizer___closed__2()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__5;
|
||||
x_1 = l___kind_tactic____x40_Init_Tactics___hyg_157____closed__2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_symbol_parenthesizer___boxed), 2, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -35666,7 +35622,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide_parenthesizer___closed__3()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Term_decide___elambda__1___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_186____closed__2;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_decide_parenthesizer___closed__2;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -35699,7 +35655,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute;
|
||||
x_3 = l_Lean_Parser_Term_decide___elambda__1___closed__2;
|
||||
x_3 = l_myMacro____x40_Init_Tactics___hyg_186____closed__2;
|
||||
x_4 = l___regBuiltin_Lean_Parser_Term_decide_parenthesizer___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
|
|
@ -53712,7 +53668,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_quot___elambda__1___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Syntax_isQuot_match__1___rarg___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -54157,7 +54113,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__2(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -54366,7 +54322,7 @@ lean_object* l_Lean_Parser_Tactic_seq1_formatter(lean_object* x_1, lean_object*
|
|||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_6 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__5;
|
||||
x_6 = l_myMacro____x40_Init_Tactics___hyg_31____closed__4;
|
||||
x_7 = l_Lean_Parser_Tactic_seq1_formatter___closed__1;
|
||||
x_8 = l_Lean_PrettyPrinter_Formatter_node_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5);
|
||||
return x_8;
|
||||
|
|
@ -54488,7 +54444,7 @@ lean_object* l_Lean_Parser_Tactic_seq1_parenthesizer(lean_object* x_1, lean_obje
|
|||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_6 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__5;
|
||||
x_6 = l_myMacro____x40_Init_Tactics___hyg_31____closed__4;
|
||||
x_7 = l_Lean_Parser_Tactic_seq1_parenthesizer___closed__1;
|
||||
x_8 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5);
|
||||
return x_8;
|
||||
|
|
@ -55803,10 +55759,6 @@ l_Lean_Parser_Term_sorry___elambda__1___closed__5 = _init_l_Lean_Parser_Term_sor
|
|||
lean_mark_persistent(l_Lean_Parser_Term_sorry___elambda__1___closed__5);
|
||||
l_Lean_Parser_Term_sorry___elambda__1___closed__6 = _init_l_Lean_Parser_Term_sorry___elambda__1___closed__6();
|
||||
lean_mark_persistent(l_Lean_Parser_Term_sorry___elambda__1___closed__6);
|
||||
l_Lean_Parser_Term_sorry___elambda__1___closed__7 = _init_l_Lean_Parser_Term_sorry___elambda__1___closed__7();
|
||||
lean_mark_persistent(l_Lean_Parser_Term_sorry___elambda__1___closed__7);
|
||||
l_Lean_Parser_Term_sorry___elambda__1___closed__8 = _init_l_Lean_Parser_Term_sorry___elambda__1___closed__8();
|
||||
lean_mark_persistent(l_Lean_Parser_Term_sorry___elambda__1___closed__8);
|
||||
l_Lean_Parser_Term_sorry___closed__1 = _init_l_Lean_Parser_Term_sorry___closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Term_sorry___closed__1);
|
||||
l_Lean_Parser_Term_sorry___closed__2 = _init_l_Lean_Parser_Term_sorry___closed__2();
|
||||
|
|
@ -59858,12 +59810,6 @@ l_Lean_Parser_Term_decide___elambda__1___closed__5 = _init_l_Lean_Parser_Term_de
|
|||
lean_mark_persistent(l_Lean_Parser_Term_decide___elambda__1___closed__5);
|
||||
l_Lean_Parser_Term_decide___elambda__1___closed__6 = _init_l_Lean_Parser_Term_decide___elambda__1___closed__6();
|
||||
lean_mark_persistent(l_Lean_Parser_Term_decide___elambda__1___closed__6);
|
||||
l_Lean_Parser_Term_decide___elambda__1___closed__7 = _init_l_Lean_Parser_Term_decide___elambda__1___closed__7();
|
||||
lean_mark_persistent(l_Lean_Parser_Term_decide___elambda__1___closed__7);
|
||||
l_Lean_Parser_Term_decide___elambda__1___closed__8 = _init_l_Lean_Parser_Term_decide___elambda__1___closed__8();
|
||||
lean_mark_persistent(l_Lean_Parser_Term_decide___elambda__1___closed__8);
|
||||
l_Lean_Parser_Term_decide___elambda__1___closed__9 = _init_l_Lean_Parser_Term_decide___elambda__1___closed__9();
|
||||
lean_mark_persistent(l_Lean_Parser_Term_decide___elambda__1___closed__9);
|
||||
l_Lean_Parser_Term_decide___closed__1 = _init_l_Lean_Parser_Term_decide___closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Term_decide___closed__1);
|
||||
l_Lean_Parser_Term_decide___closed__2 = _init_l_Lean_Parser_Term_decide___closed__2();
|
||||
|
|
|
|||
78
stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c
generated
78
stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c
generated
|
|
@ -107,7 +107,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_nameLitNoAntiquot_parenthesizer_
|
|||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_leadPrec___closed__1;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2;
|
||||
lean_object* l_List_range(lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_toggleInsideQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkOutsideQuot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -138,6 +137,7 @@ lean_object* l_Lean_Syntax_setHeadInfo(lean_object*, lean_object*);
|
|||
lean_object* l_StateRefT_x27_get___at_Lean_PrettyPrinter_Parenthesizer_Lean_PrettyPrinter_Parenthesizer___instance__2___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__10;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -151,7 +151,6 @@ lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__11;
|
|||
lean_object* l_Lean_PrettyPrinter_Lean_PrettyPrinter_Parenthesizer___instance__1___closed__1;
|
||||
lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__5(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__3;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*);
|
||||
|
|
@ -225,7 +224,6 @@ lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__12;
|
|||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_sepBy1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParserOfStack_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__5;
|
||||
lean_object* l_Init_Control_Monad___instance__2___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__3(lean_object*);
|
||||
|
|
@ -320,6 +318,7 @@ lean_object* l_Lean_PrettyPrinter_mkCombinatorParenthesizerAttribute___closed__3
|
|||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_Lean_PrettyPrinter_Parenthesizer___instance__2___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Parenthesizer_Lean_PrettyPrinter_Parenthesizer___instance__3___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Tactics___hyg_31____closed__4;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__9;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbol_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -455,7 +454,6 @@ extern lean_object* l_Lean_Format_paren___closed__3;
|
|||
extern lean_object* l_Lean_KeyedDeclsAttribute_Lean_KeyedDeclsAttribute___instance__3___closed__1;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_Lean_PrettyPrinter_Parenthesizer___instance__3___closed__3;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__3;
|
||||
lean_object* lean_nat_mod(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_withForbidden_parenthesizer___boxed(lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__1(lean_object*);
|
||||
|
|
@ -485,9 +483,9 @@ lean_object* l_ReaderT_Init_Control_Reader___instance__4___rarg(lean_object*);
|
|||
lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*);
|
||||
extern lean_object* l_Lean_mkAppStx___closed__2;
|
||||
extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__3;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1;
|
||||
lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__4;
|
||||
lean_object* l_Lean_Syntax_Traverser_left(lean_object*);
|
||||
lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -7244,49 +7242,13 @@ return x_2;
|
|||
static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("Tactic");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_mkAppStx___closed__4;
|
||||
x_2 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2;
|
||||
x_1 = l_myMacro____x40_Init_Tactics___hyg_31____closed__2;
|
||||
x_2 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("seq1");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2;
|
||||
x_2 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__4;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -7298,7 +7260,7 @@ x_8 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_8, 0, x_7);
|
||||
lean_ctor_set(x_8, 1, x_6);
|
||||
x_9 = lean_array_push(x_5, x_8);
|
||||
x_10 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__5;
|
||||
x_10 = l_myMacro____x40_Init_Tactics___hyg_31____closed__4;
|
||||
x_11 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_11, 0, x_10);
|
||||
lean_ctor_set(x_11, 1, x_9);
|
||||
|
|
@ -7306,7 +7268,7 @@ x_12 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__6;
|
|||
x_13 = lean_array_push(x_12, x_11);
|
||||
x_14 = l_myMacro____x40_Init_Data_ToString_Macro___hyg_39____closed__15;
|
||||
x_15 = lean_array_push(x_13, x_14);
|
||||
x_16 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__3;
|
||||
x_16 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__1;
|
||||
x_17 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_16);
|
||||
lean_ctor_set(x_17, 1, x_15);
|
||||
|
|
@ -7333,22 +7295,14 @@ return x_5;
|
|||
static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("tactic");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1;
|
||||
x_2 = l___kind_tactic____x40_Init_Tactics___hyg_2____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__3() {
|
||||
static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -7360,13 +7314,13 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer(lean_object
|
|||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_7 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2;
|
||||
x_7 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1;
|
||||
lean_inc(x_1);
|
||||
x_8 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___boxed), 7, 2);
|
||||
lean_closure_set(x_8, 0, x_7);
|
||||
lean_closure_set(x_8, 1, x_1);
|
||||
x_9 = 0;
|
||||
x_10 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__3;
|
||||
x_10 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2;
|
||||
x_11 = l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize(x_7, x_9, x_10, x_1, x_8, x_2, x_3, x_4, x_5, x_6);
|
||||
return x_11;
|
||||
}
|
||||
|
|
@ -7394,7 +7348,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_PrettyPrinter_categoryParenthesizerAttribute;
|
||||
x_3 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2;
|
||||
x_3 = l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1;
|
||||
x_4 = l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
|
|
@ -10518,20 +10472,10 @@ if (lean_io_result_is_error(res)) return res;
|
|||
lean_dec_ref(res);
|
||||
l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__1();
|
||||
lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__1);
|
||||
l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2();
|
||||
lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__2);
|
||||
l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__3 = _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__3();
|
||||
lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__3);
|
||||
l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__4 = _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__4();
|
||||
lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__4);
|
||||
l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__5 = _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__5();
|
||||
lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__5);
|
||||
l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1();
|
||||
lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1);
|
||||
l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2 = _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2();
|
||||
lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__2);
|
||||
l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__3 = _init_l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__3();
|
||||
lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__3);
|
||||
l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1);
|
||||
res = l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer(lean_io_mk_world());
|
||||
|
|
|
|||
16
stage0/stdlib/Lean/Server/ServerBin.c
generated
16
stage0/stdlib/Lean/Server/ServerBin.c
generated
|
|
@ -290,15 +290,15 @@ return lean_io_result_mk_ok(lean_box(0));
|
|||
}
|
||||
void lean_initialize();
|
||||
|
||||
#if defined(WIN32) || defined(_WIN32)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#if defined(WIN32) || defined(_WIN32)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
int main(int argc, char ** argv) {
|
||||
#if defined(WIN32) || defined(_WIN32)
|
||||
SetErrorMode(SEM_FAILCRITICALERRORS);
|
||||
#endif
|
||||
lean_object* in; lean_object* res;
|
||||
int main(int argc, char ** argv) {
|
||||
#if defined(WIN32) || defined(_WIN32)
|
||||
SetErrorMode(SEM_FAILCRITICALERRORS);
|
||||
#endif
|
||||
lean_object* in; lean_object* res;
|
||||
lean_initialize();
|
||||
res = initialize_Lean_Server_ServerBin(lean_io_mk_world());
|
||||
lean_io_mark_end_initialization();
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Util/Trace.c
generated
8
stage0/stdlib/Lean/Util/Trace.c
generated
|
|
@ -19,13 +19,14 @@ size_t l_USize_add(size_t, size_t);
|
|||
lean_object* l_Std_PersistentArray_foldlM___at_Lean_withNestedTraces___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
extern lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__5;
|
||||
uint8_t l_Lean_MessageData_isNest(lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__7;
|
||||
lean_object* l_Lean_isTracingEnabledFor___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_USize_decEq(size_t, size_t);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
extern lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__3;
|
||||
lean_object* l_Lean_MessageData_format(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__7;
|
||||
lean_object* l_Lean_Format_pretty(lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__4___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Lean_withNestedTraces___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -125,7 +126,6 @@ extern lean_object* l_Lean___kind_term____x40_Lean_Exception___hyg_682____closed
|
|||
lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__21;
|
||||
lean_object* l_Std_PersistentArray_forM___at_Lean_printTraces___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_953____closed__17;
|
||||
extern lean_object* l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__1;
|
||||
lean_object* l_Lean_enableTracing___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTraceClass___closed__2;
|
||||
|
|
@ -2533,7 +2533,7 @@ static lean_object* _init_l_Lean___kind_term____x40_Lean_Util_Trace___hyg_889___
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__1;
|
||||
x_1 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__3;
|
||||
x_2 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_889____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -3301,7 +3301,7 @@ x_80 = l___private_Init_LeanInit_0__Lean_quoteName(x_79);
|
|||
x_81 = lean_array_push(x_77, x_80);
|
||||
x_82 = l_Lean_myMacro____x40_Lean_Exception___hyg_727____closed__9;
|
||||
x_83 = lean_array_push(x_82, x_17);
|
||||
x_84 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__5;
|
||||
x_84 = l_Lean___kind_term____x40_Lean_Message___hyg_1842____closed__7;
|
||||
x_85 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_85, 0, x_84);
|
||||
lean_ctor_set(x_85, 1, x_83);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue