chore: update stage0
This commit is contained in:
parent
4fc06bfcca
commit
a6bfe3e483
98 changed files with 3866 additions and 3992 deletions
100
stage0/src/Init/Notation.lean
generated
100
stage0/src/Init/Notation.lean
generated
|
|
@ -12,11 +12,11 @@ import Init.Prelude
|
|||
|
||||
namespace Lean.Parser.Syntax
|
||||
|
||||
syntax:65 [addPrec] prec " + " prec:66 : prec
|
||||
syntax:65 [subPrec] prec " - " prec:66 : prec
|
||||
syntax:65 (name := addPrec) prec " + " prec:66 : prec
|
||||
syntax:65 (name := subPrec) prec " - " prec:66 : prec
|
||||
|
||||
syntax:65 [addPrio] prio " + " prio:66 : prio
|
||||
syntax:65 [subPrio] prio " - " prio:66 : prio
|
||||
syntax:65 (name := addPrio) prio " + " prio:66 : prio
|
||||
syntax:65 (name := subPrio) prio " - " prio:66 : prio
|
||||
|
||||
end Lean.Parser.Syntax
|
||||
|
||||
|
|
@ -54,7 +54,7 @@ macro:max x:stx ",+,?" : stx => `(stx| sepBy1($x, ",", ", ", allowTrailingSep))
|
|||
|
||||
macro "!" x:stx : stx => `(stx| notFollowedBy($x))
|
||||
|
||||
syntax[rawNatLit] "natLit! " num : term
|
||||
syntax (name := rawNatLit) "natLit! " num : term
|
||||
|
||||
infixr:90 " ∘ " => Function.comp
|
||||
infixr:35 " × " => Prod
|
||||
|
|
@ -160,28 +160,28 @@ macro_rules
|
|||
|
||||
namespace Parser.Tactic
|
||||
|
||||
syntax[intro] "intro " notFollowedBy("|") (colGt term:max)* : tactic
|
||||
syntax[intros] "intros " (colGt (ident <|> "_"))* : tactic
|
||||
syntax[revert] "revert " (colGt ident)+ : tactic
|
||||
syntax[clear] "clear " (colGt ident)+ : tactic
|
||||
syntax[subst] "subst " (colGt ident)+ : tactic
|
||||
syntax[assumption] "assumption" : tactic
|
||||
syntax[apply] "apply " term : tactic
|
||||
syntax[exact] "exact " term : tactic
|
||||
syntax[refine] "refine " term : tactic
|
||||
syntax[refine!] "refine! " term : tactic
|
||||
syntax[case] "case " ident " => " tacticSeq : tactic
|
||||
syntax[allGoals] "allGoals " tacticSeq : tactic
|
||||
syntax[focus] "focus " tacticSeq : tactic
|
||||
syntax[skip] "skip" : tactic
|
||||
syntax[done] "done" : tactic
|
||||
syntax[traceState] "traceState" : tactic
|
||||
syntax[failIfSuccess] "failIfSuccess " tacticSeq : tactic
|
||||
syntax[generalize] "generalize " atomic(ident " : ")? term:51 " = " ident : tactic
|
||||
syntax[paren] "(" tacticSeq ")" : tactic
|
||||
syntax[withReducible] "withReducible " tacticSeq : tactic
|
||||
syntax[withReducibleAndInstances] "withReducibleAndInstances " tacticSeq : tactic
|
||||
syntax:2[orelse] tactic "<|>" tactic:1 : tactic
|
||||
syntax (name := intro) "intro " notFollowedBy("|") (colGt term:max)* : tactic
|
||||
syntax (name := intros) "intros " (colGt (ident <|> "_"))* : tactic
|
||||
syntax (name := revert) "revert " (colGt ident)+ : tactic
|
||||
syntax (name := clear) "clear " (colGt ident)+ : tactic
|
||||
syntax (name := subst) "subst " (colGt ident)+ : tactic
|
||||
syntax (name := assumption) "assumption" : tactic
|
||||
syntax (name := apply) "apply " term : tactic
|
||||
syntax (name := exact) "exact " term : tactic
|
||||
syntax (name := refine) "refine " term : tactic
|
||||
syntax (name := refine!) "refine! " term : tactic
|
||||
syntax (name := case) "case " ident " => " tacticSeq : tactic
|
||||
syntax (name := allGoals) "allGoals " tacticSeq : tactic
|
||||
syntax (name := focus) "focus " tacticSeq : tactic
|
||||
syntax (name := skip) "skip" : tactic
|
||||
syntax (name := done) "done" : tactic
|
||||
syntax (name := traceState) "traceState" : tactic
|
||||
syntax (name := failIfSuccess) "failIfSuccess " tacticSeq : tactic
|
||||
syntax (name := generalize) "generalize " atomic(ident " : ")? term:51 " = " ident : tactic
|
||||
syntax (name := paren) "(" tacticSeq ")" : tactic
|
||||
syntax (name := withReducible) "withReducible " tacticSeq : tactic
|
||||
syntax (name := withReducibleAndInstances) "withReducibleAndInstances " tacticSeq : tactic
|
||||
syntax:2 (name := orelse) tactic "<|>" tactic:1 : tactic
|
||||
macro "try " t:tacticSeq : tactic => `(($t) <|> skip)
|
||||
|
||||
|
||||
|
|
@ -194,21 +194,21 @@ syntax locationTarget := "⊢" <|> "|-"
|
|||
syntax locationHyp := (colGt ident)+
|
||||
syntax location := withPosition("at " locationWildcard <|> locationTarget <|> locationHyp)
|
||||
|
||||
syntax[change] "change " term (location)? : tactic
|
||||
syntax[changeWith] "change " term " with " term (location)? : tactic
|
||||
syntax (name := change) "change " term (location)? : tactic
|
||||
syntax (name := changeWith) "change " term " with " term (location)? : tactic
|
||||
|
||||
syntax rwRule := ("←" <|> "<-")? term
|
||||
syntax rwRuleSeq := "[" rwRule,+,? "]"
|
||||
|
||||
syntax[rewrite] "rewrite " rwRule (location)? : tactic
|
||||
syntax[rewriteSeq, high] "rewrite " rwRuleSeq (location)? : tactic
|
||||
syntax[erewrite] "erewrite " rwRule (location)? : tactic
|
||||
syntax[erewriteSeq, high] "erewrite " rwRuleSeq (location)? : tactic
|
||||
syntax (name := rewrite) "rewrite " rwRule (location)? : tactic
|
||||
syntax (name := rewriteSeq) (priority := high) "rewrite " rwRuleSeq (location)? : tactic
|
||||
syntax (name := erewrite) "erewrite " rwRule (location)? : tactic
|
||||
syntax (name := erewriteSeq) (priority := high) "erewrite " rwRuleSeq (location)? : tactic
|
||||
|
||||
syntax[rw] "rw " rwRule (location)? : tactic
|
||||
syntax[rwSeq, high] "rw " rwRuleSeq (location)? : tactic
|
||||
syntax[erw] "erw " rwRule (location)? : tactic
|
||||
syntax[erwSeq, high] "erw " rwRuleSeq (location)? : tactic
|
||||
syntax (name := rw) "rw " rwRule (location)? : tactic
|
||||
syntax (name := rwSeq) (priority := high) "rw " rwRuleSeq (location)? : tactic
|
||||
syntax (name := erw) "erw " rwRule (location)? : tactic
|
||||
syntax (name := erwSeq) (priority := high) "erw " rwRuleSeq (location)? : tactic
|
||||
|
||||
private def withCheapRefl (tac : Syntax) : MacroM Syntax :=
|
||||
`(tactic| $tac; try (withReducible rfl))
|
||||
|
|
@ -229,31 +229,31 @@ def expandERw : Macro :=
|
|||
def expandERwSeq : Macro :=
|
||||
fun stx => withCheapRefl (stx.setKind `Lean.Parser.Tactic.erewriteSeq |>.setArg 0 (mkAtomFrom stx "erewrite"))
|
||||
|
||||
syntax[injection] "injection " term (" with " (colGt (ident <|> "_"))+)? : tactic
|
||||
syntax (name := injection) "injection " term (" with " (colGt (ident <|> "_"))+)? : tactic
|
||||
|
||||
syntax[«have»] "have " haveDecl : tactic
|
||||
syntax[«suffices»] "suffices " sufficesDecl : tactic
|
||||
syntax[«show»] "show " term : tactic
|
||||
syntax[«let»] "let " letDecl : tactic
|
||||
syntax[«let!»] "let! " letDecl : tactic
|
||||
syntax[letrec] withPosition(atomic(group("let " &"rec ")) letRecDecls) : tactic
|
||||
syntax (name := «have») "have " haveDecl : tactic
|
||||
syntax (name := «suffices») "suffices " sufficesDecl : tactic
|
||||
syntax (name := «show») "show " term : tactic
|
||||
syntax (name := «let») "let " letDecl : tactic
|
||||
syntax (name := «let!») "let! " letDecl : tactic
|
||||
syntax (name := letrec) withPosition(atomic(group("let " &"rec ")) letRecDecls) : tactic
|
||||
|
||||
syntax inductionAlt := "| " (ident <|> "_") (ident <|> "_")* " => " (hole <|> syntheticHole <|> tacticSeq)
|
||||
syntax inductionAlts := "with " withPosition( (colGe inductionAlt)+)
|
||||
syntax[induction] "induction " term,+ (" using " ident)? ("generalizing " ident+)? (inductionAlts)? : tactic
|
||||
syntax (name := induction) "induction " term,+ (" using " ident)? ("generalizing " ident+)? (inductionAlts)? : tactic
|
||||
syntax casesTarget := atomic(ident " : ")? term
|
||||
syntax[cases] "cases " casesTarget,+ (" using " ident)? (inductionAlts)? : tactic
|
||||
syntax (name := cases) "cases " casesTarget,+ (" using " ident)? (inductionAlts)? : tactic
|
||||
|
||||
syntax matchAlt := "| " term,+ " => " (hole <|> syntheticHole <|> tacticSeq)
|
||||
syntax matchAlts := withPosition((colGe matchAlt)+)
|
||||
syntax[«match»] "match " matchDiscr,+ (" : " term)? " with " matchAlts : tactic
|
||||
syntax (name := «match») "match " matchDiscr,+ (" : " term)? " with " matchAlts : tactic
|
||||
|
||||
syntax[introMatch] "intro " matchAlts : tactic
|
||||
syntax (name := introMatch) "intro " matchAlts : tactic
|
||||
|
||||
syntax[existsIntro] "exists " term : tactic
|
||||
syntax (name := existsIntro) "exists " term : tactic
|
||||
|
||||
/- We use a priority > default, to avoid ambiguity with the builtin `have` notation -/
|
||||
macro[high] "have" x:ident " := " p:term : tactic => `(have $x:ident : _ := $p)
|
||||
macro (priority := high) "have" x:ident " := " p:term : tactic => `(have $x:ident : _ := $p)
|
||||
|
||||
syntax "repeat " tacticSeq : tactic
|
||||
macro_rules
|
||||
|
|
|
|||
4
stage0/src/Lean/Elab/Declaration.lean
generated
4
stage0/src/Lean/Elab/Declaration.lean
generated
|
|
@ -45,10 +45,10 @@ def expandDeclNamespace? (stx : Syntax) : Option (Name × Syntax) :=
|
|||
| some (ns, declId) => some (ns, stx.setArg 1 (decl.setArg 1 declId))
|
||||
| none => none
|
||||
else if k == `Lean.Parser.Command.instance then
|
||||
let optDeclId := decl[2]
|
||||
let optDeclId := decl[3]
|
||||
if optDeclId.isNone then none
|
||||
else match expandDeclIdNamespace? optDeclId[0] with
|
||||
| some (ns, declId) => some (ns, stx.setArg 1 (decl.setArg 2 (optDeclId.setArg 0 declId)))
|
||||
| some (ns, declId) => some (ns, stx.setArg 1 (decl.setArg 3 (optDeclId.setArg 0 declId)))
|
||||
| none => none
|
||||
else
|
||||
none
|
||||
|
|
|
|||
12
stage0/src/Lean/Elab/DefView.lean
generated
12
stage0/src/Lean/Elab/DefView.lean
generated
|
|
@ -138,18 +138,20 @@ def mkDefViewOfConstant (modifiers : Modifiers) (stx : Syntax) : CommandElabM De
|
|||
}
|
||||
|
||||
def mkDefViewOfInstance (modifiers : Modifiers) (stx : Syntax) : CommandElabM DefView := do
|
||||
-- parser! attrKind >> "instance " >> optional declId >> declSig >> declVal
|
||||
-- parser! Term.attrKind >> "instance " >> optNamedPrio >> optional declId >> declSig >> declVal
|
||||
let attrKind ← toAttributeKind stx[0]
|
||||
let (binders, type) := expandDeclSig stx[3]
|
||||
let modifiers := modifiers.addAttribute { kind := attrKind, name := `instance }
|
||||
let declId ← match stx[2].getOptional? with
|
||||
let prio ← liftMacroM <| expandOptNamedPrio stx[2]
|
||||
let attrStx ← `(attr| instance $(quote prio):numLit)
|
||||
let (binders, type) := expandDeclSig stx[4]
|
||||
let modifiers := modifiers.addAttribute { kind := attrKind, name := `instance, stx := attrStx }
|
||||
let declId ← match stx[3].getOptional? with
|
||||
| some declId => pure declId
|
||||
| none =>
|
||||
let id ← MkInstanceName.main type
|
||||
pure <| Syntax.node ``Parser.Command.declId #[mkIdentFrom stx id, mkNullNode]
|
||||
return {
|
||||
ref := stx, kind := DefKind.def, modifiers := modifiers,
|
||||
declId := declId, binders := binders, type? := type, value := stx[4]
|
||||
declId := declId, binders := binders, type? := type, value := stx[5]
|
||||
}
|
||||
|
||||
def mkDefViewOfExample (modifiers : Modifiers) (stx : Syntax) : DefView :=
|
||||
|
|
|
|||
15
stage0/src/Lean/Elab/Syntax.lean
generated
15
stage0/src/Lean/Elab/Syntax.lean
generated
|
|
@ -230,21 +230,6 @@ where
|
|||
| Name.str _ s _ => s ++ str
|
||||
| _ => str
|
||||
|
||||
|
||||
def expandOptNamedPrio (stx : Syntax) : MacroM Nat :=
|
||||
if stx.isNone then
|
||||
return evalPrio! default
|
||||
else match stx[0] with
|
||||
| `(Parser.Command.namedPrio| (priority := $prio)) => evalPrio prio
|
||||
| _ => Macro.throwUnsupported
|
||||
|
||||
def expandOptNamedName (stx : Syntax) : MacroM (Option Name) := do
|
||||
if stx.isNone then
|
||||
return none
|
||||
else match stx[0] with
|
||||
| `(Parser.Command.namedName| (name := $name)) => return name.getId
|
||||
| _ => Macro.throwUnsupported
|
||||
|
||||
/- We assume a new syntax can be treated as an atom when it starts and ends with a token.
|
||||
Here are examples of atom-like syntax.
|
||||
```
|
||||
|
|
|
|||
15
stage0/src/Lean/Elab/Util.lean
generated
15
stage0/src/Lean/Elab/Util.lean
generated
|
|
@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
|
|||
Authors: Leonardo de Moura
|
||||
-/
|
||||
import Lean.Util.Trace
|
||||
import Lean.Parser.Syntax
|
||||
import Lean.Parser.Extension
|
||||
import Lean.KeyedDeclsAttribute
|
||||
import Lean.Elab.Exception
|
||||
|
|
@ -26,6 +27,20 @@ def MacroScopesView.format (view : MacroScopesView) (mainModule : Name) : Format
|
|||
|
||||
namespace Elab
|
||||
|
||||
def expandOptNamedPrio (stx : Syntax) : MacroM Nat :=
|
||||
if stx.isNone then
|
||||
return evalPrio! default
|
||||
else match stx[0] with
|
||||
| `(Parser.Command.namedPrio| (priority := $prio)) => evalPrio prio
|
||||
| _ => Macro.throwUnsupported
|
||||
|
||||
def expandOptNamedName (stx : Syntax) : MacroM (Option Name) := do
|
||||
if stx.isNone then
|
||||
return none
|
||||
else match stx[0] with
|
||||
| `(Parser.Command.namedName| (name := $name)) => return name.getId
|
||||
| _ => Macro.throwUnsupported
|
||||
|
||||
structure MacroStackElem where
|
||||
before : Syntax
|
||||
after : Syntax
|
||||
|
|
|
|||
5
stage0/src/Lean/Meta/Instances.lean
generated
5
stage0/src/Lean/Meta/Instances.lean
generated
|
|
@ -55,10 +55,7 @@ builtin_initialize
|
|||
name := `instance
|
||||
descr := "type class instance"
|
||||
add := fun declName stx attrKind => do
|
||||
let prio ← match stx with
|
||||
| Syntax.missing => pure <| evalPrio! default -- small hack, in the elaborator we use `Syntax.missing` when creating attribute views for `instance
|
||||
| _ => getAttrParamOptPrio stx[1]
|
||||
-- TODO use prio
|
||||
let prio ← getAttrParamOptPrio stx[1]
|
||||
discard <| addInstance declName attrKind prio |>.run {} {}
|
||||
}
|
||||
|
||||
|
|
|
|||
6
stage0/src/Lean/Parser/Command.lean
generated
6
stage0/src/Lean/Parser/Command.lean
generated
|
|
@ -18,6 +18,10 @@ namespace Parser
|
|||
@[builtinTermParser] def Term.quot := parser! "`(" >> toggleInsideQuot (termParser <|> many1Unbox commandParser) >> ")"
|
||||
|
||||
namespace Command
|
||||
|
||||
def namedPrio := parser! (atomic ("(" >> nonReservedSymbol "priority") >> " := " >> priorityParser >> ")")
|
||||
def optNamedPrio := optional namedPrio
|
||||
|
||||
def commentBody : Parser :=
|
||||
{ fn := rawFn (finishCommentBlock 1) true }
|
||||
|
||||
|
|
@ -42,7 +46,7 @@ def «abbrev» := parser! "abbrev " >> declId >> optDeclSig >> declVal
|
|||
def «def» := parser! "def " >> declId >> optDeclSig >> declVal
|
||||
def «theorem» := parser! "theorem " >> declId >> declSig >> declVal
|
||||
def «constant» := parser! "constant " >> declId >> declSig >> optional declValSimple
|
||||
def «instance» := parser! Term.attrKind >> "instance " >> optional declId >> declSig >> declVal
|
||||
def «instance» := parser! Term.attrKind >> "instance " >> optNamedPrio >> optional declId >> declSig >> declVal
|
||||
def «axiom» := parser! "axiom " >> declId >> declSig
|
||||
def «example» := parser! "example " >> declSig >> declVal
|
||||
def inferMod := parser! atomic (symbol "{" >> "}")
|
||||
|
|
|
|||
2
stage0/src/Lean/Parser/Syntax.lean
generated
2
stage0/src/Lean/Parser/Syntax.lean
generated
|
|
@ -50,9 +50,7 @@ end Term
|
|||
|
||||
namespace Command
|
||||
|
||||
def namedPrio := parser! (atomic ("(" >> nonReservedSymbol "priority") >> " := " >> priorityParser >> ")")
|
||||
def namedName := parser! (atomic ("(" >> nonReservedSymbol "name") >> " := " >> ident >> ")")
|
||||
def optNamedPrio := optional namedPrio
|
||||
def optNamedName := optional namedName
|
||||
|
||||
def «prefix» := parser! "prefix"
|
||||
|
|
|
|||
84
stage0/stdlib/Init/Data/Array/Basic.c
generated
84
stage0/stdlib/Init/Data/Array/Basic.c
generated
|
|
@ -166,7 +166,6 @@ lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation_
|
|||
lean_object* l_Array_foldlMUnsafe_fold___at_Array_append___spec__1(lean_object*);
|
||||
lean_object* l_Array_foldlM_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_allM(lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__4;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Array_map___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_allM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -226,6 +225,7 @@ lean_object* l_Array_foldlM_loop_match__1___rarg(lean_object*, lean_object*, lea
|
|||
lean_object* l_Array_findSomeM_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_instAppendArray___closed__1;
|
||||
lean_object* l_Array_toArrayLit___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__1;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Array_shrink_loop_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_findSomeRevM_x3f_find_match__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -235,7 +235,6 @@ lean_object* l_Array_filter___rarg___boxed(lean_object*, lean_object*, lean_obje
|
|||
lean_object* l_Array_eraseIdx_x27___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_getIdx_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__1;
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Array_all___spec__1(lean_object*);
|
||||
lean_object* l_Array_get_x3f___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Array_findIdx_x3f___rarg___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -253,12 +252,12 @@ lean_object* l_Array_allM___rarg(lean_object*, lean_object*, lean_object*, lean_
|
|||
lean_object* l_Array_partition_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Array_allDiff(lean_object*);
|
||||
lean_object* l_Array_findIdxM_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__2;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Array_findIdxM_x3f___spec__1___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Array_pop___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_map(lean_object*, lean_object*);
|
||||
lean_object* l_Array_singleton___rarg(lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__2;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Array_findM_x3f___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
lean_object* l_Array_forInUnsafe_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_instReprArray___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -268,6 +267,7 @@ lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
|||
lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forIn_loop_match__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forIn_loop_match__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__4;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Array_filter___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Array_insertAtAux(lean_object*);
|
||||
lean_object* l_Std_Format_joinSep___at_Array_instReprArray___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -328,6 +328,7 @@ lean_object* l_Array_append(lean_object*);
|
|||
lean_object* l_Array_instToStringArray(lean_object*);
|
||||
lean_object* l_Array_foldrM_fold_match__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Array_findM_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__6;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Array_findSome_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Array_any___spec__1___rarg(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* l_Array_findRevM_x3f(lean_object*, lean_object*);
|
||||
|
|
@ -390,7 +391,6 @@ lean_object* l_Array_foldrM_fold_match__1(lean_object*, lean_object*, lean_objec
|
|||
lean_object* l_Array_findSomeRevM_x3f_find_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Array_any___spec__1(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterM___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__6;
|
||||
lean_object* l_Array_find_x3f___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Array_mapM___spec__1___rarg___lambda__2(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
|
||||
|
|
@ -404,7 +404,6 @@ lean_object* l_Array_foldlM_loop_match__1(lean_object*);
|
|||
lean_object* l_Array_insertAt___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_toListLitAux_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_insertAt___rarg___closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__3;
|
||||
lean_object* l_Array_findSome_x3f(lean_object*, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Array_allM___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Array_swapAt_x21___rarg___closed__3;
|
||||
|
|
@ -423,6 +422,7 @@ lean_object* l_Array_indexOf_x3f___rarg___boxed(lean_object*, lean_object*, lean
|
|||
lean_object* l_Array_anyM_loop(lean_object*, lean_object*);
|
||||
lean_object* l_term_x23_x5b___x2c_x5d___closed__7;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Array_forM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__3;
|
||||
lean_object* l_Array_forRevM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_partition_match__2(lean_object*, lean_object*);
|
||||
lean_object* l_Array_filterMapM(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -489,6 +489,7 @@ lean_object* l_Array_eraseIdx___rarg___boxed(lean_object*, lean_object*);
|
|||
lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findSomeRev_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterM___spec__1___rarg___lambda__2(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Array_append___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__7;
|
||||
lean_object* l_Array_mapIdx___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Array_findSomeRev_x3f___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Array_findSomeRevM_x3f_find___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -497,6 +498,7 @@ lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*);
|
|||
lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux_match__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_getEvenElems(lean_object*);
|
||||
lean_object* l_Array_findSome_x21(lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Array_findIdxM_x3f___spec__1___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_get_x3f(lean_object*);
|
||||
lean_object* l_Array_get_x3f___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -509,7 +511,6 @@ lean_object* l_Array_erase_match__1___rarg(lean_object*, lean_object*, lean_obje
|
|||
extern lean_object* l_termIf_____x3a__Then__Else_____closed__10;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Array_findSomeM_x3f___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_insertAt___rarg___closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
lean_object* l_Array_feraseIdx___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Array_getEvenElems___spec__1___rarg(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Array_swapAt_x21___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -536,7 +537,6 @@ lean_object* l_Array_erase_match__1___boxed(lean_object*, lean_object*, lean_obj
|
|||
lean_object* l_Array_partition_match__2___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Array_filterMap___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_filterMapM_match__1(lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__7;
|
||||
lean_object* l_Array_forRevM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_shrink_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_findSome_x21___rarg___closed__3;
|
||||
|
|
@ -597,7 +597,7 @@ lean_object* l_Array_foldrM_fold(lean_object*, lean_object*, lean_object*);
|
|||
lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_findIdxM_x3f_match__2(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Array_map___spec__1___rarg(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3427_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_contains___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_to_int(lean_object*);
|
||||
lean_object* l_Array_eraseIdxSzAux_match__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -7736,7 +7736,7 @@ x_1 = l_term_x23_x5b___x2c_x5d___closed__7;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__1() {
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -7744,22 +7744,22 @@ x_1 = lean_mk_string("List.toArray");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__2() {
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__1;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__3() {
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__1;
|
||||
x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__1;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__2;
|
||||
x_3 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____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);
|
||||
|
|
@ -7767,7 +7767,7 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__4() {
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -7775,41 +7775,41 @@ x_1 = lean_mk_string("toArray");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5() {
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_9235____closed__5;
|
||||
x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__4;
|
||||
x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__4;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__6() {
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
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;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__7() {
|
||||
static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__6;
|
||||
x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__6;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3427_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -7846,11 +7846,11 @@ lean_inc(x_14);
|
|||
x_15 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_2);
|
||||
x_16 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
x_16 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
x_17 = l_Lean_addMacroScope(x_15, x_16, x_14);
|
||||
x_18 = l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
x_19 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__3;
|
||||
x_20 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__7;
|
||||
x_19 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__3;
|
||||
x_20 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__7;
|
||||
x_21 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_21, 0, x_18);
|
||||
lean_ctor_set(x_21, 1, x_19);
|
||||
|
|
@ -7905,11 +7905,11 @@ lean_inc(x_43);
|
|||
x_44 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_44);
|
||||
lean_dec(x_2);
|
||||
x_45 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
x_45 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
x_46 = l_Lean_addMacroScope(x_44, x_45, x_43);
|
||||
x_47 = l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
x_48 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__3;
|
||||
x_49 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__7;
|
||||
x_48 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__3;
|
||||
x_49 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__7;
|
||||
x_50 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_50, 0, x_47);
|
||||
lean_ctor_set(x_50, 1, x_48);
|
||||
|
|
@ -10286,20 +10286,20 @@ l_term_x23_x5b___x2c_x5d___closed__7 = _init_l_term_x23_x5b___x2c_x5d___closed__
|
|||
lean_mark_persistent(l_term_x23_x5b___x2c_x5d___closed__7);
|
||||
l_term_x23_x5b___x2c_x5d = _init_l_term_x23_x5b___x2c_x5d();
|
||||
lean_mark_persistent(l_term_x23_x5b___x2c_x5d);
|
||||
l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__1 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__1();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__1);
|
||||
l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__2 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__2();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__2);
|
||||
l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__3 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__3();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__3);
|
||||
l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__4 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__4();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__4);
|
||||
l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5);
|
||||
l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__6 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__6();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__6);
|
||||
l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__7 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__7();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__7);
|
||||
l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__1 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__1();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__1);
|
||||
l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__2 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__2();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__2);
|
||||
l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__3 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__3();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__3);
|
||||
l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__4 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__4();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__4);
|
||||
l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5);
|
||||
l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__6 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__6();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__6);
|
||||
l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__7 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__7();
|
||||
lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__7);
|
||||
l_Array_partition___rarg___closed__1 = _init_l_Array_partition___rarg___closed__1();
|
||||
lean_mark_persistent(l_Array_partition___rarg___closed__1);
|
||||
l_Array_insertAt___rarg___closed__1 = _init_l_Array_insertAt___rarg___closed__1();
|
||||
|
|
|
|||
54
stage0/stdlib/Init/Data/Option/Basic.c
generated
54
stage0/stdlib/Init/Data/Option/Basic.c
generated
|
|
@ -30,7 +30,6 @@ lean_object* l_Option_instAlternativeOption___closed__1;
|
|||
lean_object* l_Option_isSome___rarg___boxed(lean_object*);
|
||||
lean_object* l_Option_orElse___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Option_instMonadOption;
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530____at_instDecidableEqOption___spec__1(lean_object*);
|
||||
lean_object* l_Option_isNone_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_instMonadOption___closed__9;
|
||||
lean_object* l_Option_filter___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -46,29 +45,30 @@ lean_object* l_Option_all_match__1(lean_object*, lean_object*);
|
|||
lean_object* l_Option_filter_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_lt_match__1(lean_object*, lean_object*);
|
||||
lean_object* l_instBEqOption___rarg(lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530____at_instDecidableEqOption___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649__match__1(lean_object*, lean_object*);
|
||||
lean_object* l_Option_all(lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649_(lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651_(lean_object*);
|
||||
lean_object* l_Option_instMonadOption___lambda__3(lean_object*, lean_object*);
|
||||
uint8_t l_Option_isSome___rarg(lean_object*);
|
||||
lean_object* l_Option_isSome(lean_object*);
|
||||
lean_object* l_Option_instMonadOption___lambda__5(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_orElse_match__1(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532____at_instDecidableEqOption___spec__1(lean_object*);
|
||||
lean_object* l_Option_orElse___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Option_isNone___rarg___boxed(lean_object*);
|
||||
lean_object* l_instDecidableEqOption(lean_object*);
|
||||
lean_object* l_Option_toMonad___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532____rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_toMonad_match__1(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530__match__1(lean_object*, lean_object*);
|
||||
lean_object* l_Option_instDecidableRelLt_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_toMonad(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_filter_match__1(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530____rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_toMonad___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532__match__1(lean_object*, lean_object*);
|
||||
lean_object* l_Option_instMonadOption___lambda__5___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_lt_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532____at_instDecidableEqOption___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_any_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_instAlternativeOption___closed__2;
|
||||
lean_object* l_Option_instMonadOption___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -84,12 +84,10 @@ lean_object* l_Option_instMonadOption___closed__5;
|
|||
lean_object* l_Option_isNone(lean_object*);
|
||||
lean_object* l_Option_any___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_instDecidableEqOption___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_instMonadOption___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530_(lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532_(lean_object*);
|
||||
lean_object* l_Option_getD_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_map___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_map(lean_object*, lean_object*);
|
||||
lean_object* l_Option_orElse_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Option_isNone___rarg(lean_object*);
|
||||
|
|
@ -106,9 +104,11 @@ lean_object* l_Option_instAlternativeOption___lambda__2___boxed(lean_object*, le
|
|||
lean_object* l_Option_getD___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Option_instDecidableRelLt___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_bind_match__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651__match__1(lean_object*, lean_object*);
|
||||
lean_object* l_Option_filter(lean_object*);
|
||||
lean_object* l_instHasLessOption___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Option_all_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_toBool___rarg___boxed(lean_object*);
|
||||
lean_object* l_Option_toMonad_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
|
|
@ -1452,7 +1452,7 @@ x_3 = lean_alloc_closure((void*)(l_Option_instDecidableRelLt___rarg), 3, 0);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
|
|
@ -1508,15 +1508,15 @@ return x_15;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530__match__1(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532__match__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530__match__1___rarg), 6, 0);
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532__match__1___rarg), 6, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
|
|
@ -1564,15 +1564,15 @@ return x_12;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530_(lean_object* x_1) {
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530____rarg), 3, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532____rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530____at_instDecidableEqOption___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532____at_instDecidableEqOption___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
|
|
@ -1620,11 +1620,11 @@ return x_12;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530____at_instDecidableEqOption___spec__1(lean_object* x_1) {
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532____at_instDecidableEqOption___spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530____at_instDecidableEqOption___spec__1___rarg), 3, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532____at_instDecidableEqOption___spec__1___rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
|
|
@ -1632,7 +1632,7 @@ lean_object* l_instDecidableEqOption___rarg(lean_object* x_1, lean_object* x_2,
|
|||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530____at_instDecidableEqOption___spec__1___rarg(x_1, x_2, x_3);
|
||||
x_4 = l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532____at_instDecidableEqOption___spec__1___rarg(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
@ -1644,7 +1644,7 @@ x_2 = lean_alloc_closure((void*)(l_instDecidableEqOption___rarg), 3, 0);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
|
|
@ -1692,15 +1692,15 @@ return x_12;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649__match__1(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651__match__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649__match__1___rarg), 5, 0);
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651__match__1___rarg), 5, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
|
|
@ -1748,11 +1748,11 @@ return x_12;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649_(lean_object* x_1) {
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____rarg), 3, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
|
|
@ -1760,7 +1760,7 @@ lean_object* l_instBEqOption___rarg(lean_object* x_1) {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____rarg), 3, 1);
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____rarg), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
|
|||
22
stage0/stdlib/Init/Data/Random.c
generated
22
stage0/stdlib/Init/Data/Random.c
generated
|
|
@ -22,6 +22,7 @@ lean_object* l_instRandomGenStdGen___lambda__1(lean_object*);
|
|||
lean_object* l_randNat_match__2(lean_object*);
|
||||
lean_object* l_stdNext___closed__6;
|
||||
lean_object* l_IO_setRandSeed___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_initFn____x40_Init_Data_Random___hyg_574____closed__1;
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
lean_object* l_instReprStdGen___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_instReprSigma___rarg___closed__1;
|
||||
|
|
@ -30,7 +31,6 @@ extern lean_object* l_instReprSigma___rarg___closed__7;
|
|||
lean_object* l_stdNext(lean_object*);
|
||||
lean_object* l_stdNext___closed__3;
|
||||
lean_object* l_IO_rand___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_initFn____x40_Init_Data_Random___hyg_573____closed__1;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
extern lean_object* l_Int_Int_pow___closed__1;
|
||||
lean_object* l_instRandomGenStdGen___lambda__1___boxed(lean_object*);
|
||||
|
|
@ -69,8 +69,8 @@ lean_object* l_randBool_match__1___rarg(lean_object*, lean_object*);
|
|||
lean_object* l_stdNext_match__1(lean_object*);
|
||||
lean_object* l_randNat(lean_object*);
|
||||
lean_object* l_instRandomGenStdGen;
|
||||
lean_object* l_IO_mkRef___at_initFn____x40_Init_Data_Random___hyg_573____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_randNat_match__1(lean_object*, lean_object*);
|
||||
lean_object* l_IO_mkRef___at_initFn____x40_Init_Data_Random___hyg_574____spec__1(lean_object*, lean_object*);
|
||||
uint8_t lean_int_dec_lt(lean_object*, lean_object*);
|
||||
extern lean_object* l_Int_instInhabitedInt___closed__1;
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
|
|
@ -88,7 +88,7 @@ lean_object* l_stdSplit(lean_object*);
|
|||
lean_object* l_stdNext___closed__7;
|
||||
lean_object* lean_int_add(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mod(lean_object*, lean_object*);
|
||||
lean_object* l_initFn____x40_Init_Data_Random___hyg_573_(lean_object*);
|
||||
lean_object* l_initFn____x40_Init_Data_Random___hyg_574_(lean_object*);
|
||||
lean_object* l_instReprStdGen(lean_object*, lean_object*);
|
||||
lean_object* l_instInhabitedStdGen;
|
||||
lean_object* l_IO_rand_match__1(lean_object*);
|
||||
|
|
@ -1401,7 +1401,7 @@ x_2 = lean_alloc_closure((void*)(l_randBool___rarg), 2, 0);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_IO_mkRef___at_initFn____x40_Init_Data_Random___hyg_573____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l_IO_mkRef___at_initFn____x40_Init_Data_Random___hyg_574____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; uint8_t x_4;
|
||||
|
|
@ -1426,7 +1426,7 @@ return x_7;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_initFn____x40_Init_Data_Random___hyg_573____closed__1() {
|
||||
static lean_object* _init_l_initFn____x40_Init_Data_Random___hyg_574____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -1435,12 +1435,12 @@ x_2 = l_mkStdGen(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_initFn____x40_Init_Data_Random___hyg_573_(lean_object* x_1) {
|
||||
lean_object* l_initFn____x40_Init_Data_Random___hyg_574_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_initFn____x40_Init_Data_Random___hyg_573____closed__1;
|
||||
x_3 = l_IO_mkRef___at_initFn____x40_Init_Data_Random___hyg_573____spec__1(x_2, x_1);
|
||||
x_2 = l_initFn____x40_Init_Data_Random___hyg_574____closed__1;
|
||||
x_3 = l_IO_mkRef___at_initFn____x40_Init_Data_Random___hyg_574____spec__1(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
@ -1936,9 +1936,9 @@ l_instRandomGenStdGen___closed__4 = _init_l_instRandomGenStdGen___closed__4();
|
|||
lean_mark_persistent(l_instRandomGenStdGen___closed__4);
|
||||
l_instRandomGenStdGen = _init_l_instRandomGenStdGen();
|
||||
lean_mark_persistent(l_instRandomGenStdGen);
|
||||
l_initFn____x40_Init_Data_Random___hyg_573____closed__1 = _init_l_initFn____x40_Init_Data_Random___hyg_573____closed__1();
|
||||
lean_mark_persistent(l_initFn____x40_Init_Data_Random___hyg_573____closed__1);
|
||||
res = l_initFn____x40_Init_Data_Random___hyg_573_(lean_io_mk_world());
|
||||
l_initFn____x40_Init_Data_Random___hyg_574____closed__1 = _init_l_initFn____x40_Init_Data_Random___hyg_574____closed__1();
|
||||
lean_mark_persistent(l_initFn____x40_Init_Data_Random___hyg_574____closed__1);
|
||||
res = l_initFn____x40_Init_Data_Random___hyg_574_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_IO_stdGenRef = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_IO_stdGenRef);
|
||||
|
|
|
|||
28
stage0/stdlib/Init/Meta.c
generated
28
stage0/stdlib/Init/Meta.c
generated
|
|
@ -471,6 +471,7 @@ lean_object* l_Lean_instQuoteNat(lean_object*);
|
|||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
lean_object* lean_name_mk_numeral(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterDot___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast(lean_object*);
|
||||
lean_object* l_Lean_Syntax_isStrLit_x3f_match__1(lean_object*);
|
||||
|
|
@ -486,7 +487,6 @@ lean_object* l_Lean_isIdEndEscape___boxed(lean_object*);
|
|||
lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getTailInfo(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getOptionalIdent_x3f___boxed(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
lean_object* l_Lean_instQuoteBool___closed__4;
|
||||
lean_object* l_Lean_termEvalPrec_x21_____closed__2;
|
||||
lean_object* l_Lean_Syntax_unsetTrailing_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -547,12 +547,12 @@ lean_object* l___private_Init_Meta_0__Lean_quoteList_match__1___rarg(lean_object
|
|||
lean_object* l_Array_filterSepElemsM___at_Array_filterSepElems___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_quoteOption_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_monadNameGeneratorLift___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4082_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_3979_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4206_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4337_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4440_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4564_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4086_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_3983_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4210_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4341_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4444_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4568_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr___closed__1;
|
||||
lean_object* l_Lean_Syntax_decodeQuotedChar_match__5(lean_object*);
|
||||
lean_object* l_Lean_Syntax_expandInterpolatedStr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -9487,7 +9487,7 @@ x_3 = lean_array_to_list(lean_box(0), x_2);
|
|||
x_4 = l___private_Init_Meta_0__Lean_quoteList___rarg(x_1, x_3);
|
||||
x_5 = l_Lean_mkOptionalNode___closed__2;
|
||||
x_6 = lean_array_push(x_5, x_4);
|
||||
x_7 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
x_7 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
x_8 = l_Lean_Syntax_mkCApp(x_7, x_6);
|
||||
return x_8;
|
||||
}
|
||||
|
|
@ -9950,7 +9950,7 @@ return x_75;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_3979_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_3983_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -10085,7 +10085,7 @@ return x_40;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4082_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4086_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -10304,7 +10304,7 @@ x_1 = l_Lean_termEvalPrec_x21_____closed__7;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4206_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4210_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -10756,7 +10756,7 @@ return x_75;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4337_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4341_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -10891,7 +10891,7 @@ return x_40;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4440_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4444_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -11110,7 +11110,7 @@ x_1 = l_Lean_termEvalPrio_x21_____closed__7;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4564_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l_Lean_myMacro____x40_Init_Meta___hyg_4568_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
|
|
|
|||
162
stage0/stdlib/Lean/Attributes.c
generated
162
stage0/stdlib/Lean/Attributes.c
generated
|
|
@ -18,7 +18,6 @@ lean_object* l_Array_qpartition_loop___at_Lean_registerEnumAttributes___spec__4(
|
|||
lean_object* l_Lean_Attribute_Builtin_ensureNoArgs_match__1(lean_object*);
|
||||
lean_object* l_Lean_instInhabitedTagAttribute___closed__1;
|
||||
lean_object* l_Array_qsort_sort___at_Lean_registerParametricAttribute___spec__2___rarg___closed__1;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__7;
|
||||
lean_object* l_Lean_Attribute_Builtin_getId___closed__2;
|
||||
extern lean_object* l_Lean_Name_toString___closed__1;
|
||||
lean_object* l_Lean_instBEqAttributeApplicationTime___closed__1;
|
||||
|
|
@ -33,6 +32,7 @@ lean_object* l_Array_binSearchAux___at_Lean_EnumAttributes_getValue___spec__2(le
|
|||
lean_object* l_Lean_Attribute_Builtin_getId___closed__1;
|
||||
lean_object* l_List_map___at_Lean_registerEnumAttributes___spec__9___rarg(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
size_t l_USize_add(size_t, size_t);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__7;
|
||||
lean_object* l_Lean_registerTagAttribute___closed__3;
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
lean_object* l_Lean_mkAttributeImplOfBuilder___closed__1;
|
||||
|
|
@ -51,7 +51,6 @@ lean_object* l_Lean_registerParametricAttribute___rarg___lambda__4(lean_object*)
|
|||
extern lean_object* l_Char_quote___closed__1;
|
||||
lean_object* l_Lean_throwError___at_Lean_getAttrParamOptPrio___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_qsort_sort___at_Lean_registerParametricAttribute___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Attributes___hyg_757____spec__2(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
uint8_t l_USize_decEq(size_t, size_t);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
|
|
@ -71,6 +70,7 @@ lean_object* l_Lean_getBuiltinAttributeImpl(lean_object*, lean_object*);
|
|||
uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_LocalContext_fvarIdToDecl___default___closed__1;
|
||||
lean_object* l_Array_qsort_sort___at_Lean_registerEnumAttributes___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__3;
|
||||
lean_object* l_Array_binSearchAux___at_Lean_EnumAttributes_getValue___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_registerParametricAttribute___spec__7___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_List_forM___at_Lean_registerEnumAttributes___spec__10(lean_object*, lean_object*);
|
||||
|
|
@ -84,9 +84,9 @@ lean_object* l_Lean_AttributeExtensionState_newEntries___default;
|
|||
lean_object* l_Std_PersistentHashMap_contains___at_Lean_registerBuiltinAttribute___spec__5___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTagAttribute___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_attributeExtension___elambda__4___rarg(lean_object*);
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Attributes___hyg_758____spec__2(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* l_Std_mkHashMap___at_Lean_initFn____x40_Lean_Attributes___hyg_330____spec__1(lean_object*);
|
||||
lean_object* l_Lean_ofExcept___at_Lean_Attribute_add___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__3;
|
||||
lean_object* l_Std_mkHashMap___at_Lean_initFn____x40_Lean_Attributes___hyg_329____spec__1(lean_object*);
|
||||
size_t l_USize_sub(size_t, size_t);
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
lean_object* lean_environment_find(lean_object*, lean_object*);
|
||||
|
|
@ -111,10 +111,10 @@ lean_object* l_Lean_ParametricAttribute_getParam(lean_object*);
|
|||
lean_object* l_Lean_getAttrParamOptPrio___closed__2;
|
||||
lean_object* l_Lean_isAttribute___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_attributeExtension;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__2;
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_registerParametricAttribute___spec__8(lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_getBuiltinAttributeNames___spec__4(lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_registerTagAttribute___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__2;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerEnumAttributes___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -133,9 +133,9 @@ lean_object* l_Lean_attributeImplBuilderTableRef;
|
|||
size_t l_USize_shiftRight(size_t, size_t);
|
||||
lean_object* l_Lean_attributeExtension___elambda__2___boxed(lean_object*);
|
||||
lean_object* l_Std_RBNode_fold___at_Lean_registerParametricAttribute___spec__1(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_757_(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_329_(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_188_(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_758_(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_330_(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_189_(lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_getAttrParamOptPrio___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkAttributeImplOfBuilder_match__1(lean_object*);
|
||||
lean_object* l_Lean_registerEnumAttributes___rarg___lambda__3___boxed(lean_object*);
|
||||
|
|
@ -178,6 +178,7 @@ lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_registerBuiltinAttribut
|
|||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_getBuiltinAttributeNames___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerParametricAttribute___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_attributeExtension___closed__5;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_758____lambda__2(lean_object*);
|
||||
lean_object* l_Lean_mkAttributeImplOfEntry_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instInhabitedAttributeExtensionState;
|
||||
|
|
@ -187,14 +188,13 @@ lean_object* l_Lean_instToStringAttributeKind___closed__3;
|
|||
lean_object* l_Lean_throwErrorAt___at_Lean_Attribute_Builtin_getId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_107_(uint8_t, uint8_t);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_757____lambda__2(lean_object*);
|
||||
lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_Attributes___hyg_188____spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_PersistentHashMap_insertAux___rarg___closed__3;
|
||||
extern lean_object* l_Lean_numLitKind;
|
||||
lean_object* l_Lean_instBEqAttributeKind___closed__1;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Array_qpartition_loop___at_Lean_registerParametricAttribute___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_Attributes___hyg_189____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instInhabitedEnumAttributes(lean_object*);
|
||||
lean_object* l_Lean_instMonadLiftImportMAttrM(lean_object*);
|
||||
lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -212,11 +212,11 @@ lean_object* l_Array_qpartition_loop___at_Lean_registerEnumAttributes___spec__6_
|
|||
lean_object* l_Lean_instToStringAttributeKind___closed__2;
|
||||
lean_object* l_Lean_instInhabitedAttributeImplCore;
|
||||
lean_object* l_Lean_mkAttributeImplOfConstantUnsafe_match__2(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__5;
|
||||
lean_object* lean_is_attribute(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerEnumAttributes_match__1___rarg(lean_object*, lean_object*);
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_registerTagAttribute___spec__3(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_registerBuiltinAttribute___spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__5;
|
||||
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instBEqAttributeApplicationTime;
|
||||
|
|
@ -233,7 +233,6 @@ lean_object* l_Lean_registerEnumAttributes___rarg___lambda__2(lean_object*, lean
|
|||
lean_object* l_Lean_registerEnumAttributes___rarg___lambda__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Attribute_Builtin_getId___closed__3;
|
||||
lean_object* l_Array_qpartition_loop___at_Lean_registerParametricAttribute___spec__3(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_757____lambda__2___boxed(lean_object*);
|
||||
lean_object* l_Lean_getAttributeNames___boxed(lean_object*);
|
||||
lean_object* l_Array_qsort_sort___at_Lean_registerParametricAttribute___spec__2(lean_object*);
|
||||
lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -252,6 +251,7 @@ lean_object* l_Lean_Attribute_Builtin_getPrio(lean_object*, lean_object*, lean_o
|
|||
lean_object* l_Std_RBNode_fold___at_Lean_registerEnumAttributes___spec__1___rarg___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_IO_instInhabitedError___closed__1;
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_758____lambda__2___boxed(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
lean_object* l_Lean_instInhabitedAttributeImplCore___closed__1;
|
||||
lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -321,10 +321,10 @@ lean_object* l_Lean_registerAttributeImplBuilder___closed__1;
|
|||
lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*);
|
||||
size_t l_USize_land(size_t, size_t);
|
||||
lean_object* l_Lean_EnumAttributes_getValue_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_330____closed__1;
|
||||
lean_object* l_Lean_ParametricAttribute_getParam_match__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ParametricAttribute_setParam___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Attribute_add(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_329____closed__1;
|
||||
lean_object* l_IO_ofExcept___at_Lean_mkAttributeImplOfBuilder___spec__3___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Attribute_Builtin_getPrio___closed__1;
|
||||
lean_object* l_Lean_throwError___at_Lean_Attribute_add___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -356,9 +356,10 @@ lean_object* l_Lean_registerTagAttribute___lambda__6___boxed(lean_object*, lean_
|
|||
lean_object* l_Lean_registerEnumAttributes_match__1(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_11__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___closed__2;
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Attributes___hyg_758____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkAttributeImplOfConstantUnsafe(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_attributeExtension___elambda__1___boxed(lean_object*);
|
||||
lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_Attributes___hyg_329____spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_Attributes___hyg_330____spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instInhabitedAttributeImpl___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Attribute_Builtin_getId_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_registerBuiltinAttribute___spec__4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -392,7 +393,6 @@ lean_object* l_Lean_registerParametricAttribute___rarg___lambda__4___closed__4;
|
|||
lean_object* l_Lean_ParametricAttribute_getParam___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTagAttribute___lambda__6___closed__1;
|
||||
uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__4;
|
||||
lean_object* l_Lean_EnumAttributes_setValue___rarg___closed__2;
|
||||
lean_object* l_Std_AssocList_find_x3f___at_Lean_mkAttributeImplOfBuilder___spec__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerParametricAttribute___rarg___lambda__4___closed__1;
|
||||
|
|
@ -402,15 +402,14 @@ lean_object* l_Array_qpartition_loop___at_Lean_registerParametricAttribute___spe
|
|||
extern lean_object* l_Lean_instInhabitedPersistentEnvExtension___closed__5;
|
||||
lean_object* l_Lean_registerTagAttribute___lambda__5___closed__1;
|
||||
lean_object* l_Lean_Attribute_Builtin_getId___closed__6;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__4;
|
||||
lean_object* l_Lean_EnumAttributes_getValue_match__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerEnumAttributes___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Attributes___hyg_757____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerBuiltinAttribute___lambda__2___closed__1;
|
||||
lean_object* l_Std_RBNode_find___at_Lean_ParametricAttribute_getParam___spec__1(lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_getBuiltinAttributeImpl___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ParametricAttribute_getParam___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__6;
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_registerEnumAttributes___spec__8___rarg(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* l_Array_qpartition_loop___at_Lean_registerEnumAttributes___spec__5(lean_object*);
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -420,6 +419,7 @@ extern lean_object* l_Lean_instInhabitedName;
|
|||
lean_object* l_Lean_registerBuiltinAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerBuiltinAttribute___lambda__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__6;
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Attribute_Builtin_ensureNoArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
|
|
@ -430,8 +430,8 @@ lean_object* l_Lean_mkAttributeImplOfConstantUnsafe_match__1___rarg___closed__1;
|
|||
lean_object* l_Lean_registerParametricAttribute___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instInhabitedAttributeImpl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_registerParametricAttribute___spec__8___rarg(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Attributes___hyg_758____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Array_qpartition_loop___at_Lean_registerEnumAttributes___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Attributes___hyg_757____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkAttributeImplOfEntry___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_registerParametricAttribute___spec__7(lean_object*);
|
||||
lean_object* l_Std_AssocList_contains___at_Lean_registerAttributeImplBuilder___spec__2___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -459,13 +459,13 @@ lean_object* l_Array_qpartition_loop___at_Lean_registerEnumAttributes___spec__4_
|
|||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__17;
|
||||
lean_object* l_Lean_Attribute_Builtin_getId___closed__5;
|
||||
uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_757____lambda__1(lean_object*);
|
||||
lean_object* l_Lean_registerBuiltinAttribute___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getAttrParamOptPrio_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerParametricAttribute___rarg___lambda__3(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Attribute_Builtin_ensureNoArgs(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_List_map___at_Lean_registerEnumAttributes___spec__9___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_758____lambda__1(lean_object*);
|
||||
lean_object* l_Lean_ParametricAttribute_getParam_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_EnumAttributes_getValue_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTagAttribute___closed__4;
|
||||
|
|
@ -512,11 +512,11 @@ lean_object* l_Lean_getAttributeNames(lean_object*);
|
|||
lean_object* l_Lean_attributeExtension___elambda__4___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Attribute_Builtin_ensureNoArgs___closed__1;
|
||||
lean_object* l_Lean_Attribute_Builtin_getId___closed__4;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__1;
|
||||
lean_object* l_Lean_EnumAttributes_setValue(lean_object*);
|
||||
lean_object* l_Lean_registerTagAttribute___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_map___at_Lean_registerEnumAttributes___spec__9___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getAttributeImpl(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__1;
|
||||
lean_object* l_Lean_AttributeImpl_erase___default___boxed(lean_object*);
|
||||
lean_object* l_Lean_getAttributeImpl_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getBuiltinAttributeImpl_match__1(lean_object*);
|
||||
|
|
@ -527,8 +527,8 @@ lean_object* l_Lean_Attribute_Builtin_getId_x3f(lean_object*, lean_object*, lean
|
|||
lean_object* l_Lean_ParametricAttribute_getParam_match__2(lean_object*);
|
||||
lean_object* l_Lean_registerTagAttribute___lambda__3___boxed(lean_object*);
|
||||
lean_object* l_Lean_registerBuiltinAttribute___closed__1;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__8;
|
||||
lean_object* l___private_Lean_Attributes_0__Lean_beqAttributeApplicationTime____x40_Lean_Attributes___hyg_11__match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__8;
|
||||
lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_EnumAttributes_getValue(lean_object*);
|
||||
lean_object* l_Lean_registerEnumAttributes___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
|
|
@ -1373,7 +1373,7 @@ lean_dec(x_1);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_Attributes___hyg_188____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_Attributes___hyg_189____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; uint8_t x_4;
|
||||
|
|
@ -1398,12 +1398,12 @@ return x_7;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_188_(lean_object* x_1) {
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_189_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_LocalContext_fvarIdToDecl___default___closed__1;
|
||||
x_3 = l_IO_mkRef___at_Lean_initFn____x40_Lean_Attributes___hyg_188____spec__1(x_2, x_1);
|
||||
x_3 = l_IO_mkRef___at_Lean_initFn____x40_Lean_Attributes___hyg_189____spec__1(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
@ -2357,7 +2357,7 @@ lean_dec(x_2);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l_Std_mkHashMap___at_Lean_initFn____x40_Lean_Attributes___hyg_329____spec__1(lean_object* x_1) {
|
||||
lean_object* l_Std_mkHashMap___at_Lean_initFn____x40_Lean_Attributes___hyg_330____spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
|
|
@ -2365,7 +2365,7 @@ x_2 = l_Std_mkHashMapImp___rarg(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_Attributes___hyg_329____spec__2(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_Attributes___hyg_330____spec__2(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; uint8_t x_4;
|
||||
|
|
@ -2390,7 +2390,7 @@ return x_7;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_329____closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_330____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -2399,12 +2399,12 @@ x_2 = l_Std_mkHashMapImp___rarg(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_329_(lean_object* x_1) {
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_330_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_329____closed__1;
|
||||
x_3 = l_IO_mkRef___at_Lean_initFn____x40_Lean_Attributes___hyg_329____spec__2(x_2, x_1);
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_330____closed__1;
|
||||
x_3 = l_IO_mkRef___at_Lean_initFn____x40_Lean_Attributes___hyg_330____spec__2(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
@ -4314,7 +4314,7 @@ lean_ctor_set(x_11, 1, x_10);
|
|||
return x_11;
|
||||
}
|
||||
}
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Attributes___hyg_757____spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) {
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Attributes___hyg_758____spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
|
|
@ -4352,7 +4352,7 @@ return x_14;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Attributes___hyg_757____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Attributes___hyg_758____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -4397,7 +4397,7 @@ size_t x_16; size_t x_17; uint8_t x_18;
|
|||
x_16 = 0;
|
||||
x_17 = lean_usize_of_nat(x_8);
|
||||
lean_dec(x_8);
|
||||
x_18 = l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Attributes___hyg_757____spec__2(x_1, x_6, x_16, x_17);
|
||||
x_18 = l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Attributes___hyg_758____spec__2(x_1, x_6, x_16, x_17);
|
||||
lean_dec(x_6);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
|
|
@ -4468,7 +4468,7 @@ size_t x_39; size_t x_40; uint8_t x_41;
|
|||
x_39 = 0;
|
||||
x_40 = lean_usize_of_nat(x_31);
|
||||
lean_dec(x_31);
|
||||
x_41 = l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Attributes___hyg_757____spec__2(x_1, x_29, x_39, x_40);
|
||||
x_41 = l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Attributes___hyg_758____spec__2(x_1, x_29, x_39, x_40);
|
||||
lean_dec(x_29);
|
||||
if (x_41 == 0)
|
||||
{
|
||||
|
|
@ -4502,7 +4502,7 @@ return x_52;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_757____lambda__1(lean_object* x_1) {
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_758____lambda__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
|
|
@ -4517,7 +4517,7 @@ x_6 = l_List_toArrayAux___rarg(x_3, x_5);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_757____lambda__2(lean_object* x_1) {
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_758____lambda__2(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
|
|
@ -4534,7 +4534,7 @@ lean_ctor_set(x_8, 1, x_6);
|
|||
return x_8;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -4542,17 +4542,17 @@ x_1 = lean_mk_string("attrExt");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__3() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -4560,7 +4560,7 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Attributes_0__Lean_AttributeEx
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__4() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -4568,7 +4568,7 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Attributes_0__Lean_AttributeEx
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__5() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -4576,32 +4576,32 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Attributes_0__Lean_addAttrEntr
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__6() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Attributes___hyg_757____lambda__1), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Attributes___hyg_758____lambda__1), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__7() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Attributes___hyg_757____lambda__2___boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Attributes___hyg_758____lambda__2___boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__8() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__8() {
|
||||
_start:
|
||||
{
|
||||
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;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__3;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__5;
|
||||
x_5 = l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__6;
|
||||
x_6 = l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__7;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__3;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__5;
|
||||
x_5 = l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__6;
|
||||
x_6 = l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__7;
|
||||
x_7 = lean_alloc_ctor(0, 6, 0);
|
||||
lean_ctor_set(x_7, 0, x_1);
|
||||
lean_ctor_set(x_7, 1, x_2);
|
||||
|
|
@ -4612,16 +4612,16 @@ lean_ctor_set(x_7, 5, x_6);
|
|||
return x_7;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_757_(lean_object* x_1) {
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_758_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__8;
|
||||
x_3 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Attributes___hyg_757____spec__1(x_2, x_1);
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__8;
|
||||
x_3 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_initFn____x40_Lean_Attributes___hyg_758____spec__1(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Attributes___hyg_757____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Attributes___hyg_758____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8;
|
||||
|
|
@ -4629,18 +4629,18 @@ x_5 = lean_unbox_usize(x_3);
|
|||
lean_dec(x_3);
|
||||
x_6 = lean_unbox_usize(x_4);
|
||||
lean_dec(x_4);
|
||||
x_7 = l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Attributes___hyg_757____spec__2(x_1, x_2, x_5, x_6);
|
||||
x_7 = l_Array_anyMUnsafe_any___at_Lean_initFn____x40_Lean_Attributes___hyg_758____spec__2(x_1, x_2, x_5, x_6);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_8 = lean_box(x_7);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_757____lambda__2___boxed(lean_object* x_1) {
|
||||
lean_object* l_Lean_initFn____x40_Lean_Attributes___hyg_758____lambda__2___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_757____lambda__2(x_1);
|
||||
x_2 = l_Lean_initFn____x40_Lean_Attributes___hyg_758____lambda__2(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -12180,7 +12180,7 @@ l_Lean_instInhabitedAttributeImpl___closed__3 = _init_l_Lean_instInhabitedAttrib
|
|||
lean_mark_persistent(l_Lean_instInhabitedAttributeImpl___closed__3);
|
||||
l_Lean_instInhabitedAttributeImpl = _init_l_Lean_instInhabitedAttributeImpl();
|
||||
lean_mark_persistent(l_Lean_instInhabitedAttributeImpl);
|
||||
res = l_Lean_initFn____x40_Lean_Attributes___hyg_188_(lean_io_mk_world());
|
||||
res = l_Lean_initFn____x40_Lean_Attributes___hyg_189_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_attributeMapRef = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_attributeMapRef);
|
||||
|
|
@ -12191,9 +12191,9 @@ l_Lean_registerBuiltinAttribute___lambda__2___closed__2 = _init_l_Lean_registerB
|
|||
lean_mark_persistent(l_Lean_registerBuiltinAttribute___lambda__2___closed__2);
|
||||
l_Lean_registerBuiltinAttribute___closed__1 = _init_l_Lean_registerBuiltinAttribute___closed__1();
|
||||
lean_mark_persistent(l_Lean_registerBuiltinAttribute___closed__1);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_329____closed__1 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_329____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_329____closed__1);
|
||||
res = l_Lean_initFn____x40_Lean_Attributes___hyg_329_(lean_io_mk_world());
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_330____closed__1 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_330____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_330____closed__1);
|
||||
res = l_Lean_initFn____x40_Lean_Attributes___hyg_330_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_attributeImplBuilderTableRef = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_attributeImplBuilderTableRef);
|
||||
|
|
@ -12218,22 +12218,22 @@ l_Lean_mkAttributeImplOfConstantUnsafe___closed__2 = _init_l_Lean_mkAttributeImp
|
|||
lean_mark_persistent(l_Lean_mkAttributeImplOfConstantUnsafe___closed__2);
|
||||
l_Lean_mkAttributeImplOfConstant___closed__1 = _init_l_Lean_mkAttributeImplOfConstant___closed__1();
|
||||
lean_mark_persistent(l_Lean_mkAttributeImplOfConstant___closed__1);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__1 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__2 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__3 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__3);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__4 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__4);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__5 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__5);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__6 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__6();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__6);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__7 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__7();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__7);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__8 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__8();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_757____closed__8);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__1 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__2 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__3 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__3);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__4 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__4);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__5 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__5);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__6 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__6();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__6);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__7 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__7();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__7);
|
||||
l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__8 = _init_l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__8();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Attributes___hyg_758____closed__8);
|
||||
l_Lean_attributeExtension___closed__1 = _init_l_Lean_attributeExtension___closed__1();
|
||||
lean_mark_persistent(l_Lean_attributeExtension___closed__1);
|
||||
l_Lean_attributeExtension___closed__2 = _init_l_Lean_attributeExtension___closed__2();
|
||||
|
|
@ -12244,7 +12244,7 @@ l_Lean_attributeExtension___closed__4 = _init_l_Lean_attributeExtension___closed
|
|||
lean_mark_persistent(l_Lean_attributeExtension___closed__4);
|
||||
l_Lean_attributeExtension___closed__5 = _init_l_Lean_attributeExtension___closed__5();
|
||||
lean_mark_persistent(l_Lean_attributeExtension___closed__5);
|
||||
res = l_Lean_initFn____x40_Lean_Attributes___hyg_757_(lean_io_mk_world());
|
||||
res = l_Lean_initFn____x40_Lean_Attributes___hyg_758_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_attributeExtension = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_attributeExtension);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Class.c
generated
4
stage0/stdlib/Lean/Class.c
generated
|
|
@ -64,7 +64,6 @@ lean_object* l_Lean_initFn____x40_Lean_Class___hyg_627____lambda__2___closed__3;
|
|||
uint8_t l_Lean_ClassEntry_lt(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_SMap_switch___at_Lean_ClassState_switch___spec__1(lean_object*);
|
||||
lean_object* l___private_Lean_Class_0__Lean_checkOutParam___closed__1;
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4;
|
||||
lean_object* lean_expr_instantiate1(lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -108,6 +107,7 @@ lean_object* l_Lean_SMap_insert___at_Lean_ClassState_addEntry___spec__1(lean_obj
|
|||
lean_object* l___private_Lean_Class_0__Lean_checkOutParam(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getClassName_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4;
|
||||
lean_object* l_Std_PersistentHashMap_containsAtAux___at_Lean_isClass___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1761,7 +1761,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj
|
|||
x_1 = l_Lean_initFn____x40_Lean_Class___hyg_47____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Class___hyg_47____closed__3;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Class___hyg_47____closed__4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4;
|
||||
x_5 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Compiler/ClosedTermCache.c
generated
4
stage0/stdlib/Lean/Compiler/ClosedTermCache.c
generated
|
|
@ -36,7 +36,6 @@ uint8_t lean_name_eq(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_closedTermCacheExt___elambda__2(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Compiler_ClosedTermCache___hyg_8____closed__1;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Compiler_ClosedTermCache___hyg_8____closed__4;
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Compiler_ClosedTermCache___hyg_8____closed__3;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -66,6 +65,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Compiler_Clo
|
|||
lean_object* l_Lean_SMap_find_x3f___at_Lean_getClosedTermName_x3f___spec__1(lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_PersistentHashMap_insertAux___rarg___closed__3;
|
||||
lean_object* l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Compiler_ClosedTermCache___hyg_8____spec__16(lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Compiler_ClosedTermCache___hyg_8____spec__15(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_closedTermCacheExt___elambda__1(lean_object*);
|
||||
lean_object* l_Lean_closedTermCacheExt___elambda__4___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -1548,7 +1548,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj
|
|||
x_1 = l_Lean_initFn____x40_Lean_Compiler_ClosedTermCache___hyg_8____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Compiler_ClosedTermCache___hyg_8____closed__3;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Compiler_ClosedTermCache___hyg_8____closed__4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4;
|
||||
x_5 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Compiler/ExternAttr.c
generated
4
stage0/stdlib/Lean/Compiler/ExternAttr.c
generated
|
|
@ -69,6 +69,7 @@ lean_object* l_Lean_registerParametricAttribute___at_Lean_initFn____x40_Lean_Com
|
|||
lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_parseOptNum_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getExternNameFor_match__1(lean_object*);
|
||||
uint8_t l_Lean_expandExternPatternAux___closed__1;
|
||||
uint8_t l_Lean_Environment_isProjectionFn(lean_object*, lean_object*);
|
||||
|
|
@ -221,7 +222,6 @@ lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_243____lambda__
|
|||
lean_object* l_Lean_ParametricAttribute_getParam___at_Lean_getExternAttrData___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_qpartition_loop___at_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_243____spec__7___closed__1;
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___spec__3___closed__1;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(lean_object*, lean_object*);
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getExternConstArity(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -716,7 +716,7 @@ else
|
|||
{
|
||||
lean_object* x_17; uint8_t x_18;
|
||||
x_17 = lean_box(0);
|
||||
x_18 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_14, x_17);
|
||||
x_18 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_14, x_17);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20;
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Compiler/IR/Basic.c
generated
12
stage0/stdlib/Lean/Compiler/IR/Basic.c
generated
|
|
@ -106,6 +106,7 @@ lean_object* l_Lean_IR_LocalContext_isJP_match__1___rarg(lean_object*, lean_obje
|
|||
lean_object* l_Lean_IR_AltCore_modifyBody_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_LocalContext_getType(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_AltCore_body(lean_object*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_IR_IRType_beq___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_VarId_alphaEqv_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_LitVal_beq_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_LocalContext_getType_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -146,7 +147,6 @@ lean_object* l_Lean_IR_FnBody_alphaEqv___boxed(lean_object*, lean_object*, lean_
|
|||
lean_object* l_Lean_IR_AltCore_modifyBody(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_IRType_isObj_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_IR_IRType_beq___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_LocalContext_isParam_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_appendTrees___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -176,7 +176,6 @@ uint8_t l_Array_isEqvAux___at_Lean_IR_IRType_beq___spec__2(lean_object*, lean_ob
|
|||
lean_object* l_Lean_IR_instInhabitedFnBody;
|
||||
lean_object* l_Lean_IR_AltCore_mmodifyBody_match__1(lean_object*);
|
||||
extern lean_object* l_Array_swapAt_x21___rarg___closed__2;
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_IR_IRType_beq___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_mmodifyJPs___spec__1(lean_object*);
|
||||
lean_object* l_Lean_IR_push(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_Expr_alphaEqv___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -315,6 +314,7 @@ lean_object* l_Lean_IR_FnBody_body(lean_object*);
|
|||
lean_object* l_Lean_IR_reshapeAux___closed__1;
|
||||
lean_object* lean_ir_mk_decl(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_del___at_Lean_IR_LocalContext_eraseJoinPointDecl___spec__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_IR_IRType_beq___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_find___at_Lean_IR_VarId_alphaEqv___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_reshapeAux_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_find___at_Lean_IR_VarId_alphaEqv___spec__1___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -867,7 +867,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_IR_IRType_beq_match__1___rarg), 14, 0);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_IR_IRType_beq___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_IR_IRType_beq___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
|
|
@ -1136,7 +1136,7 @@ x_21 = lean_ctor_get(x_1, 0);
|
|||
x_22 = lean_ctor_get(x_1, 1);
|
||||
x_23 = lean_ctor_get(x_2, 0);
|
||||
x_24 = lean_ctor_get(x_2, 1);
|
||||
x_25 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_IR_IRType_beq___spec__1(x_21, x_23);
|
||||
x_25 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_IR_IRType_beq___spec__1(x_21, x_23);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
uint8_t x_26;
|
||||
|
|
@ -1222,11 +1222,11 @@ return x_46;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_IR_IRType_beq___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_IR_IRType_beq___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_IR_IRType_beq___spec__1(x_1, x_2);
|
||||
x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_IR_IRType_beq___spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
|
|||
|
|
@ -81,7 +81,6 @@ lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDe
|
|||
lean_object* l_Std_Format_joinSep___at_Lean_IR_UnreachableBranches_Value_format___spec__4(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_UnreachableBranches_containsCtor___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_LocalContext_getJPParams(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4;
|
||||
lean_object* l_Lean_IR_UnreachableBranches_inferStep_match__1(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
|
|
@ -147,6 +146,7 @@ lean_object* l_Nat_foldAux___at_Lean_IR_UnreachableBranches_Value_merge___spec__
|
|||
lean_object* l_Lean_IR_UnreachableBranches_inferStep_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4;
|
||||
uint8_t l_Lean_IR_UnreachableBranches_Value_beq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_IR_formatArray___at_Lean_IR_UnreachableBranches_Value_format___spec__1___boxed(lean_object*);
|
||||
lean_object* l_Lean_IR_UnreachableBranches_Value_addChoice___closed__3;
|
||||
|
|
@ -4432,7 +4432,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj
|
|||
x_1 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_540____closed__2;
|
||||
x_2 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_540____closed__3;
|
||||
x_3 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_540____closed__4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4;
|
||||
x_5 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Compiler/Specialize.c
generated
4
stage0/stdlib/Lean/Compiler/Specialize.c
generated
|
|
@ -59,7 +59,6 @@ lean_object* l_Lean_SMap_find_x3f___at_Lean_Compiler_getSpecializationInfo___spe
|
|||
lean_object* l_Lean_Compiler_specializeAttrs;
|
||||
lean_object* l_Lean_EnumAttributes_getValue___at___private_Lean_Compiler_Specialize_0__Lean_Compiler_hasSpecializeAttrAux___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____spec__5(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_contains___at_Lean_Compiler_SpecState_addEntry___spec__7___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -107,6 +106,7 @@ lean_object* l___private_Lean_Compiler_Specialize_0__Lean_Compiler_hasSpecialize
|
|||
extern lean_object* l_Std_PersistentHashMap_insertAux___rarg___closed__3;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_248____spec__3(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4;
|
||||
lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Compiler_instInhabitedSpecializeAttributeKind;
|
||||
extern lean_object* l_Lean_instInhabitedEnumAttributes___closed__1;
|
||||
|
|
@ -4635,7 +4635,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj
|
|||
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_49____closed__4;
|
||||
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_248____closed__1;
|
||||
x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_248____closed__2;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4;
|
||||
x_5 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Data/Json/Parser.c
generated
8
stage0/stdlib/Lean/Data/Json/Parser.c
generated
|
|
@ -70,7 +70,6 @@ lean_object* l_Lean_Json_Parser_natNumDigits(lean_object*);
|
|||
lean_object* lean_int_mul(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_Parser_num(lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530____at_instDecidableEqOption___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_Parser_natNonZero_match__1(lean_object*);
|
||||
lean_object* l_Lean_Quickparse_instMonadQuickparse___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_Parser_num___lambda__3___closed__3___boxed__const__1;
|
||||
|
|
@ -97,6 +96,7 @@ lean_object* l_String_Iterator_next(lean_object*);
|
|||
lean_object* l_Lean_Quickparse_eoi(lean_object*);
|
||||
lean_object* l_Lean_Json_Parser_natMaybeZero_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_Parser_arrayCore___closed__1;
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532____at_instDecidableEqOption___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Quickparse_instMonadQuickparse___closed__3;
|
||||
lean_object* l_Lean_Quickparse_ws(lean_object*);
|
||||
extern lean_object* l_Lean_nullKind___closed__1;
|
||||
|
|
@ -3223,14 +3223,14 @@ lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44;
|
|||
x_41 = l_Lean_Json_Parser_num___lambda__3___closed__2;
|
||||
x_42 = l_Lean_Json_Parser_num___lambda__3___closed__1;
|
||||
lean_inc(x_40);
|
||||
x_43 = l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530____at_instDecidableEqOption___spec__1___rarg(x_41, x_40, x_42);
|
||||
x_43 = l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532____at_instDecidableEqOption___spec__1___rarg(x_41, x_40, x_42);
|
||||
x_44 = lean_unbox(x_43);
|
||||
lean_dec(x_43);
|
||||
if (x_44 == 0)
|
||||
{
|
||||
lean_object* x_45; lean_object* x_46; uint8_t x_47;
|
||||
x_45 = l_Lean_Json_Parser_num___lambda__3___closed__3;
|
||||
x_46 = l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530____at_instDecidableEqOption___spec__1___rarg(x_41, x_40, x_45);
|
||||
x_46 = l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532____at_instDecidableEqOption___spec__1___rarg(x_41, x_40, x_45);
|
||||
x_47 = lean_unbox(x_46);
|
||||
lean_dec(x_46);
|
||||
if (x_47 == 0)
|
||||
|
|
@ -3389,7 +3389,7 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint
|
|||
x_10 = l_Lean_Json_Parser_num___lambda__5___closed__1;
|
||||
x_11 = l_Lean_Json_Parser_num___lambda__3___closed__2;
|
||||
x_12 = l_Lean_Json_Parser_num___lambda__5___closed__2;
|
||||
x_13 = l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_530____at_instDecidableEqOption___spec__1___rarg(x_11, x_9, x_12);
|
||||
x_13 = l___private_Init_Data_Option_Basic_0__decEqOption____x40_Init_Data_Option_Basic___hyg_532____at_instDecidableEqOption___spec__1___rarg(x_11, x_9, x_12);
|
||||
x_14 = lean_unbox(x_13);
|
||||
lean_dec(x_13);
|
||||
if (x_14 == 0)
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Data/Lsp/InitShutdown.c
generated
8
stage0/stdlib/Lean/Data/Lsp/InitShutdown.c
generated
|
|
@ -34,7 +34,7 @@ lean_object* l_Lean_Lsp_instToJsonServerInfo(lean_object*);
|
|||
lean_object* l_Lean_Json_getStr_x3f(lean_object*);
|
||||
lean_object* l_Lean_Lsp_instFromJsonTrace_match__1___rarg___closed__2;
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__1;
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__1;
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
lean_object* l_Lean_Lsp_instFromJsonInitializedParams(lean_object*);
|
||||
lean_object* l_Lean_Lsp_instFromJsonInitializeParams___closed__1;
|
||||
|
|
@ -196,7 +196,7 @@ if (x_11 == 0)
|
|||
{
|
||||
lean_object* x_12; uint8_t x_13;
|
||||
lean_dec(x_3);
|
||||
x_12 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__1;
|
||||
x_12 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__1;
|
||||
x_13 = lean_string_dec_eq(x_7, x_12);
|
||||
lean_dec(x_7);
|
||||
if (x_13 == 0)
|
||||
|
|
@ -311,7 +311,7 @@ x_8 = lean_string_dec_eq(x_4, x_7);
|
|||
if (x_8 == 0)
|
||||
{
|
||||
lean_object* x_9; uint8_t x_10;
|
||||
x_9 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__1;
|
||||
x_9 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__1;
|
||||
x_10 = lean_string_dec_eq(x_4, x_9);
|
||||
lean_dec(x_4);
|
||||
if (x_10 == 0)
|
||||
|
|
@ -549,7 +549,7 @@ x_12 = lean_string_dec_eq(x_8, x_11);
|
|||
if (x_12 == 0)
|
||||
{
|
||||
lean_object* x_13; uint8_t x_14;
|
||||
x_13 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__1;
|
||||
x_13 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__1;
|
||||
x_14 = lean_string_dec_eq(x_8, x_13);
|
||||
lean_dec(x_8);
|
||||
if (x_14 == 0)
|
||||
|
|
|
|||
156
stage0/stdlib/Lean/Data/Options.c
generated
156
stage0/stdlib/Lean/Data/Options.c
generated
|
|
@ -17,7 +17,7 @@ lean_object* l_Lean_getBoolOption___rarg(lean_object*, lean_object*, lean_object
|
|||
extern lean_object* l_Lean_Name_toString___closed__1;
|
||||
lean_object* l_Lean_KVMap_setBool(lean_object*, lean_object*, uint8_t);
|
||||
lean_object* l_Lean_setOptionFromString_match__1(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__11;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__11;
|
||||
extern lean_object* l_Char_quote___closed__1;
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_OptionDecl_group___default;
|
||||
|
|
@ -25,8 +25,8 @@ uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*);
|
|||
lean_object* l_Std_RBNode_find___at_Lean_getOptionDecl___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KVMap_setNat(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__8;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__4;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__4;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__8;
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedParserDescr___closed__1;
|
||||
lean_object* l_Lean_KVMap_setString(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -40,14 +40,14 @@ lean_object* lean_array_push(lean_object*, lean_object*);
|
|||
lean_object* l_String_toInt_x3f(lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KVMap_instToStringKVMap(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__9;
|
||||
lean_object* l_IO_mkRef___at___private_Lean_Data_Options_0__Lean_initOptionDeclsRef___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_String_splitOn(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__9;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__1;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__1;
|
||||
lean_object* l_Lean_getOptionDecl___closed__1;
|
||||
uint8_t l_Lean_NameMap_contains___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__2;
|
||||
lean_object* l_Lean_setOptionFromString_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__2;
|
||||
lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instInhabitedOptions;
|
||||
lean_object* l_Lean_setOptionFromString_match__4___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -59,38 +59,38 @@ lean_object* l___private_Lean_Data_Options_0__Lean_optionDeclsRef;
|
|||
lean_object* l_String_toName(lean_object*);
|
||||
lean_object* l_Lean_setOptionFromString___closed__4;
|
||||
lean_object* l_Lean_instMonadOptions(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__10;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__10;
|
||||
lean_object* l_Lean_getOptionDecl(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_OptionDecl_descr___default;
|
||||
lean_object* l_Lean_instToStringOptions;
|
||||
uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t);
|
||||
lean_object* l_Lean_setOptionFromString_match__4(lean_object*);
|
||||
lean_object* l_Lean_instMonadOptions___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487_(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488_(lean_object*);
|
||||
extern lean_object* l_instReprBool___closed__3;
|
||||
extern lean_object* l_Lean_instInhabitedDataValue___closed__1;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__12;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__12;
|
||||
lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
lean_object* lean_get_option_decls_array(lean_object*);
|
||||
lean_object* l_Lean_getNatOption___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KVMap_setInt(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__15;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3;
|
||||
lean_object* l_Lean_Options_empty;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__15;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3;
|
||||
extern lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__3;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__14;
|
||||
lean_object* l_Lean_setOptionFromString___closed__5;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__14;
|
||||
lean_object* l_Lean_instInhabitedOptionDecl;
|
||||
lean_object* l_Lean_getBoolOption___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__5;
|
||||
lean_object* l_Lean_KVMap_getNat(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__5;
|
||||
lean_object* l_Lean_getOptionDecl_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_fold___at_Lean_getOptionDeclsArray___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KVMap_setName(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_find___at_Lean_getOptionDecl___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_setOptionFromString(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__7;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__7;
|
||||
lean_object* l_Lean_setOptionFromString___closed__6;
|
||||
lean_object* l_Lean_registerOption___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_setOptionFromString___closed__1;
|
||||
|
|
@ -103,7 +103,7 @@ lean_object* l_Lean_getBoolOption(lean_object*);
|
|||
lean_object* l_String_trim(lean_object*);
|
||||
lean_object* l_Lean_getOptionDecl_match__1(lean_object*);
|
||||
lean_object* l_Lean_setOptionFromString_match__2(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__13;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__13;
|
||||
lean_object* l_Lean_instToStringOptions___closed__1;
|
||||
lean_object* l_Std_RBNode_fold___at_Lean_getOptionDeclsArray___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_List_map___at_Lean_setOptionFromString___spec__1(lean_object*);
|
||||
|
|
@ -111,7 +111,7 @@ lean_object* l___private_Lean_Data_Options_0__Lean_initOptionDeclsRef(lean_objec
|
|||
lean_object* l_Lean_setOptionFromString___closed__2;
|
||||
lean_object* l_String_toNat_x3f(lean_object*);
|
||||
lean_object* l_Lean_registerOption___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__6;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__6;
|
||||
lean_object* l_Lean_setOptionFromString___closed__7;
|
||||
lean_object* l_Lean_instInhabitedOptionDecls;
|
||||
lean_object* l_Lean_setOptionFromString_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1480,7 +1480,7 @@ return x_112;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1488,17 +1488,17 @@ x_1 = lean_mk_string("verbose");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3() {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_1; lean_object* x_2;
|
||||
|
|
@ -1508,7 +1508,7 @@ lean_ctor_set_uint8(x_2, 0, x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__4() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1516,13 +1516,13 @@ x_1 = lean_mk_string("disable/enable verbose messages");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__5() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3;
|
||||
x_2 = l_Lean_instInhabitedParserDescr___closed__1;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__4;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__4;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -1530,7 +1530,7 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__6() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1538,17 +1538,17 @@ x_1 = lean_mk_string("timeout");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__7() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__6;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__6;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__8() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -1558,7 +1558,7 @@ lean_ctor_set(x_2, 0, x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__9() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1566,13 +1566,13 @@ x_1 = lean_mk_string("the (deterministic) timeout is measured as the maximum of
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__10() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__8;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__8;
|
||||
x_2 = l_Lean_instInhabitedParserDescr___closed__1;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__9;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__9;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -1580,7 +1580,7 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__11() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1588,17 +1588,17 @@ x_1 = lean_mk_string("maxMemory");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__12() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__11;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__11;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__13() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -1608,7 +1608,7 @@ lean_ctor_set(x_2, 0, x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__14() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1616,13 +1616,13 @@ x_1 = lean_mk_string("maximum amount of memory available for Lean in megabytes")
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__15() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__13;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__13;
|
||||
x_2 = l_Lean_instInhabitedParserDescr___closed__1;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__14;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__14;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -1630,12 +1630,12 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487_(lean_object* x_1) {
|
||||
lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__2;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__5;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__2;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__5;
|
||||
x_4 = lean_register_option(x_2, x_3, x_1);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
|
|
@ -1643,8 +1643,8 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
|||
x_5 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_4);
|
||||
x_6 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__7;
|
||||
x_7 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__10;
|
||||
x_6 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__7;
|
||||
x_7 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__10;
|
||||
x_8 = lean_register_option(x_6, x_7, x_5);
|
||||
if (lean_obj_tag(x_8) == 0)
|
||||
{
|
||||
|
|
@ -1652,8 +1652,8 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
|||
x_9 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_8);
|
||||
x_10 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__12;
|
||||
x_11 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__15;
|
||||
x_10 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__12;
|
||||
x_11 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__15;
|
||||
x_12 = lean_register_option(x_10, x_11, x_9);
|
||||
return x_12;
|
||||
}
|
||||
|
|
@ -1885,37 +1885,37 @@ l_Lean_setOptionFromString___closed__6 = _init_l_Lean_setOptionFromString___clos
|
|||
lean_mark_persistent(l_Lean_setOptionFromString___closed__6);
|
||||
l_Lean_setOptionFromString___closed__7 = _init_l_Lean_setOptionFromString___closed__7();
|
||||
lean_mark_persistent(l_Lean_setOptionFromString___closed__7);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__1 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__2 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__4 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__4);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__5 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__5);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__6 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__6();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__6);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__7 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__7();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__7);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__8 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__8();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__8);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__9 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__9();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__9);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__10 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__10();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__10);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__11 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__11();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__11);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__12 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__12();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__12);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__13 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__13();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__13);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__14 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__14();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__14);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__15 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__15();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__15);
|
||||
res = l_Lean_initFn____x40_Lean_Data_Options___hyg_487_(lean_io_mk_world());
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__1 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__2 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__4 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__4);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__5 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__5);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__6 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__6();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__6);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__7 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__7();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__7);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__8 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__8();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__8);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__9 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__9();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__9);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__10 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__10();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__10);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__11 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__11();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__11);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__12 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__12();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__12);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__13 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__13();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__13);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__14 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__14();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__14);
|
||||
l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__15 = _init_l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__15();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__15);
|
||||
res = l_Lean_initFn____x40_Lean_Data_Options___hyg_488_(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));
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/App.c
generated
4
stage0/stdlib/Lean/Elab/App.c
generated
|
|
@ -426,7 +426,6 @@ lean_object* l_Lean_Expr_consumeMData(lean_object*);
|
|||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_findMethod_x3f(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwInvalidNamedArg___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_importModules___closed__1;
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg_match__1(lean_object*);
|
||||
|
|
@ -494,6 +493,7 @@ lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr;
|
|||
lean_object* l_List_filterAux___at_Lean_Elab_Term_ElabAppArgs_eraseNamedArgCore___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_throwLValError___rarg(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___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(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_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -8939,7 +8939,7 @@ static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArg
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_1989____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
46
stage0/stdlib/Lean/Elab/Attributes.c
generated
46
stage0/stdlib/Lean/Elab/Attributes.c
generated
|
|
@ -33,6 +33,7 @@ lean_object* l_Lean_Elab_instToFormatAttribute(lean_object*);
|
|||
extern lean_object* l_Lean_instInhabitedParserDescr___closed__1;
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___rarg(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_elabAttr___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -45,8 +46,8 @@ lean_object* l_Lean_Elab_elabAttr___rarg___lambda__7___boxed(lean_object*, lean_
|
|||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
lean_object* l_Lean_Elab_elabAttr___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__1(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__4;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1___rarg___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
|
||||
extern lean_object* l_Lean_instToStringAttributeKind___closed__3;
|
||||
lean_object* l_Lean_Elab_elabAttr___rarg___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_elabAttrs___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_elabAttr___rarg___lambda__10___closed__1;
|
||||
|
|
@ -55,13 +56,13 @@ lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lea
|
|||
uint8_t l_Lean_Elab_Attribute_kind___default;
|
||||
lean_object* l_Lean_Elab_instToFormatAttribute_match__1(lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__11;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_1989____closed__2;
|
||||
lean_object* l_Lean_Elab_elabAttr___rarg___lambda__8(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_elabAttrs(lean_object*);
|
||||
lean_object* l_Lean_Elab_elabAttr___rarg___lambda__10___closed__2;
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
lean_object* lean_format_pretty(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_elabAttr___rarg___lambda__9(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_local___elambda__1___closed__4;
|
||||
lean_object* l_Lean_Elab_elabAttr(lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_elabAttrs___spec__1(lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -79,14 +80,11 @@ lean_object* l_Lean_Elab_elabDeclAttrs(lean_object*);
|
|||
lean_object* l_Lean_Syntax_getSepArgs(lean_object*);
|
||||
uint8_t l_Lean_isAttribute(lean_object*, lean_object*);
|
||||
lean_object* lean_environment_main_module(lean_object*);
|
||||
lean_object* l_Lean_Elab_instToFormatAttribute___closed__4;
|
||||
lean_object* l_Lean_Elab_elabAttr___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_elabAttrs___rarg___lambda__1(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__1;
|
||||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
uint8_t l_Lean_Name_isAnonymous(lean_object*);
|
||||
lean_object* l_Lean_Elab_instToFormatAttribute___closed__5;
|
||||
lean_object* l_Lean_Elab_toAttributeKind___rarg___closed__1;
|
||||
lean_object* l_Lean_Elab_instToFormatAttribute___closed__2;
|
||||
lean_object* l_Lean_Elab_instToFormatAttribute___closed__1;
|
||||
lean_object* l_Lean_Elab_elabAttr___rarg___lambda__8___closed__3;
|
||||
|
|
@ -218,22 +216,6 @@ lean_ctor_set(x_2, 0, x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatAttribute___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("local ");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatAttribute___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("scoped ");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_instToFormatAttribute(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -264,14 +246,14 @@ goto block_30;
|
|||
case 1:
|
||||
{
|
||||
lean_object* x_32;
|
||||
x_32 = l_Lean_Elab_instToFormatAttribute___closed__4;
|
||||
x_32 = l_Lean_Parser_Term_local___elambda__1___closed__4;
|
||||
x_13 = x_32;
|
||||
goto block_30;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_33;
|
||||
x_33 = l_Lean_Elab_instToFormatAttribute___closed__5;
|
||||
x_33 = l_Lean_Parser_Term_scoped___elambda__1___closed__4;
|
||||
x_13 = x_33;
|
||||
goto block_30;
|
||||
}
|
||||
|
|
@ -408,16 +390,6 @@ return x_14;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_toAttributeKind___rarg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_1989____closed__2;
|
||||
x_2 = l_Lean_instToStringAttributeKind___closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_toAttributeKind___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -431,7 +403,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
|||
x_8 = l_Lean_Syntax_getArg(x_6, x_5);
|
||||
lean_dec(x_6);
|
||||
x_9 = l_Lean_Syntax_getKind(x_8);
|
||||
x_10 = l_Lean_Elab_toAttributeKind___rarg___closed__1;
|
||||
x_10 = l_Lean_Parser_Term_scoped___elambda__1___closed__1;
|
||||
x_11 = lean_name_eq(x_9, x_10);
|
||||
lean_dec(x_9);
|
||||
if (x_11 == 0)
|
||||
|
|
@ -1364,10 +1336,6 @@ l_Lean_Elab_instToFormatAttribute___closed__2 = _init_l_Lean_Elab_instToFormatAt
|
|||
lean_mark_persistent(l_Lean_Elab_instToFormatAttribute___closed__2);
|
||||
l_Lean_Elab_instToFormatAttribute___closed__3 = _init_l_Lean_Elab_instToFormatAttribute___closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_instToFormatAttribute___closed__3);
|
||||
l_Lean_Elab_instToFormatAttribute___closed__4 = _init_l_Lean_Elab_instToFormatAttribute___closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_instToFormatAttribute___closed__4);
|
||||
l_Lean_Elab_instToFormatAttribute___closed__5 = _init_l_Lean_Elab_instToFormatAttribute___closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_instToFormatAttribute___closed__5);
|
||||
l_Lean_Elab_instInhabitedAttribute___closed__1 = _init_l_Lean_Elab_instInhabitedAttribute___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_instInhabitedAttribute___closed__1);
|
||||
l_Lean_Elab_instInhabitedAttribute = _init_l_Lean_Elab_instInhabitedAttribute();
|
||||
|
|
@ -1376,8 +1344,6 @@ l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__1 = _init_l_Lean_Elab_t
|
|||
lean_mark_persistent(l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__1);
|
||||
l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2 = _init_l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2);
|
||||
l_Lean_Elab_toAttributeKind___rarg___closed__1 = _init_l_Lean_Elab_toAttributeKind___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_toAttributeKind___rarg___closed__1);
|
||||
l_Lean_Elab_mkAttrKindGlobal___closed__1 = _init_l_Lean_Elab_mkAttrKindGlobal___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_mkAttrKindGlobal___closed__1);
|
||||
l_Lean_Elab_mkAttrKindGlobal___closed__2 = _init_l_Lean_Elab_mkAttrKindGlobal___closed__2();
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/AutoBound.c
generated
4
stage0/stdlib/Lean/Elab/AutoBound.c
generated
|
|
@ -32,7 +32,7 @@ lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__1;
|
|||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__2;
|
||||
lean_object* l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral___closed__1;
|
||||
uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3;
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3;
|
||||
lean_object* l_Substring_nextn(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Elab_AutoBound_0__Lean_Elab_allNumeral(lean_object*);
|
||||
lean_object* l_Lean_Elab_isValidAutoBoundImplicitName_match__1(lean_object*);
|
||||
|
|
@ -79,7 +79,7 @@ static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3;
|
||||
x_2 = l_Lean_instInhabitedParserDescr___closed__1;
|
||||
x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_3____closed__3;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
|
|
|
|||
14
stage0/stdlib/Lean/Elab/Binders.c
generated
14
stage0/stdlib/Lean/Elab/Binders.c
generated
|
|
@ -97,7 +97,6 @@ lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__1;
|
|||
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*);
|
||||
extern lean_object* l_Lean_Parser_Term_let_x2a___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__8;
|
||||
extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__2;
|
||||
extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__7;
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux(lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_quoteAutoTactic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -293,7 +292,6 @@ lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_obje
|
|||
lean_object* l_Lean_Elab_Term_mkFreshIdent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkSepArray(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType_match__2(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_compileDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -355,6 +353,7 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Ela
|
|||
extern lean_object* l_Lean_Syntax_mkApp___closed__1;
|
||||
extern lean_object* l_term_x5b___x5d___closed__5;
|
||||
lean_object* l_Lean_Elab_Term_elabArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_11900____closed__10;
|
||||
lean_object* l_Lean_Syntax_getSepArgs(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_FunBinders_State_expectedType_x3f___default;
|
||||
|
|
@ -435,6 +434,7 @@ lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__
|
|||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__1;
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2677,7 +2677,7 @@ static lean_object* _init_l_Lean_Elab_Term_declareTacticSyntax___closed__5() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_Lean_Expr_getAutoParamTactic_x3f___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -21836,7 +21836,7 @@ static lean_object* _init_l_Lean_Elab_Term_elabLetDeclAux___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_13394____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -22558,7 +22558,7 @@ lean_ctor_set(x_130, 0, x_129);
|
|||
lean_ctor_set(x_130, 1, x_4);
|
||||
x_131 = l_Lean_Parser_Tactic_changeWith___closed__3;
|
||||
x_132 = l_Lean_mkAtomFrom(x_1, x_131);
|
||||
x_133 = l_Lean_Elab_Term_mkExplicitBinder___closed__2;
|
||||
x_133 = l_Lean_Elab_Term_mkExplicitBinder___closed__1;
|
||||
x_134 = lean_array_push(x_133, x_128);
|
||||
x_135 = lean_array_push(x_134, x_130);
|
||||
x_136 = l_Lean_mkOptionalNode___closed__1;
|
||||
|
|
@ -22607,7 +22607,7 @@ x_14 = lean_unsigned_to_nat(2u);
|
|||
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
|
||||
x_16 = l_termIfLet___x3a_x3d__Then__Else_____closed__9;
|
||||
x_17 = l_Lean_mkAtomFrom(x_1, x_16);
|
||||
x_18 = l_Lean_Elab_Term_mkExplicitBinder___closed__2;
|
||||
x_18 = l_Lean_Elab_Term_mkExplicitBinder___closed__1;
|
||||
x_19 = lean_array_push(x_18, x_11);
|
||||
x_20 = lean_array_push(x_19, x_13);
|
||||
x_21 = lean_array_push(x_20, x_15);
|
||||
|
|
@ -22636,7 +22636,7 @@ x_32 = lean_unsigned_to_nat(2u);
|
|||
x_33 = l_Lean_Syntax_getArg(x_1, x_32);
|
||||
x_34 = l_termIfLet___x3a_x3d__Then__Else_____closed__9;
|
||||
x_35 = l_Lean_mkAtomFrom(x_1, x_34);
|
||||
x_36 = l_Lean_Elab_Term_mkExplicitBinder___closed__2;
|
||||
x_36 = l_Lean_Elab_Term_mkExplicitBinder___closed__1;
|
||||
x_37 = lean_array_push(x_36, x_29);
|
||||
x_38 = lean_array_push(x_37, x_31);
|
||||
x_39 = lean_array_push(x_38, x_33);
|
||||
|
|
|
|||
44
stage0/stdlib/Lean/Elab/Command.c
generated
44
stage0/stdlib/Lean/Elab/Command.c
generated
|
|
@ -209,6 +209,7 @@ lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__2(lean_
|
|||
lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_withLogging_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabOpenHiding___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1173____closed__1;
|
||||
lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_addOpenDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t l_USize_shiftRight(size_t, size_t);
|
||||
lean_object* l_Lean_Elab_Command_elabCommand_match__2(lean_object*);
|
||||
|
|
@ -222,7 +223,6 @@ lean_object* l_Lean_Elab_Command_State_messages___default;
|
|||
lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__8___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_Std_instInhabitedPersistentArray___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1156____closed__1;
|
||||
extern lean_object* l_Lean_Parser_Command_section___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_elabEvalUnsafe_match__2___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing_match__1(lean_object*);
|
||||
|
|
@ -407,8 +407,8 @@ lean_object* l___regBuiltin_Lean_Elab_Command_elbChoice___closed__1;
|
|||
lean_object* l_Std_PersistentArray_foldlM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Command_elabVariable___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_150_(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1156_(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_884_(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1173_(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_897_(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabSetOption_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_State_ngen___default;
|
||||
|
|
@ -446,8 +446,8 @@ lean_object* l_Lean_Elab_Command_Context_currRecDepth___default;
|
|||
lean_object* l_Lean_Elab_Command_elabExport(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabSynth___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabCheck___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3;
|
||||
lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_liftAttrM(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__3;
|
||||
lean_object* l_Lean_Elab_Command_elabOpenOnly(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_getNumParts(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_hasNoErrorMessages(lean_object*);
|
||||
|
|
@ -455,13 +455,13 @@ lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_Command_elabCommand___spec__1(l
|
|||
lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_liftAttrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_variable___elambda__1___closed__2;
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverses___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_liftCoreM_match__2___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabEvalUnsafe___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_State_scopes___default;
|
||||
lean_object* l_Lean_Elab_Command_instMonadLiftTIOCommandElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkAnonymousScope___boxed(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__3;
|
||||
lean_object* l_Lean_Elab_Command_elabEvalUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkEndHeader_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_addUnivLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -503,7 +503,6 @@ lean_object* l_Lean_Elab_Command_elabCommand_match__3___rarg(lean_object*, lean_
|
|||
lean_object* l_Lean_Elab_Command_elabCheck___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_liftIO___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__5___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_modifyScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkCoreContext___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -569,6 +568,7 @@ lean_object* l_Lean_Elab_Command_elabReduce_match__1(lean_object*);
|
|||
lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_checkEndHeader_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_object* l_Lean_Elab_Command_modifyScope___at_Lean_Elab_Command_addUnivLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabExport___closed__2;
|
||||
|
|
@ -4661,7 +4661,7 @@ x_3 = l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__5;
|
|||
x_4 = l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__7;
|
||||
x_5 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3;
|
||||
x_6 = l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__9;
|
||||
x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__3;
|
||||
x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____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;
|
||||
}
|
||||
|
|
@ -4677,7 +4677,7 @@ lean_ctor_set(x_3, 1, x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_884_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_897_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
|
|
@ -5724,21 +5724,21 @@ return x_89;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1156____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1173____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1156_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1173_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1156____closed__1;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1173____closed__1;
|
||||
x_3 = l_Lean_registerTraceClass(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -6408,7 +6408,7 @@ lean_dec(x_128);
|
|||
x_130 = lean_ctor_get(x_129, 1);
|
||||
lean_inc(x_130);
|
||||
lean_dec(x_129);
|
||||
x_131 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1156____closed__1;
|
||||
x_131 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1173____closed__1;
|
||||
x_132 = l_Lean_checkTraceOption(x_130, x_131);
|
||||
lean_dec(x_130);
|
||||
if (x_132 == 0)
|
||||
|
|
@ -6517,7 +6517,7 @@ lean_dec(x_154);
|
|||
x_156 = lean_ctor_get(x_155, 1);
|
||||
lean_inc(x_156);
|
||||
lean_dec(x_155);
|
||||
x_157 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1156____closed__1;
|
||||
x_157 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1173____closed__1;
|
||||
x_158 = l_Lean_checkTraceOption(x_156, x_157);
|
||||
lean_dec(x_156);
|
||||
if (x_158 == 0)
|
||||
|
|
@ -7076,7 +7076,7 @@ lean_dec(x_290);
|
|||
x_292 = lean_ctor_get(x_291, 1);
|
||||
lean_inc(x_292);
|
||||
lean_dec(x_291);
|
||||
x_293 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1156____closed__1;
|
||||
x_293 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1173____closed__1;
|
||||
x_294 = l_Lean_checkTraceOption(x_292, x_293);
|
||||
lean_dec(x_292);
|
||||
if (x_294 == 0)
|
||||
|
|
@ -7680,7 +7680,7 @@ lean_dec(x_436);
|
|||
x_438 = lean_ctor_get(x_437, 1);
|
||||
lean_inc(x_438);
|
||||
lean_dec(x_437);
|
||||
x_439 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1156____closed__1;
|
||||
x_439 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1173____closed__1;
|
||||
x_440 = l_Lean_checkTraceOption(x_438, x_439);
|
||||
lean_dec(x_438);
|
||||
if (x_440 == 0)
|
||||
|
|
@ -23114,7 +23114,7 @@ else
|
|||
lean_object* x_28; lean_object* x_29;
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_10);
|
||||
x_28 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3;
|
||||
x_28 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3;
|
||||
x_29 = l_Lean_Elab_Command_setOption(x_8, x_28, x_2, x_3, x_4);
|
||||
return x_29;
|
||||
}
|
||||
|
|
@ -24820,7 +24820,7 @@ l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__8 = _init_l_Lean_Elab
|
|||
lean_mark_persistent(l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__8);
|
||||
l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__9 = _init_l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__9();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__9);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_884_(lean_io_mk_world());
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_897_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Elab_Command_commandElabAttribute = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Elab_Command_commandElabAttribute);
|
||||
|
|
@ -24853,9 +24853,9 @@ l_Lean_Elab_Command_withLogging___closed__1 = _init_l_Lean_Elab_Command_withLogg
|
|||
lean_mark_persistent(l_Lean_Elab_Command_withLogging___closed__1);
|
||||
l_Lean_Elab_Command_withLogging___closed__2 = _init_l_Lean_Elab_Command_withLogging___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_withLogging___closed__2);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1156____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1156____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1156____closed__1);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1156_(lean_io_mk_world());
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1173____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1173____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1173____closed__1);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1173_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Elab_Command_instInhabitedCommandElabM___closed__1 = _init_l_Lean_Elab_Command_instInhabitedCommandElabM___closed__1();
|
||||
|
|
|
|||
269
stage0/stdlib/Lean/Elab/DeclModifiers.c
generated
269
stage0/stdlib/Lean/Elab/DeclModifiers.c
generated
|
|
@ -17,6 +17,7 @@ lean_object* l_Lean_Elab_instToFormatModifiers_match__2___rarg___boxed(lean_obje
|
|||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_expandDeclId___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_extractMacroScopes(lean_object*);
|
||||
size_t l_USize_add(size_t, size_t);
|
||||
extern lean_object* l_Lean_Parser_Command_protected___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_instToFormatModifiers___closed__2;
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -37,7 +38,6 @@ extern lean_object* l_Std_Format_defWidth;
|
|||
lean_object* l_Lean_Elab_mkDeclName(lean_object*);
|
||||
lean_object* l_Lean_withRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_instInhabitedModifiers;
|
||||
lean_object* l_Lean_Elab_instToFormatModifiers___closed__18;
|
||||
lean_object* l_Lean_Elab_instToFormatModifiers___closed__6;
|
||||
lean_object* l_Lean_Elab_elabModifiers_match__1(lean_object*);
|
||||
extern lean_object* l_Std_Format_join___closed__1;
|
||||
|
|
@ -67,6 +67,7 @@ lean_object* l_Lean_Elab_instToStringVisibility(uint8_t);
|
|||
lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_applyVisibility_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_instToFormatModifiers___closed__8;
|
||||
extern lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__4;
|
||||
lean_object* l_Lean_Elab_checkNotAlreadyDeclared_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_applyVisibility_match__1(lean_object*);
|
||||
uint8_t l_Lean_Elab_Modifiers_isNoncomputable___default;
|
||||
|
|
@ -76,7 +77,7 @@ lean_object* l_Lean_Elab_expandDeclId_match__2(lean_object*);
|
|||
lean_object* l_Lean_Elab_mkDeclName___rarg___closed__2;
|
||||
lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__1___closed__3;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_instToFormatModifiers___closed__21;
|
||||
extern lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__6;
|
||||
lean_object* l_Lean_Elab_instToFormatModifiers___closed__13;
|
||||
lean_object* l_Lean_Elab_applyVisibility_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_expandDeclId___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -92,10 +93,10 @@ lean_object* l_Lean_Elab_expandDeclId___rarg___lambda__1___boxed(lean_object*, l
|
|||
lean_object* l_Lean_Elab_instToFormatModifiers___closed__9;
|
||||
lean_object* lean_format_pretty(lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__22;
|
||||
lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__4;
|
||||
lean_object* l_Lean_Elab_instToFormatModifiers___closed__17;
|
||||
lean_object* l_Lean_Elab_instToFormatModifiers___closed__4;
|
||||
lean_object* l_Lean_Elab_instToStringModifiers___closed__2;
|
||||
extern lean_object* l_Lean_Parser_Term_local___elambda__1___closed__4;
|
||||
uint8_t l_Lean_Elab_Modifiers_isPartial___default;
|
||||
lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_to_list(lean_object*, lean_object*);
|
||||
|
|
@ -113,7 +114,6 @@ lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__3;
|
|||
lean_object* l_Lean_Elab_Modifiers_attrs___default;
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__15;
|
||||
lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_instToFormatModifiers___closed__20;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_expandDeclId___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_elabModifiers_match__3(lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -127,7 +127,6 @@ lean_object* l_Lean_Elab_elabModifiers_match__4___rarg(lean_object*, lean_object
|
|||
lean_object* l_Lean_Elab_expandDeclId_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_expandDeclId___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_instToFormatModifiers___closed__19;
|
||||
lean_object* l_Lean_Elab_elabDeclAttrs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_instToStringModifiers;
|
||||
lean_object* l_Lean_Elab_elabModifiers___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -137,6 +136,7 @@ lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__1(uint8_t, lean_object*, le
|
|||
uint8_t l_List_elem___at_Lean_NameHashSet_insert___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_instMonadReaderT___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Syntax_instToStringSyntax___closed__1;
|
||||
extern lean_object* l_Lean_Parser_Command_noncomputable___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Modifiers_isProtected_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Modifiers_isProtected___boxed(lean_object*);
|
||||
lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__1___closed__2;
|
||||
|
|
@ -144,7 +144,7 @@ lean_object* l_Lean_Elab_expandDeclId_match__2___rarg(lean_object*, lean_object*
|
|||
lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_expandDeclIdCore___boxed(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_instToFormatAttribute___closed__4;
|
||||
extern lean_object* l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_instInhabitedModifiers___closed__1;
|
||||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
|
|
@ -154,7 +154,6 @@ lean_object* l_Lean_Elab_instToFormatModifiers_match__1(lean_object*);
|
|||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_instToFormatAttribute___closed__5;
|
||||
lean_object* l_Lean_Elab_expandDeclId___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Elab_instInhabitedVisibility;
|
||||
lean_object* l_Lean_Elab_Modifiers_isPrivate___boxed(lean_object*);
|
||||
|
|
@ -183,6 +182,7 @@ lean_object* l_Lean_Elab_mkDeclName_match__1(lean_object*);
|
|||
lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_elabModifiers_match__4(lean_object*);
|
||||
lean_object* l_Lean_Elab_instToFormatModifiers_match__2(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_unsafe___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_instToFormatModifiers___closed__7;
|
||||
lean_object* l_Lean_Elab_applyVisibility___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_instToStringVisibility_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -192,14 +192,15 @@ uint8_t l_Lean_Elab_Modifiers_isUnsafe___default;
|
|||
lean_object* l_Lean_Elab_elabModifiers___rarg___closed__1;
|
||||
uint8_t l_Lean_Elab_Modifiers_isPrivate(lean_object*);
|
||||
lean_object* l_Lean_Elab_Modifiers_isPrivate_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Elab_mkDeclName___rarg___closed__1;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_partial___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_checkNotAlreadyDeclared(lean_object*);
|
||||
lean_object* l_Lean_Elab_instToFormatModifiers_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_expandDeclId(lean_object*);
|
||||
lean_object* l_Lean_Elab_instToFormatModifiers___closed__15;
|
||||
uint8_t l_Lean_Elab_isFreshInstanceName(lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3;
|
||||
lean_object* l_Lean_Elab_checkNotAlreadyDeclared_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_instToFormatModifiers___closed__16;
|
||||
|
|
@ -207,7 +208,6 @@ lean_object* lean_nat_to_int(lean_object*);
|
|||
lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__2___closed__2;
|
||||
lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_applyVisibility___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
extern lean_object* l_addParenHeuristic___closed__1;
|
||||
|
|
@ -219,7 +219,6 @@ lean_object* l_Lean_Elab_instToStringVisibility___boxed(lean_object*);
|
|||
lean_object* l_Lean_Elab_mkDeclName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_instToStringVisibility___closed__1;
|
||||
lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__5;
|
||||
lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__2___closed__1;
|
||||
uint8_t l_Lean_Syntax_isIdent(lean_object*);
|
||||
lean_object* l_Lean_Elab_checkNotAlreadyDeclared_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
|
|
@ -640,14 +639,6 @@ x_1 = lean_mk_string("regular");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToStringVisibility___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("private");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_instToStringVisibility(uint8_t x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -667,7 +658,7 @@ return x_3;
|
|||
default:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
x_4 = l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
@ -1053,14 +1044,14 @@ goto block_30;
|
|||
case 1:
|
||||
{
|
||||
lean_object* x_32;
|
||||
x_32 = l_Lean_Elab_instToFormatAttribute___closed__4;
|
||||
x_32 = l_Lean_Parser_Term_local___elambda__1___closed__4;
|
||||
x_13 = x_32;
|
||||
goto block_30;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_33;
|
||||
x_33 = l_Lean_Elab_instToFormatAttribute___closed__5;
|
||||
x_33 = l_Lean_Parser_Term_scoped___elambda__1___closed__4;
|
||||
x_13 = x_33;
|
||||
goto block_30;
|
||||
}
|
||||
|
|
@ -1192,46 +1183,52 @@ return x_2;
|
|||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("unsafe");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_instToFormatModifiers___closed__5;
|
||||
x_1 = l_Lean_Parser_Command_unsafe___elambda__1___closed__1;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__7() {
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_instToFormatModifiers___closed__6;
|
||||
x_2 = l_Lean_Elab_instToFormatModifiers___closed__5;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Command_partial___elambda__1___closed__1;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("partial");
|
||||
return x_1;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_instToFormatModifiers___closed__7;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_instToFormatModifiers___closed__8;
|
||||
x_1 = l_Lean_Parser_Command_noncomputable___elambda__1___closed__1;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -1252,36 +1249,6 @@ return x_3;
|
|||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("noncomputable");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_instToFormatModifiers___closed__11;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_instToFormatModifiers___closed__12;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Modifiers___hyg_3____closed__1;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
|
|
@ -1289,71 +1256,63 @@ lean_ctor_set(x_2, 0, x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_instToFormatModifiers___closed__11;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_instToFormatModifiers___closed__13;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_instToFormatModifiers___closed__14;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Command_docComment___elambda__1___closed__6;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_instToFormatModifiers___closed__16;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("/--");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_instToFormatModifiers___closed__18;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("-/");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__21() {
|
||||
static lean_object* _init_l_Lean_Elab_instToFormatModifiers___closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_instToFormatModifiers___closed__20;
|
||||
x_1 = l_Lean_Elab_instToFormatModifiers___closed__16;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -1389,11 +1348,11 @@ lean_inc(x_79);
|
|||
lean_dec(x_2);
|
||||
x_80 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_80, 0, x_79);
|
||||
x_81 = l_Lean_Elab_instToFormatModifiers___closed__19;
|
||||
x_81 = l_Lean_Elab_instToFormatModifiers___closed__15;
|
||||
x_82 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_82, 0, x_81);
|
||||
lean_ctor_set(x_82, 1, x_80);
|
||||
x_83 = l_Lean_Elab_instToFormatModifiers___closed__21;
|
||||
x_83 = l_Lean_Elab_instToFormatModifiers___closed__17;
|
||||
x_84 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_84, 0, x_82);
|
||||
lean_ctor_set(x_84, 1, x_83);
|
||||
|
|
@ -1418,14 +1377,14 @@ goto block_73;
|
|||
case 1:
|
||||
{
|
||||
lean_object* x_75;
|
||||
x_75 = l_Lean_Elab_instToFormatModifiers___closed__15;
|
||||
x_75 = l_Lean_Elab_instToFormatModifiers___closed__12;
|
||||
x_11 = x_75;
|
||||
goto block_73;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_76;
|
||||
x_76 = l_Lean_Elab_instToFormatModifiers___closed__17;
|
||||
x_76 = l_Lean_Elab_instToFormatModifiers___closed__14;
|
||||
x_11 = x_76;
|
||||
goto block_73;
|
||||
}
|
||||
|
|
@ -1444,7 +1403,7 @@ goto block_70;
|
|||
else
|
||||
{
|
||||
lean_object* x_72;
|
||||
x_72 = l_Lean_Elab_instToFormatModifiers___closed__13;
|
||||
x_72 = l_Lean_Elab_instToFormatModifiers___closed__10;
|
||||
x_13 = x_72;
|
||||
goto block_70;
|
||||
}
|
||||
|
|
@ -1486,7 +1445,7 @@ return x_28;
|
|||
else
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41;
|
||||
x_29 = l_Lean_Elab_instToFormatModifiers___closed__7;
|
||||
x_29 = l_Lean_Elab_instToFormatModifiers___closed__6;
|
||||
x_30 = l_List_append___rarg(x_16, x_29);
|
||||
x_31 = l_List_append___rarg(x_30, x_9);
|
||||
x_32 = l_instReprProd___rarg___closed__2;
|
||||
|
|
@ -1515,7 +1474,7 @@ else
|
|||
{
|
||||
lean_object* x_42; lean_object* x_43; lean_object* x_44;
|
||||
x_42 = lean_box(0);
|
||||
x_43 = l_Lean_Elab_instToFormatModifiers___closed__10;
|
||||
x_43 = l_Lean_Elab_instToFormatModifiers___closed__8;
|
||||
x_44 = l_List_append___rarg(x_14, x_43);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
|
|
@ -1546,7 +1505,7 @@ return x_56;
|
|||
else
|
||||
{
|
||||
lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69;
|
||||
x_57 = l_Lean_Elab_instToFormatModifiers___closed__7;
|
||||
x_57 = l_Lean_Elab_instToFormatModifiers___closed__6;
|
||||
x_58 = l_List_append___rarg(x_44, x_57);
|
||||
x_59 = l_List_append___rarg(x_58, x_9);
|
||||
x_60 = l_instReprProd___rarg___closed__2;
|
||||
|
|
@ -1606,11 +1565,11 @@ lean_inc(x_79);
|
|||
lean_dec(x_2);
|
||||
x_80 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_80, 0, x_79);
|
||||
x_81 = l_Lean_Elab_instToFormatModifiers___closed__19;
|
||||
x_81 = l_Lean_Elab_instToFormatModifiers___closed__15;
|
||||
x_82 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_82, 0, x_81);
|
||||
lean_ctor_set(x_82, 1, x_80);
|
||||
x_83 = l_Lean_Elab_instToFormatModifiers___closed__21;
|
||||
x_83 = l_Lean_Elab_instToFormatModifiers___closed__17;
|
||||
x_84 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_84, 0, x_82);
|
||||
lean_ctor_set(x_84, 1, x_83);
|
||||
|
|
@ -1635,14 +1594,14 @@ goto block_73;
|
|||
case 1:
|
||||
{
|
||||
lean_object* x_75;
|
||||
x_75 = l_Lean_Elab_instToFormatModifiers___closed__15;
|
||||
x_75 = l_Lean_Elab_instToFormatModifiers___closed__12;
|
||||
x_11 = x_75;
|
||||
goto block_73;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_76;
|
||||
x_76 = l_Lean_Elab_instToFormatModifiers___closed__17;
|
||||
x_76 = l_Lean_Elab_instToFormatModifiers___closed__14;
|
||||
x_11 = x_76;
|
||||
goto block_73;
|
||||
}
|
||||
|
|
@ -1661,7 +1620,7 @@ goto block_70;
|
|||
else
|
||||
{
|
||||
lean_object* x_72;
|
||||
x_72 = l_Lean_Elab_instToFormatModifiers___closed__13;
|
||||
x_72 = l_Lean_Elab_instToFormatModifiers___closed__10;
|
||||
x_13 = x_72;
|
||||
goto block_70;
|
||||
}
|
||||
|
|
@ -1703,7 +1662,7 @@ return x_28;
|
|||
else
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41;
|
||||
x_29 = l_Lean_Elab_instToFormatModifiers___closed__7;
|
||||
x_29 = l_Lean_Elab_instToFormatModifiers___closed__6;
|
||||
x_30 = l_List_append___rarg(x_16, x_29);
|
||||
x_31 = l_List_append___rarg(x_30, x_9);
|
||||
x_32 = l_instReprProd___rarg___closed__2;
|
||||
|
|
@ -1732,7 +1691,7 @@ else
|
|||
{
|
||||
lean_object* x_42; lean_object* x_43; lean_object* x_44;
|
||||
x_42 = lean_box(0);
|
||||
x_43 = l_Lean_Elab_instToFormatModifiers___closed__10;
|
||||
x_43 = l_Lean_Elab_instToFormatModifiers___closed__8;
|
||||
x_44 = l_List_append___rarg(x_14, x_43);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
|
|
@ -1763,7 +1722,7 @@ return x_56;
|
|||
else
|
||||
{
|
||||
lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69;
|
||||
x_57 = l_Lean_Elab_instToFormatModifiers___closed__7;
|
||||
x_57 = l_Lean_Elab_instToFormatModifiers___closed__6;
|
||||
x_58 = l_List_append___rarg(x_44, x_57);
|
||||
x_59 = l_List_append___rarg(x_58, x_9);
|
||||
x_60 = l_instReprProd___rarg___closed__2;
|
||||
|
|
@ -2150,46 +2109,26 @@ return x_25;
|
|||
static lean_object* _init_l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3;
|
||||
x_2 = l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Modifiers___hyg_3____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("unexpected visibility modifier");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__4() {
|
||||
static lean_object* _init_l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__3;
|
||||
x_1 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__5() {
|
||||
static lean_object* _init_l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__4;
|
||||
x_1 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -2240,12 +2179,12 @@ lean_inc(x_22);
|
|||
lean_dec(x_14);
|
||||
lean_inc(x_22);
|
||||
x_23 = l_Lean_Syntax_getKind(x_22);
|
||||
x_24 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
x_24 = l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
x_25 = lean_name_eq(x_23, x_24);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
lean_object* x_26; uint8_t x_27;
|
||||
x_26 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2;
|
||||
x_26 = l_Lean_Parser_Command_protected___elambda__1___closed__1;
|
||||
x_27 = lean_name_eq(x_23, x_26);
|
||||
lean_dec(x_23);
|
||||
if (x_27 == 0)
|
||||
|
|
@ -2253,7 +2192,7 @@ if (x_27 == 0)
|
|||
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31;
|
||||
x_28 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_28);
|
||||
x_29 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__5;
|
||||
x_29 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__3;
|
||||
x_30 = l_Lean_throwErrorAt___rarg(x_1, x_8, x_22, x_29);
|
||||
x_31 = lean_apply_4(x_28, lean_box(0), lean_box(0), x_30, x_13);
|
||||
return x_31;
|
||||
|
|
@ -3483,8 +3422,6 @@ lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__3___cl
|
|||
l_Lean_Elab_instInhabitedVisibility = _init_l_Lean_Elab_instInhabitedVisibility();
|
||||
l_Lean_Elab_instToStringVisibility___closed__1 = _init_l_Lean_Elab_instToStringVisibility___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_instToStringVisibility___closed__1);
|
||||
l_Lean_Elab_instToStringVisibility___closed__2 = _init_l_Lean_Elab_instToStringVisibility___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_instToStringVisibility___closed__2);
|
||||
l_Lean_Elab_Modifiers_docString___default = _init_l_Lean_Elab_Modifiers_docString___default();
|
||||
lean_mark_persistent(l_Lean_Elab_Modifiers_docString___default);
|
||||
l_Lean_Elab_Modifiers_visibility___default = _init_l_Lean_Elab_Modifiers_visibility___default();
|
||||
|
|
@ -3531,14 +3468,6 @@ l_Lean_Elab_instToFormatModifiers___closed__16 = _init_l_Lean_Elab_instToFormatM
|
|||
lean_mark_persistent(l_Lean_Elab_instToFormatModifiers___closed__16);
|
||||
l_Lean_Elab_instToFormatModifiers___closed__17 = _init_l_Lean_Elab_instToFormatModifiers___closed__17();
|
||||
lean_mark_persistent(l_Lean_Elab_instToFormatModifiers___closed__17);
|
||||
l_Lean_Elab_instToFormatModifiers___closed__18 = _init_l_Lean_Elab_instToFormatModifiers___closed__18();
|
||||
lean_mark_persistent(l_Lean_Elab_instToFormatModifiers___closed__18);
|
||||
l_Lean_Elab_instToFormatModifiers___closed__19 = _init_l_Lean_Elab_instToFormatModifiers___closed__19();
|
||||
lean_mark_persistent(l_Lean_Elab_instToFormatModifiers___closed__19);
|
||||
l_Lean_Elab_instToFormatModifiers___closed__20 = _init_l_Lean_Elab_instToFormatModifiers___closed__20();
|
||||
lean_mark_persistent(l_Lean_Elab_instToFormatModifiers___closed__20);
|
||||
l_Lean_Elab_instToFormatModifiers___closed__21 = _init_l_Lean_Elab_instToFormatModifiers___closed__21();
|
||||
lean_mark_persistent(l_Lean_Elab_instToFormatModifiers___closed__21);
|
||||
l_Lean_Elab_instToStringModifiers___closed__1 = _init_l_Lean_Elab_instToStringModifiers___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_instToStringModifiers___closed__1);
|
||||
l_Lean_Elab_instToStringModifiers___closed__2 = _init_l_Lean_Elab_instToStringModifiers___closed__2();
|
||||
|
|
@ -3551,10 +3480,6 @@ l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2 = _init_l_Lean_Elab_ela
|
|||
lean_mark_persistent(l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2);
|
||||
l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__3 = _init_l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__3);
|
||||
l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__4 = _init_l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__4);
|
||||
l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__5 = _init_l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__5);
|
||||
l_Lean_Elab_elabModifiers___rarg___closed__1 = _init_l_Lean_Elab_elabModifiers___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_elabModifiers___rarg___closed__1);
|
||||
l_Lean_Elab_elabModifiers___rarg___closed__2 = _init_l_Lean_Elab_elabModifiers___rarg___closed__2();
|
||||
|
|
|
|||
2
stage0/stdlib/Lean/Elab/Declaration.c
generated
2
stage0/stdlib/Lean/Elab/Declaration.c
generated
|
|
@ -810,7 +810,7 @@ return x_26;
|
|||
else
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28; uint8_t x_29;
|
||||
x_27 = lean_unsigned_to_nat(2u);
|
||||
x_27 = lean_unsigned_to_nat(3u);
|
||||
x_28 = l_Lean_Syntax_getArg(x_6, x_27);
|
||||
x_29 = l_Lean_Syntax_isNone(x_28);
|
||||
if (x_29 == 0)
|
||||
|
|
|
|||
589
stage0/stdlib/Lean/Elab/DefView.c
generated
589
stage0/stdlib/Lean/Elab/DefView.c
generated
|
|
@ -23,8 +23,10 @@ lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_k
|
|||
lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*);
|
||||
lean_object* lean_erase_macro_scopes(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_abbrev___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Elab_expandOptNamedPrio(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_DefKind_isExample_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__4;
|
||||
uint8_t l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque(uint8_t);
|
||||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__8;
|
||||
|
|
@ -35,12 +37,15 @@ lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*);
|
|||
extern lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_11____closed__4;
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_throwUnsupportedSyntax___rarg___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__2;
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_collect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__2;
|
||||
extern lean_object* l_Lean_Parser_Term_type___elambda__1___closed__2;
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
lean_object* l_Lean_Elab_mkUnusedBaseName___at_Lean_Elab_Command_MkInstanceName_main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedParserDescr___closed__1;
|
||||
|
|
@ -48,12 +53,14 @@ uint8_t lean_name_eq(lean_object*, lean_object*);
|
|||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__23;
|
||||
lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkDefViewOfConstant___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__13;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_Lean_Elab_DefKind_isTheorem_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__2;
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements;
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__9___rarg(lean_object*);
|
||||
|
|
@ -62,7 +69,6 @@ extern lean_object* l_Lean_Parser_Term_type___elambda__1___closed__16;
|
|||
lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_collect___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_DefKind_isExample_match__1(lean_object*);
|
||||
extern lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2;
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__3(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__2;
|
||||
|
|
@ -74,6 +80,7 @@ lean_object* l_Lean_Elab_Command_mkDefViewOfDef(lean_object*, lean_object*);
|
|||
uint8_t l_Lean_Elab_DefKind_isExample(uint8_t);
|
||||
lean_object* l_Lean_Elab_Command_mkDefView___closed__3;
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__27;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_MkInstanceName_collect___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__2;
|
||||
|
|
@ -94,9 +101,11 @@ lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInsta
|
|||
extern lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__2;
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_numLitKind;
|
||||
lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__6;
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__1;
|
||||
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
||||
lean_object* l_String_capitalize(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_DefKind_isExample_match__1___rarg(uint8_t, lean_object*, lean_object*);
|
||||
|
|
@ -105,6 +114,7 @@ uint8_t l_Char_isLower(uint32_t);
|
|||
lean_object* l_Lean_Elab_Command_isDefLike___boxed(lean_object*);
|
||||
lean_object* l_Std_RBNode_insert___at___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBMap_ofList___at___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___spec__1(lean_object*);
|
||||
lean_object* l_Nat_repr(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
|
|
@ -126,7 +136,6 @@ lean_object* l_Std_RBNode_find___at_Lean_Elab_Command_MkInstanceName_collect___s
|
|||
lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefView___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__28;
|
||||
extern lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__2;
|
||||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__16;
|
||||
lean_object* l_Lean_Elab_instInhabitedDefView;
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_append___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -136,43 +145,47 @@ uint8_t l_Lean_Elab_Command_isDefLike(lean_object*);
|
|||
lean_object* l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_find___at_Lean_Elab_Command_MkInstanceName_collect___spec__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_MkInstanceName_collect___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfConstant_match__2___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Elab_DefKind_isTheorem(uint8_t);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___rarg(lean_object*);
|
||||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfExample_match__1___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_nullKind___closed__2;
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__29;
|
||||
lean_object* l_Lean_Elab_DefKind_isTheorem_match__1(lean_object*);
|
||||
lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_isFirst___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__2;
|
||||
extern lean_object* l_Lean_Syntax_mkApp___closed__1;
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
uint8_t l_String_isEmpty(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfTheorem_match__1(lean_object*);
|
||||
lean_object* lean_environment_main_module(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_isFirst(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfInstance_match__2(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_RBNode_isRed___rarg(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_instInhabitedModifiers___closed__1;
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_append(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfConstant_match__1(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__2(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991_(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048_(lean_object*);
|
||||
uint8_t l_Lean_Name_isAnonymous(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_toAttributeKind___rarg___closed__1;
|
||||
extern lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__5;
|
||||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__10;
|
||||
lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfDef_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfExample___closed__2;
|
||||
lean_object* l_Lean_Syntax_getPos(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__1;
|
||||
lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_main_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_expandDeclSig(lean_object*);
|
||||
|
|
@ -185,14 +198,16 @@ lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_MkInstanceName_collect___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_mkOptionalNode___closed__1;
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__2;
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__35;
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfTheorem_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__2;
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfInstance_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName(lean_object*);
|
||||
lean_object* l_Lean_Elab_DefKind_isExample___boxed(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Attr_instance___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_DefKind_isTheorem_match__1___rarg(uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -212,6 +227,7 @@ extern lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2;
|
|||
lean_object* l_Lean_Elab_Command_mkDefViewOfExample_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_instInhabitedDefView___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__1;
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfDef_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfInstance_match__2___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -223,6 +239,7 @@ extern lean_object* l_Lean_Meta_mkArbitrary___rarg___closed__2;
|
|||
lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__14;
|
||||
lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*);
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfExample___closed__1;
|
||||
static uint8_t _init_l_Lean_Elab_instInhabitedDefKind() {
|
||||
_start:
|
||||
|
|
@ -3270,7 +3287,7 @@ static lean_object* _init_l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkI
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__2;
|
||||
x_1 = l_Lean_Parser_Term_prop___elambda__1___closed__2;
|
||||
x_2 = l_Lean_Parser_Term_prop___elambda__1___closed__5;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -3294,7 +3311,7 @@ static lean_object* _init_l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkI
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2;
|
||||
x_1 = l_Lean_Parser_Term_type___elambda__1___closed__2;
|
||||
x_2 = l_Lean_Parser_Term_type___elambda__1___closed__16;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -4954,7 +4971,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
|||
x_8 = l_Lean_Syntax_getArg(x_6, x_5);
|
||||
lean_dec(x_6);
|
||||
x_9 = l_Lean_Syntax_getKind(x_8);
|
||||
x_10 = l_Lean_Elab_toAttributeKind___rarg___closed__1;
|
||||
x_10 = l_Lean_Parser_Term_scoped___elambda__1___closed__1;
|
||||
x_11 = lean_name_eq(x_9, x_10);
|
||||
lean_dec(x_9);
|
||||
if (x_11 == 0)
|
||||
|
|
@ -5033,13 +5050,137 @@ return x_31;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4);
|
||||
x_6 = lean_ctor_get(x_5, 0);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_5);
|
||||
x_8 = lean_ctor_get(x_2, 4);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_8);
|
||||
x_9 = l_Lean_Elab_getBetterRef(x_6, x_8);
|
||||
lean_dec(x_6);
|
||||
x_10 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(x_1, x_2, x_3, x_7);
|
||||
x_11 = lean_ctor_get(x_10, 0);
|
||||
lean_inc(x_11);
|
||||
x_12 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(x_11, x_8, x_2, x_3, x_12);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_8);
|
||||
x_14 = !lean_is_exclusive(x_13);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
x_15 = lean_ctor_get(x_13, 0);
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_9);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
lean_ctor_set_tag(x_13, 1);
|
||||
lean_ctor_set(x_13, 0, x_16);
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_17 = lean_ctor_get(x_13, 0);
|
||||
x_18 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_18);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_13);
|
||||
x_19 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_9);
|
||||
lean_ctor_set(x_19, 1, x_17);
|
||||
x_20 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_19);
|
||||
lean_ctor_set(x_20, 1, x_18);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10;
|
||||
x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5);
|
||||
x_7 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_ctor_get(x_6, 1);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_6);
|
||||
x_9 = l_Lean_replaceRef(x_1, x_7);
|
||||
lean_dec(x_7);
|
||||
x_10 = !lean_is_exclusive(x_3);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
x_11 = lean_ctor_get(x_3, 6);
|
||||
lean_dec(x_11);
|
||||
lean_ctor_set(x_3, 6, x_9);
|
||||
x_12 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(x_2, x_3, x_4, x_8);
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_13 = lean_ctor_get(x_3, 0);
|
||||
x_14 = lean_ctor_get(x_3, 1);
|
||||
x_15 = lean_ctor_get(x_3, 2);
|
||||
x_16 = lean_ctor_get(x_3, 3);
|
||||
x_17 = lean_ctor_get(x_3, 4);
|
||||
x_18 = lean_ctor_get(x_3, 5);
|
||||
lean_inc(x_18);
|
||||
lean_inc(x_17);
|
||||
lean_inc(x_16);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_3);
|
||||
x_19 = lean_alloc_ctor(0, 7, 0);
|
||||
lean_ctor_set(x_19, 0, x_13);
|
||||
lean_ctor_set(x_19, 1, x_14);
|
||||
lean_ctor_set(x_19, 2, x_15);
|
||||
lean_ctor_set(x_19, 3, x_16);
|
||||
lean_ctor_set(x_19, 4, x_17);
|
||||
lean_ctor_set(x_19, 5, x_18);
|
||||
lean_ctor_set(x_19, 6, x_9);
|
||||
x_20 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(x_2, x_19, x_4, x_8);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Elab_throwUnsupportedSyntax___rarg___closed__1;
|
||||
x_3 = lean_alloc_ctor(1, 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_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___rarg), 1, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_9 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_9, 0, x_1);
|
||||
x_10 = lean_unsigned_to_nat(4u);
|
||||
x_10 = lean_unsigned_to_nat(5u);
|
||||
x_11 = l_Lean_Syntax_getArg(x_2, x_10);
|
||||
x_12 = 0;
|
||||
x_13 = lean_alloc_ctor(0, 6, 1);
|
||||
|
|
@ -5068,127 +5209,352 @@ x_8 = l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___s
|
|||
lean_dec(x_7);
|
||||
if (lean_obj_tag(x_8) == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89;
|
||||
x_9 = lean_ctor_get(x_8, 0);
|
||||
lean_inc(x_9);
|
||||
x_10 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_8);
|
||||
x_11 = lean_unsigned_to_nat(3u);
|
||||
x_12 = l_Lean_Syntax_getArg(x_2, x_11);
|
||||
x_13 = l_Lean_Elab_expandDeclSig(x_12);
|
||||
lean_dec(x_12);
|
||||
x_64 = lean_unsigned_to_nat(2u);
|
||||
x_65 = l_Lean_Syntax_getArg(x_2, x_64);
|
||||
x_66 = lean_st_ref_get(x_4, x_10);
|
||||
x_67 = lean_ctor_get(x_66, 0);
|
||||
lean_inc(x_67);
|
||||
x_68 = lean_ctor_get(x_66, 1);
|
||||
lean_inc(x_68);
|
||||
lean_dec(x_66);
|
||||
x_69 = lean_ctor_get(x_67, 0);
|
||||
lean_inc(x_69);
|
||||
lean_dec(x_67);
|
||||
x_70 = l_Lean_Elab_Command_getRef(x_3, x_4, x_68);
|
||||
x_71 = lean_ctor_get(x_70, 0);
|
||||
lean_inc(x_71);
|
||||
x_72 = lean_ctor_get(x_70, 1);
|
||||
lean_inc(x_72);
|
||||
lean_dec(x_70);
|
||||
x_73 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_72);
|
||||
x_74 = lean_ctor_get(x_73, 0);
|
||||
lean_inc(x_74);
|
||||
x_75 = lean_ctor_get(x_73, 1);
|
||||
lean_inc(x_75);
|
||||
lean_dec(x_73);
|
||||
x_76 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_76);
|
||||
x_77 = lean_st_ref_get(x_4, x_75);
|
||||
x_78 = lean_ctor_get(x_77, 0);
|
||||
lean_inc(x_78);
|
||||
x_79 = lean_ctor_get(x_77, 1);
|
||||
lean_inc(x_79);
|
||||
lean_dec(x_77);
|
||||
x_80 = lean_ctor_get(x_78, 4);
|
||||
lean_inc(x_80);
|
||||
lean_dec(x_78);
|
||||
x_81 = lean_st_ref_get(x_4, x_79);
|
||||
x_82 = lean_ctor_get(x_81, 0);
|
||||
lean_inc(x_82);
|
||||
x_83 = lean_ctor_get(x_81, 1);
|
||||
lean_inc(x_83);
|
||||
lean_dec(x_81);
|
||||
x_84 = lean_ctor_get(x_82, 3);
|
||||
lean_inc(x_84);
|
||||
lean_dec(x_82);
|
||||
lean_inc(x_69);
|
||||
x_85 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1);
|
||||
lean_closure_set(x_85, 0, x_69);
|
||||
x_86 = x_85;
|
||||
x_87 = lean_environment_main_module(x_69);
|
||||
x_88 = lean_alloc_ctor(0, 6, 0);
|
||||
lean_ctor_set(x_88, 0, x_86);
|
||||
lean_ctor_set(x_88, 1, x_87);
|
||||
lean_ctor_set(x_88, 2, x_74);
|
||||
lean_ctor_set(x_88, 3, x_76);
|
||||
lean_ctor_set(x_88, 4, x_80);
|
||||
lean_ctor_set(x_88, 5, x_71);
|
||||
x_89 = l_Lean_Elab_expandOptNamedPrio(x_65, x_88, x_84);
|
||||
lean_dec(x_65);
|
||||
if (lean_obj_tag(x_89) == 0)
|
||||
{
|
||||
lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95;
|
||||
x_90 = lean_ctor_get(x_89, 0);
|
||||
lean_inc(x_90);
|
||||
x_91 = lean_ctor_get(x_89, 1);
|
||||
lean_inc(x_91);
|
||||
lean_dec(x_89);
|
||||
x_92 = lean_st_ref_take(x_4, x_83);
|
||||
x_93 = lean_ctor_get(x_92, 0);
|
||||
lean_inc(x_93);
|
||||
x_94 = lean_ctor_get(x_92, 1);
|
||||
lean_inc(x_94);
|
||||
lean_dec(x_92);
|
||||
x_95 = !lean_is_exclusive(x_93);
|
||||
if (x_95 == 0)
|
||||
{
|
||||
lean_object* x_96; lean_object* x_97; lean_object* x_98;
|
||||
x_96 = lean_ctor_get(x_93, 3);
|
||||
lean_dec(x_96);
|
||||
lean_ctor_set(x_93, 3, x_91);
|
||||
x_97 = lean_st_ref_set(x_4, x_93, x_94);
|
||||
x_98 = lean_ctor_get(x_97, 1);
|
||||
lean_inc(x_98);
|
||||
lean_dec(x_97);
|
||||
x_11 = x_90;
|
||||
x_12 = x_98;
|
||||
goto block_63;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107;
|
||||
x_99 = lean_ctor_get(x_93, 0);
|
||||
x_100 = lean_ctor_get(x_93, 1);
|
||||
x_101 = lean_ctor_get(x_93, 2);
|
||||
x_102 = lean_ctor_get(x_93, 4);
|
||||
x_103 = lean_ctor_get(x_93, 5);
|
||||
x_104 = lean_ctor_get(x_93, 6);
|
||||
lean_inc(x_104);
|
||||
lean_inc(x_103);
|
||||
lean_inc(x_102);
|
||||
lean_inc(x_101);
|
||||
lean_inc(x_100);
|
||||
lean_inc(x_99);
|
||||
lean_dec(x_93);
|
||||
x_105 = lean_alloc_ctor(0, 7, 0);
|
||||
lean_ctor_set(x_105, 0, x_99);
|
||||
lean_ctor_set(x_105, 1, x_100);
|
||||
lean_ctor_set(x_105, 2, x_101);
|
||||
lean_ctor_set(x_105, 3, x_91);
|
||||
lean_ctor_set(x_105, 4, x_102);
|
||||
lean_ctor_set(x_105, 5, x_103);
|
||||
lean_ctor_set(x_105, 6, x_104);
|
||||
x_106 = lean_st_ref_set(x_4, x_105, x_94);
|
||||
x_107 = lean_ctor_get(x_106, 1);
|
||||
lean_inc(x_107);
|
||||
lean_dec(x_106);
|
||||
x_11 = x_90;
|
||||
x_12 = x_107;
|
||||
goto block_63;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_108;
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_108 = lean_ctor_get(x_89, 0);
|
||||
lean_inc(x_108);
|
||||
lean_dec(x_89);
|
||||
if (lean_obj_tag(x_108) == 0)
|
||||
{
|
||||
lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114;
|
||||
x_109 = lean_ctor_get(x_108, 0);
|
||||
lean_inc(x_109);
|
||||
x_110 = lean_ctor_get(x_108, 1);
|
||||
lean_inc(x_110);
|
||||
lean_dec(x_108);
|
||||
x_111 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_111, 0, x_110);
|
||||
x_112 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_112, 0, x_111);
|
||||
x_113 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(x_109, x_112, x_3, x_4, x_83);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_109);
|
||||
x_114 = !lean_is_exclusive(x_113);
|
||||
if (x_114 == 0)
|
||||
{
|
||||
return x_113;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_115; lean_object* x_116; lean_object* x_117;
|
||||
x_115 = lean_ctor_get(x_113, 0);
|
||||
x_116 = lean_ctor_get(x_113, 1);
|
||||
lean_inc(x_116);
|
||||
lean_inc(x_115);
|
||||
lean_dec(x_113);
|
||||
x_117 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_117, 0, x_115);
|
||||
lean_ctor_set(x_117, 1, x_116);
|
||||
return x_117;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_118; uint8_t x_119;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_118 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___rarg(x_83);
|
||||
x_119 = !lean_is_exclusive(x_118);
|
||||
if (x_119 == 0)
|
||||
{
|
||||
return x_118;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_120; lean_object* x_121; lean_object* x_122;
|
||||
x_120 = lean_ctor_get(x_118, 0);
|
||||
x_121 = lean_ctor_get(x_118, 1);
|
||||
lean_inc(x_121);
|
||||
lean_inc(x_120);
|
||||
lean_dec(x_118);
|
||||
x_122 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_122, 0, x_120);
|
||||
lean_ctor_set(x_122, 1, x_121);
|
||||
return x_122;
|
||||
}
|
||||
}
|
||||
}
|
||||
block_63:
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkDefViewOfConstant___spec__1(x_3, x_4, x_12);
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_13);
|
||||
x_16 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_195____closed__1;
|
||||
x_17 = lean_box(0);
|
||||
x_18 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_18, 0, x_16);
|
||||
lean_ctor_set(x_18, 1, x_17);
|
||||
x_19 = lean_unbox(x_9);
|
||||
lean_dec(x_9);
|
||||
lean_ctor_set_uint8(x_18, sizeof(void*)*2, x_19);
|
||||
x_20 = l_Lean_Elab_Modifiers_addAttribute(x_1, x_18);
|
||||
x_21 = lean_unsigned_to_nat(2u);
|
||||
x_22 = l_Lean_Syntax_getArg(x_2, x_21);
|
||||
x_23 = l_Lean_Syntax_getOptional_x3f(x_22);
|
||||
lean_dec(x_22);
|
||||
if (lean_obj_tag(x_23) == 0)
|
||||
{
|
||||
lean_object* x_24;
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_15);
|
||||
x_24 = l_Lean_Elab_Command_MkInstanceName_main(x_15, x_3, x_4, x_10);
|
||||
if (lean_obj_tag(x_24) == 0)
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34;
|
||||
x_25 = lean_ctor_get(x_24, 0);
|
||||
lean_inc(x_25);
|
||||
x_26 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_24);
|
||||
x_27 = l_Lean_mkIdentFrom(x_2, x_25);
|
||||
x_28 = l_Lean_Syntax_mkApp___closed__1;
|
||||
x_29 = lean_array_push(x_28, x_27);
|
||||
x_30 = l_Lean_mkOptionalNode___closed__1;
|
||||
x_31 = lean_array_push(x_29, x_30);
|
||||
x_32 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__25;
|
||||
x_16 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_15);
|
||||
x_17 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_16);
|
||||
x_18 = l_Lean_Elab_Command_getMainModule___rarg(x_4, x_17);
|
||||
x_19 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_18);
|
||||
x_20 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__27;
|
||||
x_21 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_14);
|
||||
lean_ctor_set(x_21, 1, x_20);
|
||||
x_22 = l_Array_empty___closed__1;
|
||||
x_23 = lean_array_push(x_22, x_21);
|
||||
x_24 = l_Nat_repr(x_11);
|
||||
x_25 = l_Lean_numLitKind;
|
||||
x_26 = l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
x_27 = l_Lean_Syntax_mkLit(x_25, x_24, x_26);
|
||||
x_28 = lean_array_push(x_22, x_27);
|
||||
x_29 = l_Lean_nullKind___closed__2;
|
||||
x_30 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_30, 0, x_29);
|
||||
lean_ctor_set(x_30, 1, x_28);
|
||||
x_31 = lean_array_push(x_23, x_30);
|
||||
x_32 = l_Lean_Parser_Attr_instance___elambda__1___closed__1;
|
||||
x_33 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_32);
|
||||
lean_ctor_set(x_33, 1, x_31);
|
||||
x_34 = l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(x_15, x_2, x_20, x_14, x_33, x_3, x_4, x_26);
|
||||
x_34 = lean_unsigned_to_nat(4u);
|
||||
x_35 = l_Lean_Syntax_getArg(x_2, x_34);
|
||||
x_36 = l_Lean_Elab_expandDeclSig(x_35);
|
||||
lean_dec(x_35);
|
||||
x_37 = lean_ctor_get(x_36, 0);
|
||||
lean_inc(x_37);
|
||||
x_38 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_36);
|
||||
x_39 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_195____closed__1;
|
||||
x_40 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_40, 0, x_39);
|
||||
lean_ctor_set(x_40, 1, x_33);
|
||||
x_41 = lean_unbox(x_9);
|
||||
lean_dec(x_9);
|
||||
lean_ctor_set_uint8(x_40, sizeof(void*)*2, x_41);
|
||||
x_42 = l_Lean_Elab_Modifiers_addAttribute(x_1, x_40);
|
||||
x_43 = lean_unsigned_to_nat(3u);
|
||||
x_44 = l_Lean_Syntax_getArg(x_2, x_43);
|
||||
x_45 = l_Lean_Syntax_getOptional_x3f(x_44);
|
||||
lean_dec(x_44);
|
||||
if (lean_obj_tag(x_45) == 0)
|
||||
{
|
||||
lean_object* x_46;
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_38);
|
||||
x_46 = l_Lean_Elab_Command_MkInstanceName_main(x_38, x_3, x_4, x_19);
|
||||
if (lean_obj_tag(x_46) == 0)
|
||||
{
|
||||
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56;
|
||||
x_47 = lean_ctor_get(x_46, 0);
|
||||
lean_inc(x_47);
|
||||
x_48 = lean_ctor_get(x_46, 1);
|
||||
lean_inc(x_48);
|
||||
lean_dec(x_46);
|
||||
x_49 = l_Lean_mkIdentFrom(x_2, x_47);
|
||||
x_50 = l_Lean_Syntax_mkApp___closed__1;
|
||||
x_51 = lean_array_push(x_50, x_49);
|
||||
x_52 = l_Lean_mkOptionalNode___closed__1;
|
||||
x_53 = lean_array_push(x_51, x_52);
|
||||
x_54 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__25;
|
||||
x_55 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_55, 0, x_54);
|
||||
lean_ctor_set(x_55, 1, x_53);
|
||||
x_56 = l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(x_38, x_2, x_42, x_37, x_55, x_3, x_4, x_48);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
return x_34;
|
||||
return x_56;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_35;
|
||||
lean_dec(x_20);
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_14);
|
||||
uint8_t x_57;
|
||||
lean_dec(x_42);
|
||||
lean_dec(x_38);
|
||||
lean_dec(x_37);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_35 = !lean_is_exclusive(x_24);
|
||||
if (x_35 == 0)
|
||||
x_57 = !lean_is_exclusive(x_46);
|
||||
if (x_57 == 0)
|
||||
{
|
||||
return x_24;
|
||||
return x_46;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_36; lean_object* x_37; lean_object* x_38;
|
||||
x_36 = lean_ctor_get(x_24, 0);
|
||||
x_37 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_37);
|
||||
lean_inc(x_36);
|
||||
lean_dec(x_24);
|
||||
x_38 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_38, 0, x_36);
|
||||
lean_ctor_set(x_38, 1, x_37);
|
||||
return x_38;
|
||||
lean_object* x_58; lean_object* x_59; lean_object* x_60;
|
||||
x_58 = lean_ctor_get(x_46, 0);
|
||||
x_59 = lean_ctor_get(x_46, 1);
|
||||
lean_inc(x_59);
|
||||
lean_inc(x_58);
|
||||
lean_dec(x_46);
|
||||
x_60 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_60, 0, x_58);
|
||||
lean_ctor_set(x_60, 1, x_59);
|
||||
return x_60;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_39; lean_object* x_40;
|
||||
x_39 = lean_ctor_get(x_23, 0);
|
||||
lean_inc(x_39);
|
||||
lean_dec(x_23);
|
||||
x_40 = l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(x_15, x_2, x_20, x_14, x_39, x_3, x_4, x_10);
|
||||
lean_object* x_61; lean_object* x_62;
|
||||
x_61 = lean_ctor_get(x_45, 0);
|
||||
lean_inc(x_61);
|
||||
lean_dec(x_45);
|
||||
x_62 = l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(x_38, x_2, x_42, x_37, x_61, x_3, x_4, x_19);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
return x_40;
|
||||
return x_62;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_41;
|
||||
uint8_t x_123;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_41 = !lean_is_exclusive(x_8);
|
||||
if (x_41 == 0)
|
||||
x_123 = !lean_is_exclusive(x_8);
|
||||
if (x_123 == 0)
|
||||
{
|
||||
return x_8;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_42; lean_object* x_43; lean_object* x_44;
|
||||
x_42 = lean_ctor_get(x_8, 0);
|
||||
x_43 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_43);
|
||||
lean_inc(x_42);
|
||||
lean_object* x_124; lean_object* x_125; lean_object* x_126;
|
||||
x_124 = lean_ctor_get(x_8, 0);
|
||||
x_125 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_125);
|
||||
lean_inc(x_124);
|
||||
lean_dec(x_8);
|
||||
x_44 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_42);
|
||||
lean_ctor_set(x_44, 1, x_43);
|
||||
return x_44;
|
||||
x_126 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_126, 0, x_124);
|
||||
lean_ctor_set(x_126, 1, x_125);
|
||||
return x_126;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -5213,6 +5579,35 @@ lean_dec(x_1);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6;
|
||||
x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -5591,7 +5986,7 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -5599,21 +5994,21 @@ x_1 = lean_mk_string("definition");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__2;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__2;
|
||||
x_3 = l_Lean_registerTraceClass(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -5726,11 +6121,11 @@ l_Lean_Elab_Command_mkDefView___closed__2 = _init_l_Lean_Elab_Command_mkDefView_
|
|||
lean_mark_persistent(l_Lean_Elab_Command_mkDefView___closed__2);
|
||||
l_Lean_Elab_Command_mkDefView___closed__3 = _init_l_Lean_Elab_Command_mkDefView___closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_mkDefView___closed__3);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__1);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__2);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991_(lean_io_mk_world());
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__1);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__2);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048_(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));
|
||||
|
|
|
|||
45
stage0/stdlib/Lean/Elab/Deriving/BEq.c
generated
45
stage0/stdlib/Lean/Elab/Deriving/BEq.c
generated
|
|
@ -68,7 +68,6 @@ lean_object* l_Lean_Elab_Deriving_mkLocalInstanceLetDecls(lean_object*, lean_obj
|
|||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkMatch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__11(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_instToFormatModifiers___closed__8;
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkAlts_match__4___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__5___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* l_Lean_Elab_Deriving_mkDiscrs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -96,7 +95,6 @@ lean_object* l_Lean_Elab_Deriving_BEq_mkMatch(lean_object*);
|
|||
lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__1;
|
||||
extern lean_object* l_instReprBool___closed__3;
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkAlts_match__1___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
extern lean_object* l_Lean_Core_betaReduce___closed__2;
|
||||
extern lean_object* l_Lean_instQuoteBool___closed__3;
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___closed__3;
|
||||
|
|
@ -146,6 +144,7 @@ extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec_
|
|||
extern lean_object* l_Lean_instQuoteBool___closed__2;
|
||||
extern lean_object* l_Lean_Parser_Command_end___elambda__1___closed__1;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__4___closed__3;
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__9;
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_initFn____x40_Lean_Elab_Deriving_BEq___hyg_2237____closed__1;
|
||||
|
|
@ -171,18 +170,19 @@ extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2884____closed__6;
|
|||
lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__3;
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_syntax_ident(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
extern lean_object* l_Lean_instInhabitedInductiveVal;
|
||||
extern lean_object* l_term___x26_x26_____closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_11900____closed__11;
|
||||
extern lean_object* l_Lean_mkOptionalNode___closed__2;
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__5;
|
||||
extern lean_object* l_Lean_Parser_Command_partial___elambda__1___closed__1;
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkElseAlt___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*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__5;
|
||||
extern lean_object* l_Lean_Parser_Command_partial___elambda__1___closed__2;
|
||||
extern lean_object* l_Lean_Elab_Deriving_mkContext___closed__3;
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3;
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__6;
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkBEqInstanceHandler(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -193,7 +193,6 @@ lean_object* l_List_map___at___private_Lean_Elab_Deriving_BEq_0__Lean_Elab_Deriv
|
|||
lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__5;
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__4;
|
||||
extern lean_object* l_Lean_setOptionFromString___closed__3;
|
||||
extern lean_object* l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__3;
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_BEq_mkMatch_mkAlts___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -3156,16 +3155,6 @@ lean_ctor_set(x_3, 1, x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3;
|
||||
x_2 = l_Lean_Elab_instToFormatModifiers___closed__8;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -3193,14 +3182,14 @@ if (x_22 == 0)
|
|||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84;
|
||||
x_23 = lean_ctor_get(x_21, 0);
|
||||
x_24 = l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
x_24 = l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
lean_inc(x_16);
|
||||
x_25 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_25, 0, x_16);
|
||||
lean_ctor_set(x_25, 1, x_24);
|
||||
x_26 = l_Array_empty___closed__1;
|
||||
x_27 = lean_array_push(x_26, x_25);
|
||||
x_28 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
x_28 = l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
x_29 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
lean_ctor_set(x_29, 1, x_27);
|
||||
|
|
@ -3302,14 +3291,14 @@ x_86 = lean_ctor_get(x_21, 1);
|
|||
lean_inc(x_86);
|
||||
lean_inc(x_85);
|
||||
lean_dec(x_21);
|
||||
x_87 = l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
x_87 = l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
lean_inc(x_16);
|
||||
x_88 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_88, 0, x_16);
|
||||
lean_ctor_set(x_88, 1, x_87);
|
||||
x_89 = l_Array_empty___closed__1;
|
||||
x_90 = lean_array_push(x_89, x_88);
|
||||
x_91 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
x_91 = l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
x_92 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_92, 0, x_91);
|
||||
lean_ctor_set(x_92, 1, x_90);
|
||||
|
|
@ -3428,14 +3417,14 @@ if (x_157 == 0)
|
|||
{
|
||||
lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226;
|
||||
x_158 = lean_ctor_get(x_156, 0);
|
||||
x_159 = l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
x_159 = l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
lean_inc(x_151);
|
||||
x_160 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_160, 0, x_151);
|
||||
lean_ctor_set(x_160, 1, x_159);
|
||||
x_161 = l_Array_empty___closed__1;
|
||||
x_162 = lean_array_push(x_161, x_160);
|
||||
x_163 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
x_163 = l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
x_164 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_164, 0, x_163);
|
||||
lean_ctor_set(x_164, 1, x_162);
|
||||
|
|
@ -3449,13 +3438,13 @@ x_169 = lean_array_push(x_168, x_167);
|
|||
x_170 = l_myMacro____x40_Init_Notation___hyg_1192____closed__8;
|
||||
x_171 = lean_array_push(x_169, x_170);
|
||||
x_172 = lean_array_push(x_171, x_170);
|
||||
x_173 = l_Lean_Elab_instToFormatModifiers___closed__8;
|
||||
x_173 = l_Lean_Parser_Command_partial___elambda__1___closed__1;
|
||||
lean_inc(x_151);
|
||||
x_174 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_174, 0, x_151);
|
||||
lean_ctor_set(x_174, 1, x_173);
|
||||
x_175 = lean_array_push(x_161, x_174);
|
||||
x_176 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__5;
|
||||
x_176 = l_Lean_Parser_Command_partial___elambda__1___closed__2;
|
||||
x_177 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_177, 0, x_176);
|
||||
lean_ctor_set(x_177, 1, x_175);
|
||||
|
|
@ -3551,14 +3540,14 @@ x_228 = lean_ctor_get(x_156, 1);
|
|||
lean_inc(x_228);
|
||||
lean_inc(x_227);
|
||||
lean_dec(x_156);
|
||||
x_229 = l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
x_229 = l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
lean_inc(x_151);
|
||||
x_230 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_230, 0, x_151);
|
||||
lean_ctor_set(x_230, 1, x_229);
|
||||
x_231 = l_Array_empty___closed__1;
|
||||
x_232 = lean_array_push(x_231, x_230);
|
||||
x_233 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
x_233 = l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
x_234 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_234, 0, x_233);
|
||||
lean_ctor_set(x_234, 1, x_232);
|
||||
|
|
@ -3572,13 +3561,13 @@ x_239 = lean_array_push(x_238, x_237);
|
|||
x_240 = l_myMacro____x40_Init_Notation___hyg_1192____closed__8;
|
||||
x_241 = lean_array_push(x_239, x_240);
|
||||
x_242 = lean_array_push(x_241, x_240);
|
||||
x_243 = l_Lean_Elab_instToFormatModifiers___closed__8;
|
||||
x_243 = l_Lean_Parser_Command_partial___elambda__1___closed__1;
|
||||
lean_inc(x_151);
|
||||
x_244 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_244, 0, x_151);
|
||||
lean_ctor_set(x_244, 1, x_243);
|
||||
x_245 = lean_array_push(x_231, x_244);
|
||||
x_246 = l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__5;
|
||||
x_246 = l_Lean_Parser_Command_partial___elambda__1___closed__2;
|
||||
x_247 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_247, 0, x_246);
|
||||
lean_ctor_set(x_247, 1, x_245);
|
||||
|
|
@ -5265,8 +5254,6 @@ l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__3 = _init_l_Lean_El
|
|||
lean_mark_persistent(l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__3);
|
||||
l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__4 = _init_l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__4);
|
||||
l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__5 = _init_l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_Deriving_BEq_mkAuxFunction___lambda__1___closed__5);
|
||||
l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__1 = _init_l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__1);
|
||||
l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__2 = _init_l_Lean_Elab_Deriving_BEq_mkMutualBlock___closed__2();
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Deriving/Basic.c
generated
4
stage0/stdlib/Lean/Elab/Deriving/Basic.c
generated
|
|
@ -82,7 +82,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getOptDerivingClasses___spec_
|
|||
lean_object* l_Std_RBNode_find___at_Lean_Elab_applyDerivingHandlers___spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_expr_dbg_to_string(lean_object*);
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__15;
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__3;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
|
|
@ -92,6 +91,7 @@ lean_object* l_Std_RBNode_find___at_Lean_Elab_applyDerivingHandlers___spec__1___
|
|||
lean_object* l_Lean_Elab_registerBuiltinDerivingHandler___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(lean_object*);
|
||||
extern lean_object* l_Lean_resolveGlobalConstNoOverload___rarg___lambda__1___closed__1;
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_getOptDerivingClasses___spec__1___rarg___lambda__2(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getSepArgs(lean_object*);
|
||||
extern lean_object* l_Lean_resolveGlobalConstNoOverload___rarg___lambda__1___closed__2;
|
||||
|
|
@ -1830,7 +1830,7 @@ static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___h
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Basic___hyg_531____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
24
stage0/stdlib/Lean/Elab/Deriving/DecEq.c
generated
24
stage0/stdlib/Lean/Elab/Deriving/DecEq.c
generated
|
|
@ -96,6 +96,7 @@ lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__11;
|
|||
extern lean_object* l_Lean_Syntax_formatStxAux___closed__3;
|
||||
lean_object* l_Lean_Elab_Deriving_mkDiscrs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__2;
|
||||
extern lean_object* l_Lean_Parser_Tactic_subst___closed__2;
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__7;
|
||||
lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -124,7 +125,6 @@ lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
|||
lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__8;
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
extern lean_object* l_Lean_mkDecIsTrue___closed__1;
|
||||
extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_14727____closed__2;
|
||||
lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__9;
|
||||
|
|
@ -156,7 +156,6 @@ extern lean_object* l_Lean_KernelException_toMessageData___closed__3;
|
|||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2;
|
||||
lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__20;
|
||||
lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__10;
|
||||
|
|
@ -175,6 +174,7 @@ lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs_match__1(lean_obje
|
|||
lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
extern lean_object* l_term___x3d_____closed__2;
|
||||
extern lean_object* l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
extern lean_object* l_Lean_Elab_Tactic_evalIntro___closed__4;
|
||||
lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__12;
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5(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*);
|
||||
|
|
@ -211,6 +211,7 @@ extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2884____closed__6;
|
|||
lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts_match__2___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_prec_x28___x29___closed__3;
|
||||
lean_object* lean_mk_syntax_ident(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
extern lean_object* l_Lean_instInhabitedInductiveVal;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_11900____closed__11;
|
||||
extern lean_object* l_Lean_mkOptionalNode___closed__2;
|
||||
|
|
@ -229,7 +230,6 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHand
|
|||
lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___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_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_11370____closed__8;
|
||||
extern lean_object* l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*);
|
||||
|
|
@ -941,7 +941,7 @@ lean_ctor_set(x_151, 0, x_150);
|
|||
lean_ctor_set(x_151, 1, x_149);
|
||||
lean_inc(x_116);
|
||||
x_152 = lean_array_push(x_116, x_151);
|
||||
x_153 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2;
|
||||
x_153 = l_Lean_Parser_Term_byTactic___elambda__1___closed__2;
|
||||
x_154 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_154, 0, x_153);
|
||||
lean_ctor_set(x_154, 1, x_152);
|
||||
|
|
@ -1409,7 +1409,7 @@ lean_ctor_set(x_390, 0, x_389);
|
|||
lean_ctor_set(x_390, 1, x_388);
|
||||
lean_inc(x_355);
|
||||
x_391 = lean_array_push(x_355, x_390);
|
||||
x_392 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2;
|
||||
x_392 = l_Lean_Parser_Term_byTactic___elambda__1___closed__2;
|
||||
x_393 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_393, 0, x_392);
|
||||
lean_ctor_set(x_393, 1, x_391);
|
||||
|
|
@ -1874,7 +1874,7 @@ lean_ctor_set(x_616, 0, x_615);
|
|||
lean_ctor_set(x_616, 1, x_614);
|
||||
lean_inc(x_581);
|
||||
x_617 = lean_array_push(x_581, x_616);
|
||||
x_618 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2;
|
||||
x_618 = l_Lean_Parser_Term_byTactic___elambda__1___closed__2;
|
||||
x_619 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_619, 0, x_618);
|
||||
lean_ctor_set(x_619, 1, x_617);
|
||||
|
|
@ -2379,7 +2379,7 @@ lean_ctor_set(x_852, 0, x_851);
|
|||
lean_ctor_set(x_852, 1, x_850);
|
||||
lean_inc(x_817);
|
||||
x_853 = lean_array_push(x_817, x_852);
|
||||
x_854 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2;
|
||||
x_854 = l_Lean_Parser_Term_byTactic___elambda__1___closed__2;
|
||||
x_855 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_855, 0, x_854);
|
||||
lean_ctor_set(x_855, 1, x_853);
|
||||
|
|
@ -4604,7 +4604,7 @@ x_139 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_139, 0, x_138);
|
||||
lean_ctor_set(x_139, 1, x_137);
|
||||
x_140 = lean_array_push(x_100, x_139);
|
||||
x_141 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2;
|
||||
x_141 = l_Lean_Parser_Term_byTactic___elambda__1___closed__2;
|
||||
x_142 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_142, 0, x_141);
|
||||
lean_ctor_set(x_142, 1, x_140);
|
||||
|
|
@ -5549,13 +5549,13 @@ if (x_79 == 0)
|
|||
lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132;
|
||||
x_80 = lean_ctor_get(x_78, 0);
|
||||
lean_dec(x_80);
|
||||
x_81 = l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
x_81 = l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
lean_inc(x_74);
|
||||
x_82 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_82, 0, x_74);
|
||||
lean_ctor_set(x_82, 1, x_81);
|
||||
x_83 = lean_array_push(x_39, x_82);
|
||||
x_84 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
x_84 = l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
x_85 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_85, 0, x_84);
|
||||
lean_ctor_set(x_85, 1, x_83);
|
||||
|
|
@ -5644,13 +5644,13 @@ lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136;
|
|||
x_133 = lean_ctor_get(x_78, 1);
|
||||
lean_inc(x_133);
|
||||
lean_dec(x_78);
|
||||
x_134 = l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
x_134 = l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
lean_inc(x_74);
|
||||
x_135 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_135, 0, x_74);
|
||||
lean_ctor_set(x_135, 1, x_134);
|
||||
x_136 = lean_array_push(x_39, x_135);
|
||||
x_137 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
x_137 = l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
x_138 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_138, 0, x_137);
|
||||
lean_ctor_set(x_138, 1, x_136);
|
||||
|
|
|
|||
270
stage0/stdlib/Lean/Elab/Deriving/Inhabited.c
generated
270
stage0/stdlib/Lean/Elab/Deriving/Inhabited.c
generated
|
|
@ -148,7 +148,6 @@ lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedIn
|
|||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f___spec__1___closed__5;
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1819____closed__1;
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__3;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_mkInhabitedInstanceHandler___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -252,8 +251,9 @@ extern lean_object* l_addParenHeuristic___closed__1;
|
|||
lean_object* l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_mkInstanceCmd_x3f_match__3___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_term_x5b___x5d___closed__3;
|
||||
lean_object* l_runST___rarg(lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1819_(lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1825_(lean_object*);
|
||||
extern lean_object* l_Lean_Meta_mkArbitrary___rarg___closed__2;
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1825____closed__1;
|
||||
lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_ins___at___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_collectUsedLocalsInsts___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -5591,7 +5591,7 @@ x_122 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_121);
|
|||
x_123 = !lean_is_exclusive(x_122);
|
||||
if (x_123 == 0)
|
||||
{
|
||||
lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156;
|
||||
lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157;
|
||||
x_124 = lean_ctor_get(x_122, 0);
|
||||
lean_dec(x_124);
|
||||
x_125 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__27;
|
||||
|
|
@ -5602,169 +5602,171 @@ lean_ctor_set(x_126, 1, x_125);
|
|||
x_127 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__30;
|
||||
x_128 = lean_array_push(x_127, x_126);
|
||||
x_129 = lean_array_push(x_128, x_65);
|
||||
x_130 = l_Array_appendCore___rarg(x_23, x_29);
|
||||
x_130 = lean_array_push(x_129, x_65);
|
||||
x_131 = l_Array_appendCore___rarg(x_23, x_29);
|
||||
lean_dec(x_29);
|
||||
x_131 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_131, 0, x_59);
|
||||
lean_ctor_set(x_131, 1, x_130);
|
||||
x_132 = lean_array_push(x_23, x_131);
|
||||
x_133 = l_myMacro____x40_Init_Notation___hyg_12817____closed__9;
|
||||
x_132 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_132, 0, x_59);
|
||||
lean_ctor_set(x_132, 1, x_131);
|
||||
x_133 = lean_array_push(x_23, x_132);
|
||||
x_134 = l_myMacro____x40_Init_Notation___hyg_12817____closed__9;
|
||||
lean_inc(x_118);
|
||||
x_134 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_134, 0, x_118);
|
||||
lean_ctor_set(x_134, 1, x_133);
|
||||
x_135 = lean_array_push(x_23, x_134);
|
||||
x_136 = lean_array_push(x_135, x_77);
|
||||
x_137 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_138 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_138, 0, x_137);
|
||||
lean_ctor_set(x_138, 1, x_136);
|
||||
x_139 = lean_array_push(x_132, x_138);
|
||||
x_140 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__32;
|
||||
x_141 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_141, 0, x_140);
|
||||
lean_ctor_set(x_141, 1, x_139);
|
||||
x_142 = lean_array_push(x_129, x_141);
|
||||
x_143 = l_myMacro____x40_Init_Notation___hyg_13394____closed__11;
|
||||
x_144 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_144, 0, x_118);
|
||||
lean_ctor_set(x_144, 1, x_143);
|
||||
x_145 = lean_array_push(x_23, x_144);
|
||||
x_146 = lean_array_push(x_145, x_116);
|
||||
x_147 = lean_array_push(x_146, x_65);
|
||||
x_148 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__35;
|
||||
x_149 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_149, 0, x_148);
|
||||
lean_ctor_set(x_149, 1, x_147);
|
||||
x_150 = lean_array_push(x_142, x_149);
|
||||
x_151 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__28;
|
||||
x_152 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_152, 0, x_151);
|
||||
lean_ctor_set(x_152, 1, x_150);
|
||||
x_153 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__16;
|
||||
x_154 = lean_array_push(x_153, x_152);
|
||||
x_155 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__5;
|
||||
x_156 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_156, 0, x_155);
|
||||
lean_ctor_set(x_156, 1, x_154);
|
||||
lean_ctor_set(x_122, 0, x_156);
|
||||
x_135 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_135, 0, x_118);
|
||||
lean_ctor_set(x_135, 1, x_134);
|
||||
x_136 = lean_array_push(x_23, x_135);
|
||||
x_137 = lean_array_push(x_136, x_77);
|
||||
x_138 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_139 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_139, 0, x_138);
|
||||
lean_ctor_set(x_139, 1, x_137);
|
||||
x_140 = lean_array_push(x_133, x_139);
|
||||
x_141 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__32;
|
||||
x_142 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_142, 0, x_141);
|
||||
lean_ctor_set(x_142, 1, x_140);
|
||||
x_143 = lean_array_push(x_130, x_142);
|
||||
x_144 = l_myMacro____x40_Init_Notation___hyg_13394____closed__11;
|
||||
x_145 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_145, 0, x_118);
|
||||
lean_ctor_set(x_145, 1, x_144);
|
||||
x_146 = lean_array_push(x_23, x_145);
|
||||
x_147 = lean_array_push(x_146, x_116);
|
||||
x_148 = lean_array_push(x_147, x_65);
|
||||
x_149 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__35;
|
||||
x_150 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_150, 0, x_149);
|
||||
lean_ctor_set(x_150, 1, x_148);
|
||||
x_151 = lean_array_push(x_143, x_150);
|
||||
x_152 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__28;
|
||||
x_153 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_153, 0, x_152);
|
||||
lean_ctor_set(x_153, 1, x_151);
|
||||
x_154 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__16;
|
||||
x_155 = lean_array_push(x_154, x_153);
|
||||
x_156 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__5;
|
||||
x_157 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_157, 0, x_156);
|
||||
lean_ctor_set(x_157, 1, x_155);
|
||||
lean_ctor_set(x_122, 0, x_157);
|
||||
return x_122;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190;
|
||||
x_157 = lean_ctor_get(x_122, 1);
|
||||
lean_inc(x_157);
|
||||
lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192;
|
||||
x_158 = lean_ctor_get(x_122, 1);
|
||||
lean_inc(x_158);
|
||||
lean_dec(x_122);
|
||||
x_158 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__27;
|
||||
x_159 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__27;
|
||||
lean_inc(x_118);
|
||||
x_159 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_159, 0, x_118);
|
||||
lean_ctor_set(x_159, 1, x_158);
|
||||
x_160 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__30;
|
||||
x_161 = lean_array_push(x_160, x_159);
|
||||
x_162 = lean_array_push(x_161, x_65);
|
||||
x_163 = l_Array_appendCore___rarg(x_23, x_29);
|
||||
x_160 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_160, 0, x_118);
|
||||
lean_ctor_set(x_160, 1, x_159);
|
||||
x_161 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__30;
|
||||
x_162 = lean_array_push(x_161, x_160);
|
||||
x_163 = lean_array_push(x_162, x_65);
|
||||
x_164 = lean_array_push(x_163, x_65);
|
||||
x_165 = l_Array_appendCore___rarg(x_23, x_29);
|
||||
lean_dec(x_29);
|
||||
x_164 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_164, 0, x_59);
|
||||
lean_ctor_set(x_164, 1, x_163);
|
||||
x_165 = lean_array_push(x_23, x_164);
|
||||
x_166 = l_myMacro____x40_Init_Notation___hyg_12817____closed__9;
|
||||
x_166 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_166, 0, x_59);
|
||||
lean_ctor_set(x_166, 1, x_165);
|
||||
x_167 = lean_array_push(x_23, x_166);
|
||||
x_168 = l_myMacro____x40_Init_Notation___hyg_12817____closed__9;
|
||||
lean_inc(x_118);
|
||||
x_167 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_167, 0, x_118);
|
||||
lean_ctor_set(x_167, 1, x_166);
|
||||
x_168 = lean_array_push(x_23, x_167);
|
||||
x_169 = lean_array_push(x_168, x_77);
|
||||
x_170 = l_Lean_expandExplicitBindersAux_loop___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);
|
||||
x_172 = lean_array_push(x_165, x_171);
|
||||
x_173 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__32;
|
||||
x_174 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_174, 0, x_173);
|
||||
lean_ctor_set(x_174, 1, x_172);
|
||||
x_175 = lean_array_push(x_162, x_174);
|
||||
x_176 = l_myMacro____x40_Init_Notation___hyg_13394____closed__11;
|
||||
x_177 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_177, 0, x_118);
|
||||
lean_ctor_set(x_177, 1, x_176);
|
||||
x_178 = lean_array_push(x_23, x_177);
|
||||
x_179 = lean_array_push(x_178, x_116);
|
||||
x_180 = lean_array_push(x_179, x_65);
|
||||
x_181 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__35;
|
||||
x_182 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_182, 0, x_181);
|
||||
lean_ctor_set(x_182, 1, x_180);
|
||||
x_183 = lean_array_push(x_175, x_182);
|
||||
x_184 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__28;
|
||||
x_185 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_185, 0, x_184);
|
||||
lean_ctor_set(x_185, 1, x_183);
|
||||
x_186 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__16;
|
||||
x_187 = lean_array_push(x_186, x_185);
|
||||
x_188 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__5;
|
||||
x_189 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_189, 0, x_188);
|
||||
lean_ctor_set(x_189, 1, x_187);
|
||||
x_190 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_190, 0, x_189);
|
||||
lean_ctor_set(x_190, 1, x_157);
|
||||
return x_190;
|
||||
x_169 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_169, 0, x_118);
|
||||
lean_ctor_set(x_169, 1, x_168);
|
||||
x_170 = lean_array_push(x_23, x_169);
|
||||
x_171 = lean_array_push(x_170, x_77);
|
||||
x_172 = l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
x_173 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_173, 0, x_172);
|
||||
lean_ctor_set(x_173, 1, x_171);
|
||||
x_174 = lean_array_push(x_167, x_173);
|
||||
x_175 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__32;
|
||||
x_176 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_176, 0, x_175);
|
||||
lean_ctor_set(x_176, 1, x_174);
|
||||
x_177 = lean_array_push(x_164, x_176);
|
||||
x_178 = l_myMacro____x40_Init_Notation___hyg_13394____closed__11;
|
||||
x_179 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_179, 0, x_118);
|
||||
lean_ctor_set(x_179, 1, x_178);
|
||||
x_180 = lean_array_push(x_23, x_179);
|
||||
x_181 = lean_array_push(x_180, x_116);
|
||||
x_182 = lean_array_push(x_181, x_65);
|
||||
x_183 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__35;
|
||||
x_184 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_184, 0, x_183);
|
||||
lean_ctor_set(x_184, 1, x_182);
|
||||
x_185 = lean_array_push(x_177, x_184);
|
||||
x_186 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__28;
|
||||
x_187 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_187, 0, x_186);
|
||||
lean_ctor_set(x_187, 1, x_185);
|
||||
x_188 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__16;
|
||||
x_189 = lean_array_push(x_188, x_187);
|
||||
x_190 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__5;
|
||||
x_191 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_191, 0, x_190);
|
||||
lean_ctor_set(x_191, 1, x_189);
|
||||
x_192 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_192, 0, x_191);
|
||||
lean_ctor_set(x_192, 1, x_158);
|
||||
return x_192;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_191;
|
||||
uint8_t x_193;
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_191 = !lean_is_exclusive(x_14);
|
||||
if (x_191 == 0)
|
||||
x_193 = !lean_is_exclusive(x_14);
|
||||
if (x_193 == 0)
|
||||
{
|
||||
return x_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_192; lean_object* x_193; lean_object* x_194;
|
||||
x_192 = lean_ctor_get(x_14, 0);
|
||||
x_193 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_193);
|
||||
lean_inc(x_192);
|
||||
lean_object* x_194; lean_object* x_195; lean_object* x_196;
|
||||
x_194 = lean_ctor_get(x_14, 0);
|
||||
x_195 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_195);
|
||||
lean_inc(x_194);
|
||||
lean_dec(x_14);
|
||||
x_194 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_194, 0, x_192);
|
||||
lean_ctor_set(x_194, 1, x_193);
|
||||
return x_194;
|
||||
x_196 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_196, 0, x_194);
|
||||
lean_ctor_set(x_196, 1, x_195);
|
||||
return x_196;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_195;
|
||||
uint8_t x_197;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_195 = !lean_is_exclusive(x_11);
|
||||
if (x_195 == 0)
|
||||
x_197 = !lean_is_exclusive(x_11);
|
||||
if (x_197 == 0)
|
||||
{
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_196; lean_object* x_197; lean_object* x_198;
|
||||
x_196 = lean_ctor_get(x_11, 0);
|
||||
x_197 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_197);
|
||||
lean_inc(x_196);
|
||||
lean_object* x_198; lean_object* x_199; lean_object* x_200;
|
||||
x_198 = lean_ctor_get(x_11, 0);
|
||||
x_199 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_199);
|
||||
lean_inc(x_198);
|
||||
lean_dec(x_11);
|
||||
x_198 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_198, 0, x_196);
|
||||
lean_ctor_set(x_198, 1, x_197);
|
||||
return x_198;
|
||||
x_200 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_200, 0, x_198);
|
||||
lean_ctor_set(x_200, 1, x_199);
|
||||
return x_200;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -9266,7 +9268,7 @@ lean_dec(x_1);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1819____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1825____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -9274,12 +9276,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_mkInhabitedInstanceHandler___boxed)
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1819_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1825_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstanceUsing_addLocalInstancesForParamsAux___rarg___closed__2;
|
||||
x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1819____closed__1;
|
||||
x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1825____closed__1;
|
||||
x_4 = l_Lean_Elab_registerBuiltinDerivingHandler(x_2, x_3, x_1);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
|
|
@ -9388,9 +9390,9 @@ l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___clos
|
|||
lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___closed__2);
|
||||
l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___closed__3 = _init_l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Elab_Deriving_Inhabited_0__Lean_Elab_mkInhabitedInstance___closed__3);
|
||||
l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1819____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1819____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1819____closed__1);
|
||||
res = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1819_(lean_io_mk_world());
|
||||
l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1825____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1825____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1825____closed__1);
|
||||
res = l_Lean_Elab_initFn____x40_Lean_Elab_Deriving_Inhabited___hyg_1825_(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));
|
||||
|
|
|
|||
51
stage0/stdlib/Lean/Elab/Deriving/Repr.c
generated
51
stage0/stdlib/Lean/Elab/Deriving/Repr.c
generated
|
|
@ -89,7 +89,6 @@ lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForInduct(lean_object*);
|
|||
lean_object* l_Lean_isInductive___at_Lean_Elab_Deriving_Repr_mkReprInstanceHandler___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__11(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__2___closed__4;
|
||||
extern lean_object* l_Lean_Elab_instToFormatModifiers___closed__8;
|
||||
lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__8;
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__3;
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__18;
|
||||
|
|
@ -129,7 +128,6 @@ extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__14;
|
|||
lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_Deriving_Repr_mkBodyForStruct_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__27;
|
||||
extern lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
extern lean_object* l_Lean_strLitKind___closed__2;
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__4;
|
||||
extern lean_object* l_Std_myMacro____x40_Init_Data_Format_Macro___hyg_26____closed__5;
|
||||
|
|
@ -188,6 +186,8 @@ lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAl
|
|||
extern lean_object* l_Lean_Parser_Command_end___elambda__1___closed__1;
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__12;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
extern lean_object* l_Lean_Parser_Term_explicitBinder___elambda__1___closed__1;
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__35;
|
||||
lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts_match__1(lean_object*);
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
|
|
@ -220,7 +220,6 @@ lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__1___clos
|
|||
lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__2___closed__6;
|
||||
lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___boxed(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_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__24;
|
||||
extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__1;
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___boxed(lean_object**);
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__35;
|
||||
|
|
@ -233,17 +232,19 @@ lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAl
|
|||
extern lean_object* l_prec_x28___x29___closed__3;
|
||||
lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___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_mk_syntax_ident(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__2___closed__3;
|
||||
extern lean_object* l_Lean_instInhabitedInductiveVal;
|
||||
lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_11900____closed__11;
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__10;
|
||||
extern lean_object* l_Lean_mkOptionalNode___closed__2;
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__32;
|
||||
extern lean_object* l_Lean_Parser_Command_partial___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct_match__2(lean_object*);
|
||||
lean_object* l_Lean_isInductive___at_Lean_Elab_Deriving_Repr_mkReprInstanceHandler___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__5;
|
||||
lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct_match__1(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_partial___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__1;
|
||||
extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__4;
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___lambda__1___closed__4;
|
||||
|
|
@ -251,7 +252,6 @@ extern lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_13620____closed__4
|
|||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_termMaxPrec_x21___closed__3;
|
||||
lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___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*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3;
|
||||
extern lean_object* l_Lean_Parser_Tactic_letrec___closed__3;
|
||||
lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__3;
|
||||
uint8_t l_Lean_isStructureLike(lean_object*, lean_object*);
|
||||
|
|
@ -266,7 +266,6 @@ lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___rarg___lambda__2___clos
|
|||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___lambda__1___boxed(lean_object**);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_11370____closed__8;
|
||||
lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___rarg___closed__7;
|
||||
extern lean_object* l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
lean_object* l_Lean_Meta_isType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__7;
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__4___lambda__1___closed__1;
|
||||
|
|
@ -476,7 +475,7 @@ x_57 = lean_alloc_ctor(2, 2, 0);
|
|||
lean_ctor_set(x_57, 0, x_21);
|
||||
lean_ctor_set(x_57, 1, x_56);
|
||||
x_58 = lean_array_push(x_55, x_57);
|
||||
x_59 = l_Lean_Elab_Term_mkExplicitBinder___closed__1;
|
||||
x_59 = l_Lean_Parser_Term_explicitBinder___elambda__1___closed__1;
|
||||
x_60 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_60, 0, x_59);
|
||||
lean_ctor_set(x_60, 1, x_58);
|
||||
|
|
@ -569,7 +568,7 @@ x_99 = lean_alloc_ctor(2, 2, 0);
|
|||
lean_ctor_set(x_99, 0, x_21);
|
||||
lean_ctor_set(x_99, 1, x_98);
|
||||
x_100 = lean_array_push(x_97, x_99);
|
||||
x_101 = l_Lean_Elab_Term_mkExplicitBinder___closed__1;
|
||||
x_101 = l_Lean_Parser_Term_explicitBinder___elambda__1___closed__1;
|
||||
x_102 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_102, 0, x_101);
|
||||
lean_ctor_set(x_102, 1, x_100);
|
||||
|
|
@ -4989,16 +4988,6 @@ lean_dec(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__3;
|
||||
x_2 = l_Lean_Elab_instToFormatModifiers___closed__8;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -5026,14 +5015,14 @@ if (x_22 == 0)
|
|||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84;
|
||||
x_23 = lean_ctor_get(x_21, 0);
|
||||
x_24 = l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
x_24 = l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
lean_inc(x_16);
|
||||
x_25 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_25, 0, x_16);
|
||||
lean_ctor_set(x_25, 1, x_24);
|
||||
x_26 = l_Array_empty___closed__1;
|
||||
x_27 = lean_array_push(x_26, x_25);
|
||||
x_28 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
x_28 = l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
x_29 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
lean_ctor_set(x_29, 1, x_27);
|
||||
|
|
@ -5135,14 +5124,14 @@ x_86 = lean_ctor_get(x_21, 1);
|
|||
lean_inc(x_86);
|
||||
lean_inc(x_85);
|
||||
lean_dec(x_21);
|
||||
x_87 = l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
x_87 = l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
lean_inc(x_16);
|
||||
x_88 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_88, 0, x_16);
|
||||
lean_ctor_set(x_88, 1, x_87);
|
||||
x_89 = l_Array_empty___closed__1;
|
||||
x_90 = lean_array_push(x_89, x_88);
|
||||
x_91 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
x_91 = l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
x_92 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_92, 0, x_91);
|
||||
lean_ctor_set(x_92, 1, x_90);
|
||||
|
|
@ -5261,14 +5250,14 @@ if (x_157 == 0)
|
|||
{
|
||||
lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226;
|
||||
x_158 = lean_ctor_get(x_156, 0);
|
||||
x_159 = l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
x_159 = l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
lean_inc(x_151);
|
||||
x_160 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_160, 0, x_151);
|
||||
lean_ctor_set(x_160, 1, x_159);
|
||||
x_161 = l_Array_empty___closed__1;
|
||||
x_162 = lean_array_push(x_161, x_160);
|
||||
x_163 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
x_163 = l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
x_164 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_164, 0, x_163);
|
||||
lean_ctor_set(x_164, 1, x_162);
|
||||
|
|
@ -5282,13 +5271,13 @@ x_169 = lean_array_push(x_168, x_167);
|
|||
x_170 = l_myMacro____x40_Init_Notation___hyg_1192____closed__8;
|
||||
x_171 = lean_array_push(x_169, x_170);
|
||||
x_172 = lean_array_push(x_171, x_170);
|
||||
x_173 = l_Lean_Elab_instToFormatModifiers___closed__8;
|
||||
x_173 = l_Lean_Parser_Command_partial___elambda__1___closed__1;
|
||||
lean_inc(x_151);
|
||||
x_174 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_174, 0, x_151);
|
||||
lean_ctor_set(x_174, 1, x_173);
|
||||
x_175 = lean_array_push(x_161, x_174);
|
||||
x_176 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__1;
|
||||
x_176 = l_Lean_Parser_Command_partial___elambda__1___closed__2;
|
||||
x_177 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_177, 0, x_176);
|
||||
lean_ctor_set(x_177, 1, x_175);
|
||||
|
|
@ -5384,14 +5373,14 @@ x_228 = lean_ctor_get(x_156, 1);
|
|||
lean_inc(x_228);
|
||||
lean_inc(x_227);
|
||||
lean_dec(x_156);
|
||||
x_229 = l_Lean_Elab_instToStringVisibility___closed__2;
|
||||
x_229 = l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
lean_inc(x_151);
|
||||
x_230 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_230, 0, x_151);
|
||||
lean_ctor_set(x_230, 1, x_229);
|
||||
x_231 = l_Array_empty___closed__1;
|
||||
x_232 = lean_array_push(x_231, x_230);
|
||||
x_233 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
x_233 = l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
x_234 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_234, 0, x_233);
|
||||
lean_ctor_set(x_234, 1, x_232);
|
||||
|
|
@ -5405,13 +5394,13 @@ x_239 = lean_array_push(x_238, x_237);
|
|||
x_240 = l_myMacro____x40_Init_Notation___hyg_1192____closed__8;
|
||||
x_241 = lean_array_push(x_239, x_240);
|
||||
x_242 = lean_array_push(x_241, x_240);
|
||||
x_243 = l_Lean_Elab_instToFormatModifiers___closed__8;
|
||||
x_243 = l_Lean_Parser_Command_partial___elambda__1___closed__1;
|
||||
lean_inc(x_151);
|
||||
x_244 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_244, 0, x_151);
|
||||
lean_ctor_set(x_244, 1, x_243);
|
||||
x_245 = lean_array_push(x_231, x_244);
|
||||
x_246 = l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__1;
|
||||
x_246 = l_Lean_Parser_Command_partial___elambda__1___closed__2;
|
||||
x_247 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_247, 0, x_246);
|
||||
lean_ctor_set(x_247, 1, x_245);
|
||||
|
|
@ -7072,8 +7061,6 @@ l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3_
|
|||
lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__34);
|
||||
l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__35 = _init_l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__35();
|
||||
lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__3___lambda__1___closed__35);
|
||||
l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__1 = _init_l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__1);
|
||||
l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__1 = _init_l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__1);
|
||||
l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_3003____closed__1 = _init_l_Lean_Elab_Deriving_Repr_initFn____x40_Lean_Elab_Deriving_Repr___hyg_3003____closed__1();
|
||||
|
|
|
|||
252
stage0/stdlib/Lean/Elab/Deriving/Util.c
generated
252
stage0/stdlib/Lean/Elab/Deriving/Util.c
generated
|
|
@ -128,16 +128,15 @@ extern lean_object* l_Lean_KernelException_toMessageData___closed__15;
|
|||
lean_object* l_Lean_Parser_Term_explicitBinder(uint8_t);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInstanceCmds___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__6;
|
||||
lean_object* l_Lean_Elab_Deriving_mkHeader___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_Deriving_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__3;
|
||||
lean_object* l_Lean_Elab_Deriving_mkInductArgNames___closed__1;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Deriving_mkImplicitBinders___boxed__const__1;
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
extern lean_object* l_Lean_nullKind___closed__2;
|
||||
lean_object* l_Lean_Elab_Deriving_mkInstanceCmds___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_myMacro____x40_Init_NotationExtra___hyg_3356____closed__31;
|
||||
|
|
@ -149,6 +148,7 @@ lean_object* l_Lean_addTrace___at_Lean_Elab_Deriving_mkInstanceCmds___spec__2(le
|
|||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_mkLocalInstanceLetDecls___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInstanceCmds___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_mkHeader___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -160,6 +160,7 @@ lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_mkInstanceCmds___spe
|
|||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_mkInductiveApp___spec__1(size_t, size_t, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_13394____closed__12;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_explicitBinder___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Deriving_explicitBinderF;
|
||||
lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_mkContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -174,7 +175,6 @@ extern lean_object* l_Lean_instInhabitedName;
|
|||
lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_mkContext___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_13394____closed__4;
|
||||
extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__1;
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_mkHeader___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*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_13394____closed__1;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInductiveApp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1537,7 +1537,7 @@ static lean_object* _init_l_Lean_Elab_Deriving_mkContext___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_Lean_Elab_Deriving_mkContext___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -2656,7 +2656,7 @@ return x_12;
|
|||
lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_mkInstanceCmds___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; lean_object* x_76; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99;
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100;
|
||||
x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInstanceCmds___spec__1___rarg(x_13, x_14, x_15);
|
||||
x_17 = lean_ctor_get(x_16, 0);
|
||||
lean_inc(x_17);
|
||||
|
|
@ -2728,151 +2728,153 @@ lean_ctor_set(x_45, 1, x_39);
|
|||
x_46 = lean_array_push(x_44, x_45);
|
||||
lean_inc(x_30);
|
||||
x_47 = lean_array_push(x_46, x_30);
|
||||
x_48 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__31;
|
||||
lean_inc(x_30);
|
||||
x_48 = lean_array_push(x_47, x_30);
|
||||
x_49 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__31;
|
||||
lean_inc(x_25);
|
||||
x_49 = lean_name_mk_string(x_25, x_48);
|
||||
x_50 = lean_name_mk_string(x_25, x_49);
|
||||
lean_inc(x_3);
|
||||
x_50 = l_Array_appendCore___rarg(x_3, x_5);
|
||||
x_51 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_51, 0, x_2);
|
||||
lean_ctor_set(x_51, 1, x_50);
|
||||
x_51 = l_Array_appendCore___rarg(x_3, x_5);
|
||||
x_52 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_2);
|
||||
lean_ctor_set(x_52, 1, x_51);
|
||||
lean_inc(x_3);
|
||||
x_52 = lean_array_push(x_3, x_51);
|
||||
x_53 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_54 = lean_name_mk_string(x_4, x_53);
|
||||
x_55 = l_myMacro____x40_Init_Notation___hyg_12817____closed__9;
|
||||
x_53 = lean_array_push(x_3, x_52);
|
||||
x_54 = l_Lean_expandExplicitBindersAux_loop___closed__3;
|
||||
x_55 = lean_name_mk_string(x_4, x_54);
|
||||
x_56 = l_myMacro____x40_Init_Notation___hyg_12817____closed__9;
|
||||
lean_inc(x_17);
|
||||
x_56 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_56, 0, x_17);
|
||||
lean_ctor_set(x_56, 1, x_55);
|
||||
x_57 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_57, 0, x_17);
|
||||
lean_ctor_set(x_57, 1, x_56);
|
||||
lean_inc(x_3);
|
||||
x_57 = lean_array_push(x_3, x_56);
|
||||
x_58 = lean_array_push(x_57, x_6);
|
||||
x_59 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_59, 0, x_54);
|
||||
lean_ctor_set(x_59, 1, x_58);
|
||||
x_60 = lean_array_push(x_52, x_59);
|
||||
x_61 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_61, 0, x_49);
|
||||
lean_ctor_set(x_61, 1, x_60);
|
||||
x_62 = lean_array_push(x_47, x_61);
|
||||
x_63 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__34;
|
||||
x_64 = lean_name_mk_string(x_25, x_63);
|
||||
x_65 = l_myMacro____x40_Init_Notation___hyg_13394____closed__11;
|
||||
x_66 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_66, 0, x_17);
|
||||
lean_ctor_set(x_66, 1, x_65);
|
||||
x_67 = lean_array_push(x_3, x_66);
|
||||
x_68 = lean_array_push(x_67, x_8);
|
||||
x_69 = lean_array_push(x_68, x_30);
|
||||
x_70 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_70, 0, x_64);
|
||||
lean_ctor_set(x_70, 1, x_69);
|
||||
x_71 = lean_array_push(x_62, x_70);
|
||||
x_72 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_72, 0, x_40);
|
||||
lean_ctor_set(x_72, 1, x_71);
|
||||
x_73 = lean_array_push(x_38, x_72);
|
||||
x_74 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_74, 0, x_27);
|
||||
lean_ctor_set(x_74, 1, x_73);
|
||||
x_96 = lean_st_ref_get(x_14, x_22);
|
||||
x_97 = lean_ctor_get(x_96, 0);
|
||||
lean_inc(x_97);
|
||||
x_98 = lean_ctor_get(x_97, 3);
|
||||
x_58 = lean_array_push(x_3, x_57);
|
||||
x_59 = lean_array_push(x_58, x_6);
|
||||
x_60 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_60, 0, x_55);
|
||||
lean_ctor_set(x_60, 1, x_59);
|
||||
x_61 = lean_array_push(x_53, x_60);
|
||||
x_62 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_62, 0, x_50);
|
||||
lean_ctor_set(x_62, 1, x_61);
|
||||
x_63 = lean_array_push(x_48, x_62);
|
||||
x_64 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__34;
|
||||
x_65 = lean_name_mk_string(x_25, x_64);
|
||||
x_66 = l_myMacro____x40_Init_Notation___hyg_13394____closed__11;
|
||||
x_67 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_67, 0, x_17);
|
||||
lean_ctor_set(x_67, 1, x_66);
|
||||
x_68 = lean_array_push(x_3, x_67);
|
||||
x_69 = lean_array_push(x_68, x_8);
|
||||
x_70 = lean_array_push(x_69, x_30);
|
||||
x_71 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_71, 0, x_65);
|
||||
lean_ctor_set(x_71, 1, x_70);
|
||||
x_72 = lean_array_push(x_63, x_71);
|
||||
x_73 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_73, 0, x_40);
|
||||
lean_ctor_set(x_73, 1, x_72);
|
||||
x_74 = lean_array_push(x_38, x_73);
|
||||
x_75 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_75, 0, x_27);
|
||||
lean_ctor_set(x_75, 1, x_74);
|
||||
x_97 = lean_st_ref_get(x_14, x_22);
|
||||
x_98 = lean_ctor_get(x_97, 0);
|
||||
lean_inc(x_98);
|
||||
lean_dec(x_97);
|
||||
x_99 = lean_ctor_get_uint8(x_98, sizeof(void*)*1);
|
||||
x_99 = lean_ctor_get(x_98, 3);
|
||||
lean_inc(x_99);
|
||||
lean_dec(x_98);
|
||||
if (x_99 == 0)
|
||||
x_100 = lean_ctor_get_uint8(x_99, sizeof(void*)*1);
|
||||
lean_dec(x_99);
|
||||
if (x_100 == 0)
|
||||
{
|
||||
lean_object* x_100; uint8_t x_101;
|
||||
x_100 = lean_ctor_get(x_96, 1);
|
||||
lean_inc(x_100);
|
||||
lean_dec(x_96);
|
||||
x_101 = 0;
|
||||
x_75 = x_101;
|
||||
x_76 = x_100;
|
||||
goto block_95;
|
||||
lean_object* x_101; uint8_t x_102;
|
||||
x_101 = lean_ctor_get(x_97, 1);
|
||||
lean_inc(x_101);
|
||||
lean_dec(x_97);
|
||||
x_102 = 0;
|
||||
x_76 = x_102;
|
||||
x_77 = x_101;
|
||||
goto block_96;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107;
|
||||
x_102 = lean_ctor_get(x_96, 1);
|
||||
lean_inc(x_102);
|
||||
lean_dec(x_96);
|
||||
x_103 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
x_104 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Deriving_mkInstanceCmds___spec__3(x_103, x_9, x_10, x_11, x_12, x_13, x_14, x_102);
|
||||
x_105 = lean_ctor_get(x_104, 0);
|
||||
lean_inc(x_105);
|
||||
x_106 = lean_ctor_get(x_104, 1);
|
||||
lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108;
|
||||
x_103 = lean_ctor_get(x_97, 1);
|
||||
lean_inc(x_103);
|
||||
lean_dec(x_97);
|
||||
x_104 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
x_105 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Deriving_mkInstanceCmds___spec__3(x_104, x_9, x_10, x_11, x_12, x_13, x_14, x_103);
|
||||
x_106 = lean_ctor_get(x_105, 0);
|
||||
lean_inc(x_106);
|
||||
lean_dec(x_104);
|
||||
x_107 = lean_unbox(x_105);
|
||||
x_107 = lean_ctor_get(x_105, 1);
|
||||
lean_inc(x_107);
|
||||
lean_dec(x_105);
|
||||
x_75 = x_107;
|
||||
x_76 = x_106;
|
||||
goto block_95;
|
||||
x_108 = lean_unbox(x_106);
|
||||
lean_dec(x_106);
|
||||
x_76 = x_108;
|
||||
x_77 = x_107;
|
||||
goto block_96;
|
||||
}
|
||||
block_95:
|
||||
block_96:
|
||||
{
|
||||
if (x_75 == 0)
|
||||
if (x_76 == 0)
|
||||
{
|
||||
lean_object* x_77; lean_object* x_78; lean_object* x_79;
|
||||
x_77 = lean_array_push(x_7, x_74);
|
||||
x_78 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_78, 0, x_77);
|
||||
if (lean_is_scalar(x_23)) {
|
||||
x_79 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_79 = x_23;
|
||||
}
|
||||
lean_object* x_78; lean_object* x_79; lean_object* x_80;
|
||||
x_78 = lean_array_push(x_7, x_75);
|
||||
x_79 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_79, 0, x_78);
|
||||
lean_ctor_set(x_79, 1, x_76);
|
||||
return x_79;
|
||||
if (lean_is_scalar(x_23)) {
|
||||
x_80 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_80 = x_23;
|
||||
}
|
||||
lean_ctor_set(x_80, 0, x_79);
|
||||
lean_ctor_set(x_80, 1, x_77);
|
||||
return x_80;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87;
|
||||
lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88;
|
||||
lean_dec(x_23);
|
||||
lean_inc(x_74);
|
||||
x_80 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_80, 0, x_74);
|
||||
x_81 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1;
|
||||
x_82 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_82, 0, x_81);
|
||||
lean_ctor_set(x_82, 1, x_80);
|
||||
x_83 = l_Lean_KernelException_toMessageData___closed__15;
|
||||
x_84 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_84, 0, x_82);
|
||||
lean_ctor_set(x_84, 1, x_83);
|
||||
x_85 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
x_86 = l_Lean_addTrace___at_Lean_Elab_Deriving_mkInstanceCmds___spec__2(x_85, x_84, x_9, x_10, x_11, x_12, x_13, x_14, x_76);
|
||||
x_87 = !lean_is_exclusive(x_86);
|
||||
if (x_87 == 0)
|
||||
lean_inc(x_75);
|
||||
x_81 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_81, 0, x_75);
|
||||
x_82 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1;
|
||||
x_83 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_83, 0, x_82);
|
||||
lean_ctor_set(x_83, 1, x_81);
|
||||
x_84 = l_Lean_KernelException_toMessageData___closed__15;
|
||||
x_85 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_85, 0, x_83);
|
||||
lean_ctor_set(x_85, 1, x_84);
|
||||
x_86 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
x_87 = l_Lean_addTrace___at_Lean_Elab_Deriving_mkInstanceCmds___spec__2(x_86, x_85, x_9, x_10, x_11, x_12, x_13, x_14, x_77);
|
||||
x_88 = !lean_is_exclusive(x_87);
|
||||
if (x_88 == 0)
|
||||
{
|
||||
lean_object* x_88; lean_object* x_89; lean_object* x_90;
|
||||
x_88 = lean_ctor_get(x_86, 0);
|
||||
lean_dec(x_88);
|
||||
x_89 = lean_array_push(x_7, x_74);
|
||||
x_90 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_90, 0, x_89);
|
||||
lean_ctor_set(x_86, 0, x_90);
|
||||
return x_86;
|
||||
lean_object* x_89; lean_object* x_90; lean_object* x_91;
|
||||
x_89 = lean_ctor_get(x_87, 0);
|
||||
lean_dec(x_89);
|
||||
x_90 = lean_array_push(x_7, x_75);
|
||||
x_91 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_91, 0, x_90);
|
||||
lean_ctor_set(x_87, 0, x_91);
|
||||
return x_87;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94;
|
||||
x_91 = lean_ctor_get(x_86, 1);
|
||||
lean_inc(x_91);
|
||||
lean_dec(x_86);
|
||||
x_92 = lean_array_push(x_7, x_74);
|
||||
x_93 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_93, 0, x_92);
|
||||
x_94 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95;
|
||||
x_92 = lean_ctor_get(x_87, 1);
|
||||
lean_inc(x_92);
|
||||
lean_dec(x_87);
|
||||
x_93 = lean_array_push(x_7, x_75);
|
||||
x_94 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_94, 0, x_93);
|
||||
lean_ctor_set(x_94, 1, x_91);
|
||||
return x_94;
|
||||
x_95 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_95, 0, x_94);
|
||||
lean_ctor_set(x_95, 1, x_92);
|
||||
return x_95;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3603,7 +3605,7 @@ x_44 = lean_alloc_ctor(2, 2, 0);
|
|||
lean_ctor_set(x_44, 0, x_20);
|
||||
lean_ctor_set(x_44, 1, x_43);
|
||||
x_45 = lean_array_push(x_42, x_44);
|
||||
x_46 = l_Lean_Elab_Term_mkExplicitBinder___closed__1;
|
||||
x_46 = l_Lean_Parser_Term_explicitBinder___elambda__1___closed__1;
|
||||
x_47 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_47, 0, x_46);
|
||||
lean_ctor_set(x_47, 1, x_45);
|
||||
|
|
|
|||
24
stage0/stdlib/Lean/Elab/Do.c
generated
24
stage0/stdlib/Lean/Elab/Do.c
generated
|
|
@ -169,7 +169,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doForToCo
|
|||
lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__23;
|
||||
extern lean_object* l_Lean_Parser_Term_letPatDecl___closed__2;
|
||||
uint8_t l_Lean_Elab_Term_Do_hasTerminalAction(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__2(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__19;
|
||||
lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f_match__13___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -186,7 +185,6 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCo
|
|||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeq___boxed(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_concat___closed__2;
|
||||
size_t l_USize_sub(size_t, size_t);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__2;
|
||||
extern lean_object* l_Lean_Parser_Term_doIfLetBind___elambda__1___closed__1;
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -722,7 +720,6 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassigna
|
|||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS___closed__2;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Do_elabDo(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
extern lean_object* l_Lean_Parser_Term_doSeqBracketed___elambda__1___closed__2;
|
||||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__3;
|
||||
|
|
@ -821,6 +818,7 @@ lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_mkIdBindFor___closed__1;
|
|||
lean_object* l_Lean_Elab_Term_Do_eraseOptVar_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__11;
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__5___rarg(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_ctor___elambda__1___closed__10;
|
||||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_toDoElem(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -854,6 +852,7 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__32;
|
|||
uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___spec__1(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* l_List_redLength___rarg(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_hasReturn___boxed(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__16;
|
||||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_match__2(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_11900____closed__10;
|
||||
|
|
@ -1074,6 +1073,7 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___boxed(lean_object*, lean_o
|
|||
lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTermCore_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode___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_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__2(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__15;
|
||||
|
|
@ -3657,16 +3657,8 @@ goto _start;
|
|||
static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("\n| ");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__1;
|
||||
x_1 = l_Lean_Parser_Command_ctor___elambda__1___closed__10;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -3684,7 +3676,7 @@ x_8 = lean_ctor_get(x_7, 2);
|
|||
lean_inc(x_8);
|
||||
x_9 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_9, 0, x_8);
|
||||
x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__2;
|
||||
x_10 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__1;
|
||||
x_11 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_11, 0, x_10);
|
||||
lean_ctor_set(x_11, 1, x_9);
|
||||
|
|
@ -8404,7 +8396,7 @@ size_t x_7; size_t x_8; lean_object* x_9;
|
|||
x_7 = 0;
|
||||
x_8 = lean_usize_of_nat(x_3);
|
||||
lean_dec(x_3);
|
||||
x_9 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__2(x_2, x_7, x_8, x_1);
|
||||
x_9 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__2(x_2, x_7, x_8, x_1);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
|
|
@ -62451,7 +62443,7 @@ static lean_object* _init_l_Lean_Elab_Term_Do_elabDo___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_268____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -63287,8 +63279,6 @@ l_Lean_Elab_Term_Do_CodeBlock_uvars___default = _init_l_Lean_Elab_Term_Do_CodeBl
|
|||
lean_mark_persistent(l_Lean_Elab_Term_Do_CodeBlock_uvars___default);
|
||||
l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__1();
|
||||
lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__1);
|
||||
l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__2 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__2();
|
||||
lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__2);
|
||||
l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__1 = _init_l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__1);
|
||||
l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__2 = _init_l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__2();
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Elab/Inductive.c
generated
8
stage0/stdlib/Lean/Elab/Inductive.c
generated
|
|
@ -270,8 +270,8 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec
|
|||
lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_CollectLevelParams_main(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3;
|
||||
lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__2(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3;
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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_mk_no_confusion(lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___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*);
|
||||
|
|
@ -301,7 +301,6 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAnd
|
|||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1___closed__3;
|
||||
lean_object* l_Lean_Elab_sortDeclLevelParams(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___closed__2;
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2___lambda__5___closed__2;
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -360,6 +359,7 @@ size_t lean_ptr_addr(lean_object*);
|
|||
lean_object* lean_mk_below(lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__2;
|
||||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__1(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__7___lambda__1(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -570,7 +570,7 @@ static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_Lean_Parser_Command_inductive___elambda__1___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -9028,7 +9028,7 @@ static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2487____closed__1;
|
||||
x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2487____closed__5;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Elab/Log.c
generated
8
stage0/stdlib/Lean/Elab/Log.c
generated
|
|
@ -30,8 +30,8 @@ lean_object* l_Lean_Elab_log___rarg___lambda__1___boxed(lean_object*, lean_objec
|
|||
lean_object* l_Lean_Elab_logException___rarg___lambda__1___closed__2;
|
||||
lean_object* l_Lean_Elab_logDbgTrace___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_logInfoAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__3;
|
||||
lean_object* l_Lean_Elab_logAt___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__3;
|
||||
lean_object* l_Lean_Elab_logException___rarg___lambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_logException(lean_object*);
|
||||
lean_object* l_Lean_Elab_instMonadLog___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -60,13 +60,13 @@ lean_object* l_Lean_Elab_getRefPosition___rarg(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Elab_logAt___rarg___lambda__4(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__15;
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
lean_object* l_Lean_Elab_logErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_log___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
lean_object* l_Lean_Elab_logWarning___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_logDbgTrace(lean_object*);
|
||||
lean_object* l_Lean_Elab_logAt___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_trace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_object* l_Lean_Elab_logAt___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_logAt___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_logException_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -946,8 +946,8 @@ static lean_object* _init_l_Lean_Elab_logDbgTrace___rarg___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Match.c
generated
4
stage0/stdlib/Lean/Elab/Match.c
generated
|
|
@ -485,7 +485,6 @@ lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Match_0__
|
|||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_pushNewArg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_inaccessible_x3f(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabMatch_match__5___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -575,6 +574,7 @@ lean_object* l_List_redLength___rarg(lean_object*);
|
|||
lean_object* l_Lean_Elab_Term_ToDepElimPattern_State_newLocals___default;
|
||||
lean_object* l_Lean_Elab_Term_elabMVarWithIdKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_object* l_Lean_Elab_Term_mkFreshBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_11900____closed__10;
|
||||
|
|
@ -1304,7 +1304,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Matc
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_11900____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
16
stage0/stdlib/Lean/Elab/MutualDef.c
generated
16
stage0/stdlib/Lean/Elab/MutualDef.c
generated
|
|
@ -27,6 +27,7 @@ lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Mutual
|
|||
size_t l_USize_add(size_t, size_t);
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getAllUserLevelNames(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_MutualClosure_FixPoint_run_match__1(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_protected___elambda__1___closed__1;
|
||||
extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__10___closed__3;
|
||||
extern lean_object* l_Lean_Syntax_strLitToAtom___closed__3;
|
||||
lean_object* lean_erase_macro_scopes(lean_object*);
|
||||
|
|
@ -297,7 +298,6 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean
|
|||
lean_object* l_instInhabited___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsAtHeader___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_1989____closed__2;
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_merge___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__4___closed__3;
|
||||
|
|
@ -318,7 +318,6 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm___c
|
|||
lean_object* l_List_findSome_x3f___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1___lambda__1___closed__1;
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2;
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_MutualClosure_Replacement_apply___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Array_getMax_x3f___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pickMaxFVar_x3f___spec__1___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -376,6 +375,7 @@ extern lean_object* l_Lean_instInhabitedExpr;
|
|||
lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst_match__3(lean_object*);
|
||||
lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__3;
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_reverse___rarg(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -587,6 +587,7 @@ lean_object* l_Std_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_T
|
|||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunType___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_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunType___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*);
|
||||
extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__2;
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_modifyUsedFVars___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__3___closed__1;
|
||||
|
|
@ -596,7 +597,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spe
|
|||
lean_object* l_Lean_Elab_elabDeclAttrs___at_Lean_Elab_Command_elabMutualDef___spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunType(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__2;
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_fixpoint___boxed(lean_object*);
|
||||
lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -623,6 +623,7 @@ lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*,
|
|||
lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux_match__1(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___boxed__const__1;
|
||||
extern lean_object* l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
uint8_t l_List_foldr___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun___spec__1(lean_object*, uint8_t, lean_object*);
|
||||
|
|
@ -709,7 +710,6 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsA
|
|||
lean_object* l_Lean_Meta_findLocalDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__5;
|
||||
lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* _init_l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1() {
|
||||
|
|
@ -11185,7 +11185,7 @@ static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_Mutu
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__2;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__2;
|
||||
x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -19356,19 +19356,19 @@ lean_inc(x_13);
|
|||
lean_dec(x_10);
|
||||
lean_inc(x_13);
|
||||
x_14 = l_Lean_Syntax_getKind(x_13);
|
||||
x_15 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
x_15 = l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
x_16 = lean_name_eq(x_14, x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
lean_object* x_17; uint8_t x_18;
|
||||
x_17 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2;
|
||||
x_17 = l_Lean_Parser_Command_protected___elambda__1___closed__1;
|
||||
x_18 = lean_name_eq(x_14, x_17);
|
||||
lean_dec(x_14);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; uint8_t x_21;
|
||||
lean_dec(x_6);
|
||||
x_19 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__5;
|
||||
x_19 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__3;
|
||||
x_20 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__7(x_13, x_19, x_7, x_8, x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_13);
|
||||
|
|
|
|||
18
stage0/stdlib/Lean/Elab/PreDefinition/Main.c
generated
18
stage0/stdlib/Lean/Elab/PreDefinition/Main.c
generated
|
|
@ -56,6 +56,7 @@ lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*);
|
|||
lean_object* l_List_map___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__2(lean_object*);
|
||||
lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_addSCC___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__20(lean_object*, lean_object*);
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedMVarsAtPreDef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__2;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
|
|
@ -148,9 +149,9 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__8
|
|||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__8___lambda__3(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__2;
|
||||
lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_getDataOf___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__6(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__2;
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___spec__4(lean_object*, size_t, size_t);
|
||||
extern lean_object* l_Lean_Expr_FoldConstsImpl_initCache;
|
||||
lean_object* l_Lean_Elab_WFRecursion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -179,7 +180,6 @@ lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_updateLowLinkOf___at___privat
|
|||
extern lean_object* l_Array_findSomeM_x3f___rarg___closed__1;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___closed__1;
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__2___closed__1;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_addPreDefinitions___spec__6___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___closed__1() {
|
||||
|
|
@ -396,7 +396,7 @@ lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean
|
|||
x_43 = lean_ctor_get(x_37, 1);
|
||||
lean_inc(x_43);
|
||||
lean_dec(x_37);
|
||||
x_44 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__2;
|
||||
x_44 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__2;
|
||||
x_45 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_43);
|
||||
x_46 = lean_ctor_get(x_45, 0);
|
||||
lean_inc(x_46);
|
||||
|
|
@ -414,7 +414,7 @@ block_24:
|
|||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_10 = lean_ctor_get(x_1, 3);
|
||||
lean_inc(x_10);
|
||||
x_11 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__2;
|
||||
x_11 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__2;
|
||||
lean_inc(x_10);
|
||||
x_12 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___lambda__1___boxed), 12, 3);
|
||||
lean_closure_set(x_12, 0, x_1);
|
||||
|
|
@ -492,7 +492,7 @@ x_31 = l_Lean_KernelException_toMessageData___closed__15;
|
|||
x_32 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_30);
|
||||
lean_ctor_set(x_32, 1, x_31);
|
||||
x_33 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__2;
|
||||
x_33 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__2;
|
||||
x_34 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_33, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_26);
|
||||
x_35 = lean_ctor_get(x_34, 1);
|
||||
lean_inc(x_35);
|
||||
|
|
@ -2030,7 +2030,7 @@ lean_inc(x_13);
|
|||
x_14 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_11);
|
||||
x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_13, x_14);
|
||||
x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_13, x_14);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
if (x_15 == 0)
|
||||
|
|
@ -2063,7 +2063,7 @@ lean_inc(x_20);
|
|||
x_21 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_18);
|
||||
x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_20, x_21);
|
||||
x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_20, x_21);
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_20);
|
||||
if (x_22 == 0)
|
||||
|
|
@ -2749,7 +2749,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefiniti
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__2;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__2;
|
||||
x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__1___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -3431,7 +3431,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefiniti
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__2;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__2;
|
||||
x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__8___lambda__3___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
|
|
@ -44,11 +44,11 @@ lean_object* l___private_Lean_Elab_PreDefinition_MkInhabitant_0__Lean_Elab_mkFnI
|
|||
lean_object* l___private_Lean_Elab_PreDefinition_MkInhabitant_0__Lean_Elab_mkFnInhabitant_x3f_loop_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedExpr;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_MkInhabitant_0__Lean_Elab_findAssumption_x3f___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_Meta_mkAppOptM___at_Lean_Meta_mkDecideProof___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_mkInhabitantFor___closed__3;
|
||||
extern lean_object* l_Lean_Syntax_mkApp___closed__1;
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_ofSubarray___rarg(lean_object*);
|
||||
lean_object* l_Lean_Elab_mkInhabitantFor_match__2(lean_object*);
|
||||
lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -947,7 +947,7 @@ x_21 = l_Lean_Elab_mkInhabitantFor___closed__4;
|
|||
x_22 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_20);
|
||||
lean_ctor_set(x_22, 1, x_21);
|
||||
x_23 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_22, x_4, x_5, x_6, x_7, x_17);
|
||||
x_23 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_22, x_4, x_5, x_6, x_7, x_17);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Elab/PreDefinition/Structural.c
generated
10
stage0/stdlib/Lean/Elab/PreDefinition/Structural.c
generated
|
|
@ -390,7 +390,7 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural
|
|||
lean_object* l_Lean_Meta_MatcherApp_toExpr(lean_object*);
|
||||
lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadIndexDep_x3f_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_4163_(lean_object*);
|
||||
lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_4164_(lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadParamDep_x3f___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadIndexDep_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_instInhabitedPreDefinition__1;
|
||||
|
|
@ -429,10 +429,10 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Struc
|
|||
lean_object* l_Lean_Elab_Structural_structuralRecursion___closed__1;
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__2;
|
||||
lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadIndexDep_x3f_match__3(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop_match__2(lean_object*);
|
||||
lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwToBelowFailed___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__2;
|
||||
extern lean_object* l_Std_HashMap_instInhabitedHashMap___closed__1;
|
||||
lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwToBelowFailed___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__8___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*);
|
||||
|
|
@ -6749,7 +6749,7 @@ static lean_object* _init_l___private_Lean_Elab_PreDefinition_Structural_0__Lean
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_991____closed__2;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1048____closed__2;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_toBelowAux___closed__10;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -16108,7 +16108,7 @@ return x_42;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_4163_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_4164_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -16332,7 +16332,7 @@ l_Lean_Elab_Structural_structuralRecursion___closed__3 = _init_l_Lean_Elab_Struc
|
|||
lean_mark_persistent(l_Lean_Elab_Structural_structuralRecursion___closed__3);
|
||||
l_Lean_Elab_Structural_structuralRecursion___closed__4 = _init_l_Lean_Elab_Structural_structuralRecursion___closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Structural_structuralRecursion___closed__4);
|
||||
res = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_4163_(lean_io_mk_world());
|
||||
res = l_Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural___hyg_4164_(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));
|
||||
|
|
|
|||
204
stage0/stdlib/Lean/Elab/Quotation.c
generated
204
stage0/stdlib/Lean/Elab/Quotation.c
generated
|
|
@ -142,6 +142,7 @@ lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg
|
|||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_doElem_quot___elambda__1___closed__2;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__63;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3595____closed__28;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__37;
|
||||
|
|
@ -150,7 +151,6 @@ lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__6;
|
|||
extern lean_object* l_Array_empty___closed__1;
|
||||
extern lean_object* l_instReprProd___rarg___closed__2;
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__13;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__4;
|
||||
lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___boxed(lean_object**);
|
||||
|
|
@ -266,6 +266,7 @@ uint8_t l_USize_decLt(size_t, size_t);
|
|||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_instToMessageDataOption___rarg___closed__4;
|
||||
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*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4100____closed__1;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17___boxed(lean_object**);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__5;
|
||||
|
|
@ -285,7 +286,6 @@ lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hy
|
|||
lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4060_(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_elabQuot____x40_Lean_Elab_Quotation___hyg_4050_(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_quoteSyntax___closed__2;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__3;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__60;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_109____spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -301,23 +301,19 @@ lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation
|
|||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__5;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__23;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(lean_object*, lean_object*);
|
||||
lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__10;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_zip___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__2___closed__7;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3595____closed__25;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__30;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__2;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__6(lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__2;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__5;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_11900____closed__5;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__5(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_quoteSyntax___closed__46;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__4;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___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* l_List_replicate___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__25;
|
||||
|
|
@ -346,7 +342,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead
|
|||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__2___closed__3;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___boxed__const__1;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__2;
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_numLitKind;
|
||||
|
|
@ -370,7 +365,6 @@ lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__4;
|
|||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__7;
|
||||
extern lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__1;
|
||||
extern lean_object* l_Lean_Parser_Syntax_addPrio___closed__3;
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__22;
|
||||
|
|
@ -435,7 +429,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lea
|
|||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__64;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__3;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_13394____closed__11;
|
||||
lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_attr_quot___elambda__1___closed__2;
|
||||
|
|
@ -456,7 +449,6 @@ lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__1;
|
|||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__8;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_commandElabStxQuot_x21_______closed__8;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__3;
|
||||
lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_to_list(lean_object*, lean_object*);
|
||||
|
|
@ -498,7 +490,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Q
|
|||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__5___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__3(lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedSyntax;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4045____closed__2;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__10;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__26;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__9___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -507,6 +498,7 @@ lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg
|
|||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___closed__14;
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__4;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__31;
|
||||
extern lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__2;
|
||||
lean_object* l_Lean_mkSepArray(lean_object*, lean_object*);
|
||||
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*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -515,7 +507,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead
|
|||
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* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__25;
|
||||
extern lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__5;
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__4(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_instReprList___rarg___closed__2;
|
||||
|
|
@ -524,13 +515,13 @@ extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__10;
|
|||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__16___boxed(lean_object**);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4070____closed__1;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss(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_Parser_Term_quot___elambda__1___closed__1;
|
||||
lean_object* l_String_dropRight(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26(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_Parser_Tactic_match___closed__2;
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__2;
|
||||
extern lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__2;
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__3;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
extern lean_object* l_Lean_nullKind___closed__1;
|
||||
|
|
@ -615,15 +606,16 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBind
|
|||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__9(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__13___rarg(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(lean_object*, lean_object*);
|
||||
lean_object* l_List_redLength___rarg(lean_object*);
|
||||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__4;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__12;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___boxed(lean_object**);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__15;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__6;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_11900____closed__10;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__3;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__1___closed__2;
|
||||
extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__8;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__11(lean_object*);
|
||||
|
|
@ -663,7 +655,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSy
|
|||
lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__20;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__2___closed__2;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__30;
|
||||
extern lean_object* l_stx___x3c_x7c_x3e_____closed__5;
|
||||
extern lean_object* l_Id_instMonadId;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_10024____closed__9;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_13394____closed__12;
|
||||
|
|
@ -687,6 +678,7 @@ lean_object* l_Lean_Syntax_getAntiquotSpliceSuffix(lean_object*);
|
|||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__15___boxed(lean_object**);
|
||||
extern lean_object* l_Lean_Parser_Term_prio_quot___elambda__1___closed__2;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__2___closed__8;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__33;
|
||||
|
|
@ -750,6 +742,7 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead
|
|||
lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__1;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___closed__17;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_myMacro____x40_Lean_Elab_Quotation___hyg_3595____closed__26;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_13394____closed__4;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__6;
|
||||
|
|
@ -763,7 +756,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_11707____closed__6;
|
|||
lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___closed__9;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___boxed(lean_object**);
|
||||
lean_object* l_Lean_Syntax_getAntiquotSpliceContents(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__2;
|
||||
|
|
@ -800,19 +792,20 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSy
|
|||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__32;
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14___boxed(lean_object**);
|
||||
extern lean_object* l_Lean_Parser_Tactic_changeWith___closed__3;
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___closed__17;
|
||||
extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2884____closed__6;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__25___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__15___closed__2;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__1___closed__3;
|
||||
uint8_t l_Lean_Syntax_isEscapedAntiquot(lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__9;
|
||||
extern lean_object* l_Std_Format_sbracket___closed__2;
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__17;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4050____closed__1;
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__8___rarg(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__5___boxed(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__2;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_prec_x28___x29___closed__3;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__13___closed__4;
|
||||
|
|
@ -920,7 +913,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSy
|
|||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo_match__1(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__4___boxed(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
|
|
@ -2471,7 +2463,7 @@ x_5 = lean_alloc_closure((void*)(l_Lean_MonadRef_mkInfoFromRefPos___at___private
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(lean_object* x_1, lean_object* x_2) {
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
|
|
@ -2842,7 +2834,7 @@ _start:
|
|||
{
|
||||
lean_object* x_17; uint8_t x_18;
|
||||
x_17 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__2___closed__1;
|
||||
x_18 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_7, x_17);
|
||||
x_18 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_7, x_17);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
lean_object* x_19;
|
||||
|
|
@ -3881,7 +3873,7 @@ x_277 = lean_array_to_list(lean_box(0), x_109);
|
|||
x_278 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5(x_277);
|
||||
x_279 = l_Lean_mkOptionalNode___closed__2;
|
||||
x_280 = lean_array_push(x_279, x_278);
|
||||
x_281 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
x_281 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
x_282 = l_Lean_Syntax_mkCApp(x_281, x_280);
|
||||
x_283 = lean_array_push(x_276, x_282);
|
||||
x_284 = l_myMacro____x40_Init_Notation___hyg_11900____closed__10;
|
||||
|
|
@ -4522,7 +4514,7 @@ x_556 = lean_array_to_list(lean_box(0), x_109);
|
|||
x_557 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5(x_556);
|
||||
x_558 = l_Lean_mkOptionalNode___closed__2;
|
||||
x_559 = lean_array_push(x_558, x_557);
|
||||
x_560 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
x_560 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
x_561 = l_Lean_Syntax_mkCApp(x_560, x_559);
|
||||
x_562 = lean_array_push(x_555, x_561);
|
||||
x_563 = l_myMacro____x40_Init_Notation___hyg_11900____closed__10;
|
||||
|
|
@ -5395,7 +5387,7 @@ x_896 = lean_array_to_list(lean_box(0), x_725);
|
|||
x_897 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5(x_896);
|
||||
x_898 = l_Lean_mkOptionalNode___closed__2;
|
||||
x_899 = lean_array_push(x_898, x_897);
|
||||
x_900 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
x_900 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
x_901 = l_Lean_Syntax_mkCApp(x_900, x_899);
|
||||
x_902 = lean_array_push(x_895, x_901);
|
||||
x_903 = l_myMacro____x40_Init_Notation___hyg_11900____closed__10;
|
||||
|
|
@ -6041,7 +6033,7 @@ x_1180 = lean_array_to_list(lean_box(0), x_725);
|
|||
x_1181 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5(x_1180);
|
||||
x_1182 = l_Lean_mkOptionalNode___closed__2;
|
||||
x_1183 = lean_array_push(x_1182, x_1181);
|
||||
x_1184 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
x_1184 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
x_1185 = l_Lean_Syntax_mkCApp(x_1184, x_1183);
|
||||
x_1186 = lean_array_push(x_1179, x_1185);
|
||||
x_1187 = l_myMacro____x40_Init_Notation___hyg_11900____closed__10;
|
||||
|
|
@ -9649,11 +9641,11 @@ lean_dec(x_1);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_1, x_2);
|
||||
x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -11453,16 +11445,6 @@ return x_11;
|
|||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4045____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_1989____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_elabQuot____x40_Lean_Elab_Quotation___hyg_4045____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4045_), 9, 0);
|
||||
return x_1;
|
||||
|
|
@ -11473,8 +11455,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_elabQuot____x40_Lean_Elab_Quotation___hyg_4045____closed__1;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4045____closed__2;
|
||||
x_3 = l_Lean_Parser_Term_quot___elambda__1___closed__1;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4045____closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -11631,26 +11613,6 @@ return x_11;
|
|||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_1989____closed__2;
|
||||
x_2 = l_stx___x3c_x7c_x3e_____closed__5;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__1;
|
||||
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_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075_), 9, 0);
|
||||
return x_1;
|
||||
|
|
@ -11661,8 +11623,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_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__2;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__3;
|
||||
x_3 = l_Lean_Parser_Term_stx_quot___elambda__1___closed__2;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -11679,26 +11641,6 @@ return x_11;
|
|||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_1989____closed__2;
|
||||
x_2 = l_Lean_Parser_Syntax_addPrec___closed__13;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__1;
|
||||
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_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080_), 9, 0);
|
||||
return x_1;
|
||||
|
|
@ -11709,8 +11651,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_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__2;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__3;
|
||||
x_3 = l_Lean_Parser_Term_prec_quot___elambda__1___closed__2;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -11755,26 +11697,6 @@ return x_11;
|
|||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_1989____closed__2;
|
||||
x_2 = l_Lean_Parser_Syntax_addPrio___closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__1;
|
||||
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_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090_), 9, 0);
|
||||
return x_1;
|
||||
|
|
@ -11785,8 +11707,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_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__2;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__3;
|
||||
x_3 = l_Lean_Parser_Term_prio_quot___elambda__1___closed__2;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -11804,34 +11726,6 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x4
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("doElem");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_1989____closed__2;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____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_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____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_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095_), 9, 0);
|
||||
return x_1;
|
||||
}
|
||||
|
|
@ -11841,8 +11735,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_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__3;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__4;
|
||||
x_3 = l_Lean_Parser_Term_doElem_quot___elambda__1___closed__2;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -13294,7 +13188,7 @@ x_11 = lean_alloc_ctor(2, 2, 0);
|
|||
lean_ctor_set(x_11, 0, x_2);
|
||||
lean_ctor_set(x_11, 1, x_10);
|
||||
x_12 = lean_array_push(x_9, x_11);
|
||||
x_13 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4045____closed__1;
|
||||
x_13 = l_Lean_Parser_Term_quot___elambda__1___closed__1;
|
||||
x_14 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_14, 0, x_13);
|
||||
lean_ctor_set(x_14, 1, x_12);
|
||||
|
|
@ -16312,7 +16206,7 @@ return x_8;
|
|||
else
|
||||
{
|
||||
uint8_t x_9;
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_6, x_2);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_6, x_2);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10;
|
||||
|
|
@ -19567,7 +19461,7 @@ x_48 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_48, 0, x_47);
|
||||
lean_ctor_set(x_48, 1, x_46);
|
||||
x_49 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__2___closed__1;
|
||||
x_50 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_11, x_49);
|
||||
x_50 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_11, x_49);
|
||||
if (x_50 == 0)
|
||||
{
|
||||
lean_object* x_51; lean_object* x_52; lean_object* x_53;
|
||||
|
|
@ -19696,7 +19590,7 @@ x_103 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_103, 0, x_102);
|
||||
lean_ctor_set(x_103, 1, x_101);
|
||||
x_104 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__2___closed__1;
|
||||
x_105 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_11, x_104);
|
||||
x_105 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_11, x_104);
|
||||
lean_dec(x_11);
|
||||
if (x_105 == 0)
|
||||
{
|
||||
|
|
@ -19835,7 +19729,7 @@ x_161 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_161, 0, x_160);
|
||||
lean_ctor_set(x_161, 1, x_159);
|
||||
x_162 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__2___closed__1;
|
||||
x_163 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_11, x_162);
|
||||
x_163 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_11, x_162);
|
||||
lean_dec(x_11);
|
||||
if (x_163 == 0)
|
||||
{
|
||||
|
|
@ -20037,7 +19931,7 @@ x_253 = lean_alloc_ctor(2, 2, 0);
|
|||
lean_ctor_set(x_253, 0, x_198);
|
||||
lean_ctor_set(x_253, 1, x_252);
|
||||
x_254 = lean_array_push(x_251, x_253);
|
||||
x_255 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4045____closed__1;
|
||||
x_255 = l_Lean_Parser_Term_quot___elambda__1___closed__1;
|
||||
x_256 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_256, 0, x_255);
|
||||
lean_ctor_set(x_256, 1, x_254);
|
||||
|
|
@ -20198,7 +20092,7 @@ x_338 = lean_alloc_ctor(2, 2, 0);
|
|||
lean_ctor_set(x_338, 0, x_198);
|
||||
lean_ctor_set(x_338, 1, x_337);
|
||||
x_339 = lean_array_push(x_336, x_338);
|
||||
x_340 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4045____closed__1;
|
||||
x_340 = l_Lean_Parser_Term_quot___elambda__1___closed__1;
|
||||
x_341 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_341, 0, x_340);
|
||||
lean_ctor_set(x_341, 1, x_339);
|
||||
|
|
@ -20325,7 +20219,7 @@ x_402 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_402, 0, x_401);
|
||||
lean_ctor_set(x_402, 1, x_400);
|
||||
x_403 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__2___closed__1;
|
||||
x_404 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_11, x_403);
|
||||
x_404 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_11, x_403);
|
||||
lean_dec(x_11);
|
||||
if (x_404 == 0)
|
||||
{
|
||||
|
|
@ -20451,7 +20345,7 @@ x_456 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_456, 0, x_455);
|
||||
lean_ctor_set(x_456, 1, x_454);
|
||||
x_457 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__2___closed__1;
|
||||
x_458 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_11, x_457);
|
||||
x_458 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_11, x_457);
|
||||
lean_dec(x_11);
|
||||
if (x_458 == 0)
|
||||
{
|
||||
|
|
@ -20578,7 +20472,7 @@ x_510 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_510, 0, x_509);
|
||||
lean_ctor_set(x_510, 1, x_508);
|
||||
x_511 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6___lambda__2___closed__1;
|
||||
x_512 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_11, x_511);
|
||||
x_512 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(x_11, x_511);
|
||||
lean_dec(x_11);
|
||||
if (x_512 == 0)
|
||||
{
|
||||
|
|
@ -26272,7 +26166,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__6;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -32088,8 +31982,6 @@ if (lean_io_result_is_error(res)) return res;
|
|||
lean_dec_ref(res);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4045____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4045____closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4045____closed__1);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4045____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4045____closed__2();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4045____closed__2);
|
||||
res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4045_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
@ -32120,19 +32012,11 @@ if (lean_io_result_is_error(res)) return res;
|
|||
lean_dec_ref(res);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__1);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__2();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__2);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__3();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075____closed__3);
|
||||
res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4075_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__1);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__2();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__2);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__3();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080____closed__3);
|
||||
res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4080_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
@ -32143,21 +32027,11 @@ if (lean_io_result_is_error(res)) return res;
|
|||
lean_dec_ref(res);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__1);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__2();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__2);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__3();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090____closed__3);
|
||||
res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4090_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__1);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__2();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__2);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__3();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__3);
|
||||
l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__4();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095____closed__4);
|
||||
res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4095_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
41
stage0/stdlib/Lean/Elab/Quotation/Util.c
generated
41
stage0/stdlib/Lean/Elab/Quotation/Util.c
generated
|
|
@ -15,7 +15,7 @@ extern "C" {
|
|||
#endif
|
||||
uint8_t l_Lean_Syntax_isQuot(lean_object*);
|
||||
size_t l_USize_add(size_t, size_t);
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__2;
|
||||
uint8_t l_USize_decEq(size_t, size_t);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -30,12 +30,10 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Quotation_getPatterns
|
|||
lean_object* l_Lean_Elab_Term_Quotation_getPatternsVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_getPatternVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_getAntiquotationIds_go___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__5;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__2;
|
||||
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_1989____closed__2;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds_go_match__1(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_getAntiquotationIds_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -49,7 +47,6 @@ lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationI
|
|||
lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds_go___closed__3;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_getPatternVars___closed__4;
|
||||
lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds_go_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds_go___closed__1;
|
||||
|
|
@ -475,43 +472,25 @@ static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__1(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("namedPattern");
|
||||
x_1 = lean_mk_string("unsupported pattern in syntax match");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_1989____closed__2;
|
||||
x_2 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("unsupported pattern in syntax match");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__3;
|
||||
x_1 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__1;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__5() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__4;
|
||||
x_1 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__2;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -531,13 +510,13 @@ x_11 = l_Lean_Syntax_isOfKind(x_1, x_10);
|
|||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; uint8_t x_13;
|
||||
x_12 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__2;
|
||||
x_12 = l_Lean_Parser_Term_namedPattern___elambda__1___closed__2;
|
||||
lean_inc(x_1);
|
||||
x_13 = l_Lean_Syntax_isOfKind(x_1, x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
x_14 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__5;
|
||||
x_14 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__3;
|
||||
x_15 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds_go___spec__2(x_1, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
lean_dec(x_1);
|
||||
return x_15;
|
||||
|
|
@ -553,7 +532,7 @@ if (x_18 == 0)
|
|||
{
|
||||
lean_object* x_19; lean_object* x_20;
|
||||
lean_dec(x_17);
|
||||
x_19 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__5;
|
||||
x_19 = l_Lean_Elab_Term_Quotation_getPatternVars___closed__3;
|
||||
x_20 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds_go___spec__2(x_1, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
lean_dec(x_1);
|
||||
return x_20;
|
||||
|
|
@ -822,10 +801,6 @@ l_Lean_Elab_Term_Quotation_getPatternVars___closed__2 = _init_l_Lean_Elab_Term_Q
|
|||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__2);
|
||||
l_Lean_Elab_Term_Quotation_getPatternVars___closed__3 = _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__3);
|
||||
l_Lean_Elab_Term_Quotation_getPatternVars___closed__4 = _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__4);
|
||||
l_Lean_Elab_Term_Quotation_getPatternVars___closed__5 = _init_l_Lean_Elab_Term_Quotation_getPatternVars___closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Quotation_getPatternVars___closed__5);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/StructInst.c
generated
4
stage0/stdlib/Lean/Elab/StructInst.c
generated
|
|
@ -422,7 +422,6 @@ lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_lo
|
|||
lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__3___closed__3;
|
||||
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___closed__1;
|
||||
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_toFieldLHS_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_StructInst_Struct_fields_match__1(lean_object*);
|
||||
|
|
@ -502,6 +501,7 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabS
|
|||
lean_object* l_List_redLength___rarg(lean_object*);
|
||||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_replace___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__8(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_collectStructNames_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_StructInst_Field_toSyntax___spec__1(size_t, size_t, lean_object*);
|
||||
lean_object* l_Std_fmt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__2(lean_object*);
|
||||
|
|
@ -2915,7 +2915,7 @@ static lean_object* _init_l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Str
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
28
stage0/stdlib/Lean/Elab/Structure.c
generated
28
stage0/stdlib/Lean/Elab/Structure.c
generated
|
|
@ -34,6 +34,7 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean
|
|||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields_match__2___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_expandOptDeclSig(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_protected___elambda__1___closed__1;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__18___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__10___closed__3;
|
||||
|
|
@ -129,6 +130,7 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_C
|
|||
lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__9;
|
||||
lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__18___lambda__1(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*);
|
||||
|
|
@ -295,7 +297,6 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_C
|
|||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
lean_object* l_Lean_Elab_getOptDerivingClasses___at_Lean_Elab_Command_elabStructure___spec__2___boxed__const__1;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__19(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -311,7 +312,6 @@ lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkIdImp(lean_object*,
|
|||
lean_object* l_Lean_Elab_Command_StructFieldInfo_value_x3f___default;
|
||||
uint8_t l_Lean_LocalDecl_binderInfo(lean_object*);
|
||||
lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2;
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse_match__1(lean_object*);
|
||||
|
|
@ -365,6 +365,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_6427____closed__4;
|
|||
lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVars___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView_match__1(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__3;
|
||||
lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_assignLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -381,7 +382,6 @@ lean_object* l_ReaderT_pure___at___private_Lean_Elab_Structure_0__Lean_Elab_Comm
|
|||
lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_sortDeclLevelParams(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_structSimpleBinder___elambda__1___closed__2;
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__1(lean_object*);
|
||||
lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -450,6 +450,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lea
|
|||
lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_pure___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse___closed__2;
|
||||
lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__16___closed__2;
|
||||
|
|
@ -500,7 +501,6 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_removeUnused(l
|
|||
lean_object* l_Lean_setReducibilityStatus___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__3___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3(lean_object*, lean_object*, 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_toAttributeKind___rarg___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___lambda__1(uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabStructure___closed__1;
|
||||
extern lean_object* l_Lean_Elab_sortDeclLevelParams___closed__1;
|
||||
|
|
@ -608,6 +608,7 @@ lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Struct
|
|||
lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFieldInfo_x3f___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___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_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
|
|
@ -691,7 +692,6 @@ lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*);
|
|||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__4___rarg(uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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_elabModifiers___rarg___lambda__3___closed__5;
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_elabDeriving___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -934,7 +934,7 @@ lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15;
|
|||
x_12 = l_Lean_Syntax_getArg(x_10, x_9);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Lean_Syntax_getKind(x_12);
|
||||
x_14 = l_Lean_Elab_toAttributeKind___rarg___closed__1;
|
||||
x_14 = l_Lean_Parser_Term_scoped___elambda__1___closed__1;
|
||||
x_15 = lean_name_eq(x_13, x_14);
|
||||
lean_dec(x_13);
|
||||
if (x_15 == 0)
|
||||
|
|
@ -2041,19 +2041,19 @@ lean_inc(x_17);
|
|||
lean_dec(x_14);
|
||||
lean_inc(x_17);
|
||||
x_18 = l_Lean_Syntax_getKind(x_17);
|
||||
x_19 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
x_19 = l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
x_20 = lean_name_eq(x_18, x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21; uint8_t x_22;
|
||||
x_21 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2;
|
||||
x_21 = l_Lean_Parser_Command_protected___elambda__1___closed__1;
|
||||
x_22 = lean_name_eq(x_18, x_21);
|
||||
lean_dec(x_18);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; uint8_t x_25;
|
||||
lean_dec(x_6);
|
||||
x_23 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__5;
|
||||
x_23 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__3;
|
||||
x_24 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(x_17, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_10);
|
||||
|
|
@ -4311,7 +4311,7 @@ lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15;
|
|||
x_12 = l_Lean_Syntax_getArg(x_10, x_9);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Lean_Syntax_getKind(x_12);
|
||||
x_14 = l_Lean_Elab_toAttributeKind___rarg___closed__1;
|
||||
x_14 = l_Lean_Parser_Term_scoped___elambda__1___closed__1;
|
||||
x_15 = lean_name_eq(x_13, x_14);
|
||||
lean_dec(x_13);
|
||||
if (x_15 == 0)
|
||||
|
|
@ -5334,19 +5334,19 @@ lean_inc(x_17);
|
|||
lean_dec(x_14);
|
||||
lean_inc(x_17);
|
||||
x_18 = l_Lean_Syntax_getKind(x_17);
|
||||
x_19 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1;
|
||||
x_19 = l_Lean_Parser_Command_private___elambda__1___closed__2;
|
||||
x_20 = lean_name_eq(x_18, x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21; uint8_t x_22;
|
||||
x_21 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2;
|
||||
x_21 = l_Lean_Parser_Command_protected___elambda__1___closed__1;
|
||||
x_22 = lean_name_eq(x_18, x_21);
|
||||
lean_dec(x_18);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; uint8_t x_25;
|
||||
lean_dec(x_6);
|
||||
x_23 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__5;
|
||||
x_23 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__3;
|
||||
x_24 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__12(x_17, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
|
||||
lean_dec(x_17);
|
||||
x_25 = !lean_is_exclusive(x_24);
|
||||
|
|
@ -15985,7 +15985,7 @@ static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_e
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_myMacro____x40_Init_NotationExtra___hyg_3356____closed__17;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
192
stage0/stdlib/Lean/Elab/Syntax.c
generated
192
stage0/stdlib/Lean/Elab/Syntax.c
generated
|
|
@ -22,6 +22,7 @@ lean_object* l_Lean_Elab_Command_expandMixfix_match__44(lean_object*);
|
|||
lean_object* l_Lean_Elab_Command_expandMixfix_match__28___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__7___rarg(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__56(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4;
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__65(lean_object*);
|
||||
extern lean_object* l_Lean_Attribute_Builtin_getId___closed__2;
|
||||
lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__25;
|
||||
|
|
@ -45,6 +46,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___s
|
|||
lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__33;
|
||||
lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__6;
|
||||
lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__9;
|
||||
lean_object* l_Lean_Elab_expandOptNamedName(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__14;
|
||||
lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -68,6 +70,7 @@ lean_object* l_Lean_Elab_Command_expandMixfix_match__129(lean_object*);
|
|||
lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__95(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_expandOptNamedPrio(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandElab_match__4___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
extern lean_object* l_String_instInhabitedString;
|
||||
|
|
@ -163,7 +166,6 @@ lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__5;
|
|||
lean_object* l_Lean_Elab_Command_expandMixfix_match__83___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__12;
|
||||
extern lean_object* l_Lean_Parser_Command_namedPrio___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Elab_Command_expandOptNamedPrio(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_toParserDescrAux___spec__8___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_Lean_Elab_Command_expandMixfix___lambda__1___closed__1;
|
||||
|
|
@ -216,7 +218,6 @@ lean_object* l_Lean_Elab_Command_expandMixfix_match__114___rarg(lean_object*, le
|
|||
extern lean_object* l_Lean_instInhabitedParserDescr___closed__1;
|
||||
extern lean_object* l_Lean_PrettyPrinter_runForNodeKind___rarg___closed__4;
|
||||
lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__30;
|
||||
extern lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2;
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__128(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_11900____closed__8;
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
|
|
@ -237,6 +238,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux_match__6(lean_object*);
|
|||
lean_object* l_Std_fmt___at_Lean_Elab_Term_toParserDescrAux___spec__13(lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescrAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__6;
|
||||
extern lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__1;
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandMacro___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_948____closed__4;
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__46___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -338,7 +340,6 @@ lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__5;
|
|||
lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__4___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6;
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__130(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandOptNamedName___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__65___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__78(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__12(lean_object*);
|
||||
|
|
@ -370,7 +371,6 @@ lean_object* l_Lean_Elab_Command_expandMacro_match__2___rarg(lean_object*, lean_
|
|||
lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_visit_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__37;
|
||||
lean_object* l_Lean_Elab_Command_expandOptNamedName(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__60(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__39___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__2(lean_object*);
|
||||
|
|
@ -396,6 +396,7 @@ lean_object* l_Lean_Elab_Command_expandMixfix_match__14___rarg(lean_object*, lea
|
|||
lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__16;
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__7;
|
||||
lean_object* l_Lean_Elab_Command_expandElab___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*);
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30709____closed__1;
|
||||
lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__16;
|
||||
extern lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__6;
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__97(lean_object*);
|
||||
|
|
@ -484,6 +485,7 @@ extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__3;
|
|||
lean_object* l_Lean_Elab_Command_mkSimpleDelab___boxed(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__79(lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__5(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_Parser_Term_quotedName___elambda__1___closed__2;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_2884____spec__3(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__33;
|
||||
|
|
@ -516,7 +518,7 @@ lean_object* l_Lean_Elab_Command_expandMixfix_match__71___rarg(lean_object*, lea
|
|||
lean_object* l_Lean_Elab_Term_toParserDescrAux_match__5___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_String_capitalize(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30863_(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30709_(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__66(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabSyntax_match__2___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4;
|
||||
|
|
@ -710,7 +712,6 @@ lean_object* l_Lean_Elab_Command_elabSyntax_match__3___rarg(lean_object*, lean_o
|
|||
lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_mkSimpleDelab_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5;
|
||||
lean_object* l_Lean_Elab_log___at_Lean_Elab_Command_elabSyntax___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -742,14 +743,12 @@ lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean
|
|||
extern lean_object* l_Lean_Syntax_mkAntiquotNode___closed__9;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_736____closed__2;
|
||||
lean_object* l_Lean_Elab_Command_elabSyntax___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandOptNamedPrio___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__10;
|
||||
lean_object* l_Lean_ConstantInfo_type(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__114(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__6;
|
||||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__62(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__1;
|
||||
lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__46;
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Term_toParserDescrAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__61___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -763,6 +762,7 @@ lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__25;
|
|||
extern lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Elab_Command_expandMacro_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabBinders___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__1;
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__58___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__9(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -815,6 +815,7 @@ lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__36;
|
|||
lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_elabElab___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__11(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__83(lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -898,7 +899,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__38;
|
|||
lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMacroRulesAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Name_isAnonymous(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__2;
|
||||
uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916_(uint8_t, uint8_t);
|
||||
lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_withNestedParser___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_Command_expandMixfix_match__71(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__59___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -913,12 +914,10 @@ lean_object* l_Lean_Elab_Command_expandMixfix_match__109(lean_object*);
|
|||
lean_object* l_Lean_Elab_Command_expandMixfix_match__104(lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__49(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_toAttributeKind___rarg___closed__1;
|
||||
lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__2;
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__127___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__121(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30863____closed__1;
|
||||
extern lean_object* l_Lean_evalPrec___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__101(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__39;
|
||||
|
|
@ -969,8 +968,8 @@ lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__20;
|
|||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__27;
|
||||
lean_object* l_Lean_Elab_Term_toParserDescrAux_match__4(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabSyntax(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__2;
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__2(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__2;
|
||||
lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___rarg(lean_object*);
|
||||
|
|
@ -1197,7 +1196,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_11370____closed__8;
|
|||
lean_object* l_Lean_Elab_Command_expandMixfix_match__3(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabMacroRulesAux_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_evalPrio(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__2;
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1249,7 +1247,6 @@ lean_object* l_Lean_Elab_Command_elabElab___lambda__1___boxed(lean_object*, lean
|
|||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__8;
|
||||
extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4;
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_expandMixfix_match__45(lean_object*);
|
||||
|
|
@ -1496,7 +1493,7 @@ x_37 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_37, 0, x_36);
|
||||
lean_ctor_set(x_37, 1, x_35);
|
||||
x_38 = lean_array_push(x_31, x_37);
|
||||
x_39 = l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2;
|
||||
x_39 = l_Lean_Parser_Term_quotedName___elambda__1___closed__2;
|
||||
x_40 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_39);
|
||||
lean_ctor_set(x_40, 1, x_38);
|
||||
|
|
@ -7055,7 +7052,7 @@ lean_inc(x_156);
|
|||
lean_dec(x_154);
|
||||
x_200 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2);
|
||||
x_201 = 0;
|
||||
x_202 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915_(x_200, x_201);
|
||||
x_202 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916_(x_200, x_201);
|
||||
if (x_202 == 0)
|
||||
{
|
||||
uint8_t x_203;
|
||||
|
|
@ -9812,7 +9809,7 @@ lean_inc(x_972);
|
|||
lean_dec(x_970);
|
||||
x_1000 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2);
|
||||
x_1001 = 0;
|
||||
x_1002 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915_(x_1000, x_1001);
|
||||
x_1002 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916_(x_1000, x_1001);
|
||||
if (x_1002 == 0)
|
||||
{
|
||||
uint8_t x_1003;
|
||||
|
|
@ -12283,7 +12280,7 @@ static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_decl
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__1;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__1;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -12292,7 +12289,7 @@ static lean_object* _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_decl
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__1;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__1;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
|
|
@ -12652,7 +12649,7 @@ lean_ctor_set(x_22, 0, x_13);
|
|||
lean_ctor_set(x_22, 1, x_21);
|
||||
x_23 = l_Array_empty___closed__1;
|
||||
x_24 = lean_array_push(x_23, x_22);
|
||||
x_25 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__2;
|
||||
x_25 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__2;
|
||||
lean_inc(x_16);
|
||||
lean_inc(x_19);
|
||||
x_26 = l_Lean_addMacroScope(x_19, x_25, x_16);
|
||||
|
|
@ -12800,7 +12797,7 @@ x_108 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_108, 0, x_107);
|
||||
lean_ctor_set(x_108, 1, x_106);
|
||||
x_109 = lean_array_push(x_23, x_108);
|
||||
x_110 = l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2;
|
||||
x_110 = l_Lean_Parser_Term_quotedName___elambda__1___closed__2;
|
||||
x_111 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_111, 0, x_110);
|
||||
lean_ctor_set(x_111, 1, x_109);
|
||||
|
|
@ -13566,121 +13563,6 @@ lean_dec(x_2);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Command_expandOptNamedPrio(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = l_Lean_Syntax_isNone(x_1);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8;
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
|
||||
x_7 = l_Lean_Parser_Command_namedPrio___elambda__1___closed__2;
|
||||
lean_inc(x_6);
|
||||
x_8 = l_Lean_Syntax_isOfKind(x_6, x_7);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_2);
|
||||
x_9 = lean_box(1);
|
||||
x_10 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_10, 0, x_9);
|
||||
lean_ctor_set(x_10, 1, x_3);
|
||||
return x_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_11 = lean_unsigned_to_nat(3u);
|
||||
x_12 = l_Lean_Syntax_getArg(x_6, x_11);
|
||||
lean_dec(x_6);
|
||||
x_13 = l_Lean_evalPrio(x_12, x_2, x_3);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
lean_dec(x_2);
|
||||
x_14 = lean_unsigned_to_nat(1000u);
|
||||
x_15 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_3);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Command_expandOptNamedPrio___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Elab_Command_expandOptNamedPrio(x_1, x_2, x_3);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Command_expandOptNamedName(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = l_Lean_Syntax_isNone(x_1);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8;
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
|
||||
x_7 = l_Lean_Parser_Command_namedName___elambda__1___closed__2;
|
||||
lean_inc(x_6);
|
||||
x_8 = l_Lean_Syntax_isOfKind(x_6, x_7);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
lean_dec(x_6);
|
||||
x_9 = lean_box(1);
|
||||
x_10 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_10, 0, x_9);
|
||||
lean_ctor_set(x_10, 1, x_3);
|
||||
return x_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
x_11 = lean_unsigned_to_nat(3u);
|
||||
x_12 = l_Lean_Syntax_getArg(x_6, x_11);
|
||||
lean_dec(x_6);
|
||||
x_13 = l_Lean_Syntax_getId(x_12);
|
||||
lean_dec(x_12);
|
||||
x_14 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_14, 0, x_13);
|
||||
x_15 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_3);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17;
|
||||
x_16 = lean_box(0);
|
||||
x_17 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_16);
|
||||
lean_ctor_set(x_17, 1, x_3);
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Command_expandOptNamedName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Elab_Command_expandOptNamedName(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isAtomLikeSyntax(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -13949,7 +13831,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
|||
x_8 = l_Lean_Syntax_getArg(x_6, x_5);
|
||||
lean_dec(x_6);
|
||||
x_9 = l_Lean_Syntax_getKind(x_8);
|
||||
x_10 = l_Lean_Elab_toAttributeKind___rarg___closed__1;
|
||||
x_10 = l_Lean_Parser_Term_scoped___elambda__1___closed__1;
|
||||
x_11 = lean_name_eq(x_9, x_10);
|
||||
lean_dec(x_9);
|
||||
if (x_11 == 0)
|
||||
|
|
@ -14878,7 +14760,7 @@ lean_dec(x_27);
|
|||
x_29 = lean_ctor_get(x_28, 1);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_28);
|
||||
x_30 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_30 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_31 = l_Lean_checkTraceOption(x_29, x_30);
|
||||
lean_dec(x_29);
|
||||
if (x_31 == 0)
|
||||
|
|
@ -15221,7 +15103,7 @@ lean_ctor_set(x_701, 2, x_687);
|
|||
lean_ctor_set(x_701, 3, x_689);
|
||||
lean_ctor_set(x_701, 4, x_693);
|
||||
lean_ctor_set(x_701, 5, x_684);
|
||||
x_702 = l_Lean_Elab_Command_expandOptNamedPrio(x_678, x_701, x_697);
|
||||
x_702 = l_Lean_Elab_expandOptNamedPrio(x_678, x_701, x_697);
|
||||
lean_dec(x_678);
|
||||
if (lean_obj_tag(x_702) == 0)
|
||||
{
|
||||
|
|
@ -15805,7 +15687,7 @@ x_260 = lean_alloc_ctor(2, 2, 0);
|
|||
lean_ctor_set(x_260, 0, x_247);
|
||||
lean_ctor_set(x_260, 1, x_259);
|
||||
x_261 = lean_array_push(x_257, x_260);
|
||||
x_262 = l_Lean_Elab_toAttributeKind___rarg___closed__1;
|
||||
x_262 = l_Lean_Parser_Term_scoped___elambda__1___closed__1;
|
||||
x_263 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_263, 0, x_262);
|
||||
lean_ctor_set(x_263, 1, x_261);
|
||||
|
|
@ -16349,7 +16231,7 @@ x_577 = lean_alloc_ctor(2, 2, 0);
|
|||
lean_ctor_set(x_577, 0, x_564);
|
||||
lean_ctor_set(x_577, 1, x_576);
|
||||
x_578 = lean_array_push(x_574, x_577);
|
||||
x_579 = l_Lean_Elab_toAttributeKind___rarg___closed__1;
|
||||
x_579 = l_Lean_Parser_Term_scoped___elambda__1___closed__1;
|
||||
x_580 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_580, 0, x_579);
|
||||
lean_ctor_set(x_580, 1, x_578);
|
||||
|
|
@ -16827,7 +16709,7 @@ lean_ctor_set(x_51, 2, x_37);
|
|||
lean_ctor_set(x_51, 3, x_39);
|
||||
lean_ctor_set(x_51, 4, x_43);
|
||||
lean_ctor_set(x_51, 5, x_34);
|
||||
x_52 = l_Lean_Elab_Command_expandOptNamedName(x_18, x_51, x_47);
|
||||
x_52 = l_Lean_Elab_expandOptNamedName(x_18, x_51, x_47);
|
||||
lean_dec(x_51);
|
||||
lean_dec(x_18);
|
||||
if (lean_obj_tag(x_52) == 0)
|
||||
|
|
@ -44016,7 +43898,7 @@ lean_ctor_set(x_217, 0, x_210);
|
|||
lean_ctor_set(x_217, 1, x_216);
|
||||
x_218 = l_Array_empty___closed__1;
|
||||
x_219 = lean_array_push(x_218, x_217);
|
||||
x_220 = l_Lean_Elab_toAttributeKind___rarg___closed__1;
|
||||
x_220 = l_Lean_Parser_Term_scoped___elambda__1___closed__1;
|
||||
x_221 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_221, 0, x_220);
|
||||
lean_ctor_set(x_221, 1, x_219);
|
||||
|
|
@ -49397,7 +49279,7 @@ lean_ctor_set(x_244, 2, x_230);
|
|||
lean_ctor_set(x_244, 3, x_232);
|
||||
lean_ctor_set(x_244, 4, x_236);
|
||||
lean_ctor_set(x_244, 5, x_227);
|
||||
x_245 = l_Lean_Elab_Command_expandOptNamedName(x_221, x_244, x_240);
|
||||
x_245 = l_Lean_Elab_expandOptNamedName(x_221, x_244, x_240);
|
||||
lean_dec(x_244);
|
||||
lean_dec(x_221);
|
||||
if (lean_obj_tag(x_245) == 0)
|
||||
|
|
@ -49546,7 +49428,7 @@ lean_ctor_set(x_184, 2, x_170);
|
|||
lean_ctor_set(x_184, 3, x_172);
|
||||
lean_ctor_set(x_184, 4, x_176);
|
||||
lean_ctor_set(x_184, 5, x_167);
|
||||
x_185 = l_Lean_Elab_Command_expandOptNamedPrio(x_161, x_184, x_180);
|
||||
x_185 = l_Lean_Elab_expandOptNamedPrio(x_161, x_184, x_180);
|
||||
lean_dec(x_161);
|
||||
if (lean_obj_tag(x_185) == 0)
|
||||
{
|
||||
|
|
@ -50326,21 +50208,21 @@ 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_Command_initFn____x40_Lean_Elab_Syntax___hyg_30863____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30709____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_Lean_Parser_categoryParserFnImpl___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30863_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30709_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30863____closed__1;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30709____closed__1;
|
||||
x_3 = l_Lean_registerTraceClass(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -51594,7 +51476,7 @@ x_27 = lean_name_eq(x_4, x_26);
|
|||
if (x_27 == 0)
|
||||
{
|
||||
lean_object* x_28; uint8_t x_29;
|
||||
x_28 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4;
|
||||
x_28 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4;
|
||||
x_29 = lean_name_eq(x_4, x_28);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
|
|
@ -55032,7 +54914,7 @@ lean_ctor_set(x_248, 2, x_234);
|
|||
lean_ctor_set(x_248, 3, x_236);
|
||||
lean_ctor_set(x_248, 4, x_240);
|
||||
lean_ctor_set(x_248, 5, x_231);
|
||||
x_249 = l_Lean_Elab_Command_expandOptNamedName(x_225, x_248, x_244);
|
||||
x_249 = l_Lean_Elab_expandOptNamedName(x_225, x_248, x_244);
|
||||
lean_dec(x_248);
|
||||
lean_dec(x_225);
|
||||
if (lean_obj_tag(x_249) == 0)
|
||||
|
|
@ -55181,7 +55063,7 @@ lean_ctor_set(x_188, 2, x_174);
|
|||
lean_ctor_set(x_188, 3, x_176);
|
||||
lean_ctor_set(x_188, 4, x_180);
|
||||
lean_ctor_set(x_188, 5, x_171);
|
||||
x_189 = l_Lean_Elab_Command_expandOptNamedPrio(x_165, x_188, x_184);
|
||||
x_189 = l_Lean_Elab_expandOptNamedPrio(x_165, x_188, x_184);
|
||||
lean_dec(x_165);
|
||||
if (lean_obj_tag(x_189) == 0)
|
||||
{
|
||||
|
|
@ -56358,9 +56240,9 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro___closed__1);
|
|||
res = l___regBuiltin_Lean_Elab_Command_elabMacro(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30863____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30863____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30863____closed__1);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30863_(lean_io_mk_world());
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30709____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30709____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30709____closed__1);
|
||||
res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_30709_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Elab_Command_withExpectedType___closed__1 = _init_l_Lean_Elab_Command_withExpectedType___closed__1();
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Elab/SyntheticMVars.c
generated
10
stage0/stdlib/Lean/Elab/SyntheticMVars.c
generated
|
|
@ -147,7 +147,6 @@ lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_
|
|||
lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__2;
|
||||
extern lean_object* l_Lean_KernelException_toMessageData___closed__15;
|
||||
lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
lean_object* l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_liftTacticElabM(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingInstMVar___lambda__1___closed__1;
|
||||
|
|
@ -179,6 +178,7 @@ lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*
|
|||
lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_visit_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__4;
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___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_Std_Range_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -3369,7 +3369,7 @@ static lean_object* _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -3519,7 +3519,7 @@ x_28 = lean_ctor_get(x_27, 1);
|
|||
lean_inc(x_28);
|
||||
lean_dec(x_27);
|
||||
x_29 = l_List_reverse___rarg(x_16);
|
||||
x_30 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_30 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_4);
|
||||
x_31 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(x_1, x_2, x_30, x_29, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_28);
|
||||
|
|
@ -3732,7 +3732,7 @@ x_89 = lean_ctor_get(x_88, 1);
|
|||
lean_inc(x_89);
|
||||
lean_dec(x_88);
|
||||
x_90 = l_List_reverse___rarg(x_16);
|
||||
x_91 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_91 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_4);
|
||||
x_92 = l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1(x_1, x_2, x_91, x_90, x_86, x_3, x_4, x_5, x_6, x_7, x_8, x_89);
|
||||
|
|
@ -4026,7 +4026,7 @@ static lean_object* _init_l_Lean_Meta_commitWhenSome_x3f___at___private_Lean_Ela
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_Lean_Meta_SynthInstance_resume___closed__4;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
32
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
32
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
|
|
@ -155,7 +155,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_11900____closed__1;
|
|||
lean_object* l_Lean_Elab_Tactic_getCurrMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
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_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3770____closed__1;
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -171,6 +170,7 @@ lean_object* l_Lean_Elab_Tactic_evalRevert_match__1(lean_object*);
|
|||
lean_object* l_Lean_Elab_Tactic_evalClear_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_getFVarId___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_evalTactic_match__2(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773____closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_focus___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -334,7 +334,6 @@ lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSiz
|
|||
lean_object* l_Lean_Elab_Tactic_evalRevert_match__2___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
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_Elab_initFn____x40_Lean_Elab_Util___hyg_870____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;
|
||||
|
|
@ -382,6 +381,7 @@ lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_introStep___
|
|||
lean_object* l_Lean_Elab_goalsToMessageData(lean_object*);
|
||||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_getMainGoal___spec__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_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___boxed__const__1;
|
||||
lean_object* l_Lean_Elab_Tactic_getFVarIds___boxed__const__1;
|
||||
|
|
@ -481,7 +481,7 @@ lean_object* l_Lean_Elab_Tactic_focusAux___rarg(lean_object*, lean_object*, lean
|
|||
lean_object* l_Lean_Elab_Tactic_getFVarIds(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_evalTactic___lambda__1___closed__2;
|
||||
lean_object* l_Std_AssocList_find_x3f___at_Lean_Elab_Tactic_evalTactic___spec__6(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3770_(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773_(lean_object*);
|
||||
lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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*);
|
||||
lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -576,8 +576,8 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1;
|
|||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1;
|
||||
extern lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___closed__1;
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__2;
|
||||
lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__2;
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__2;
|
||||
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*);
|
||||
|
|
@ -3547,7 +3547,7 @@ if (x_32 == 0)
|
|||
{
|
||||
lean_object* x_33; uint8_t x_34;
|
||||
lean_free_object(x_24);
|
||||
x_33 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__2;
|
||||
x_33 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__2;
|
||||
x_34 = l_Lean_checkTraceOption(x_16, x_33);
|
||||
lean_dec(x_16);
|
||||
if (x_34 == 0)
|
||||
|
|
@ -3774,7 +3774,7 @@ if (x_94 == 0)
|
|||
{
|
||||
lean_object* x_95; uint8_t x_96;
|
||||
lean_free_object(x_24);
|
||||
x_95 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__2;
|
||||
x_95 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__2;
|
||||
x_96 = l_Lean_checkTraceOption(x_16, x_95);
|
||||
lean_dec(x_16);
|
||||
if (x_96 == 0)
|
||||
|
|
@ -4019,7 +4019,7 @@ lean_dec(x_156);
|
|||
if (x_158 == 0)
|
||||
{
|
||||
lean_object* x_159; uint8_t x_160;
|
||||
x_159 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__2;
|
||||
x_159 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__2;
|
||||
x_160 = l_Lean_checkTraceOption(x_16, x_159);
|
||||
lean_dec(x_16);
|
||||
if (x_160 == 0)
|
||||
|
|
@ -4290,7 +4290,7 @@ if (x_232 == 0)
|
|||
{
|
||||
lean_object* x_233; uint8_t x_234;
|
||||
lean_dec(x_219);
|
||||
x_233 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__2;
|
||||
x_233 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__2;
|
||||
x_234 = l_Lean_checkTraceOption(x_16, x_233);
|
||||
lean_dec(x_16);
|
||||
if (x_234 == 0)
|
||||
|
|
@ -4609,7 +4609,7 @@ if (x_316 == 0)
|
|||
{
|
||||
lean_object* x_317; uint8_t x_318;
|
||||
lean_dec(x_303);
|
||||
x_317 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__2;
|
||||
x_317 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__2;
|
||||
x_318 = l_Lean_checkTraceOption(x_285, x_317);
|
||||
lean_dec(x_285);
|
||||
if (x_318 == 0)
|
||||
|
|
@ -14870,21 +14870,21 @@ 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_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3770____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_Lean_Parser_Tactic_orelse___closed__4;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3770_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3770____closed__1;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773____closed__1;
|
||||
x_3 = l_Lean_registerTraceClass(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -15310,9 +15310,9 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalOrelse___closed__1);
|
|||
res = l___regBuiltin_Lean_Elab_Tactic_evalOrelse(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3770____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3770____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3770____closed__1);
|
||||
res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3770_(lean_io_mk_world());
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773____closed__1);
|
||||
res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773_(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));
|
||||
|
|
|
|||
18
stage0/stdlib/Lean/Elab/Tactic/Induction.c
generated
18
stage0/stdlib/Lean/Elab/Tactic/Induction.c
generated
|
|
@ -219,6 +219,7 @@ lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, le
|
|||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_addNewArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_map___at_Lean_resolveGlobalConstNoOverload___spec__1(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_evalCasesOn___closed__3;
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltCtorNames___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabTaggedTerm___lambda__1___closed__3;
|
||||
|
|
@ -336,7 +337,6 @@ lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, ui
|
|||
lean_object* l_Lean_Elab_Tactic_evalCases___lambda__2___closed__3;
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeVars___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltCtorNames___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_match__6___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -362,13 +362,13 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalInduction___spec__
|
|||
extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__6___lambda__1___closed__8;
|
||||
lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_match__6(lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalCasesUsing___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___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_ElimApp_mkElimApp_loop(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_evalCasesUsing___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___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_List_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecInfoDefault___spec__1___closed__1;
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getBindingName(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_4437____closed__1;
|
||||
|
|
@ -411,6 +411,7 @@ extern lean_object* l_Lean_resolveGlobalConstNoOverload___rarg___lambda__1___clo
|
|||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltsOfOptInductionAlts___spec__1___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_redLength___rarg(lean_object*);
|
||||
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_object* l_Lean_Meta_Cases_cases(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getRecInfo___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getSepArgs(lean_object*);
|
||||
|
|
@ -596,7 +597,6 @@ lean_object* l_Lean_Elab_Tactic_elabTargets___boxed__const__1;
|
|||
lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_match__11___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkConst(lean_object*, lean_object*);
|
||||
extern lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_elabTerm___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_Tactic_Induction_0__Lean_Elab_Tactic_processResult_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_match__3___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -705,7 +705,7 @@ uint8_t l_Lean_Elab_Tactic_isHoleRHS(lean_object* x_1) {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1;
|
||||
x_2 = l_Lean_Parser_Term_syntheticHole___elambda__1___closed__1;
|
||||
lean_inc(x_1);
|
||||
x_3 = l_Lean_Syntax_isOfKind(x_1, x_2);
|
||||
if (x_3 == 0)
|
||||
|
|
@ -5352,7 +5352,7 @@ lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean
|
|||
x_95 = lean_ctor_get(x_90, 1);
|
||||
lean_inc(x_95);
|
||||
lean_dec(x_90);
|
||||
x_96 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
x_96 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
x_97 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__3(x_96, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_95);
|
||||
x_98 = lean_ctor_get(x_97, 0);
|
||||
lean_inc(x_98);
|
||||
|
|
@ -5412,7 +5412,7 @@ x_71 = l_Lean_KernelException_toMessageData___closed__15;
|
|||
x_72 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_72, 0, x_70);
|
||||
lean_ctor_set(x_72, 1, x_71);
|
||||
x_73 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
x_73 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
x_74 = l_Lean_addTrace___at_Lean_Elab_Tactic_ElimApp_evalAlts___spec__2(x_73, x_72, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_61);
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_18);
|
||||
|
|
@ -7766,7 +7766,7 @@ static lean_object* _init_l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Ta
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_Lean_Parser_Tactic_induction___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -9068,7 +9068,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tact
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_checkAltCtorNames___spec__4___closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -17390,7 +17390,7 @@ static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Indu
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_Lean_Parser_Tactic_cases___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Tactic/Match.c
generated
4
stage0/stdlib/Lean/Elab/Tactic/Match.c
generated
|
|
@ -51,6 +51,7 @@ uint8_t l_USize_decLt(size_t, size_t);
|
|||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___closed__2;
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalMatch___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1___closed__1;
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -94,7 +95,6 @@ extern lean_object* l_Lean_mkOptionalNode___closed__2;
|
|||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3___rarg(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1;
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_AuxMatchTermState_nextIdx___default() {
|
||||
_start:
|
||||
|
|
@ -203,7 +203,7 @@ x_27 = l_myMacro____x40_Init_Notation___hyg_11900____closed__10;
|
|||
x_28 = l_Lean_Syntax_setKind(x_26, x_27);
|
||||
x_29 = lean_unsigned_to_nat(3u);
|
||||
x_30 = l_Lean_Syntax_getArg(x_28, x_29);
|
||||
x_31 = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1;
|
||||
x_31 = l_Lean_Parser_Term_syntheticHole___elambda__1___closed__1;
|
||||
lean_inc(x_30);
|
||||
x_32 = l_Lean_Syntax_isOfKind(x_30, x_31);
|
||||
if (x_32 == 0)
|
||||
|
|
|
|||
431
stage0/stdlib/Lean/Elab/Term.c
generated
431
stage0/stdlib/Lean/Elab/Term.c
generated
File diff suppressed because it is too large
Load diff
214
stage0/stdlib/Lean/Elab/Util.c
generated
214
stage0/stdlib/Lean/Elab/Util.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Elab.Util
|
||||
// Imports: Init Lean.Util.Trace Lean.Parser.Extension Lean.KeyedDeclsAttribute Lean.Elab.Exception
|
||||
// Imports: Init Lean.Util.Trace Lean.Parser.Syntax Lean.Parser.Extension Lean.KeyedDeclsAttribute Lean.Elab.Exception
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -16,15 +16,17 @@ extern "C" {
|
|||
lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KVMap_setBool(lean_object*, lean_object*, uint8_t);
|
||||
lean_object* l_Lean_Elab_expandOptNamedName(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Attribute_Builtin_getId___closed__1;
|
||||
uint8_t l_Lean_Elab_ppMacroStackDefault;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Elab_getBetterRef___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_expandOptNamedPrio(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_mkElabAttribute___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_mkMacroAttribute(lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Elab_getBetterRef___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Elab_getMacros___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__7;
|
||||
lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -36,6 +38,7 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
|||
extern lean_object* l_Lean_MessageData_ofList___closed__3;
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
lean_object* l_Lean_Elab_setMacroStackOption___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_namedPrio___elambda__1___closed__2;
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Elab_getMacros___spec__5___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__3;
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Elab_getMacros___spec__5(lean_object*, lean_object*);
|
||||
|
|
@ -54,11 +57,11 @@ lean_object* l_Lean_Elab_mkElabAttribute___rarg___closed__1;
|
|||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__2;
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__2;
|
||||
lean_object* l_Lean_Elab_instMonadMacroAdapter___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
size_t l_USize_shiftRight(size_t, size_t);
|
||||
lean_object* l_Lean_Elab_getMacroStackOption___closed__2;
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__1;
|
||||
lean_object* l_Lean_Elab_expandOptNamedName___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_addMacroStack___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_mkAttributeImplOfConstant___closed__1;
|
||||
|
|
@ -79,6 +82,7 @@ uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t);
|
|||
lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_liftMacroM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__3;
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1___closed__3;
|
||||
lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -90,11 +94,12 @@ lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux(lean_object*, lean_o
|
|||
lean_object* l_Lean_Elab_instMonadMacroAdapter(lean_object*, lean_object*);
|
||||
size_t l_Lean_Name_hash(lean_object*);
|
||||
lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_447_(lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136_(lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870_(lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024_(lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290_(lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_601_(lean_object*);
|
||||
lean_object* l_Lean_Elab_getMacros(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_IO_instInhabitedError___closed__1;
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
lean_object* l_Lean_Syntax_prettyPrint(lean_object*);
|
||||
lean_object* l_Lean_Elab_mkUnusedBaseName_loop(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Environment_contains(lean_object*, lean_object*);
|
||||
|
|
@ -106,7 +111,6 @@ lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__4(lean_object*, lean_object
|
|||
lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__1;
|
||||
lean_object* l_Lean_Elab_instMonadMacroAdapter___rarg(lean_object*, lean_object*);
|
||||
size_t lean_usize_modn(size_t, lean_object*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Elab_getBetterRef___spec__1(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedKeyedDeclsAttribute___closed__1;
|
||||
lean_object* l_Lean_Elab_mkUnusedBaseName___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_addMacroStack(lean_object*);
|
||||
|
|
@ -117,7 +121,6 @@ lean_object* l_Lean_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*
|
|||
lean_object* l_Lean_Elab_liftMacroM(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Elab_getMacros___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
lean_object* l_Lean_Elab_getBetterRef___lambda__1___boxed(lean_object*);
|
||||
lean_object* l_Lean_Syntax_prettyPrint_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns_match__1(lean_object*);
|
||||
|
|
@ -125,6 +128,7 @@ extern lean_object* l_Lean_KernelException_toMessageData___closed__3;
|
|||
lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___closed__1;
|
||||
size_t l_USize_land(size_t, size_t);
|
||||
lean_object* l_Lean_Environment_evalConstCheck___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Elab_addMacroStack___rarg___lambda__1___closed__3;
|
||||
lean_object* l_Lean_Elab_setMacroStackOption(lean_object*, uint8_t);
|
||||
lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(lean_object*);
|
||||
|
|
@ -133,8 +137,8 @@ lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam___closed__1;
|
|||
lean_object* l_ReaderT_instMonadReaderT___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_getBetterRef_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
lean_object* l_List_foldl___at_Lean_Elab_addMacroStack___spec__1___closed__1;
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__3;
|
||||
lean_object* l_List_find_x3f___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_addMacroStack_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_getMacros___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -166,12 +170,15 @@ lean_object* l_Lean_Syntax_getPos(lean_object*);
|
|||
lean_object* l_Lean_Elab_getBetterRef___closed__1;
|
||||
lean_object* l_Lean_Elab_getBetterRef___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_List_foldl___at_Lean_MacroScopesView_review___spec__1(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespacesAux_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_getBetterRef_match__1(lean_object*);
|
||||
extern size_t l_Std_PersistentHashMap_insertAux___rarg___closed__2;
|
||||
lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_getMacroStackOption___boxed(lean_object*);
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_expandOptNamedPrio___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_getMacroStackOption___closed__1;
|
||||
lean_object* l_Lean_Elab_checkSyntaxNodeKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_indentD(lean_object*);
|
||||
|
|
@ -179,6 +186,8 @@ lean_object* l_Lean_Elab_getMacros_match__1(lean_object*);
|
|||
lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__4(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_checkSyntaxNodeKind___closed__3;
|
||||
lean_object* l_Lean_Elab_checkSyntaxNodeKind(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Elab_getBetterRef___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_getBetterRef_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__2;
|
||||
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -188,13 +197,15 @@ lean_object* l_Lean_KeyedDeclsAttribute_init___rarg(lean_object*, lean_object*,
|
|||
lean_object* lean_usize_to_nat(size_t);
|
||||
lean_object* l_Lean_Elab_liftMacroM___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* l_Lean_Elab_addMacroStack___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__1;
|
||||
lean_object* l_Lean_Elab_addMacroStack___rarg___lambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_addMacroStack___rarg___lambda__1___closed__2;
|
||||
uint8_t l_Lean_Elab_getMacroStackOption(lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__2;
|
||||
lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacroFns_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_liftMacroM_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__2;
|
||||
lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_evalPrio(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__4;
|
||||
lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__8;
|
||||
lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
|
|
@ -331,6 +342,121 @@ lean_dec(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_expandOptNamedPrio(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = l_Lean_Syntax_isNone(x_1);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8;
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
|
||||
x_7 = l_Lean_Parser_Command_namedPrio___elambda__1___closed__2;
|
||||
lean_inc(x_6);
|
||||
x_8 = l_Lean_Syntax_isOfKind(x_6, x_7);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_2);
|
||||
x_9 = lean_box(1);
|
||||
x_10 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_10, 0, x_9);
|
||||
lean_ctor_set(x_10, 1, x_3);
|
||||
return x_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_11 = lean_unsigned_to_nat(3u);
|
||||
x_12 = l_Lean_Syntax_getArg(x_6, x_11);
|
||||
lean_dec(x_6);
|
||||
x_13 = l_Lean_evalPrio(x_12, x_2, x_3);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
lean_dec(x_2);
|
||||
x_14 = lean_unsigned_to_nat(1000u);
|
||||
x_15 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_3);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_expandOptNamedPrio___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Elab_expandOptNamedPrio(x_1, x_2, x_3);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_expandOptNamedName(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = l_Lean_Syntax_isNone(x_1);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8;
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
|
||||
x_7 = l_Lean_Parser_Command_namedName___elambda__1___closed__2;
|
||||
lean_inc(x_6);
|
||||
x_8 = l_Lean_Syntax_isOfKind(x_6, x_7);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
lean_dec(x_6);
|
||||
x_9 = lean_box(1);
|
||||
x_10 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_10, 0, x_9);
|
||||
lean_ctor_set(x_10, 1, x_3);
|
||||
return x_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
x_11 = lean_unsigned_to_nat(3u);
|
||||
x_12 = l_Lean_Syntax_getArg(x_6, x_11);
|
||||
lean_dec(x_6);
|
||||
x_13 = l_Lean_Syntax_getId(x_12);
|
||||
lean_dec(x_12);
|
||||
x_14 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_14, 0, x_13);
|
||||
x_15 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_3);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17;
|
||||
x_16 = lean_box(0);
|
||||
x_17 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_16);
|
||||
lean_ctor_set(x_17, 1, x_3);
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_expandOptNamedName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Elab_expandOptNamedName(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_getBetterRef_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -393,7 +519,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_getBetterRef_match__2___rarg), 3, 0
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Elab_getBetterRef___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Elab_getBetterRef___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
|
|
@ -437,7 +563,7 @@ lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
|||
x_2 = lean_ctor_get(x_1, 0);
|
||||
x_3 = l_Lean_Syntax_getPos(x_2);
|
||||
x_4 = lean_box(0);
|
||||
x_5 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Elab_getBetterRef___spec__1(x_3, x_4);
|
||||
x_5 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Elab_getBetterRef___spec__1(x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
|
|
@ -497,11 +623,11 @@ return x_1;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Elab_getBetterRef___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Elab_getBetterRef___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Elab_getBetterRef___spec__1(x_1, x_2);
|
||||
x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Elab_getBetterRef___spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -592,7 +718,7 @@ x_4 = l_Lean_Elab_setMacroStackOption(x_1, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__1() {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_1; lean_object* x_2;
|
||||
|
|
@ -602,7 +728,7 @@ lean_ctor_set_uint8(x_2, 0, x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -610,13 +736,13 @@ x_1 = lean_mk_string("dispaly macro expansion stack");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__3() {
|
||||
static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__1;
|
||||
x_2 = l_Lean_getSanitizeNames___closed__1;
|
||||
x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__2;
|
||||
x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____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);
|
||||
|
|
@ -624,12 +750,12 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_Elab_getMacroStackOption___closed__2;
|
||||
x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__3;
|
||||
x_3 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__3;
|
||||
x_4 = lean_register_option(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -1399,7 +1525,7 @@ lean_ctor_set(x_3, 1, x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_447_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_601_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
|
|
@ -2696,7 +2822,7 @@ lean_dec(x_1);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -2706,21 +2832,21 @@ x_3 = lean_name_mk_string(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_2 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_823____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1;
|
||||
x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1;
|
||||
x_3 = l_Lean_registerTraceClass(x_2, x_1);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
|
|
@ -2728,7 +2854,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
|||
x_4 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_3);
|
||||
x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__2;
|
||||
x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__2;
|
||||
x_6 = l_Lean_registerTraceClass(x_5, x_4);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -2758,6 +2884,7 @@ return x_10;
|
|||
}
|
||||
lean_object* initialize_Init(lean_object*);
|
||||
lean_object* initialize_Lean_Util_Trace(lean_object*);
|
||||
lean_object* initialize_Lean_Parser_Syntax(lean_object*);
|
||||
lean_object* initialize_Lean_Parser_Extension(lean_object*);
|
||||
lean_object* initialize_Lean_KeyedDeclsAttribute(lean_object*);
|
||||
lean_object* initialize_Lean_Elab_Exception(lean_object*);
|
||||
|
|
@ -2772,6 +2899,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Util_Trace(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Parser_Syntax(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Parser_Extension(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
@ -2788,13 +2918,13 @@ l_Lean_Elab_getMacroStackOption___closed__1 = _init_l_Lean_Elab_getMacroStackOpt
|
|||
lean_mark_persistent(l_Lean_Elab_getMacroStackOption___closed__1);
|
||||
l_Lean_Elab_getMacroStackOption___closed__2 = _init_l_Lean_Elab_getMacroStackOption___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_getMacroStackOption___closed__2);
|
||||
l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__1);
|
||||
l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__2);
|
||||
l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136____closed__3);
|
||||
res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_136_(lean_io_mk_world());
|
||||
l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__1);
|
||||
l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__2);
|
||||
l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290____closed__3);
|
||||
res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_290_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_List_foldl___at_Lean_Elab_addMacroStack___spec__1___closed__1 = _init_l_List_foldl___at_Lean_Elab_addMacroStack___spec__1___closed__1();
|
||||
|
|
@ -2841,16 +2971,16 @@ l_Lean_Elab_mkMacroAttributeUnsafe___closed__8 = _init_l_Lean_Elab_mkMacroAttrib
|
|||
lean_mark_persistent(l_Lean_Elab_mkMacroAttributeUnsafe___closed__8);
|
||||
l_Lean_Elab_mkMacroAttributeUnsafe___closed__9 = _init_l_Lean_Elab_mkMacroAttributeUnsafe___closed__9();
|
||||
lean_mark_persistent(l_Lean_Elab_mkMacroAttributeUnsafe___closed__9);
|
||||
res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_447_(lean_io_mk_world());
|
||||
res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_601_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Elab_macroAttribute = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Elab_macroAttribute);
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__1);
|
||||
l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870____closed__2);
|
||||
res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_870_(lean_io_mk_world());
|
||||
l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__1);
|
||||
l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024____closed__2);
|
||||
res = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1024_(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));
|
||||
|
|
|
|||
104
stage0/stdlib/Lean/Environment.c
generated
104
stage0/stdlib/Lean/Environment.c
generated
|
|
@ -23,6 +23,7 @@ extern lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__8
|
|||
lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__2(lean_object*);
|
||||
lean_object* l___private_Lean_Environment_0__Lean_Environment_isNamespaceName___boxed(lean_object*);
|
||||
size_t l_USize_add(size_t, size_t);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__5;
|
||||
lean_object* l_Lean_Environment_isNamespace___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_insert___at_Lean_importModules___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_EnvExtensionInterfaceImp___elambda__6___rarg(lean_object*);
|
||||
|
|
@ -90,7 +91,6 @@ lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkTagDeclarat
|
|||
lean_object* l___private_Lean_Environment_0__Lean_Environment_throwUnexpectedType(lean_object*);
|
||||
lean_object* l_Lean_importModulesAux_match__3(lean_object*);
|
||||
lean_object* l_Lean_importModulesAux(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__2(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* lean_environment_set_main_module(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Environment_0__Lean_Environment_isQuotInit___boxed(lean_object*);
|
||||
|
|
@ -100,6 +100,7 @@ size_t l_USize_sub(size_t, size_t);
|
|||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Environment_0__Lean_setImportedEntries___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
lean_object* l_Lean_registerSimplePersistentEnvExtension_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__3;
|
||||
lean_object* lean_environment_find(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_evalConstCheck_match__1(lean_object*);
|
||||
lean_object* l_Lean_instInhabitedEnvironment___closed__4;
|
||||
|
|
@ -122,7 +123,6 @@ lean_object* l_Lean_EnvExtension_getState___rarg(lean_object*, lean_object*);
|
|||
lean_object* l_Array_binSearchAux___at_Lean_TagDeclarationExtension_isTagged___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_hasUnsafe_match__2(lean_object*);
|
||||
lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_registerSimplePersistentEnvExtension___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Environment_0__Lean_getEntriesFor(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -131,6 +131,7 @@ lean_object* l_Lean_EnvExtension_getState(lean_object*);
|
|||
lean_object* l_Lean_SimplePersistentEnvExtension_modifyState_match__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_EnvExtensionInterfaceUnsafe_setState___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__2;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__7(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_importModules_match__2(lean_object*);
|
||||
lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__4___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -162,14 +163,12 @@ lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4(lean
|
|||
lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Environment_find_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_importModules_match__4___rarg(lean_object*, lean_object*);
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__1;
|
||||
lean_object* l_Lean_SimplePersistentEnvExtension_modifyState(lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_contains___at_Lean_importModules___spec__3___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Nat_foldAux___at_Lean_mkModuleData___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___lambda__1___closed__3;
|
||||
lean_object* l_Lean_findOLean(lean_object*, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_registerSimplePersistentEnvExtension___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__2;
|
||||
lean_object* l_Lean_namespacesExt___elambda__4___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_TagDeclarationExtension_instInhabitedTagDeclarationExtension;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
|
|
@ -183,6 +182,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec
|
|||
lean_object* l_Lean_TagDeclarationExtension_isTagged_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Environment_0__Lean_setImportedEntries___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_EnvExtensionInterfaceImp___closed__4;
|
||||
lean_object* l_Lean_PersistentEnvExtension_setState(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_containsAux___at_Lean_Environment_contains___spec__4___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -195,9 +195,7 @@ lean_object* l_Lean_instInhabitedEnvironment___closed__3;
|
|||
lean_object* l_Lean_EnvironmentHeader_moduleNames___default;
|
||||
uint8_t l_Lean_Environment_isConstructor(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_displayStats___closed__7;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__5;
|
||||
lean_object* l_Lean_importModules_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_Environment___hyg_1020____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_displayStats___closed__5;
|
||||
lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_mkModuleData___spec__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -219,13 +217,13 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec
|
|||
lean_object* l_Lean_SimplePersistentEnvExtension_modifyState_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_SimplePersistentEnvExtension_setState_match__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Nat_foldAux___at_Lean_mkModuleData___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__3;
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_PersistentHashMap_insertAux___rarg___closed__3;
|
||||
lean_object* l_Lean_Environment_getModuleIdxFor_x3f___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState(lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4;
|
||||
lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__3(lean_object*);
|
||||
lean_object* l_Array_qpartition_loop___at_Lean_mkTagDeclarationExtension___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_environment_quot_init(lean_object*);
|
||||
|
|
@ -259,6 +257,7 @@ lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
|||
lean_object* l_Std_mkHashMapImp___rarg(lean_object*);
|
||||
lean_object* l_Lean_instInhabitedPersistentEnvExtension___closed__4;
|
||||
lean_object* l_Lean_PersistentEnvExtension_addEntry(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_mkModuleData___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_importModules_match__2___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_List_toStringAux___at_Lean_Environment_displayStats___spec__2___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -269,7 +268,6 @@ lean_object* l_Lean_ConstantInfo_name(lean_object*);
|
|||
lean_object* l_Lean_TagDeclarationExtension_isTagged_match__1(lean_object*);
|
||||
uint8_t l___private_Lean_Environment_0__Lean_Environment_isNamespaceName(lean_object*);
|
||||
lean_object* l_Lean_instInhabitedPersistentEnvExtension___closed__1;
|
||||
lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instInhabitedPersistentEnvExtension___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t l_Lean_Name_hash(lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Environment_0__Lean_setImportedEntries___spec__1___lambda__1(lean_object*, lean_object*);
|
||||
|
|
@ -284,10 +282,12 @@ extern lean_object* l_IO_instInhabitedError___closed__1;
|
|||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_SimplePersistentEnvExtension_getEntries___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__1(lean_object*);
|
||||
lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_Environment___hyg_1023____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_importModules___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerPersistentEnvExtension(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_displayStats___closed__3;
|
||||
lean_object* l_Lean_mkEmptyEnvironment___closed__2;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__1;
|
||||
lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_format_pretty(lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_importModules___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
|
|
@ -309,6 +309,7 @@ uint8_t l_Lean_Environment_contains(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_SMap_switch___at_Lean_importModules___spec__10(lean_object*);
|
||||
lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__3___boxed(lean_object*);
|
||||
uint32_t lean_environment_trust_level(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__3(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_qsort_sort___at_Lean_mkTagDeclarationExtension___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -397,7 +398,6 @@ lean_object* l_Lean_EnvExtensionInterfaceUnsafe_setState___rarg(lean_object*, le
|
|||
lean_object* lean_io_file_exists(lean_object*, lean_object*);
|
||||
lean_object* lean_mk_empty_environment(uint32_t, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Environment_addAux___spec__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__3(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_import_modules(lean_object*, lean_object*, uint32_t, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Environment_getModuleIdxFor_x3f___spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -411,6 +411,7 @@ lean_object* l_Lean_importModules_match__3(lean_object*);
|
|||
lean_object* l_Std_HashMap_numBuckets___at_Lean_Environment_displayStats___spec__6(lean_object*);
|
||||
lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___closed__4;
|
||||
lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__3(lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_EnvExtensionInterfaceImp___elambda__3(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_EnvExtensionInterfaceUnsafe_mkInitialExtStates___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -477,12 +478,11 @@ lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__5(lean_object*, l
|
|||
lean_object* l_List_toString___at_Lean_Environment_displayStats___spec__1(lean_object*);
|
||||
lean_object* l_Lean_SimplePersistentEnvExtension_setState___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_header___default___closed__1;
|
||||
lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentEnvExtensionDescr_statsFn___default(lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_1020_(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2528_(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_1023_(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2531_(lean_object*);
|
||||
lean_object* l_Lean_instInhabitedPersistentEnvExtensionState___rarg(lean_object*);
|
||||
lean_object* l___private_Lean_Environment_0__Lean_getEntriesFor___closed__1;
|
||||
lean_object* l_Lean_EnvExtension_modifyState___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -520,6 +520,7 @@ lean_object* lean_mk_array(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_EnvExtensionInterfaceImp___closed__7;
|
||||
lean_object* l_Lean_instInhabitedPersistentEnvExtensionState(lean_object*, lean_object*);
|
||||
extern size_t l_Std_PersistentHashMap_insertAux___rarg___closed__2;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__2(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Environment_getNamespaceSet___boxed(lean_object*);
|
||||
lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_find_x3f___at_Lean_Environment_getModuleIdxFor_x3f___spec__2(lean_object*, lean_object*);
|
||||
|
|
@ -573,6 +574,7 @@ lean_object* l_Lean_importModules_match__5(lean_object*);
|
|||
uint8_t l_Std_HashMapImp_contains___at_Lean_Environment_contains___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_EnvExtensionInterfaceImp___closed__1;
|
||||
lean_object* l_Lean_SMap_insert___at_Lean_Environment_addAux___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_contains___at_Lean_Environment_addAux___spec__7___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_usize_to_nat(size_t);
|
||||
lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_mkModuleData___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -587,13 +589,11 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec
|
|||
lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_contains___at_Lean_Environment_contains___spec__3___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Environment_addAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_importModules_match__4(lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Environment_find_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkTagDeclarationExtension___lambda__3(lean_object*);
|
||||
lean_object* l_Lean_registerPersistentEnvExtension___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___closed__6;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_registerPersistentEnvExtensionUnsafe___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Id_instMonadId___closed__4;
|
||||
lean_object* lean_uint32_to_nat(uint32_t);
|
||||
|
|
@ -4729,7 +4729,7 @@ lean_dec(x_1);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_Environment___hyg_1020____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_Environment___hyg_1023____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; uint8_t x_4;
|
||||
|
|
@ -4754,12 +4754,12 @@ return x_7;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_1020_(lean_object* x_1) {
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_1023_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Array_empty___closed__1;
|
||||
x_3 = l_IO_mkRef___at_Lean_initFn____x40_Lean_Environment___hyg_1020____spec__1(x_2, x_1);
|
||||
x_3 = l_IO_mkRef___at_Lean_initFn____x40_Lean_Environment___hyg_1023____spec__1(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
@ -10118,7 +10118,7 @@ x_7 = l_Lean_withImportModules___rarg(x_1, x_2, x_6, x_4, x_5);
|
|||
return x_7;
|
||||
}
|
||||
}
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
|
|
@ -10141,7 +10141,7 @@ return x_4;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
|
|
@ -10179,7 +10179,7 @@ size_t x_15; size_t x_16; lean_object* x_17;
|
|||
x_15 = 0;
|
||||
x_16 = lean_usize_of_nat(x_7);
|
||||
lean_dec(x_7);
|
||||
x_17 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__2(x_6, x_15, x_16, x_4);
|
||||
x_17 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__2(x_6, x_15, x_16, x_4);
|
||||
lean_dec(x_6);
|
||||
x_2 = x_11;
|
||||
x_4 = x_17;
|
||||
|
|
@ -10193,7 +10193,7 @@ return x_4;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -10220,13 +10220,13 @@ size_t x_7; size_t x_8; lean_object* x_9;
|
|||
x_7 = 0;
|
||||
x_8 = lean_usize_of_nat(x_3);
|
||||
lean_dec(x_3);
|
||||
x_9 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__3(x_2, x_7, x_8, x_1);
|
||||
x_9 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__3(x_2, x_7, x_8, x_1);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -10234,27 +10234,27 @@ x_1 = lean_mk_string("namespaces");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__3() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_NameSet_empty;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__1___boxed), 2, 1);
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__1___boxed), 2, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -10263,14 +10263,14 @@ lean_closure_set(x_1, 0, lean_box(0));
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__5() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__2;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__2;
|
||||
x_2 = l_Lean_mkTagDeclarationExtension___closed__1;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__3;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__3;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4;
|
||||
x_5 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
|
|
@ -10279,16 +10279,16 @@ lean_ctor_set(x_5, 3, x_4);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2528_(lean_object* x_1) {
|
||||
lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2531_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__5;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__5;
|
||||
x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkTagDeclarationExtension___spec__3(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; size_t x_6; lean_object* x_7;
|
||||
|
|
@ -10296,12 +10296,12 @@ x_5 = lean_unbox_usize(x_2);
|
|||
lean_dec(x_2);
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__2(x_1, x_5, x_6, x_4);
|
||||
x_7 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__2(x_1, x_5, x_6, x_4);
|
||||
lean_dec(x_1);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; size_t x_6; lean_object* x_7;
|
||||
|
|
@ -10309,16 +10309,16 @@ x_5 = lean_unbox_usize(x_2);
|
|||
lean_dec(x_2);
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__3(x_1, x_5, x_6, x_4);
|
||||
x_7 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__3(x_1, x_5, x_6, x_4);
|
||||
lean_dec(x_1);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_2528____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_2531____spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -12366,7 +12366,7 @@ l_Lean_instInhabitedPersistentEnvExtension___closed__4 = _init_l_Lean_instInhabi
|
|||
lean_mark_persistent(l_Lean_instInhabitedPersistentEnvExtension___closed__4);
|
||||
l_Lean_instInhabitedPersistentEnvExtension___closed__5 = _init_l_Lean_instInhabitedPersistentEnvExtension___closed__5();
|
||||
lean_mark_persistent(l_Lean_instInhabitedPersistentEnvExtension___closed__5);
|
||||
res = l_Lean_initFn____x40_Lean_Environment___hyg_1020_(lean_io_mk_world());
|
||||
res = l_Lean_initFn____x40_Lean_Environment___hyg_1023_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_persistentEnvExtensionsRef = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_persistentEnvExtensionsRef);
|
||||
|
|
@ -12425,16 +12425,16 @@ l_Lean_importModules___closed__2 = _init_l_Lean_importModules___closed__2();
|
|||
lean_mark_persistent(l_Lean_importModules___closed__2);
|
||||
l_Lean_importModules___closed__3 = _init_l_Lean_importModules___closed__3();
|
||||
lean_mark_persistent(l_Lean_importModules___closed__3);
|
||||
l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__1 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__2 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__3 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__3);
|
||||
l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4);
|
||||
l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__5 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__5);
|
||||
l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__1 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__2 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__3 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__3);
|
||||
l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4);
|
||||
l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__5 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__5);
|
||||
l_Lean_namespacesExt___closed__1 = _init_l_Lean_namespacesExt___closed__1();
|
||||
lean_mark_persistent(l_Lean_namespacesExt___closed__1);
|
||||
l_Lean_namespacesExt___closed__2 = _init_l_Lean_namespacesExt___closed__2();
|
||||
|
|
@ -12445,7 +12445,7 @@ l_Lean_namespacesExt___closed__4 = _init_l_Lean_namespacesExt___closed__4();
|
|||
lean_mark_persistent(l_Lean_namespacesExt___closed__4);
|
||||
l_Lean_namespacesExt___closed__5 = _init_l_Lean_namespacesExt___closed__5();
|
||||
lean_mark_persistent(l_Lean_namespacesExt___closed__5);
|
||||
res = l_Lean_initFn____x40_Lean_Environment___hyg_2528_(lean_io_mk_world());
|
||||
res = l_Lean_initFn____x40_Lean_Environment___hyg_2531_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_namespacesExt = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_namespacesExt);
|
||||
|
|
|
|||
196
stage0/stdlib/Lean/Exception.c
generated
196
stage0/stdlib/Lean/Exception.c
generated
|
|
@ -14,12 +14,12 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
lean_object* l_Lean_InternalExceptionId_toString(lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__3;
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
extern lean_object* l_Lean_termM_x21_____closed__2;
|
||||
lean_object* l_Lean_termThrowError_x21_______closed__2;
|
||||
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_myMacro____x40_Lean_Exception___hyg_845____closed__1;
|
||||
lean_object* l_Lean_instMonadRecDepthReaderT___rarg___lambda__2(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__2;
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
|
|
@ -27,21 +27,20 @@ lean_object* l_Lean_withIncRecDepth___rarg___lambda__3(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* l_Lean_withIncRecDepth___rarg___lambda__2___closed__1;
|
||||
lean_object* l_Lean_throwError_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__3;
|
||||
lean_object* l_Lean_withRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_maxRecDepthErrorMessage;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__3;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__3;
|
||||
lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_termThrowError_x21_______closed__6;
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
lean_object* l_Lean_instMonadRecDepthReaderT___rarg___lambda__3(lean_object*, lean_object*);
|
||||
lean_object* l_StateRefT_x27_run___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__7;
|
||||
lean_object* l_Lean_throwUnknownConstant___rarg(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_interpolatedStrKind;
|
||||
lean_object* l_Lean_throwKernelException(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__7;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_1989____closed__4;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_1192____closed__8;
|
||||
lean_object* l_Lean_instMonadRecDepthStateRefT_x27(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -55,7 +54,7 @@ lean_object* l_Lean_instMonadRecDepthReaderT___rarg___lambda__1(lean_object*, le
|
|||
lean_object* l_Lean_instMonadRecDepthReaderT___rarg___lambda__2___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_termPrintln_x21_______closed__5;
|
||||
lean_object* l_Lean_instMonadRecDepthMonadCacheT___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__2;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__2;
|
||||
extern lean_object* l_Lean_Parser_Tactic_intro___closed__12;
|
||||
lean_object* l_Lean_Exception_toMessageData_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_withIncRecDepth___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -69,17 +68,16 @@ lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_instAddErrorMessageContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ofExcept_match__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instAddErrorMessageContext(lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__4;
|
||||
lean_object* l_Lean_instMonadError___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_termThrowError_x21_______closed__1;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__1;
|
||||
extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__1;
|
||||
lean_object* l_Lean_termThrowErrorAt_x21_________closed__7;
|
||||
lean_object* l_Lean_instMonadRecDepthReaderT___rarg(lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__4;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__5;
|
||||
lean_object* l_Lean_instMonadError(lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__5;
|
||||
lean_object* l_Lean_throwError_match__1(lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__2;
|
||||
lean_object* l_Lean_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instMonadRecDepthReaderT(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Exception_toMessageData_match__1(lean_object*);
|
||||
|
|
@ -93,22 +91,23 @@ lean_object* l_Lean_throwError___rarg___lambda__1(lean_object*, lean_object*);
|
|||
extern lean_object* l_Lean_nullKind___closed__2;
|
||||
lean_object* l_Lean_termThrowErrorAt_x21______;
|
||||
lean_object* l_Lean_termThrowErrorAt_x21_________closed__3;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__2;
|
||||
lean_object* l_Lean_throwError(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instInhabitedException;
|
||||
lean_object* l_Lean_withIncRecDepth(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__6;
|
||||
lean_object* l_Lean_Syntax_getKind(lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__6;
|
||||
lean_object* l_Lean_throwKernelException___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___rarg___lambda__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_termThrowErrorAt_x21_________closed__6;
|
||||
lean_object* l_Lean_Exception_getRef(lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__5;
|
||||
lean_object* l_Lean_termThrowError_x21_______closed__5;
|
||||
lean_object* l_Lean_withIncRecDepth___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedMessageData___closed__1;
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__5;
|
||||
lean_object* l_Lean_throwUnknownConstant(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_termM_x21_____closed__3;
|
||||
extern lean_object* l_prec_x28___x29___closed__7;
|
||||
|
|
@ -119,19 +118,20 @@ extern lean_object* l_prec_x28___x29___closed__3;
|
|||
lean_object* l_Lean_termThrowErrorAt_x21_________closed__2;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_termThrowError_x21_______closed__3;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__7;
|
||||
lean_object* l_Lean_ofExcept(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__6;
|
||||
lean_object* l_Lean_instMonadRecDepthReaderT___rarg___lambda__3___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__1;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__4;
|
||||
lean_object* l_Lean_mkConst(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_845_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_627_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__7;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_847_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_629_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_termThrowErrorAt_x21_________closed__1;
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__6;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_11370____closed__8;
|
||||
lean_object* l_Lean_instMonadRecDepthStateRefT_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Exception_toMessageData(lean_object*);
|
||||
lean_object* l_Lean_ofExcept_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__4;
|
||||
lean_object* l_Lean_ofExcept___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_withIncRecDepth___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_termThrowErrorAt_x21_________closed__4;
|
||||
|
|
@ -1028,7 +1028,7 @@ x_1 = l_Lean_termThrowErrorAt_x21_________closed__7;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__1() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1036,22 +1036,22 @@ x_1 = lean_mk_string("throwError");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__2() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__1;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__1;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__3() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__1;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__1;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__2;
|
||||
x_3 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____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);
|
||||
|
|
@ -1059,51 +1059,51 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__4() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__1;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__5() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Syntax_addPrec___closed__2;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__1;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__6() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__5;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__5;
|
||||
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;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__7() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__6;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__6;
|
||||
x_3 = lean_alloc_ctor(1, 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_myMacro____x40_Lean_Exception___hyg_627_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_629_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -1147,11 +1147,11 @@ lean_inc(x_16);
|
|||
x_17 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_2);
|
||||
x_18 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__4;
|
||||
x_18 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__4;
|
||||
x_19 = l_Lean_addMacroScope(x_17, x_18, x_16);
|
||||
x_20 = l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
x_21 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__3;
|
||||
x_22 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__7;
|
||||
x_21 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__3;
|
||||
x_22 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__7;
|
||||
x_23 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_23, 0, x_20);
|
||||
lean_ctor_set(x_23, 1, x_21);
|
||||
|
|
@ -1183,11 +1183,11 @@ lean_inc(x_33);
|
|||
x_34 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_2);
|
||||
x_35 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__4;
|
||||
x_35 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__4;
|
||||
x_36 = l_Lean_addMacroScope(x_34, x_35, x_33);
|
||||
x_37 = l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
x_38 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__3;
|
||||
x_39 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__7;
|
||||
x_38 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__3;
|
||||
x_39 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__7;
|
||||
x_40 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_40, 0, x_37);
|
||||
lean_ctor_set(x_40, 1, x_38);
|
||||
|
|
@ -1225,11 +1225,11 @@ lean_inc(x_53);
|
|||
x_54 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_54);
|
||||
lean_dec(x_2);
|
||||
x_55 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__4;
|
||||
x_55 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__4;
|
||||
x_56 = l_Lean_addMacroScope(x_54, x_55, x_53);
|
||||
x_57 = l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
x_58 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__3;
|
||||
x_59 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__7;
|
||||
x_58 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__3;
|
||||
x_59 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__7;
|
||||
x_60 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_60, 0, x_57);
|
||||
lean_ctor_set(x_60, 1, x_58);
|
||||
|
|
@ -1296,11 +1296,11 @@ lean_inc(x_90);
|
|||
x_91 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_91);
|
||||
lean_dec(x_2);
|
||||
x_92 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__4;
|
||||
x_92 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__4;
|
||||
x_93 = l_Lean_addMacroScope(x_91, x_92, x_90);
|
||||
x_94 = l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
x_95 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__3;
|
||||
x_96 = l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__7;
|
||||
x_95 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__3;
|
||||
x_96 = l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__7;
|
||||
x_97 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_97, 0, x_94);
|
||||
lean_ctor_set(x_97, 1, x_95);
|
||||
|
|
@ -1360,7 +1360,7 @@ return x_125;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__1() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1368,22 +1368,22 @@ x_1 = lean_mk_string("throwErrorAt");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__2() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__1;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__1;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__3() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__1;
|
||||
x_1 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__1;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__2;
|
||||
x_3 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____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);
|
||||
|
|
@ -1391,51 +1391,51 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__4() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__1;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__5() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Syntax_addPrec___closed__2;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__1;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__6() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__5;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__5;
|
||||
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;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__7() {
|
||||
static lean_object* _init_l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__6;
|
||||
x_2 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__6;
|
||||
x_3 = lean_alloc_ctor(1, 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_myMacro____x40_Lean_Exception___hyg_845_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l_Lean_myMacro____x40_Lean_Exception___hyg_847_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -1481,11 +1481,11 @@ lean_inc(x_18);
|
|||
x_19 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_2);
|
||||
x_20 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__4;
|
||||
x_20 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__4;
|
||||
x_21 = l_Lean_addMacroScope(x_19, x_20, x_18);
|
||||
x_22 = l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
x_23 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__3;
|
||||
x_24 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__7;
|
||||
x_23 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__3;
|
||||
x_24 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__7;
|
||||
x_25 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_25, 0, x_22);
|
||||
lean_ctor_set(x_25, 1, x_23);
|
||||
|
|
@ -1518,11 +1518,11 @@ lean_inc(x_36);
|
|||
x_37 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_2);
|
||||
x_38 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__4;
|
||||
x_38 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__4;
|
||||
x_39 = l_Lean_addMacroScope(x_37, x_38, x_36);
|
||||
x_40 = l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
x_41 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__3;
|
||||
x_42 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__7;
|
||||
x_41 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__3;
|
||||
x_42 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__7;
|
||||
x_43 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_43, 0, x_40);
|
||||
lean_ctor_set(x_43, 1, x_41);
|
||||
|
|
@ -1561,11 +1561,11 @@ lean_inc(x_57);
|
|||
x_58 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_58);
|
||||
lean_dec(x_2);
|
||||
x_59 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__4;
|
||||
x_59 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__4;
|
||||
x_60 = l_Lean_addMacroScope(x_58, x_59, x_57);
|
||||
x_61 = l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
x_62 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__3;
|
||||
x_63 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__7;
|
||||
x_62 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__3;
|
||||
x_63 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__7;
|
||||
x_64 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_64, 0, x_61);
|
||||
lean_ctor_set(x_64, 1, x_62);
|
||||
|
|
@ -1633,11 +1633,11 @@ lean_inc(x_95);
|
|||
x_96 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_96);
|
||||
lean_dec(x_2);
|
||||
x_97 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__4;
|
||||
x_97 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__4;
|
||||
x_98 = l_Lean_addMacroScope(x_96, x_97, x_95);
|
||||
x_99 = l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
x_100 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__3;
|
||||
x_101 = l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__7;
|
||||
x_100 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__3;
|
||||
x_101 = l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__7;
|
||||
x_102 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_102, 0, x_99);
|
||||
lean_ctor_set(x_102, 1, x_100);
|
||||
|
|
@ -1765,34 +1765,34 @@ l_Lean_termThrowErrorAt_x21_________closed__7 = _init_l_Lean_termThrowErrorAt_x2
|
|||
lean_mark_persistent(l_Lean_termThrowErrorAt_x21_________closed__7);
|
||||
l_Lean_termThrowErrorAt_x21______ = _init_l_Lean_termThrowErrorAt_x21______();
|
||||
lean_mark_persistent(l_Lean_termThrowErrorAt_x21______);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__1 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__1();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__1);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__2 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__2();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__2);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__3 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__3();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__3);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__4 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__4();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__4);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__5 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__5();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__5);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__6 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__6();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__6);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__7 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__7();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_627____closed__7);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__1 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__1();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__1);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__2 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__2();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__2);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__3 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__3();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__3);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__4 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__4();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__4);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__5 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__5();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__5);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__6 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__6();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__6);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__7 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__7();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_845____closed__7);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__1 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__1();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__1);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__2 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__2();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__2);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__3 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__3();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__3);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__4 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__4();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__4);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__5 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__5();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__5);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__6 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__6();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__6);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__7 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__7();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_629____closed__7);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__1 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__1();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__1);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__2 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__2();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__2);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__3 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__3();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__3);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__4 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__4();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__4);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__5 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__5();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__5);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__6 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__6();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__6);
|
||||
l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__7 = _init_l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__7();
|
||||
lean_mark_persistent(l_Lean_myMacro____x40_Lean_Exception___hyg_847____closed__7);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Expr.c
generated
4
stage0/stdlib/Lean/Expr.c
generated
|
|
@ -401,13 +401,13 @@ lean_object* l_Lean_Expr_isCharLit___closed__3;
|
|||
lean_object* l_Lean_instHasLessLiteral;
|
||||
lean_object* l_Lean_Literal_type___closed__4;
|
||||
lean_object* l_Lean_mkDecIsTrue___closed__4;
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3;
|
||||
lean_object* lean_expr_mk_lit(lean_object*);
|
||||
lean_object* l_Lean_Expr_updateMData_x21(lean_object*, lean_object*);
|
||||
uint64_t lean_uint64_of_nat(lean_object*);
|
||||
uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_Data_hasLevelMVar(uint64_t);
|
||||
lean_object* lean_expr_dbg_to_string(lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3;
|
||||
lean_object* l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParams___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_updateConst_x21___closed__1;
|
||||
lean_object* l_Lean_Expr_constName_x3f_match__1(lean_object*);
|
||||
|
|
@ -16020,7 +16020,7 @@ _start:
|
|||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_3 = l_Lean_KVMap_empty;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3;
|
||||
x_5 = l_Lean_KVMap_insertCore(x_3, x_1, x_4);
|
||||
x_6 = l_Lean_mkMData(x_5, x_2);
|
||||
return x_6;
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Meta/AppBuilder.c
generated
10
stage0/stdlib/Lean/Meta/AppBuilder.c
generated
|
|
@ -189,7 +189,6 @@ lean_object* l_Lean_Meta_mkDecide___rarg(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Meta_mkEqSymm(lean_object*);
|
||||
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*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__2;
|
||||
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*);
|
||||
lean_object* l_Lean_Meta_mkEq___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -199,6 +198,7 @@ lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqRecImp___closed__
|
|||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppOptMAux_match__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkFun___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
lean_object* l_Lean_Meta_mkExpectedTypeHint___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppOptMAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppOptMAux_match__2(lean_object*);
|
||||
|
|
@ -356,6 +356,7 @@ lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_hasTypeMsg(lean_objec
|
|||
lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_4129_(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__2;
|
||||
extern lean_object* l_Lean_instInhabitedMessageData___closed__1;
|
||||
lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -366,7 +367,6 @@ lean_object* l_Lean_Meta_mkNoConfusion(lean_object*);
|
|||
uint8_t l_Lean_Expr_hasLooseBVars(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqNDRecImp___closed__4;
|
||||
lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkHEqTransImp___closed__1;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__1;
|
||||
lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -7036,7 +7036,7 @@ static lean_object* _init_l_Lean_Meta_mkAppM___rarg___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_524____closed__2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
x_2 = l_Lean_Meta_mkAppM___rarg___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -10736,7 +10736,7 @@ x_12 = lean_box(0);
|
|||
x_13 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_3);
|
||||
lean_ctor_set(x_13, 1, x_12);
|
||||
x_14 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
x_14 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
x_15 = l_Lean_mkConst(x_14, x_13);
|
||||
x_16 = l_Lean_mkApp(x_15, x_1);
|
||||
x_17 = l_Lean_mkApp(x_16, x_11);
|
||||
|
|
@ -10755,7 +10755,7 @@ x_20 = lean_box(0);
|
|||
x_21 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_3);
|
||||
lean_ctor_set(x_21, 1, x_20);
|
||||
x_22 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
x_22 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
x_23 = l_Lean_mkConst(x_22, x_21);
|
||||
x_24 = l_Lean_mkApp(x_23, x_1);
|
||||
x_25 = l_Lean_mkApp(x_24, x_18);
|
||||
|
|
|
|||
328
stage0/stdlib/Lean/Meta/Basic.c
generated
328
stage0/stdlib/Lean/Meta/Basic.c
generated
File diff suppressed because it is too large
Load diff
6
stage0/stdlib/Lean/Meta/Check.c
generated
6
stage0/stdlib/Lean/Meta/Check.c
generated
|
|
@ -87,8 +87,8 @@ lean_object* l_Lean_throwError___at_Lean_Meta_throwAppTypeMismatch___spec__1___r
|
|||
uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t);
|
||||
lean_object* l_Lean_Meta_mkHasTypeButIsExpectedMsg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_throwLetTypeMismatchMessage___rarg___closed__10;
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__2;
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
lean_object* l___private_Lean_Meta_Check_0__Lean_Meta_checkAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Check_0__Lean_Meta_checkAux_checkForall___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -4300,7 +4300,7 @@ static lean_object* _init_l_Lean_Meta_check___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_524____closed__2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
x_2 = l_Lean_Meta_check___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -5800,7 +5800,7 @@ static lean_object* _init_l_Lean_Meta_isTypeCorrect___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_524____closed__2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
x_2 = l_Lean_Meta_isTypeCorrect___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Meta/Closure.c
generated
10
stage0/stdlib/Lean/Meta/Closure.c
generated
|
|
@ -146,10 +146,10 @@ size_t lean_usize_of_nat(lean_object*);
|
|||
lean_object* l_Lean_replaceFVarIdAtLocalDecl(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_mkNewLevelParam___closed__2;
|
||||
lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_Closure_visitExpr___spec__2___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_pushLocalDecl(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_expr_update_proj(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
lean_object* l_Lean_Meta_Closure_preprocess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Closure_mkNextUserName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Nat_foldRev_loop___at_Lean_Meta_Closure_mkLambda___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -13920,7 +13920,7 @@ lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117;
|
|||
x_114 = lean_ctor_get(x_108, 1);
|
||||
lean_inc(x_114);
|
||||
lean_dec(x_108);
|
||||
x_115 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
x_115 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
x_116 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_115, x_6, x_7, x_8, x_9, x_114);
|
||||
x_117 = lean_ctor_get(x_116, 0);
|
||||
lean_inc(x_117);
|
||||
|
|
@ -14035,7 +14035,7 @@ lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean
|
|||
x_76 = lean_ctor_get(x_30, 1);
|
||||
lean_inc(x_76);
|
||||
lean_dec(x_30);
|
||||
x_77 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
x_77 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
x_78 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_77, x_6, x_7, x_8, x_9, x_76);
|
||||
x_79 = lean_ctor_get(x_78, 0);
|
||||
lean_inc(x_79);
|
||||
|
|
@ -14195,7 +14195,7 @@ lean_ctor_set(x_65, 1, x_64);
|
|||
x_66 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_66, 0, x_65);
|
||||
lean_ctor_set(x_66, 1, x_56);
|
||||
x_67 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
x_67 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
x_68 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_67, x_66, x_6, x_7, x_8, x_9, x_54);
|
||||
x_69 = lean_ctor_get(x_68, 1);
|
||||
lean_inc(x_69);
|
||||
|
|
@ -14274,7 +14274,7 @@ lean_ctor_set(x_102, 1, x_101);
|
|||
x_103 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_103, 0, x_102);
|
||||
lean_ctor_set(x_103, 1, x_93);
|
||||
x_104 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
x_104 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
x_105 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_104, x_103, x_6, x_7, x_8, x_9, x_91);
|
||||
x_106 = lean_ctor_get(x_105, 1);
|
||||
lean_inc(x_106);
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Meta/ExprDefEq.c
generated
6
stage0/stdlib/Lean/Meta/ExprDefEq.c
generated
|
|
@ -453,6 +453,7 @@ lean_object* l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg___closed__1;
|
|||
lean_object* l_Lean_Meta_commitWhen___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickMVarMVar___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDepsAux_match__2(lean_object*);
|
||||
uint8_t l_Lean_Meta_CheckAssignmentQuick_check_visit(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
lean_object* l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isLambda(lean_object*);
|
||||
|
|
@ -466,7 +467,6 @@ uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_check___spec__21(l
|
|||
lean_object* lean_expr_update_proj(lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___spec__61___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_instInhabitedParamInfo;
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___spec__57___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t l_USize_land(size_t, size_t);
|
||||
lean_object* l_Lean_LocalDecl_fvarId(lean_object*);
|
||||
|
|
@ -11443,7 +11443,7 @@ lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean
|
|||
x_75 = lean_ctor_get(x_69, 1);
|
||||
lean_inc(x_75);
|
||||
lean_dec(x_69);
|
||||
x_76 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
x_76 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
x_77 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_76, x_3, x_4, x_5, x_6, x_75);
|
||||
x_78 = lean_ctor_get(x_77, 0);
|
||||
lean_inc(x_78);
|
||||
|
|
@ -11543,7 +11543,7 @@ x_51 = l_Lean_KernelException_toMessageData___closed__15;
|
|||
x_52 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_50);
|
||||
lean_ctor_set(x_52, 1, x_51);
|
||||
x_53 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
x_53 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
x_54 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_53, x_52, x_3, x_4, x_5, x_6, x_29);
|
||||
x_55 = lean_ctor_get(x_54, 1);
|
||||
lean_inc(x_55);
|
||||
|
|
|
|||
14
stage0/stdlib/Lean/Meta/FunInfo.c
generated
14
stage0/stdlib/Lean/Meta/FunInfo.c
generated
|
|
@ -37,6 +37,7 @@ lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*);
|
|||
lean_object* l_Lean_Meta_getFunInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t l_USize_shiftRight(size_t, size_t);
|
||||
lean_object* l___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -106,7 +107,6 @@ lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_FunInfo_0
|
|||
lean_object* l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Position_lt___closed__2;
|
||||
lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
|
|
@ -183,7 +183,7 @@ goto _start;
|
|||
else
|
||||
{
|
||||
uint8_t x_20;
|
||||
x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_12, x_15);
|
||||
x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_12, x_15);
|
||||
lean_dec(x_15);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
|
|
@ -273,7 +273,7 @@ return x_20;
|
|||
else
|
||||
{
|
||||
uint8_t x_21;
|
||||
x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_15, x_18);
|
||||
x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_15, x_18);
|
||||
lean_dec(x_18);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
|
|
@ -517,7 +517,7 @@ goto _start;
|
|||
else
|
||||
{
|
||||
uint8_t x_28;
|
||||
x_28 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_20, x_23);
|
||||
x_28 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_20, x_23);
|
||||
lean_dec(x_23);
|
||||
lean_dec(x_20);
|
||||
if (x_28 == 0)
|
||||
|
|
@ -658,7 +658,7 @@ return x_1;
|
|||
else
|
||||
{
|
||||
uint8_t x_31;
|
||||
x_31 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_23, x_26);
|
||||
x_31 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_23, x_26);
|
||||
lean_dec(x_26);
|
||||
lean_dec(x_23);
|
||||
if (x_31 == 0)
|
||||
|
|
@ -745,7 +745,7 @@ return x_1;
|
|||
else
|
||||
{
|
||||
uint8_t x_52;
|
||||
x_52 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_44, x_47);
|
||||
x_52 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_44, x_47);
|
||||
lean_dec(x_47);
|
||||
lean_dec(x_44);
|
||||
if (x_52 == 0)
|
||||
|
|
@ -920,7 +920,7 @@ return x_101;
|
|||
else
|
||||
{
|
||||
uint8_t x_102;
|
||||
x_102 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_93, x_96);
|
||||
x_102 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_InfoCacheKey_instBEqInfoCacheKey___spec__1(x_93, x_96);
|
||||
lean_dec(x_96);
|
||||
lean_dec(x_93);
|
||||
if (x_102 == 0)
|
||||
|
|
|
|||
22
stage0/stdlib/Lean/Meta/InferType.c
generated
22
stage0/stdlib/Lean/Meta/InferType.c
generated
|
|
@ -185,7 +185,6 @@ size_t lean_usize_of_nat(lean_object*);
|
|||
lean_object* l_Lean_Meta_isProof_match__1(lean_object*);
|
||||
lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getLevel_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_expr_update_proj(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_throwFunctionExpected___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t l_USize_land(size_t, size_t);
|
||||
|
|
@ -217,6 +216,7 @@ uint8_t lean_expr_equal(lean_object*, lean_object*);
|
|||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
uint8_t l_USize_decLe(size_t, size_t);
|
||||
lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_inferLambdaType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_betaRev(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_throwUnknownFVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_replace___at_Lean_Expr_instantiateBetaRevRange_visit___spec__8(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -3716,7 +3716,7 @@ x_27 = l_Lean_KernelException_toMessageData___closed__15;
|
|||
x_28 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_26);
|
||||
lean_ctor_set(x_28, 1, x_27);
|
||||
x_29 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_28, x_4, x_5, x_6, x_7, x_20);
|
||||
x_29 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_28, x_4, x_5, x_6, x_7, x_20);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -3757,7 +3757,7 @@ x_38 = l_Lean_KernelException_toMessageData___closed__15;
|
|||
x_39 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_37);
|
||||
lean_ctor_set(x_39, 1, x_38);
|
||||
x_40 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_39, x_4, x_5, x_6, x_7, x_20);
|
||||
x_40 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_39, x_4, x_5, x_6, x_7, x_20);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -3822,7 +3822,7 @@ x_61 = l_Lean_KernelException_toMessageData___closed__15;
|
|||
x_62 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_62, 0, x_60);
|
||||
lean_ctor_set(x_62, 1, x_61);
|
||||
x_63 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_62, x_4, x_5, x_6, x_7, x_45);
|
||||
x_63 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_62, x_4, x_5, x_6, x_7, x_45);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -3938,7 +3938,7 @@ x_87 = l_Lean_KernelException_toMessageData___closed__15;
|
|||
x_88 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_88, 0, x_86);
|
||||
lean_ctor_set(x_88, 1, x_87);
|
||||
x_89 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_88, x_4, x_5, x_6, x_7, x_82);
|
||||
x_89 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_88, x_4, x_5, x_6, x_7, x_82);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -4057,7 +4057,7 @@ x_107 = l_Lean_KernelException_toMessageData___closed__15;
|
|||
x_108 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_108, 0, x_106);
|
||||
lean_ctor_set(x_108, 1, x_107);
|
||||
x_109 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_108, x_4, x_5, x_6, x_7, x_102);
|
||||
x_109 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_108, x_4, x_5, x_6, x_7, x_102);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -4116,7 +4116,7 @@ x_118 = l_Lean_KernelException_toMessageData___closed__15;
|
|||
x_119 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_119, 0, x_117);
|
||||
lean_ctor_set(x_119, 1, x_118);
|
||||
x_120 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_119, x_4, x_5, x_6, x_7, x_20);
|
||||
x_120 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_119, x_4, x_5, x_6, x_7, x_20);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -4141,7 +4141,7 @@ x_125 = l_Lean_KernelException_toMessageData___closed__15;
|
|||
x_126 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_126, 0, x_124);
|
||||
lean_ctor_set(x_126, 1, x_125);
|
||||
x_127 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_126, x_4, x_5, x_6, x_7, x_20);
|
||||
x_127 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_126, x_4, x_5, x_6, x_7, x_20);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -4165,7 +4165,7 @@ x_132 = l_Lean_KernelException_toMessageData___closed__15;
|
|||
x_133 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_133, 0, x_131);
|
||||
lean_ctor_set(x_133, 1, x_132);
|
||||
x_134 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_133, x_4, x_5, x_6, x_7, x_20);
|
||||
x_134 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_133, x_4, x_5, x_6, x_7, x_20);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -4189,7 +4189,7 @@ x_139 = l_Lean_KernelException_toMessageData___closed__15;
|
|||
x_140 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_140, 0, x_138);
|
||||
lean_ctor_set(x_140, 1, x_139);
|
||||
x_141 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_140, x_4, x_5, x_6, x_7, x_14);
|
||||
x_141 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_140, x_4, x_5, x_6, x_7, x_14);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -7678,7 +7678,7 @@ x_12 = l_Lean_KernelException_toMessageData___closed__15;
|
|||
x_13 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_11);
|
||||
lean_ctor_set(x_13, 1, x_12);
|
||||
x_14 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_13, x_2, x_3, x_4, x_5, x_6);
|
||||
x_14 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_13, x_2, x_3, x_4, x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
|
|
|
|||
522
stage0/stdlib/Lean/Meta/Instances.c
generated
522
stage0/stdlib/Lean/Meta/Instances.c
generated
File diff suppressed because it is too large
Load diff
6
stage0/stdlib/Lean/Meta/LevelDefEq.c
generated
6
stage0/stdlib/Lean/Meta/LevelDefEq.c
generated
|
|
@ -110,13 +110,13 @@ lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__4__
|
|||
lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__2;
|
||||
lean_object* l_instMonadExceptOfEIO(lean_object*);
|
||||
lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solveSelfMax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instAddErrorMessageContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_level_mk_max_simp(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__4(lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
lean_object* l_Lean_Meta_isLevelDefEqAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkMaxArgsDiff___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_throwIsDefEqStuck___rarg(lean_object*);
|
||||
|
|
@ -2967,7 +2967,7 @@ static lean_object* _init_l_Lean_Meta_isLevelDefEqAux___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_524____closed__2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
x_2 = l_Lean_Meta_isLevelDefEqAux___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -24896,7 +24896,7 @@ static lean_object* _init_l_Lean_Meta_isExprDefEq___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_524____closed__2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
x_2 = l_Lean_Meta_isExprDefEq___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c
generated
6
stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c
generated
|
|
@ -115,8 +115,8 @@ lean_object* l_Lean_Meta_caseValues(lean_object*, lean_object*, lean_object*, le
|
|||
extern lean_object* l_Lean_instInhabitedName;
|
||||
lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkExpectedTypeHintImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
lean_object* l_Lean_Meta_caseArraySizes___lambda__1___closed__3;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
lean_object* l_Lean_Meta_caseArraySizes___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_Lean_Meta_getArrayArgType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_caseArraySizes_match__1(lean_object*);
|
||||
|
|
@ -728,7 +728,7 @@ x_14 = lean_box(0);
|
|||
x_15 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_9);
|
||||
lean_ctor_set(x_15, 1, x_14);
|
||||
x_16 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
x_16 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
x_17 = l_Lean_mkConst(x_16, x_15);
|
||||
x_18 = l_Lean_mkApp(x_17, x_1);
|
||||
x_19 = l_Lean_mkApp(x_18, x_13);
|
||||
|
|
@ -747,7 +747,7 @@ x_22 = lean_box(0);
|
|||
x_23 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_9);
|
||||
lean_ctor_set(x_23, 1, x_22);
|
||||
x_24 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
x_24 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
x_25 = l_Lean_mkConst(x_24, x_23);
|
||||
x_26 = l_Lean_mkApp(x_25, x_1);
|
||||
x_27 = l_Lean_mkApp(x_26, x_20);
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Meta/Match/CaseValues.c
generated
8
stage0/stdlib/Lean/Meta/Match/CaseValues.c
generated
|
|
@ -61,8 +61,8 @@ lean_object* l_Lean_Meta_caseValueAux___lambda__2___boxed(lean_object*, lean_obj
|
|||
lean_object* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_caseValueAux___lambda__2___closed__1;
|
||||
lean_object* l_Lean_Meta_tryClear(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__2;
|
||||
lean_object* l_Lean_Meta_caseValueAux___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_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
lean_object* l_Lean_Meta_caseValue___closed__2;
|
||||
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
||||
lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
|
||||
|
|
@ -536,7 +536,7 @@ static lean_object* _init_l_Lean_Meta_caseValueAux___lambda__3___closed__6() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___boxed), 7, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -714,7 +714,7 @@ if (x_66 == 0)
|
|||
lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75;
|
||||
x_67 = lean_ctor_get(x_64, 0);
|
||||
x_68 = lean_ctor_get(x_64, 1);
|
||||
x_69 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__2;
|
||||
x_69 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
lean_inc(x_67);
|
||||
x_70 = lean_alloc_closure((void*)(l_Lean_Meta_caseValueAux___lambda__1___boxed), 8, 2);
|
||||
lean_closure_set(x_70, 0, x_67);
|
||||
|
|
@ -812,7 +812,7 @@ x_91 = lean_ctor_get(x_64, 1);
|
|||
lean_inc(x_91);
|
||||
lean_inc(x_90);
|
||||
lean_dec(x_64);
|
||||
x_92 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__2;
|
||||
x_92 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
lean_inc(x_90);
|
||||
x_93 = lean_alloc_closure((void*)(l_Lean_Meta_caseValueAux___lambda__1___boxed), 8, 2);
|
||||
lean_closure_set(x_93, 0, x_90);
|
||||
|
|
|
|||
20
stage0/stdlib/Lean/Meta/Match/Match.c
generated
20
stage0/stdlib/Lean/Meta/Match/Match.c
generated
|
|
@ -169,13 +169,13 @@ lean_object* l_Lean_Meta_commitWhenSome_x3f___at___private_Lean_Meta_Match_Match
|
|||
uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_inLocalDecls(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__8(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_Std_mkHashSetImp___rarg(lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__3;
|
||||
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_foldl___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectArraySizes___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern_match__1(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isConstructorTransition_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Match_mkMatcher_match__1(lean_object*);
|
||||
lean_object* l_List_map___at_Lean_Meta_Match_mkMatcher___spec__6(lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__3;
|
||||
uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isDone(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___closed__1;
|
||||
lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_introArrayLit_loop___spec__2___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -279,7 +279,6 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoA
|
|||
lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___spec__4(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__2;
|
||||
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Array_contains___at_Lean_Meta_CheckAssignment_check___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -299,6 +298,7 @@ lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
|||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTransition(lean_object*);
|
||||
lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
extern lean_object* l_Lean_Meta_caseValue___closed__2;
|
||||
lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1___closed__4;
|
||||
lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__2;
|
||||
|
|
@ -360,10 +360,10 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3
|
|||
uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isFirstPatternVar(lean_object*);
|
||||
lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5159____closed__3;
|
||||
uint8_t l_Lean_Meta_Match_Unify_occurs___lambda__1(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3;
|
||||
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_foldl___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectValues___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__9(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*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3;
|
||||
extern lean_object* l_Lean_instInhabitedExpr;
|
||||
lean_object* l_Lean_Meta_Match_addMatcherInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_Match_processInaccessibleAsCtor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -409,15 +409,14 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isFirstPattern
|
|||
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible_match__2(lean_object*);
|
||||
lean_object* l_Lean_Meta_Match_Unify_assign___closed__4;
|
||||
lean_object* l_List_filterAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__6___boxed(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Match_Unify_assign___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_HashSetImp_contains___at_Lean_Meta_Match_mkMatcher___spec__3(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwInductiveTypeExpected___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1___closed__10;
|
||||
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__3;
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_commitWhen___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
lean_object* l_Lean_LocalDecl_fvarId(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop_match__2(lean_object*);
|
||||
uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasCtorPattern(lean_object*);
|
||||
|
|
@ -484,6 +483,7 @@ lean_object* l_Lean_Meta_Match_Pattern_applyFVarSubst(lean_object*, lean_object*
|
|||
lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasCtorPattern___boxed(lean_object*);
|
||||
lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__1;
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_FVarSubst_insert(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1173,7 +1173,7 @@ static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_w
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
x_2 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -1184,7 +1184,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__3;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -20342,7 +20342,7 @@ static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Data_Options___hyg_487____closed__3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Data_Options___hyg_488____closed__3;
|
||||
x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5159____closed__1;
|
||||
x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5159____closed__5;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
|
|
@ -22159,7 +22159,7 @@ x_14 = lean_ctor_get(x_10, 1);
|
|||
lean_inc(x_14);
|
||||
lean_dec(x_10);
|
||||
x_15 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__3___closed__3;
|
||||
x_16 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_15, x_4, x_5, x_6, x_7, x_14);
|
||||
x_16 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_15, x_4, x_5, x_6, x_7, x_14);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -23313,7 +23313,7 @@ lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint
|
|||
x_48 = lean_ctor_get(x_43, 1);
|
||||
lean_inc(x_48);
|
||||
lean_dec(x_43);
|
||||
x_49 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
x_49 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
x_50 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_substCore___spec__14(x_49, x_7, x_8, x_9, x_10, x_48);
|
||||
x_51 = lean_ctor_get(x_50, 0);
|
||||
lean_inc(x_51);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/Match/MatcherInfo.c
generated
4
stage0/stdlib/Lean/Meta/Match/MatcherInfo.c
generated
|
|
@ -38,7 +38,6 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
|||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Std_AssocList_replace___at_Lean_Meta_Match_Extension_State_addEntry___spec__11(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Match_Extension_extension___elambda__3___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4;
|
||||
lean_object* l_Lean_SMap_find_x3f___at_Lean_Meta_Match_Extension_getMatcherInfo_x3f___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -62,6 +61,7 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
|||
extern lean_object* l_Std_PersistentHashMap_insertAux___rarg___closed__3;
|
||||
lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__5;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4;
|
||||
lean_object* l_Lean_Meta_Match_Extension_State_map___default___closed__2;
|
||||
lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____lambda__1___boxed(lean_object*);
|
||||
uint8_t l_Std_AssocList_contains___at_Lean_Meta_Match_Extension_State_addEntry___spec__7(lean_object*, lean_object*);
|
||||
|
|
@ -1619,7 +1619,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj
|
|||
x_1 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__2;
|
||||
x_2 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__3;
|
||||
x_3 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_64____closed__4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4;
|
||||
x_5 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
|
|
|
|||
18
stage0/stdlib/Lean/Meta/PPGoal.c
generated
18
stage0/stdlib/Lean/Meta/PPGoal.c
generated
|
|
@ -92,7 +92,6 @@ uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__20(le
|
|||
uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasVisibleDep___spec__35(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* l_Lean_Meta_ToHide_collect_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasVisibleDep___spec__17___boxed(lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_ppGoal_ppVars___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentArray_foldlM___at_Lean_Meta_ToHide_collect___spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_ppGoal_match__3___rarg(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -186,7 +185,6 @@ uint8_t l_Std_RBNode_isBlack___rarg(lean_object*);
|
|||
uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasVisibleDep___spec__31(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_ppGoal_match__4___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__4(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___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_ppGoal_ppVars___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__11(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_Std_PersistentArray_anyM___at_Lean_Meta_ToHide_hasVisibleDep___spec__31___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visit___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__15(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -195,6 +193,7 @@ lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep
|
|||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasVisibleDep___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__12___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*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_ppGoal_ppVars___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__14___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_Meta_ppGoal_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_ToHide_fixpointStep_match__1(lean_object*);
|
||||
|
|
@ -269,6 +268,7 @@ extern lean_object* l_Lean_Parser_Tactic_locationTarget___closed__3;
|
|||
lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_case___closed__3;
|
||||
lean_object* l_Lean_Meta_ToHide_hasInaccessibleNameDep___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_ppGoal_ppVars___spec__1___boxed(lean_object*, lean_object*);
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__20(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_ToHide_hasInaccessibleNameDep___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__6(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -14638,7 +14638,7 @@ lean_dec(x_5);
|
|||
return x_10;
|
||||
}
|
||||
}
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_ppGoal_ppVars___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_ppGoal_ppVars___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
|
|
@ -14736,13 +14736,13 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22;
|
|||
x_19 = lean_ctor_get(x_17, 0);
|
||||
x_20 = lean_ctor_get(x_17, 1);
|
||||
x_21 = lean_box(0);
|
||||
x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_21);
|
||||
x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_21);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
lean_object* x_23; uint8_t x_24;
|
||||
x_23 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_23, 0, x_19);
|
||||
x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_23);
|
||||
x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_23);
|
||||
if (x_24 == 0)
|
||||
{
|
||||
lean_object* x_25;
|
||||
|
|
@ -14877,13 +14877,13 @@ lean_inc(x_51);
|
|||
lean_inc(x_50);
|
||||
lean_dec(x_17);
|
||||
x_52 = lean_box(0);
|
||||
x_53 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_52);
|
||||
x_53 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_52);
|
||||
if (x_53 == 0)
|
||||
{
|
||||
lean_object* x_54; uint8_t x_55;
|
||||
x_54 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_54, 0, x_50);
|
||||
x_55 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_54);
|
||||
x_55 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_54);
|
||||
if (x_55 == 0)
|
||||
{
|
||||
lean_object* x_56;
|
||||
|
|
@ -15525,11 +15525,11 @@ return x_202;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_ppGoal_ppVars___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_ppGoal_ppVars___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Meta_ppGoal_ppVars___spec__1(x_1, x_2);
|
||||
x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Meta_ppGoal_ppVars___spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
|
|||
96
stage0/stdlib/Lean/Meta/SynthInstance.c
generated
96
stage0/stdlib/Lean/Meta/SynthInstance.c
generated
|
|
@ -18,7 +18,6 @@ lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_synthInstance_x3f___
|
|||
lean_object* l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_newSubgoal___spec__5___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedTagAttribute___closed__1;
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__2;
|
||||
lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_synthInstance_x3f___spec__6(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normExpr_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -46,6 +45,7 @@ lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_ob
|
|||
lean_object* l_Lean_Meta_SynthInstance_mkTableKeyFor___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_synthInstance_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__2;
|
||||
lean_object* l_Lean_Meta_SynthInstance_State_resumeStack___default;
|
||||
lean_object* l_Lean_Meta_synthInstance_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_tryAnswer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -62,11 +62,11 @@ lean_object* l_Lean_Meta_SynthInstance_tryAnswer___lambda__1___boxed(lean_object
|
|||
lean_object* l_Lean_Meta_SynthInstance_MkTableKey_State_emap___default;
|
||||
lean_object* lean_expr_update_mdata(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_5____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3998____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_addAnswer___closed__1;
|
||||
lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_withMCtx___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___spec__1(lean_object*);
|
||||
lean_object* l_Array_insertionSort_swapLoop___at_Lean_Meta_SynthInstance_getInstances___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Lean_Meta_getGlobalInstancesIndex___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_instInhabitedSynthM___rarg(lean_object*);
|
||||
|
|
@ -85,6 +85,7 @@ lean_object* l_Std_HashMapImp_insert___at_Lean_Meta_SynthInstance_MkTableKey_nor
|
|||
extern lean_object* l_Array_empty___closed__1;
|
||||
lean_object* l_Lean_Meta_SynthInstance_consume_match__1(lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__1;
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__4;
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_SynthInstance_isNewAnswer___spec__1(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_SynthInstance_getInstances___spec__5___boxed(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*);
|
||||
|
|
@ -120,7 +121,6 @@ lean_object* l_Lean_Meta_SynthInstance_getEntry___closed__3;
|
|||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*);
|
||||
lean_object* l_Lean_addTrace___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(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_SynthInstance___hyg_3314____closed__4;
|
||||
lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___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_Lean_Meta_SynthInstance_instInhabitedSynthM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -135,12 +135,12 @@ extern lean_object* l_Lean_Expr_getAppArgs___closed__1;
|
|||
lean_object* l_Lean_Meta_synthInstance___closed__1;
|
||||
lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_SynthInstance_newSubgoal___spec__1___boxed(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_SynthInstance___hyg_3316____closed__1;
|
||||
size_t l_USize_shiftRight(size_t, size_t);
|
||||
lean_object* l_Lean_Meta_SynthInstance_findEntry_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__2;
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__1;
|
||||
lean_object* l_Lean_Meta_SynthInstance_wakeUp_match__2(lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_wakeUp_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_synthInstance___closed__2;
|
||||
|
|
@ -205,7 +205,6 @@ lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_SynthInstance_MkTableKe
|
|||
lean_object* l_Lean_Meta_SynthInstance_generate___closed__3;
|
||||
lean_object* l_Lean_Meta_withMCtx___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_tryAnswer_match__1(lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__2;
|
||||
lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___boxed__const__1;
|
||||
lean_object* l_Lean_Meta_SynthInstance_mapMetaM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_getInstances___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
|
|
@ -219,6 +218,7 @@ lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_getMaxSize(lean_ob
|
|||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_generate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_synthInstance_x3f___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessLevels___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -306,16 +306,15 @@ lean_object* l_Lean_Meta_synthInstance_x3f___lambda__2___closed__8;
|
|||
lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_SynthInstance_tryResolve___spec__1___rarg(lean_object*, lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_SynthInstance_findEntry_x3f___spec__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4011_(lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996_(lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314_(lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4013_(lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3998_(lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316_(lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_MkTableKey_State_lmap___default___closed__1;
|
||||
lean_object* l_Lean_Meta_SynthInstance_getNextToResume___boxed(lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normExpr_match__2(lean_object*);
|
||||
lean_object* l_Std_AssocList_replace___at_Lean_Meta_SynthInstance_newSubgoal___spec__9(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_resume___closed__7;
|
||||
lean_object* l_Lean_KVMap_getNat(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_synthInstance_x3f___lambda__4___closed__6;
|
||||
lean_object* l_Lean_Meta_SynthInstance_tryResolveCore_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* lean_expr_update_proj(lean_object*, lean_object*);
|
||||
|
|
@ -384,6 +383,7 @@ lean_object* l_Lean_mkApp(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_profileitM___at_Lean_Meta_synthInstance_x3f___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__2;
|
||||
uint8_t l_Lean_Expr_hasMVar(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_synthInstance_x3f___spec__7(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_resume_match__3___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_newSubgoal___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -425,6 +425,7 @@ extern lean_object* l_Lean_Meta_instInhabitedAbstractMVarsResult___closed__1;
|
|||
lean_object* l_Std_AssocList_contains___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__4___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessArgs___closed__3;
|
||||
lean_object* l_Lean_Meta_SynthInstance_initFn____x40_Lean_Meta_SynthInstance___hyg_5____closed__1;
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__5;
|
||||
lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_SynthInstance_addAnswer___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* l_Lean_Meta_SynthInstance_inferTCGoalsLRAttr;
|
||||
|
|
@ -443,12 +444,10 @@ lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, l
|
|||
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*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_synth_match__1(lean_object*);
|
||||
lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__5;
|
||||
lean_object* l_Lean_Meta_SynthInstance_modifyTop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_resume___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_HashMapImp_moveEntries___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__6(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__3;
|
||||
lean_object* l_Lean_Meta_SynthInstance_resume_match__3(lean_object*);
|
||||
lean_object* l_Array_back___at_Lean_Meta_SynthInstance_getNextToResume___spec__1(lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_generate___closed__2;
|
||||
|
|
@ -480,6 +479,7 @@ lean_object* l_Lean_profileitM___at_Lean_Meta_synthInstance_x3f___spec__8___rarg
|
|||
extern lean_object* l_Lean_Meta_isLevelDefEqAux___closed__5;
|
||||
lean_object* l_Lean_Meta_SynthInstance_State_tableEntries___default___closed__1;
|
||||
lean_object* l_Lean_Meta_mkFreshLevelMVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__3;
|
||||
lean_object* l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__6;
|
||||
extern lean_object* l_Lean_mkOptionalNode___closed__2;
|
||||
lean_object* l_Lean_Expr_getAppFn(lean_object*);
|
||||
|
|
@ -531,11 +531,11 @@ lean_object* lean_expr_update_const(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Meta_synthInstance_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_resume___closed__2;
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____closed__1;
|
||||
lean_object* l_Lean_Meta_SynthInstance_generate___closed__4;
|
||||
lean_object* l_Lean_Meta_SynthInstance_main___closed__1;
|
||||
lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__3;
|
||||
lean_object* l_Lean_Meta_SynthInstance_resume___closed__1;
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3998____closed__1;
|
||||
lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
|
|
@ -3969,7 +3969,7 @@ static lean_object* _init_l_Lean_Meta_SynthInstance_getInstances___lambda__1___c
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
x_2 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__4;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -16654,7 +16654,7 @@ x_1 = lean_unsigned_to_nat(128u);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__1() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -16662,17 +16662,17 @@ x_1 = lean_mk_string("maxInstSize");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__2() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____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_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__3() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -16682,7 +16682,7 @@ lean_ctor_set(x_2, 0, x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__4() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -16690,13 +16690,13 @@ x_1 = lean_mk_string("maximum number of instances used to construct a solution i
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__5() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__5() {
|
||||
_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_SynthInstance___hyg_3314____closed__3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__3;
|
||||
x_2 = l_Lean_instInhabitedParserDescr___closed__1;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__4;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__4;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -16704,12 +16704,12 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__2;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__5;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__2;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__5;
|
||||
x_4 = lean_register_option(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -16718,7 +16718,7 @@ lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_getMaxSize(lean_ob
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__2;
|
||||
x_3 = l_Lean_Meta_maxResultSizeDefault;
|
||||
x_4 = l_Lean_KVMap_getNat(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
|
|
@ -21148,7 +21148,7 @@ x_28 = l_Lean_KernelException_toMessageData___closed__15;
|
|||
x_29 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_27);
|
||||
lean_ctor_set(x_29, 1, x_28);
|
||||
x_30 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_29, x_3, x_4, x_5, x_6, x_24);
|
||||
x_30 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_29, x_3, x_4, x_5, x_6, x_24);
|
||||
x_31 = lean_ctor_get(x_30, 0);
|
||||
lean_inc(x_31);
|
||||
x_32 = lean_ctor_get(x_30, 1);
|
||||
|
|
@ -21255,7 +21255,7 @@ x_18 = l_Lean_KernelException_toMessageData___closed__15;
|
|||
x_19 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_17);
|
||||
lean_ctor_set(x_19, 1, x_18);
|
||||
x_20 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_19, x_3, x_4, x_5, x_6, x_9);
|
||||
x_20 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_19, x_3, x_4, x_5, x_6, x_9);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
|
|
@ -22052,7 +22052,7 @@ return x_135;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3998____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8;
|
||||
|
|
@ -22061,20 +22061,20 @@ x_8 = l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp(x_1, x_7,
|
|||
return x_8;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____closed__1() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3998____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____lambda__1), 6, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3998____lambda__1), 6, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3998_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
x_2 = l_Lean_Meta_synthPendingRef;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____closed__1;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3998____closed__1;
|
||||
x_4 = lean_st_ref_set(x_2, x_3, x_1);
|
||||
x_5 = !lean_is_exclusive(x_4);
|
||||
if (x_5 == 0)
|
||||
|
|
@ -22096,7 +22096,7 @@ return x_8;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4011_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4013_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -22470,17 +22470,17 @@ l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessArgs___closed__3 = _i
|
|||
lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessArgs___closed__3);
|
||||
l_Lean_Meta_maxResultSizeDefault = _init_l_Lean_Meta_maxResultSizeDefault();
|
||||
lean_mark_persistent(l_Lean_Meta_maxResultSizeDefault);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__1);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__2);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__4);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314____closed__5);
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3314_(lean_io_mk_world());
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__1);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__2);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__4);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316____closed__5);
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3316_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Meta_synthInstance_x3f___lambda__2___closed__1 = _init_l_Lean_Meta_synthInstance_x3f___lambda__2___closed__1();
|
||||
|
|
@ -22519,12 +22519,12 @@ l_Lean_Meta_synthInstance___closed__1 = _init_l_Lean_Meta_synthInstance___closed
|
|||
lean_mark_persistent(l_Lean_Meta_synthInstance___closed__1);
|
||||
l_Lean_Meta_synthInstance___closed__2 = _init_l_Lean_Meta_synthInstance___closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_synthInstance___closed__2);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996____closed__1);
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3996_(lean_io_mk_world());
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3998____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3998____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3998____closed__1);
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_3998_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4011_(lean_io_mk_world());
|
||||
res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_4013_(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));
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Meta/Tactic/Injection.c
generated
6
stage0/stdlib/Lean/Meta/Tactic/Injection.c
generated
|
|
@ -66,7 +66,7 @@ extern lean_object* l_Lean_KernelException_toMessageData___closed__15;
|
|||
lean_object* l_Lean_Meta_injectionIntro_match__5(lean_object*);
|
||||
lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkFVar(lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
lean_object* l_Lean_Meta_injection___closed__1;
|
||||
lean_object* l_Lean_LocalDecl_type(lean_object*);
|
||||
lean_object* l_Lean_Meta_injection___closed__2;
|
||||
|
|
@ -2397,7 +2397,7 @@ lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean
|
|||
x_42 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_42);
|
||||
lean_dec(x_36);
|
||||
x_43 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
x_43 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
x_44 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_43, x_5, x_6, x_7, x_8, x_42);
|
||||
x_45 = lean_ctor_get(x_44, 0);
|
||||
lean_inc(x_45);
|
||||
|
|
@ -2433,7 +2433,7 @@ x_28 = l_Lean_KernelException_toMessageData___closed__15;
|
|||
x_29 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_27);
|
||||
lean_ctor_set(x_29, 1, x_28);
|
||||
x_30 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__4;
|
||||
x_30 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__4;
|
||||
x_31 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_30, x_29, x_5, x_6, x_7, x_8, x_22);
|
||||
x_32 = lean_ctor_get(x_31, 1);
|
||||
lean_inc(x_32);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/Tactic/Util.c
generated
4
stage0/stdlib/Lean/Meta/Tactic/Util.c
generated
|
|
@ -45,7 +45,7 @@ lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*, l
|
|||
lean_object* l_Lean_Meta_headBetaMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_headBeta(lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__2;
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
lean_object* l_Lean_Meta_mkSorry___at_Lean_Meta_admit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getMVarType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -777,7 +777,7 @@ static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Util___hyg_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
x_2 = l_Lean_Parser_Tactic_intro___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Meta/WHNF.c
generated
4
stage0/stdlib/Lean/Meta/WHNF.c
generated
|
|
@ -174,7 +174,6 @@ lean_object* l_Lean_Expr_headBeta(lean_object*);
|
|||
lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isRecStuck_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_whnfHeadPred___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__2;
|
||||
extern lean_object* l_Lean_instQuoteProd___rarg___closed__1;
|
||||
lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___at_Lean_Meta_unfoldDefinition_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_List_toExprAux___at_Lean_Meta_toCtorIfLit___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -183,6 +182,7 @@ uint8_t l_Lean_Expr_hasExprMVar(lean_object*);
|
|||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_reduceBinNatOp___closed__10;
|
||||
lean_object* l_Lean_Meta_reduceNat_x3f___closed__10;
|
||||
extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___closed__2;
|
||||
lean_object* l_Lean_Meta_reduceNat_x3f___closed__11;
|
||||
lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__4;
|
||||
|
|
@ -6993,7 +6993,7 @@ static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_524____closed__2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_528____closed__2;
|
||||
x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore___spec__2___closed__4;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Parser/Attr.c
generated
4
stage0/stdlib/Lean/Parser/Attr.c
generated
|
|
@ -135,6 +135,7 @@ lean_object* l_Lean_Parser_checkPrecFn(lean_object*, lean_object*, lean_object*)
|
|||
lean_object* l___regBuiltin_Lean_Parser_Attr_extern_formatter___closed__1;
|
||||
lean_object* l_Lean_Parser_Attr_defaultInstance___elambda__1___closed__7;
|
||||
lean_object* l_Lean_Parser_Attr_extern___elambda__1___closed__7;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Attr_recursor_parenthesizer___closed__2;
|
||||
lean_object* l_Lean_Parser_optional(lean_object*);
|
||||
extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1097____closed__16;
|
||||
|
|
@ -319,7 +320,6 @@ lean_object* l_Lean_Parser_Attr_class___elambda__1___closed__3;
|
|||
lean_object* l_Lean_Parser_Attr_macro_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_symbolInfo(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Parser_Attr_class_formatter___closed__1;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_orelseFnCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_epsilonInfo;
|
||||
lean_object* l_Lean_Parser_Attr_externEntry_parenthesizer___closed__6;
|
||||
|
|
@ -707,7 +707,7 @@ x_4 = l_Lean_Parser_checkPrecFn(x_3, x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
|
|||
222
stage0/stdlib/Lean/Parser/Basic.c
generated
222
stage0/stdlib/Lean/Parser/Basic.c
generated
|
|
@ -81,7 +81,6 @@ lean_object* l_Lean_Parser_octalNumberFn___closed__1;
|
|||
lean_object* l_Lean_Parser_quotedCharCoreFn(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_identKind___closed__1;
|
||||
lean_object* l_Lean_Parser_FirstTokens_toStr(lean_object*);
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_FirstTokens_toOptional_match__1(lean_object*);
|
||||
lean_object* lean_name_mk_string(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_fieldIdxKind___closed__2;
|
||||
|
|
@ -126,7 +125,6 @@ lean_object* l_Lean_Parser_ParserState_keepLatest_match__1___rarg(lean_object*,
|
|||
lean_object* l_Lean_Parser_nameLitNoAntiquot___closed__2;
|
||||
lean_object* l_Lean_Parser_whitespace___lambda__1___boxed(lean_object*);
|
||||
lean_object* l_Lean_Parser_instInhabitedError___closed__1;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_mkTokenAndFixPos___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Trie_matchPrefix___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_octalNumberFn___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserState_stackSize___boxed(lean_object*);
|
||||
|
|
@ -135,11 +133,11 @@ lean_object* l_Lean_Parser_octalNumberFn(lean_object*, lean_object*, lean_object
|
|||
lean_object* l_Lean_Parser_octalNumberFn___closed__2;
|
||||
lean_object* l_Lean_Parser_hexNumberFn(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_strLitFnAux(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172____lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserState_next(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_setExpected___elambda__1___boxed(lean_object*);
|
||||
extern lean_object* l_term___u2218_____closed__6;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_mkTokenAndFixPos___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_mkTrailingResult(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_categoryParserFnRef;
|
||||
lean_object* l_Lean_Parser_Error_expected___default;
|
||||
|
|
@ -189,13 +187,13 @@ uint8_t l_Lean_Parser_hexNumberFn___lambda__1(uint32_t);
|
|||
lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_satisfyFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_mkTokenAndFixPos___closed__2;
|
||||
lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_mkAntiquot___closed__9;
|
||||
uint8_t l_Lean_Parser_octalNumberFn___lambda__1(uint32_t);
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_sepByFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_isIdRest___boxed(lean_object*);
|
||||
lean_object* l_Lean_Parser_pushNone___elambda__1___boxed(lean_object*);
|
||||
lean_object* l_Lean_Parser_notFollowedByFn(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserState_mkUnexpectedErrorAt_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_orelseFn(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__4(lean_object*);
|
||||
|
|
@ -212,7 +210,6 @@ extern lean_object* l_Lean_charLitKind___closed__1;
|
|||
lean_object* l_Lean_Parser_mkTokenAndFixPos_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_checkColGeFn_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_mkTokenAndFixPos___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_tokenFn(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_withoutForbidden___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_mkAtomicInfo(lean_object*);
|
||||
|
|
@ -252,10 +249,10 @@ lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__8(lean_object*);
|
|||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserState_mkErrorsAt(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_checkStackTopFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915____boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_indexed_match__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_leadingParser(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_binNumberFn___closed__2;
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916____boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_forArgsM___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Lean_Parser_instInhabitedParserInfo___closed__3;
|
||||
lean_object* l_Lean_Parser_nameLitFn(lean_object*, lean_object*);
|
||||
|
|
@ -284,6 +281,7 @@ lean_object* l_Lean_Parser_andthenInfo___elambda__2(lean_object*, lean_object*,
|
|||
lean_object* l_Lean_Parser_mkAntiquot___closed__3;
|
||||
lean_object* l_Lean_Parser_many1Fn(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_satisfyFn(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_parserOfStackFnUnsafe_match__2(lean_object*);
|
||||
lean_object* l_Lean_Parser_identEqFn(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*);
|
||||
|
|
@ -478,7 +476,6 @@ lean_object* l_Lean_Parser_ParserState_mkErrorAt_match__1___rarg(lean_object*, l
|
|||
extern lean_object* l___private_Init_Util_0__mkPanicMessage___closed__2;
|
||||
lean_object* l_Lean_Parser_FirstTokens_seq_match__1(lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserContext_savedPos_x3f___default;
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172____lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
size_t l_Lean_Name_hash(lean_object*);
|
||||
lean_object* l_Lean_Parser_instInhabitedInputContext;
|
||||
lean_object* l_Lean_Parser_errorAtSavedPosFn(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
|
|
@ -506,6 +503,7 @@ lean_object* l_Lean_Parser_many1Unbox___lambda__1(lean_object*);
|
|||
lean_object* l_Lean_Parser_instBEqLeadingIdentBehavior;
|
||||
lean_object* l_Lean_Parser_rawCh___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_getNext___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173____lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_choiceKind;
|
||||
extern lean_object* l_Lean_charLitKind;
|
||||
lean_object* l_Lean_Parser_errorFn(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -559,7 +557,6 @@ lean_object* l_Array_findSomeRevM_x3f_find___at___private_Lean_Parser_Basic_0__L
|
|||
lean_object* l_Lean_Parser_parserOfStackFnUnsafe___closed__5;
|
||||
lean_object* l_Lean_Parser_charLitNoAntiquot___closed__1;
|
||||
lean_object* l_Lean_Parser_mkAntiquotSplice___closed__5;
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6190____lambda__1(lean_object*);
|
||||
lean_object* l_Lean_Parser_identFnAux_parse___closed__2;
|
||||
lean_object* l_Lean_Parser_evalInsideQuot___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_checkTailNoWs___boxed(lean_object*);
|
||||
|
|
@ -567,6 +564,7 @@ lean_object* l_Lean_Parser_takeUntilFn(lean_object*, lean_object*, lean_object*)
|
|||
lean_object* l_Lean_Parser_epsilonInfo___elambda__1___boxed(lean_object*);
|
||||
lean_object* l_Lean_Parser_checkOutsideQuot;
|
||||
lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916__match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_mkAtomicInfo___elambda__1(lean_object*);
|
||||
lean_object* l_Lean_Parser_anyOfFn(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_evalParserConst(lean_object*, lean_object*);
|
||||
|
|
@ -588,7 +586,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_forArgsM___spec__1___rar
|
|||
lean_object* l_Lean_Parser_whitespace(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_identFnAux_parse___closed__1;
|
||||
lean_object* l_Lean_Parser_indexed_match__3___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915__match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_sepBy1___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_rawCh(uint32_t, uint8_t);
|
||||
lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -646,7 +643,6 @@ lean_object* l_Lean_Parser_checkInsideQuot___closed__1;
|
|||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_updateCache(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_many1Unbox___lambda__1___boxed(lean_object*);
|
||||
lean_object* l_Lean_Parser_instInhabitedParser___lambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6190____closed__1;
|
||||
lean_object* l_Lean_Parser_sepBy1Info(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_quotedCharFn___closed__1;
|
||||
lean_object* l_Lean_Parser_charLitFnAux___closed__1;
|
||||
|
|
@ -655,6 +651,7 @@ lean_object* l_Lean_Parser_checkInsideQuotFn___boxed(lean_object*, lean_object*)
|
|||
lean_object* l_Lean_Parser_ParserState_mergeErrors___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_Error_expectedToString(lean_object*);
|
||||
lean_object* l_Lean_Parser_instOrElseParser___closed__1;
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_trailingNode(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_scientificLitNoAntiquot___closed__1;
|
||||
lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*);
|
||||
|
|
@ -712,6 +709,7 @@ lean_object* l_Lean_Parser_mkAntiquotSplice___closed__6;
|
|||
lean_object* l_Lean_Parser_FirstTokens_merge_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getNumArgs(lean_object*);
|
||||
lean_object* l_Lean_Parser_Error_instBEqError;
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173____closed__1;
|
||||
extern lean_object* l_Lean_scientificLitKind;
|
||||
lean_object* l_Lean_Parser_ParserState_keepNewError___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_sepByNoAntiquot___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -728,7 +726,6 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
|||
uint8_t l_USize_decLe(size_t, size_t);
|
||||
lean_object* l_Lean_Parser_sepByNoAntiquot(lean_object*, lean_object*, uint8_t);
|
||||
lean_object* l_Lean_Parser_numLitNoAntiquot___closed__3;
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172____closed__1;
|
||||
lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Parser_info___default___elambda__2___boxed(lean_object*);
|
||||
uint8_t l_Std_RBNode_isRed___rarg(lean_object*);
|
||||
|
|
@ -748,7 +745,7 @@ lean_object* l_Lean_Parser_checkTailNoWs_match__1(lean_object*);
|
|||
lean_object* l_Lean_Parser_Error_beq___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_TokenMap_instEmptyCollectionTokenMap(lean_object*);
|
||||
lean_object* l_Lean_Parser_orelseInfo___elambda__1(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916_(uint8_t, uint8_t);
|
||||
lean_object* l_Lean_Parser_errorAtSavedPos(lean_object*, uint8_t);
|
||||
lean_object* l_Lean_Parser_mkAntiquot___closed__14;
|
||||
lean_object* l_Lean_Parser_FirstTokens_toStr___closed__1;
|
||||
|
|
@ -763,8 +760,8 @@ lean_object* l_Lean_Parser_satisfySymbolFn(lean_object*, lean_object*, lean_obje
|
|||
lean_object* l_Lean_Parser_symbolInfo(lean_object*);
|
||||
lean_object* l_Lean_Parser_checkStackTop(lean_object*, lean_object*);
|
||||
lean_object* l_String_decLt___boxed(lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_instInhabitedPrattParsingTables;
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6191____lambda__1(lean_object*);
|
||||
lean_object* l_Lean_Parser_eoiFn(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_sepBy1Fn(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_orelseFnCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
|
|
@ -773,6 +770,7 @@ lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Parser_SyntaxN
|
|||
lean_object* l_List_toString___at_Lean_Parser_FirstTokens_toStr___spec__1(lean_object*);
|
||||
extern lean_object* l_Lean_Syntax_mkAntiquotNode___closed__2;
|
||||
lean_object* l_Lean_Parser_epsilonInfo___closed__3;
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6191____closed__1;
|
||||
lean_object* l_Lean_Parser_nonReservedSymbolInfo___elambda__2___boxed(lean_object*);
|
||||
lean_object* l_Lean_Parser_instInhabitedParser;
|
||||
lean_object* l_Lean_Parser_categoryParser___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -814,10 +812,10 @@ lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Parser_isIdCont___boxed(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
lean_object* l_Lean_Parser_takeWhile1Fn___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916__match__1(lean_object*);
|
||||
lean_object* l_Lean_Parser_identNoAntiquot___closed__3;
|
||||
lean_object* l_Lean_Parser_epsilonInfo___closed__1;
|
||||
lean_object* l_Lean_Parser_checkPrec(lean_object*);
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915__match__1(lean_object*);
|
||||
lean_object* l_Lean_Parser_checkNoImmediateColon___closed__2;
|
||||
lean_object* l_Lean_Parser_identEqFn_match__1(lean_object*);
|
||||
lean_object* l_Lean_Parser_sepBy1NoAntiquot(lean_object*, lean_object*, uint8_t);
|
||||
|
|
@ -835,7 +833,6 @@ lean_object* l_Lean_Syntax_getTailInfo(lean_object*);
|
|||
lean_object* l_Lean_Parser_instInhabitedParserInfo___closed__2;
|
||||
lean_object* l_Lean_Parser_errorAtSavedPosFn_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_nodeFn(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserState_pos___default;
|
||||
lean_object* l_Lean_Parser_checkWsBeforeFn___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_optionalFn(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -852,6 +849,7 @@ lean_object* l_Lean_Parser_evalParserConstUnsafe___closed__2;
|
|||
uint8_t l_Lean_isIdFirst(uint32_t);
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_takeWhile1Fn(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_instInhabitedParserFn___rarg___boxed(lean_object*);
|
||||
lean_object* l_Lean_Parser_errorFn___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_identEqFn_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -865,10 +863,11 @@ lean_object* l_Lean_Parser_indexed_match__1___rarg(lean_object*, lean_object*, l
|
|||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_tokenFnAux_match__1(lean_object*);
|
||||
extern lean_object* l_Lean_Syntax_antiquotSpliceKind_x3f_match__1___rarg___closed__1;
|
||||
lean_object* l_Lean_Parser_mkAntiquot___closed__6;
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_mkTokenAndFixPos___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_parserOfStackFnUnsafe___closed__1;
|
||||
extern lean_object* l_Lean_Syntax_mkAntiquotNode___closed__6;
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6190_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6191_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173_(lean_object*);
|
||||
uint8_t l_Lean_Parser_instInhabitedLeadingIdentBehavior;
|
||||
lean_object* l_Lean_Parser_fieldIdx___closed__7;
|
||||
lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t);
|
||||
|
|
@ -970,6 +969,7 @@ lean_object* l_Lean_Parser_instInhabitedParserInfo___lambda__1(lean_object*);
|
|||
lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__2___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_mkAntiquot___closed__2;
|
||||
lean_object* l_Lean_Parser_withResultOfInfo(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173____lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_withAntiquotSuffixSpliceFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_categoryParserOfStack___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_qpartition_loop___at_Lean_Parser_Error_toString___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2647,7 +2647,7 @@ x_1 = lean_box(0);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
|
|
@ -2690,7 +2690,7 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
x_2 = lean_ctor_get(x_1, 3);
|
||||
x_3 = lean_box(0);
|
||||
x_4 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_2, x_3);
|
||||
x_4 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_2, x_3);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
uint8_t x_5;
|
||||
|
|
@ -2705,11 +2705,11 @@ return x_6;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_1, x_2);
|
||||
x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -3128,7 +3128,7 @@ lean_inc(x_6);
|
|||
x_7 = lean_ctor_get(x_1, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; uint8_t x_11;
|
||||
|
|
@ -4909,7 +4909,7 @@ x_5 = lean_apply_2(x_1, x_3, x_4);
|
|||
x_6 = lean_ctor_get(x_5, 3);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_box(0);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
lean_dec(x_6);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
|
|
@ -6828,7 +6828,7 @@ x_7 = lean_apply_2(x_1, x_2, x_3);
|
|||
x_8 = lean_ctor_get(x_7, 3);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_box(0);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9);
|
||||
lean_dec(x_8);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
|
|
@ -6939,7 +6939,7 @@ x_7 = lean_apply_2(x_1, x_2, x_3);
|
|||
x_8 = lean_ctor_get(x_7, 3);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_box(0);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9);
|
||||
lean_dec(x_8);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
|
|
@ -7009,7 +7009,7 @@ x_8 = lean_apply_2(x_1, x_3, x_4);
|
|||
x_9 = lean_ctor_get(x_8, 3);
|
||||
lean_inc(x_9);
|
||||
x_10 = lean_box(0);
|
||||
x_11 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_9, x_10);
|
||||
x_11 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_9, x_10);
|
||||
lean_dec(x_9);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
|
|
@ -7082,7 +7082,7 @@ x_7 = lean_apply_2(x_1, x_2, x_3);
|
|||
x_8 = lean_ctor_get(x_7, 3);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_box(0);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9);
|
||||
lean_dec(x_8);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
|
|
@ -7179,7 +7179,7 @@ x_6 = lean_apply_2(x_1, x_2, x_3);
|
|||
x_7 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -7247,7 +7247,7 @@ x_11 = lean_apply_2(x_1, x_6, x_7);
|
|||
x_12 = lean_ctor_get(x_11, 3);
|
||||
lean_inc(x_12);
|
||||
x_13 = lean_box(0);
|
||||
x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_13);
|
||||
x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_13);
|
||||
lean_dec(x_12);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
|
|
@ -7306,7 +7306,7 @@ lean_inc(x_6);
|
|||
x_27 = lean_apply_2(x_2, x_6, x_11);
|
||||
x_28 = lean_ctor_get(x_27, 3);
|
||||
lean_inc(x_28);
|
||||
x_29 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_28, x_13);
|
||||
x_29 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_28, x_13);
|
||||
lean_dec(x_28);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
|
|
@ -7611,7 +7611,7 @@ x_5 = lean_apply_2(x_1, x_3, x_4);
|
|||
x_6 = lean_ctor_get(x_5, 3);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_box(0);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
lean_dec(x_6);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
|
|
@ -7883,7 +7883,7 @@ x_5 = l_Lean_Parser_satisfyFn(x_1, x_2, x_3, x_4);
|
|||
x_6 = lean_ctor_get(x_5, 3);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_box(0);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
lean_dec(x_6);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
|
|
@ -8126,7 +8126,7 @@ x_21 = l_Lean_Parser_finishCommentBlock(x_20, x_1, x_19);
|
|||
x_22 = lean_ctor_get(x_21, 3);
|
||||
lean_inc(x_22);
|
||||
x_23 = lean_box(0);
|
||||
x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_22, x_23);
|
||||
x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_22, x_23);
|
||||
lean_dec(x_22);
|
||||
if (x_24 == 0)
|
||||
{
|
||||
|
|
@ -8168,7 +8168,7 @@ x_31 = l_Lean_Parser_takeUntilFn(x_30, x_1, x_29);
|
|||
x_32 = lean_ctor_get(x_31, 3);
|
||||
lean_inc(x_32);
|
||||
x_33 = lean_box(0);
|
||||
x_34 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_32, x_33);
|
||||
x_34 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_32, x_33);
|
||||
lean_dec(x_32);
|
||||
if (x_34 == 0)
|
||||
{
|
||||
|
|
@ -8321,7 +8321,7 @@ x_6 = lean_apply_2(x_1, x_3, x_4);
|
|||
x_7 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -8367,7 +8367,7 @@ x_13 = l_Lean_Parser_satisfyFn(x_6, x_11, x_3, x_4);
|
|||
x_14 = lean_ctor_get(x_13, 3);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_box(0);
|
||||
x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_14, x_15);
|
||||
x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_14, x_15);
|
||||
lean_dec(x_14);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
|
|
@ -8414,7 +8414,7 @@ x_13 = l_Lean_Parser_satisfyFn(x_6, x_11, x_3, x_4);
|
|||
x_14 = lean_ctor_get(x_13, 3);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_box(0);
|
||||
x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_14, x_15);
|
||||
x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_14, x_15);
|
||||
lean_dec(x_14);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
|
|
@ -8639,7 +8639,7 @@ x_19 = l_Lean_Parser_hexDigitFn(x_2, x_18);
|
|||
x_20 = lean_ctor_get(x_19, 3);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_box(0);
|
||||
x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_20, x_21);
|
||||
x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_20, x_21);
|
||||
lean_dec(x_20);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
|
|
@ -8651,7 +8651,7 @@ lean_object* x_23; lean_object* x_24; uint8_t x_25;
|
|||
x_23 = l_Lean_Parser_hexDigitFn(x_2, x_19);
|
||||
x_24 = lean_ctor_get(x_23, 3);
|
||||
lean_inc(x_24);
|
||||
x_25 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_24, x_21);
|
||||
x_25 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_24, x_21);
|
||||
lean_dec(x_24);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
|
|
@ -8663,7 +8663,7 @@ lean_object* x_26; lean_object* x_27; uint8_t x_28;
|
|||
x_26 = l_Lean_Parser_hexDigitFn(x_2, x_23);
|
||||
x_27 = lean_ctor_get(x_26, 3);
|
||||
lean_inc(x_27);
|
||||
x_28 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_27, x_21);
|
||||
x_28 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_27, x_21);
|
||||
lean_dec(x_27);
|
||||
if (x_28 == 0)
|
||||
{
|
||||
|
|
@ -8688,7 +8688,7 @@ x_31 = l_Lean_Parser_hexDigitFn(x_2, x_30);
|
|||
x_32 = lean_ctor_get(x_31, 3);
|
||||
lean_inc(x_32);
|
||||
x_33 = lean_box(0);
|
||||
x_34 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_32, x_33);
|
||||
x_34 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_32, x_33);
|
||||
lean_dec(x_32);
|
||||
if (x_34 == 0)
|
||||
{
|
||||
|
|
@ -8918,7 +8918,7 @@ lean_object* x_14; uint8_t x_15;
|
|||
x_14 = lean_ctor_get(x_3, 3);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_3);
|
||||
x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_14, x_13);
|
||||
x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_14, x_13);
|
||||
lean_dec(x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
|
|
@ -8961,7 +8961,7 @@ x_25 = l_Lean_Parser_quotedCharFn___closed__1;
|
|||
x_26 = l_Lean_Parser_quotedCharCoreFn(x_25, x_2, x_10);
|
||||
x_27 = lean_ctor_get(x_26, 3);
|
||||
lean_inc(x_27);
|
||||
x_28 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_27, x_13);
|
||||
x_28 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_27, x_13);
|
||||
lean_dec(x_27);
|
||||
if (x_28 == 0)
|
||||
{
|
||||
|
|
@ -9053,7 +9053,7 @@ x_17 = l_Lean_Parser_quotedCharCoreFn(x_16, x_2, x_10);
|
|||
x_18 = lean_ctor_get(x_17, 3);
|
||||
lean_inc(x_18);
|
||||
x_19 = lean_box(0);
|
||||
x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_18, x_19);
|
||||
x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_18, x_19);
|
||||
lean_dec(x_18);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
|
|
@ -9368,7 +9368,7 @@ x_6 = l_Lean_Parser_satisfyFn(x_4, x_5, x_2, x_3);
|
|||
x_7 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -9454,7 +9454,7 @@ x_6 = l_Lean_Parser_satisfyFn(x_4, x_5, x_2, x_3);
|
|||
x_7 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -9610,7 +9610,7 @@ x_6 = l_Lean_Parser_satisfyFn(x_4, x_5, x_2, x_3);
|
|||
x_7 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -9961,7 +9961,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Parser_mkTokenAndFixPos_match__1___rarg)
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_mkTokenAndFixPos___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_mkTokenAndFixPos___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
|
|
@ -10034,7 +10034,7 @@ lean_object* x_8; lean_object* x_9; uint8_t x_10;
|
|||
x_8 = lean_ctor_get(x_2, 0);
|
||||
x_9 = lean_ctor_get(x_3, 5);
|
||||
lean_inc(x_8);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_mkTokenAndFixPos___spec__1(x_9, x_2);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_mkTokenAndFixPos___spec__1(x_9, x_2);
|
||||
lean_dec(x_2);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
|
|
@ -10095,7 +10095,7 @@ x_29 = lean_ctor_get(x_3, 5);
|
|||
lean_inc(x_28);
|
||||
x_30 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_30, 0, x_28);
|
||||
x_31 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_mkTokenAndFixPos___spec__1(x_29, x_30);
|
||||
x_31 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_mkTokenAndFixPos___spec__1(x_29, x_30);
|
||||
lean_dec(x_30);
|
||||
if (x_31 == 0)
|
||||
{
|
||||
|
|
@ -10149,11 +10149,11 @@ return x_48;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_mkTokenAndFixPos___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_mkTokenAndFixPos___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_mkTokenAndFixPos___spec__1(x_1, x_2);
|
||||
x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_mkTokenAndFixPos___spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -10338,7 +10338,7 @@ x_31 = l_Lean_Parser_satisfyFn(x_27, x_30, x_4, x_28);
|
|||
x_32 = lean_ctor_get(x_31, 3);
|
||||
lean_inc(x_32);
|
||||
x_33 = lean_box(0);
|
||||
x_34 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_32, x_33);
|
||||
x_34 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_32, x_33);
|
||||
lean_dec(x_32);
|
||||
if (x_34 == 0)
|
||||
{
|
||||
|
|
@ -10504,7 +10504,7 @@ lean_inc(x_1);
|
|||
x_9 = l_Lean_Parser_identFnAux_parse(x_1, x_6, x_8, x_2, x_7);
|
||||
x_10 = lean_ctor_get(x_9, 3);
|
||||
lean_inc(x_10);
|
||||
x_11 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_10, x_6);
|
||||
x_11 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_10, x_6);
|
||||
lean_dec(x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
|
|
@ -10882,7 +10882,7 @@ x_6 = l_Lean_Parser_tokenFn(x_1, x_2);
|
|||
x_7 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -11026,7 +11026,7 @@ x_6 = l_Lean_Parser_tokenFn(x_3, x_4);
|
|||
x_7 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -11089,7 +11089,7 @@ x_8 = l_Lean_Parser_tokenFn(x_3, x_4);
|
|||
x_9 = lean_ctor_get(x_8, 3);
|
||||
lean_inc(x_9);
|
||||
x_10 = lean_box(0);
|
||||
x_11 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_9, x_10);
|
||||
x_11 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_9, x_10);
|
||||
lean_dec(x_9);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
|
|
@ -11306,7 +11306,7 @@ x_6 = l_Lean_Parser_tokenFn(x_3, x_4);
|
|||
x_7 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -12087,7 +12087,7 @@ x_7 = l_Lean_Parser_tokenFn(x_4, x_5);
|
|||
x_8 = lean_ctor_get(x_7, 3);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_box(0);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9);
|
||||
lean_dec(x_8);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
|
|
@ -12359,7 +12359,7 @@ x_4 = l_Lean_Parser_tokenFn(x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -12447,7 +12447,7 @@ x_4 = l_Lean_Parser_tokenFn(x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -12535,7 +12535,7 @@ x_4 = l_Lean_Parser_tokenFn(x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -12623,7 +12623,7 @@ x_4 = l_Lean_Parser_tokenFn(x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -12711,7 +12711,7 @@ x_4 = l_Lean_Parser_tokenFn(x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -12799,7 +12799,7 @@ x_4 = l_Lean_Parser_tokenFn(x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -12951,7 +12951,7 @@ x_5 = l_Lean_Parser_tokenFn(x_2, x_3);
|
|||
x_6 = lean_ctor_get(x_5, 3);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_box(0);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
lean_dec(x_6);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
|
|
@ -13511,7 +13511,7 @@ x_7 = lean_apply_2(x_2, x_3, x_4);
|
|||
x_8 = lean_ctor_get(x_7, 3);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_box(0);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9);
|
||||
lean_dec(x_8);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
|
|
@ -13555,7 +13555,7 @@ x_20 = lean_apply_2(x_2, x_3, x_19);
|
|||
x_21 = lean_ctor_get(x_20, 3);
|
||||
lean_inc(x_21);
|
||||
x_22 = lean_box(0);
|
||||
x_23 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_21, x_22);
|
||||
x_23 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_21, x_22);
|
||||
lean_dec(x_21);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
|
|
@ -13985,7 +13985,7 @@ lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
|||
x_3 = lean_ctor_get(x_2, 3);
|
||||
lean_inc(x_3);
|
||||
x_4 = lean_box(0);
|
||||
x_5 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_3, x_4);
|
||||
x_5 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
|
|
@ -14238,7 +14238,7 @@ x_18 = l_Lean_Parser_runLongestMatchParser(x_1, x_17, x_3, x_4);
|
|||
x_19 = lean_ctor_get(x_18, 3);
|
||||
lean_inc(x_19);
|
||||
x_20 = lean_box(0);
|
||||
x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_19, x_20);
|
||||
x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_19, x_20);
|
||||
lean_dec(x_19);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
|
|
@ -25737,7 +25737,7 @@ x_1 = 0;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915__match__1___rarg(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916__match__1___rarg(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
switch (x_1) {
|
||||
|
|
@ -25819,15 +25819,15 @@ return x_24;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915__match__1(lean_object* x_1) {
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916__match__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915__match__1___rarg___boxed), 6, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916__match__1___rarg___boxed), 6, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_7; uint8_t x_8; lean_object* x_9;
|
||||
|
|
@ -25835,11 +25835,11 @@ x_7 = lean_unbox(x_1);
|
|||
lean_dec(x_1);
|
||||
x_8 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_9 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915__match__1___rarg(x_7, x_8, x_3, x_4, x_5, x_6);
|
||||
x_9 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916__match__1___rarg(x_7, x_8, x_3, x_4, x_5, x_6);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915_(uint8_t x_1, uint8_t x_2) {
|
||||
uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916_(uint8_t x_1, uint8_t x_2) {
|
||||
_start:
|
||||
{
|
||||
switch (x_1) {
|
||||
|
|
@ -25900,7 +25900,7 @@ return x_11;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
|
|
@ -25908,7 +25908,7 @@ x_3 = lean_unbox(x_1);
|
|||
lean_dec(x_1);
|
||||
x_4 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915_(x_3, x_4);
|
||||
x_5 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916_(x_3, x_4);
|
||||
x_6 = lean_box(x_5);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -25917,7 +25917,7 @@ static lean_object* _init_l_Lean_Parser_instBEqLeadingIdentBehavior___closed__1(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5915____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_5916____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -27230,7 +27230,7 @@ lean_dec(x_1);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; uint8_t x_4;
|
||||
|
|
@ -27255,7 +27255,7 @@ return x_7;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
|
|
@ -27263,34 +27263,34 @@ x_4 = l_Lean_Parser_whitespace(x_2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172____closed__1() {
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172____lambda__1___boxed), 3, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173____lambda__1___boxed), 3, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172____closed__1;
|
||||
x_3 = l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172____spec__1(x_2, x_1);
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173____closed__1;
|
||||
x_3 = l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173____spec__1(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172____lambda__1(x_1, x_2, x_3);
|
||||
x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173____lambda__1(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6190____lambda__1(lean_object* x_1) {
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6191____lambda__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
|
|
@ -27316,19 +27316,19 @@ return x_7;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6190____closed__1() {
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6191____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6190____lambda__1), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6191____lambda__1), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6190_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6191_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6190____closed__1;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6191____closed__1;
|
||||
x_3 = l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -28044,7 +28044,7 @@ x_7 = l_Lean_Parser_symbolFnAux(x_5, x_6, x_1, x_2);
|
|||
x_8 = lean_ctor_get(x_7, 3);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_box(0);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9);
|
||||
lean_dec(x_8);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
|
|
@ -28062,7 +28062,7 @@ lean_inc(x_1);
|
|||
x_14 = l_Lean_Parser_toggleInsideQuotFn(x_13, x_1, x_7);
|
||||
x_15 = lean_ctor_get(x_14, 3);
|
||||
lean_inc(x_15);
|
||||
x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_15, x_9);
|
||||
x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_15, x_9);
|
||||
lean_dec(x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
|
|
@ -28233,7 +28233,7 @@ x_5 = l_Lean_Parser_checkPrecFn(x_4, x_2, x_3);
|
|||
x_6 = lean_ctor_get(x_5, 3);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_box(0);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
lean_dec(x_6);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
|
|
@ -28258,7 +28258,7 @@ x_5 = l_Lean_Parser_checkPrecFn(x_4, x_2, x_3);
|
|||
x_6 = lean_ctor_get(x_5, 3);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_box(0);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
lean_dec(x_6);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
|
|
@ -28810,7 +28810,7 @@ x_5 = l_Lean_Parser_checkPrecFn(x_4, x_2, x_3);
|
|||
x_6 = lean_ctor_get(x_5, 3);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_box(0);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
lean_dec(x_6);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
|
|
@ -29005,7 +29005,7 @@ x_9 = lean_apply_2(x_2, x_3, x_1);
|
|||
x_10 = lean_ctor_get(x_9, 3);
|
||||
lean_inc(x_10);
|
||||
x_11 = lean_box(0);
|
||||
x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_10, x_11);
|
||||
x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_10, x_11);
|
||||
lean_dec(x_10);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
|
|
@ -29034,7 +29034,7 @@ x_6 = lean_apply_2(x_2, x_4, x_5);
|
|||
x_7 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -30124,7 +30124,7 @@ x_26 = l_Lean_Parser_evalParserConstUnsafe(x_25, x_2, x_3);
|
|||
x_27 = lean_ctor_get(x_26, 3);
|
||||
lean_inc(x_27);
|
||||
x_28 = lean_box(0);
|
||||
x_29 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_27, x_28);
|
||||
x_29 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_27, x_28);
|
||||
lean_dec(x_27);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
|
|
@ -30782,7 +30782,7 @@ x_14 = l_Lean_Parser_trailingLoopStep(x_1, x_11, x_8, x_2, x_7);
|
|||
x_15 = lean_ctor_get(x_14, 3);
|
||||
lean_inc(x_15);
|
||||
x_16 = lean_box(0);
|
||||
x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_15, x_16);
|
||||
x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_15, x_16);
|
||||
lean_dec(x_15);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
|
|
@ -30839,7 +30839,7 @@ x_29 = l_Lean_Parser_trailingLoopStep(x_1, x_26, x_8, x_2, x_7);
|
|||
x_30 = lean_ctor_get(x_29, 3);
|
||||
lean_inc(x_30);
|
||||
x_31 = lean_box(0);
|
||||
x_32 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_30, x_31);
|
||||
x_32 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_30, x_31);
|
||||
lean_dec(x_30);
|
||||
if (x_32 == 0)
|
||||
{
|
||||
|
|
@ -30908,7 +30908,7 @@ lean_inc(x_2);
|
|||
x_11 = l_Lean_Parser_leadingParserAux(x_1, x_2, x_3, x_5, x_6);
|
||||
x_12 = lean_ctor_get(x_11, 3);
|
||||
lean_inc(x_12);
|
||||
x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_10);
|
||||
x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_10);
|
||||
lean_dec(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
|
|
@ -30932,7 +30932,7 @@ lean_inc(x_5);
|
|||
x_16 = l_Lean_Parser_orelseFnCore(x_4, x_8, x_15, x_5, x_6);
|
||||
x_17 = lean_ctor_get(x_16, 3);
|
||||
lean_inc(x_17);
|
||||
x_18 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_17, x_10);
|
||||
x_18 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_17, x_10);
|
||||
lean_dec(x_17);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
|
|
@ -31868,16 +31868,16 @@ l_Lean_Parser_instInhabitedParserCategory___closed__1 = _init_l_Lean_Parser_inst
|
|||
lean_mark_persistent(l_Lean_Parser_instInhabitedParserCategory___closed__1);
|
||||
l_Lean_Parser_instInhabitedParserCategory = _init_l_Lean_Parser_instInhabitedParserCategory();
|
||||
lean_mark_persistent(l_Lean_Parser_instInhabitedParserCategory);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172____closed__1);
|
||||
res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6172_(lean_io_mk_world());
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173____closed__1);
|
||||
res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6173_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Parser_categoryParserFnRef = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Parser_categoryParserFnRef);
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6190____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6190____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6190____closed__1);
|
||||
res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6190_(lean_io_mk_world());
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6191____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6191____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6191____closed__1);
|
||||
res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_6191_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Parser_categoryParserFnExtension = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Parser_categoryParserFnExtension);
|
||||
|
|
|
|||
1209
stage0/stdlib/Lean/Parser/Command.c
generated
1209
stage0/stdlib/Lean/Parser/Command.c
generated
File diff suppressed because it is too large
Load diff
76
stage0/stdlib/Lean/Parser/Do.c
generated
76
stage0/stdlib/Lean/Parser/Do.c
generated
|
|
@ -457,6 +457,7 @@ lean_object* l_Lean_Parser_Term_doIf___closed__4;
|
|||
lean_object* l_Lean_Parser_Term_doSeqItem___elambda__1___closed__6;
|
||||
lean_object* l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__4;
|
||||
lean_object* l_Lean_Parser_Term_doUnless___elambda__1___closed__2;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_doAssert___elambda__1___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_doForDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_doReturn_parenthesizer___closed__6;
|
||||
|
|
@ -1187,7 +1188,6 @@ lean_object* l_Lean_Parser_Term_doFor___closed__3;
|
|||
lean_object* l_Lean_Parser_Term_doBreak_parenthesizer___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_doIf_formatter___closed__4;
|
||||
lean_object* l_Lean_Parser_Term_doIfLetBind;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_doIfLet___closed__7;
|
||||
lean_object* l_Lean_Parser_orelseFnCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_epsilonInfo;
|
||||
|
|
@ -5771,7 +5771,7 @@ x_16 = l_Lean_Parser_symbolFnAux(x_1, x_15, x_3, x_4);
|
|||
x_17 = lean_ctor_get(x_16, 3);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_box(0);
|
||||
x_19 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_17, x_18);
|
||||
x_19 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_17, x_18);
|
||||
lean_dec(x_17);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
|
|
@ -5786,7 +5786,7 @@ lean_inc(x_3);
|
|||
x_20 = lean_apply_2(x_2, x_3, x_16);
|
||||
x_21 = lean_ctor_get(x_20, 3);
|
||||
lean_inc(x_21);
|
||||
x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_21, x_18);
|
||||
x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_21, x_18);
|
||||
lean_dec(x_21);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
|
|
@ -5835,7 +5835,7 @@ x_37 = l_Lean_Parser_symbolFnAux(x_1, x_36, x_3, x_4);
|
|||
x_38 = lean_ctor_get(x_37, 3);
|
||||
lean_inc(x_38);
|
||||
x_39 = lean_box(0);
|
||||
x_40 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_38, x_39);
|
||||
x_40 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_38, x_39);
|
||||
lean_dec(x_38);
|
||||
if (x_40 == 0)
|
||||
{
|
||||
|
|
@ -5850,7 +5850,7 @@ lean_inc(x_3);
|
|||
x_41 = lean_apply_2(x_2, x_3, x_37);
|
||||
x_42 = lean_ctor_get(x_41, 3);
|
||||
lean_inc(x_42);
|
||||
x_43 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_42, x_39);
|
||||
x_43 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_42, x_39);
|
||||
lean_dec(x_42);
|
||||
if (x_43 == 0)
|
||||
{
|
||||
|
|
@ -5925,7 +5925,7 @@ x_63 = l_Lean_Parser_symbolFnAux(x_1, x_62, x_3, x_4);
|
|||
x_64 = lean_ctor_get(x_63, 3);
|
||||
lean_inc(x_64);
|
||||
x_65 = lean_box(0);
|
||||
x_66 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_64, x_65);
|
||||
x_66 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_64, x_65);
|
||||
lean_dec(x_64);
|
||||
if (x_66 == 0)
|
||||
{
|
||||
|
|
@ -5940,7 +5940,7 @@ lean_inc(x_3);
|
|||
x_67 = lean_apply_2(x_2, x_3, x_63);
|
||||
x_68 = lean_ctor_get(x_67, 3);
|
||||
lean_inc(x_68);
|
||||
x_69 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_68, x_65);
|
||||
x_69 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_68, x_65);
|
||||
lean_dec(x_68);
|
||||
if (x_69 == 0)
|
||||
{
|
||||
|
|
@ -6046,7 +6046,7 @@ x_98 = l_Lean_Parser_symbolFnAux(x_1, x_97, x_94, x_4);
|
|||
x_99 = lean_ctor_get(x_98, 3);
|
||||
lean_inc(x_99);
|
||||
x_100 = lean_box(0);
|
||||
x_101 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_99, x_100);
|
||||
x_101 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_99, x_100);
|
||||
lean_dec(x_99);
|
||||
if (x_101 == 0)
|
||||
{
|
||||
|
|
@ -6061,7 +6061,7 @@ lean_inc(x_94);
|
|||
x_102 = lean_apply_2(x_2, x_94, x_98);
|
||||
x_103 = lean_ctor_get(x_102, 3);
|
||||
lean_inc(x_103);
|
||||
x_104 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_103, x_100);
|
||||
x_104 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_103, x_100);
|
||||
lean_dec(x_103);
|
||||
if (x_104 == 0)
|
||||
{
|
||||
|
|
@ -6967,7 +6967,7 @@ x_6 = l_Lean_Parser_atomicFn(x_5, x_1, x_2);
|
|||
x_7 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -8467,7 +8467,7 @@ x_17 = l_Lean_Parser_symbolFnAux(x_1, x_16, x_3, x_4);
|
|||
x_18 = lean_ctor_get(x_17, 3);
|
||||
lean_inc(x_18);
|
||||
x_19 = lean_box(0);
|
||||
x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_18, x_19);
|
||||
x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_18, x_19);
|
||||
lean_dec(x_18);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
|
|
@ -8500,7 +8500,7 @@ x_27 = l_Lean_Parser_Term_elseIf___elambda__1___lambda__1___closed__1;
|
|||
x_28 = l_Lean_Parser_ParserState_mkError(x_17, x_27);
|
||||
x_29 = lean_ctor_get(x_28, 3);
|
||||
lean_inc(x_29);
|
||||
x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_29, x_19);
|
||||
x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_29, x_19);
|
||||
lean_dec(x_29);
|
||||
if (x_30 == 0)
|
||||
{
|
||||
|
|
@ -8558,7 +8558,7 @@ x_47 = l_Lean_Parser_symbolFnAux(x_1, x_46, x_3, x_4);
|
|||
x_48 = lean_ctor_get(x_47, 3);
|
||||
lean_inc(x_48);
|
||||
x_49 = lean_box(0);
|
||||
x_50 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_48, x_49);
|
||||
x_50 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_48, x_49);
|
||||
lean_dec(x_48);
|
||||
if (x_50 == 0)
|
||||
{
|
||||
|
|
@ -8591,7 +8591,7 @@ x_57 = l_Lean_Parser_Term_elseIf___elambda__1___lambda__1___closed__1;
|
|||
x_58 = l_Lean_Parser_ParserState_mkError(x_47, x_57);
|
||||
x_59 = lean_ctor_get(x_58, 3);
|
||||
lean_inc(x_59);
|
||||
x_60 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_59, x_49);
|
||||
x_60 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_59, x_49);
|
||||
lean_dec(x_59);
|
||||
if (x_60 == 0)
|
||||
{
|
||||
|
|
@ -8676,7 +8676,7 @@ x_82 = l_Lean_Parser_symbolFnAux(x_1, x_81, x_3, x_4);
|
|||
x_83 = lean_ctor_get(x_82, 3);
|
||||
lean_inc(x_83);
|
||||
x_84 = lean_box(0);
|
||||
x_85 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_83, x_84);
|
||||
x_85 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_83, x_84);
|
||||
lean_dec(x_83);
|
||||
if (x_85 == 0)
|
||||
{
|
||||
|
|
@ -8709,7 +8709,7 @@ x_92 = l_Lean_Parser_Term_elseIf___elambda__1___lambda__1___closed__1;
|
|||
x_93 = l_Lean_Parser_ParserState_mkError(x_82, x_92);
|
||||
x_94 = lean_ctor_get(x_93, 3);
|
||||
lean_inc(x_94);
|
||||
x_95 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_94, x_84);
|
||||
x_95 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_94, x_84);
|
||||
lean_dec(x_94);
|
||||
if (x_95 == 0)
|
||||
{
|
||||
|
|
@ -8825,7 +8825,7 @@ x_126 = l_Lean_Parser_symbolFnAux(x_1, x_125, x_122, x_4);
|
|||
x_127 = lean_ctor_get(x_126, 3);
|
||||
lean_inc(x_127);
|
||||
x_128 = lean_box(0);
|
||||
x_129 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_127, x_128);
|
||||
x_129 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_127, x_128);
|
||||
lean_dec(x_127);
|
||||
if (x_129 == 0)
|
||||
{
|
||||
|
|
@ -8858,7 +8858,7 @@ x_136 = l_Lean_Parser_Term_elseIf___elambda__1___lambda__1___closed__1;
|
|||
x_137 = l_Lean_Parser_ParserState_mkError(x_126, x_136);
|
||||
x_138 = lean_ctor_get(x_137, 3);
|
||||
lean_inc(x_138);
|
||||
x_139 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_138, x_128);
|
||||
x_139 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_138, x_128);
|
||||
lean_dec(x_138);
|
||||
if (x_139 == 0)
|
||||
{
|
||||
|
|
@ -9704,7 +9704,7 @@ x_18 = l_Lean_Parser_symbolFnAux(x_1, x_17, x_5, x_6);
|
|||
x_19 = lean_ctor_get(x_18, 3);
|
||||
lean_inc(x_19);
|
||||
x_20 = lean_box(0);
|
||||
x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_19, x_20);
|
||||
x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_19, x_20);
|
||||
lean_dec(x_19);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
|
|
@ -9720,7 +9720,7 @@ lean_inc(x_5);
|
|||
x_22 = l_Lean_Parser_Term_doIfCond___elambda__1(x_5, x_18);
|
||||
x_23 = lean_ctor_get(x_22, 3);
|
||||
lean_inc(x_23);
|
||||
x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_23, x_20);
|
||||
x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_23, x_20);
|
||||
lean_dec(x_23);
|
||||
if (x_24 == 0)
|
||||
{
|
||||
|
|
@ -9738,7 +9738,7 @@ lean_inc(x_5);
|
|||
x_27 = l_Lean_Parser_symbolFnAux(x_2, x_26, x_5, x_22);
|
||||
x_28 = lean_ctor_get(x_27, 3);
|
||||
lean_inc(x_28);
|
||||
x_29 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_28, x_20);
|
||||
x_29 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_28, x_20);
|
||||
lean_dec(x_28);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
|
|
@ -9757,7 +9757,7 @@ lean_inc(x_5);
|
|||
x_33 = l_Lean_Parser_orelseFnCore(x_30, x_31, x_32, x_5, x_27);
|
||||
x_34 = lean_ctor_get(x_33, 3);
|
||||
lean_inc(x_34);
|
||||
x_35 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_34, x_20);
|
||||
x_35 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_34, x_20);
|
||||
lean_dec(x_34);
|
||||
if (x_35 == 0)
|
||||
{
|
||||
|
|
@ -9773,7 +9773,7 @@ lean_inc(x_5);
|
|||
x_36 = lean_apply_2(x_3, x_5, x_33);
|
||||
x_37 = lean_ctor_get(x_36, 3);
|
||||
lean_inc(x_37);
|
||||
x_38 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_37, x_20);
|
||||
x_38 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_37, x_20);
|
||||
lean_dec(x_37);
|
||||
if (x_38 == 0)
|
||||
{
|
||||
|
|
@ -9823,7 +9823,7 @@ x_50 = l_Lean_Parser_symbolFnAux(x_1, x_49, x_5, x_6);
|
|||
x_51 = lean_ctor_get(x_50, 3);
|
||||
lean_inc(x_51);
|
||||
x_52 = lean_box(0);
|
||||
x_53 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_51, x_52);
|
||||
x_53 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_51, x_52);
|
||||
lean_dec(x_51);
|
||||
if (x_53 == 0)
|
||||
{
|
||||
|
|
@ -9839,7 +9839,7 @@ lean_inc(x_5);
|
|||
x_54 = l_Lean_Parser_Term_doIfCond___elambda__1(x_5, x_50);
|
||||
x_55 = lean_ctor_get(x_54, 3);
|
||||
lean_inc(x_55);
|
||||
x_56 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_55, x_52);
|
||||
x_56 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_55, x_52);
|
||||
lean_dec(x_55);
|
||||
if (x_56 == 0)
|
||||
{
|
||||
|
|
@ -9857,7 +9857,7 @@ lean_inc(x_5);
|
|||
x_59 = l_Lean_Parser_symbolFnAux(x_2, x_58, x_5, x_54);
|
||||
x_60 = lean_ctor_get(x_59, 3);
|
||||
lean_inc(x_60);
|
||||
x_61 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_60, x_52);
|
||||
x_61 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_60, x_52);
|
||||
lean_dec(x_60);
|
||||
if (x_61 == 0)
|
||||
{
|
||||
|
|
@ -9876,7 +9876,7 @@ lean_inc(x_5);
|
|||
x_65 = l_Lean_Parser_orelseFnCore(x_62, x_63, x_64, x_5, x_59);
|
||||
x_66 = lean_ctor_get(x_65, 3);
|
||||
lean_inc(x_66);
|
||||
x_67 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_66, x_52);
|
||||
x_67 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_66, x_52);
|
||||
lean_dec(x_66);
|
||||
if (x_67 == 0)
|
||||
{
|
||||
|
|
@ -9892,7 +9892,7 @@ lean_inc(x_5);
|
|||
x_68 = lean_apply_2(x_3, x_5, x_65);
|
||||
x_69 = lean_ctor_get(x_68, 3);
|
||||
lean_inc(x_69);
|
||||
x_70 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_69, x_52);
|
||||
x_70 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_69, x_52);
|
||||
lean_dec(x_69);
|
||||
if (x_70 == 0)
|
||||
{
|
||||
|
|
@ -9968,7 +9968,7 @@ x_87 = l_Lean_Parser_symbolFnAux(x_1, x_86, x_5, x_6);
|
|||
x_88 = lean_ctor_get(x_87, 3);
|
||||
lean_inc(x_88);
|
||||
x_89 = lean_box(0);
|
||||
x_90 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_88, x_89);
|
||||
x_90 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_88, x_89);
|
||||
lean_dec(x_88);
|
||||
if (x_90 == 0)
|
||||
{
|
||||
|
|
@ -9984,7 +9984,7 @@ lean_inc(x_5);
|
|||
x_91 = l_Lean_Parser_Term_doIfCond___elambda__1(x_5, x_87);
|
||||
x_92 = lean_ctor_get(x_91, 3);
|
||||
lean_inc(x_92);
|
||||
x_93 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_92, x_89);
|
||||
x_93 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_92, x_89);
|
||||
lean_dec(x_92);
|
||||
if (x_93 == 0)
|
||||
{
|
||||
|
|
@ -10002,7 +10002,7 @@ lean_inc(x_5);
|
|||
x_96 = l_Lean_Parser_symbolFnAux(x_2, x_95, x_5, x_91);
|
||||
x_97 = lean_ctor_get(x_96, 3);
|
||||
lean_inc(x_97);
|
||||
x_98 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_97, x_89);
|
||||
x_98 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_97, x_89);
|
||||
lean_dec(x_97);
|
||||
if (x_98 == 0)
|
||||
{
|
||||
|
|
@ -10021,7 +10021,7 @@ lean_inc(x_5);
|
|||
x_102 = l_Lean_Parser_orelseFnCore(x_99, x_100, x_101, x_5, x_96);
|
||||
x_103 = lean_ctor_get(x_102, 3);
|
||||
lean_inc(x_103);
|
||||
x_104 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_103, x_89);
|
||||
x_104 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_103, x_89);
|
||||
lean_dec(x_103);
|
||||
if (x_104 == 0)
|
||||
{
|
||||
|
|
@ -10037,7 +10037,7 @@ lean_inc(x_5);
|
|||
x_105 = lean_apply_2(x_3, x_5, x_102);
|
||||
x_106 = lean_ctor_get(x_105, 3);
|
||||
lean_inc(x_106);
|
||||
x_107 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_106, x_89);
|
||||
x_107 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_106, x_89);
|
||||
lean_dec(x_106);
|
||||
if (x_107 == 0)
|
||||
{
|
||||
|
|
@ -10144,7 +10144,7 @@ x_133 = l_Lean_Parser_symbolFnAux(x_1, x_132, x_129, x_6);
|
|||
x_134 = lean_ctor_get(x_133, 3);
|
||||
lean_inc(x_134);
|
||||
x_135 = lean_box(0);
|
||||
x_136 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_134, x_135);
|
||||
x_136 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_134, x_135);
|
||||
lean_dec(x_134);
|
||||
if (x_136 == 0)
|
||||
{
|
||||
|
|
@ -10160,7 +10160,7 @@ lean_inc(x_129);
|
|||
x_137 = l_Lean_Parser_Term_doIfCond___elambda__1(x_129, x_133);
|
||||
x_138 = lean_ctor_get(x_137, 3);
|
||||
lean_inc(x_138);
|
||||
x_139 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_138, x_135);
|
||||
x_139 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_138, x_135);
|
||||
lean_dec(x_138);
|
||||
if (x_139 == 0)
|
||||
{
|
||||
|
|
@ -10178,7 +10178,7 @@ lean_inc(x_129);
|
|||
x_142 = l_Lean_Parser_symbolFnAux(x_2, x_141, x_129, x_137);
|
||||
x_143 = lean_ctor_get(x_142, 3);
|
||||
lean_inc(x_143);
|
||||
x_144 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_143, x_135);
|
||||
x_144 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_143, x_135);
|
||||
lean_dec(x_143);
|
||||
if (x_144 == 0)
|
||||
{
|
||||
|
|
@ -10197,7 +10197,7 @@ lean_inc(x_129);
|
|||
x_148 = l_Lean_Parser_orelseFnCore(x_145, x_146, x_147, x_129, x_142);
|
||||
x_149 = lean_ctor_get(x_148, 3);
|
||||
lean_inc(x_149);
|
||||
x_150 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_149, x_135);
|
||||
x_150 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_149, x_135);
|
||||
lean_dec(x_149);
|
||||
if (x_150 == 0)
|
||||
{
|
||||
|
|
@ -10213,7 +10213,7 @@ lean_inc(x_129);
|
|||
x_151 = lean_apply_2(x_3, x_129, x_148);
|
||||
x_152 = lean_ctor_get(x_151, 3);
|
||||
lean_inc(x_152);
|
||||
x_153 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_152, x_135);
|
||||
x_153 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_152, x_135);
|
||||
lean_dec(x_152);
|
||||
if (x_153 == 0)
|
||||
{
|
||||
|
|
|
|||
138
stage0/stdlib/Lean/Parser/Extension.c
generated
138
stage0/stdlib/Lean/Parser/Extension.c
generated
|
|
@ -13,6 +13,7 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4;
|
||||
lean_object* l_Lean_Parser_declareLeadingBuiltinParser___closed__2;
|
||||
lean_object* l_Lean_Parser_builtinTokenTable;
|
||||
extern lean_object* l_Lean_Name_toString___closed__1;
|
||||
|
|
@ -143,6 +144,7 @@ lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2402____clo
|
|||
lean_object* l_Lean_Parser_addTrailingParser_match__1(lean_object*);
|
||||
lean_object* l_Lean_Parser_parserExtension___closed__1;
|
||||
uint8_t l_Lean_NameMap_contains___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3680____closed__2;
|
||||
extern lean_object* l_term___x24_______closed__5;
|
||||
extern lean_object* l_Lean_nameLitKind;
|
||||
lean_object* l_Lean_Parser_getConstAlias___rarg___closed__1;
|
||||
|
|
@ -156,6 +158,7 @@ extern lean_object* l_Lean_ScopedEnvExtension_instInhabitedDescr___rarg___closed
|
|||
lean_object* l_Lean_Parser_leadingIdentBehavior_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_addParserCategory(lean_object*, lean_object*, uint8_t);
|
||||
lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Parser_getCategory___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_declareBuiltinParser_match__1(lean_object*);
|
||||
lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_parserExtension___closed__3;
|
||||
|
|
@ -237,14 +240,15 @@ lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2522_(lean_
|
|||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2313_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2371_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2402_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3707_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3677_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3710_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3680_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_104_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_47_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_21_(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3680____closed__1;
|
||||
lean_object* l_Std_PersistentHashMap_containsAtAux___at___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_notFollowedByCategoryTokenFn_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_getSyntaxNodeKinds___spec__3(lean_object*, size_t, size_t, lean_object*);
|
||||
|
|
@ -317,10 +321,10 @@ lean_object* l_Lean_Parser_declareTrailingBuiltinParser(lean_object*, lean_objec
|
|||
lean_object* l_Lean_Parser_setCategoryParserFnRef___closed__1;
|
||||
lean_object* l_Lean_Parser_addParserTokens(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Environment_evalConstCheck___rarg___closed__1;
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__3;
|
||||
lean_object* l_Lean_Parser_registerAliasCore___rarg___closed__1;
|
||||
lean_object* l_Lean_Parser_getAlias(lean_object*);
|
||||
lean_object* l_Lean_Parser_addParserCategory___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__3;
|
||||
lean_object* l_Lean_Parser_registerBuiltinParserAttribute(lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
lean_object* l_Lean_Parser_mkParserOfConstantUnsafe_match__1___rarg___closed__1;
|
||||
lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -361,12 +365,12 @@ lean_object* l_Lean_Parser_addTrailingParser(lean_object*, lean_object*, lean_ob
|
|||
extern lean_object* l_Lean_registerTagAttribute___lambda__6___closed__2;
|
||||
lean_object* l_Lean_ConstantInfo_type(lean_object*);
|
||||
lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__2___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__1;
|
||||
lean_object* l_Lean_Parser_trailingNodeFn(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_addBuiltinLeadingParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_updateBuiltinTokens_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
size_t l_USize_land(size_t, size_t);
|
||||
lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addBuiltinParserCategory(lean_object*, uint8_t, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__1;
|
||||
lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__6(lean_object*);
|
||||
lean_object* l_Lean_Parser_getUnaryAlias___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_mkParserOfConstantUnsafe_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -380,14 +384,12 @@ lean_object* l_Lean_Parser_ensureUnaryParserAlias(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Parser_categoryParserFnImpl_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_sepBy1(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
lean_object* l_Lean_Parser_getConstAlias___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3677____closed__1;
|
||||
lean_object* l_Lean_Parser_declareLeadingBuiltinParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_compileParserDescr_visit(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_registerParserCategory(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
lean_object* l_Lean_Parser_nodeWithAntiquot(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
extern lean_object* l_Lean_identKind;
|
||||
lean_object* l_Lean_Parser_getAlias___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3707____closed__2;
|
||||
lean_object* l_Lean_Parser_trailingLoop(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_PersistentHashMap_containsAux___at___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore___spec__2(lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Parser_Extension_0__Lean_Parser_addParserCategoryCore___spec__6(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -396,6 +398,7 @@ lean_object* l_Lean_Parser_getUnaryAlias___rarg(lean_object*, lean_object*, lean
|
|||
lean_object* l_List_forM___at_Lean_Parser_runParserAttributeHooks___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserExtension_addEntryImpl_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_registerAliasCore___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3710____closed__2;
|
||||
lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__1___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getNumArgs(lean_object*);
|
||||
extern lean_object* l_Lean_registerTagAttribute___lambda__5___closed__2;
|
||||
|
|
@ -407,6 +410,7 @@ lean_object* l_Lean_Parser_notFollowedByCategoryTokenFn_match__2(lean_object*);
|
|||
lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_forM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__1___closed__1;
|
||||
lean_object* l_Lean_Parser_ParserExtension_instInhabitedOLeanEntry;
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__2;
|
||||
uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
|
|
@ -420,7 +424,6 @@ lean_object* l_Lean_Environment_addAndCompile(lean_object*, lean_object*, lean_o
|
|||
lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_PersistentHashMap_containsAux___at_Lean_Parser_isValidSyntaxNodeKind___spec__2(lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Std_RBNode_find___at_Lean_Parser_notFollowedByCategoryTokenFn___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__2;
|
||||
uint8_t l_Lean_Parser_isValidSyntaxNodeKind(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Trie_instEmptyCollectionTrie___closed__1;
|
||||
lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_updateBuiltinTokens___closed__1;
|
||||
|
|
@ -435,7 +438,6 @@ lean_object* l_Lean_Parser_addLeadingParser_match__1(lean_object*);
|
|||
lean_object* l_Lean_Parser_symbolInfo(lean_object*);
|
||||
lean_object* l_Lean_Parser_parserAttributeHooks;
|
||||
lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_updateBuiltinTokens(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_orelseFnCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserExtension_State_kinds___default;
|
||||
extern lean_object* l_Lean_Parser_epsilonInfo;
|
||||
|
|
@ -460,10 +462,9 @@ lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Parser_getCategory___spec
|
|||
lean_object* l_Lean_Parser_declareBuiltinParser_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_foldlMAux___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__4___closed__1;
|
||||
lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addTokenConfig_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3677____closed__2;
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_runParserAttributeHooks(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__2;
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__2;
|
||||
extern lean_object* l_Lean_Parser_Trie_empty___closed__1;
|
||||
lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserExtension_instInhabitedEntry___closed__1;
|
||||
|
|
@ -532,7 +533,6 @@ lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at___private_Lea
|
|||
lean_object* l_Lean_registerAttributeImplBuilder(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserState_mkUnexpectedError(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_getSyntaxNodeKinds___boxed(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__1;
|
||||
lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2402____closed__4;
|
||||
lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_ParserExtension_OLeanEntry_toEntry_match__2(lean_object*);
|
||||
|
|
@ -547,6 +547,7 @@ lean_object* l_Lean_Parser_isParserAlias_match__1___rarg(lean_object*, lean_obje
|
|||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2371____closed__1;
|
||||
lean_object* l_Lean_Parser_ParserExtension_addEntryImpl_match__2(lean_object*);
|
||||
lean_object* l_Lean_Parser_getAlias___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__1;
|
||||
lean_object* l_Lean_Parser_ParserExtension_Entry_toOLeanEntry(lean_object*);
|
||||
lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2313____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Trie_find_x3f_loop___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -554,7 +555,6 @@ lean_object* l_Lean_Parser_getCategory(lean_object*, lean_object*);
|
|||
lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder___lambda__1___closed__2;
|
||||
lean_object* l_Lean_Parser_getConstAlias___rarg___closed__4;
|
||||
lean_object* l_Std_PersistentHashMap_foldlM___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3707____closed__1;
|
||||
lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_compileParserDescr_visit_match__2(lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserExtension_addEntryImpl_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -566,8 +566,8 @@ lean_object* l_Lean_Parser_evalInsideQuot(lean_object*, lean_object*);
|
|||
lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_addTokenConfig___closed__2;
|
||||
lean_object* l_Std_PersistentHashMap_contains___at_Lean_Parser_isValidSyntaxNodeKind___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_registerParserCategory___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4;
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3710____closed__1;
|
||||
lean_object* l_Lean_Parser_andthenFn(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_IO_mkRef___at_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
|
|
@ -9622,7 +9622,7 @@ lean_inc(x_21);
|
|||
x_28 = l_Lean_Parser_leadingParserAux(x_11, x_21, x_22, x_2, x_3);
|
||||
x_29 = lean_ctor_get(x_28, 3);
|
||||
lean_inc(x_29);
|
||||
x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_29, x_27);
|
||||
x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_29, x_27);
|
||||
lean_dec(x_29);
|
||||
if (x_30 == 0)
|
||||
{
|
||||
|
|
@ -9646,7 +9646,7 @@ lean_inc(x_2);
|
|||
x_33 = l_Lean_Parser_orelseFnCore(x_23, x_25, x_32, x_2, x_3);
|
||||
x_34 = lean_ctor_get(x_33, 3);
|
||||
lean_inc(x_34);
|
||||
x_35 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_34, x_27);
|
||||
x_35 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_34, x_27);
|
||||
lean_dec(x_34);
|
||||
if (x_35 == 0)
|
||||
{
|
||||
|
|
@ -10257,7 +10257,7 @@ x_12 = l_Lean_Parser_categoryParserFnImpl(x_2, x_9, x_11);
|
|||
x_13 = lean_ctor_get(x_12, 3);
|
||||
lean_inc(x_13);
|
||||
x_14 = lean_box(0);
|
||||
x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_13, x_14);
|
||||
x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_13, x_14);
|
||||
lean_dec(x_13);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
|
|
@ -13905,7 +13905,7 @@ x_7 = l_Lean_Parser_registerParserCategory(x_1, x_2, x_3, x_6, x_5);
|
|||
return x_7;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3677____closed__1() {
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3680____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -13913,28 +13913,28 @@ x_1 = lean_mk_string("builtinTermParser");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3677____closed__2() {
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3680____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3677____closed__1;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3680____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3677_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3680_(lean_object* x_1) {
|
||||
_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_Extension___hyg_3677____closed__2;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3680____closed__2;
|
||||
x_3 = l_term___u2218_____closed__6;
|
||||
x_4 = 0;
|
||||
x_5 = l_Lean_Parser_registerBuiltinParserAttribute(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__1() {
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -13942,27 +13942,27 @@ x_1 = lean_mk_string("termParser");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__2() {
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__1;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__2;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__2;
|
||||
x_3 = l_term___u2218_____closed__6;
|
||||
x_4 = l_Lean_Parser_registerBuiltinDynamicParserAttribute(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__1() {
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -13970,17 +13970,17 @@ x_1 = lean_mk_string("builtinCommandParser");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__2() {
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__1;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__3() {
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -13988,28 +13988,28 @@ x_1 = lean_mk_string("command");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4() {
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__3;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700_(lean_object* x_1) {
|
||||
_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_Extension___hyg_3697____closed__2;
|
||||
x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__2;
|
||||
x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4;
|
||||
x_4 = 0;
|
||||
x_5 = l_Lean_Parser_registerBuiltinParserAttribute(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3707____closed__1() {
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3710____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -14017,22 +14017,22 @@ x_1 = lean_mk_string("commandParser");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3707____closed__2() {
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3710____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3707____closed__1;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3710____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3707_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3710_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3707____closed__2;
|
||||
x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3710____closed__2;
|
||||
x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4;
|
||||
x_4 = l_Lean_Parser_registerBuiltinDynamicParserAttribute(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -14041,7 +14041,7 @@ lean_object* l_Lean_Parser_commandParser(lean_object* x_1) {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4;
|
||||
x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4;
|
||||
x_3 = l_Lean_Parser_categoryParser(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -14407,7 +14407,7 @@ static lean_object* _init_l_Lean_Parser_notFollowedByCommandToken___closed__1()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_notFollowedByCategoryTokenFn), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -14703,36 +14703,36 @@ lean_mark_persistent(l___private_Lean_Parser_Extension_0__Lean_Parser_registerPa
|
|||
res = l___private_Lean_Parser_Extension_0__Lean_Parser_registerParserAttributeImplBuilder(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3677____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3677____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3677____closed__1);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3677____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3677____closed__2();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3677____closed__2);
|
||||
res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3677_(lean_io_mk_world());
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3680____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3680____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3680____closed__1);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3680____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3680____closed__2();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3680____closed__2);
|
||||
res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3680_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__1);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__2();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687____closed__2);
|
||||
res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3687_(lean_io_mk_world());
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__1);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__2();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690____closed__2);
|
||||
res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3690_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__1);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__2();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__2);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__3();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__3);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4);
|
||||
res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697_(lean_io_mk_world());
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__1);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__2();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__2);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__3();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__3);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4);
|
||||
res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3707____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3707____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3707____closed__1);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3707____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3707____closed__2();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3707____closed__2);
|
||||
res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3707_(lean_io_mk_world());
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3710____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3710____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3710____closed__1);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3710____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3710____closed__2();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3710____closed__2);
|
||||
res = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3710_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Parser_notFollowedByCommandToken___closed__1 = _init_l_Lean_Parser_notFollowedByCommandToken___closed__1();
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Parser/Extra.c
generated
10
stage0/stdlib/Lean/Parser/Extra.c
generated
|
|
@ -17,6 +17,7 @@ lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_862____closed__13;
|
|||
lean_object* l_Lean_PrettyPrinter_Formatter_rawIdentNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__2;
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_638____closed__3;
|
||||
extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutInfo_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_many___closed__3;
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_638____closed__29;
|
||||
|
|
@ -182,6 +183,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer(lean_object
|
|||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_109____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_862____closed__18;
|
||||
lean_object* l_Lean_Parser_rawIdent___closed__3;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_optional(lean_object*);
|
||||
lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__6;
|
||||
lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_862____closed__7;
|
||||
|
|
@ -418,7 +420,6 @@ lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_638____closed__
|
|||
lean_object* l_Lean_Parser_charLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_charLit_parenthesizer___closed__2;
|
||||
lean_object* l_Lean_Parser_charLit_formatter___closed__3;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_orelseFnCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
extern lean_object* l_Int_instInhabitedInt___closed__1;
|
||||
lean_object* l_Lean_Parser_notSymbol_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -569,7 +570,6 @@ lean_object* l_Lean_Parser_termParser_parenthesizer(lean_object*, lean_object*,
|
|||
lean_object* l_Lean_ppDedent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_nameLitKind___closed__1;
|
||||
lean_object* l_Lean_Parser_manyIndent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_949_(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_862_(lean_object*);
|
||||
|
|
@ -646,7 +646,7 @@ lean_object* l_Lean_Parser_commandParser_formatter___rarg(lean_object* x_1, lean
|
|||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
x_6 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4;
|
||||
x_6 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4;
|
||||
x_7 = l_Lean_PrettyPrinter_Formatter_categoryParser_formatter(x_6, x_1, x_2, x_3, x_4, x_5);
|
||||
return x_7;
|
||||
}
|
||||
|
|
@ -672,7 +672,7 @@ lean_object* l_Lean_Parser_commandParser_parenthesizer(lean_object* x_1, lean_ob
|
|||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8;
|
||||
x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4;
|
||||
x_7 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4;
|
||||
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;
|
||||
}
|
||||
|
|
@ -1999,7 +1999,7 @@ x_6 = lean_apply_2(x_1, x_2, x_3);
|
|||
x_7 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Parser/Level.c
generated
10
stage0/stdlib/Lean/Parser/Level.c
generated
|
|
@ -96,6 +96,7 @@ extern lean_object* l_Lean_Parser_leadingNode_formatter___closed__1;
|
|||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkPrec_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Level_max___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Parser_checkPrecFn(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3;
|
||||
lean_object* l_Lean_Parser_Level_addLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Level_max___closed__3;
|
||||
|
|
@ -197,7 +198,6 @@ lean_object* l___regBuiltin_Lean_Parser_Level_ident_formatter___closed__1;
|
|||
lean_object* l_Lean_Parser_Level_paren_parenthesizer___closed__5;
|
||||
lean_object* l_Lean_Parser_symbolInfo(lean_object*);
|
||||
extern lean_object* l_Lean_Level_PP_Result_quote___lambda__6___closed__1;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_orelseFnCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_epsilonInfo;
|
||||
lean_object* l_Lean_Parser_Level_max___elambda__1___closed__10;
|
||||
|
|
@ -1836,7 +1836,7 @@ x_4 = l_Lean_Parser_checkPrecFn(x_3, x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -1991,7 +1991,7 @@ x_4 = l_Lean_Parser_checkPrecFn(x_3, x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -2165,7 +2165,7 @@ x_4 = l_Lean_Parser_checkPrecFn(x_3, x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -2185,7 +2185,7 @@ lean_inc(x_1);
|
|||
x_12 = l_Lean_Parser_symbolFnAux(x_10, x_11, x_1, x_4);
|
||||
x_13 = lean_ctor_get(x_12, 3);
|
||||
lean_inc(x_13);
|
||||
x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_13, x_6);
|
||||
x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_13, x_6);
|
||||
lean_dec(x_13);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Parser/StrInterpolation.c
generated
8
stage0/stdlib/Lean/Parser/StrInterpolation.c
generated
|
|
@ -25,6 +25,7 @@ lean_object* l_Lean_Parser_mkAtomicInfo(lean_object*);
|
|||
lean_object* l_Lean_Parser_interpolatedStrFn_parse___lambda__1___boxed(lean_object*);
|
||||
lean_object* l_Lean_Parser_mkNodeToken(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_satisfyFn(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_next(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_interpolatedStr___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Parser_interpolatedStr___elambda__1___closed__2;
|
||||
|
|
@ -46,7 +47,6 @@ lean_object* l_Lean_Parser_interpolatedStr___closed__1;
|
|||
uint8_t l_UInt32_decEq(uint32_t, uint32_t);
|
||||
uint8_t l_Lean_Parser_interpolatedStrFn_parse___lambda__1(uint32_t);
|
||||
lean_object* l_Lean_Parser_interpolatedStr___elambda__1(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_orelseFnCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_interpolatedStrFn_parse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t);
|
||||
|
|
@ -161,7 +161,7 @@ x_21 = lean_apply_2(x_1, x_5, x_20);
|
|||
x_22 = lean_ctor_get(x_21, 3);
|
||||
lean_inc(x_22);
|
||||
x_23 = lean_box(0);
|
||||
x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_22, x_23);
|
||||
x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_22, x_23);
|
||||
lean_dec(x_22);
|
||||
if (x_24 == 0)
|
||||
{
|
||||
|
|
@ -180,7 +180,7 @@ x_27 = l_Lean_Parser_interpolatedStrFn_parse___closed__2;
|
|||
x_28 = l_Lean_Parser_satisfyFn(x_26, x_27, x_5, x_21);
|
||||
x_29 = lean_ctor_get(x_28, 3);
|
||||
lean_inc(x_29);
|
||||
x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_29, x_23);
|
||||
x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_29, x_23);
|
||||
lean_dec(x_29);
|
||||
if (x_30 == 0)
|
||||
{
|
||||
|
|
@ -207,7 +207,7 @@ x_33 = l_Lean_Parser_quotedCharCoreFn(x_32, x_5, x_11);
|
|||
x_34 = lean_ctor_get(x_33, 3);
|
||||
lean_inc(x_34);
|
||||
x_35 = lean_box(0);
|
||||
x_36 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_34, x_35);
|
||||
x_36 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_34, x_35);
|
||||
lean_dec(x_34);
|
||||
if (x_36 == 0)
|
||||
{
|
||||
|
|
|
|||
880
stage0/stdlib/Lean/Parser/Syntax.c
generated
880
stage0/stdlib/Lean/Parser/Syntax.c
generated
File diff suppressed because it is too large
Load diff
10
stage0/stdlib/Lean/Parser/Tactic.c
generated
10
stage0/stdlib/Lean/Parser/Tactic.c
generated
|
|
@ -45,6 +45,7 @@ lean_object* l_Lean_Parser_Tactic_nestedTactic_formatter(lean_object*, lean_obje
|
|||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_case___closed__10;
|
||||
lean_object* l_Lean_Parser_Tactic_initFn____x40_Lean_Parser_Tactic___hyg_5____closed__2;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_registerAliasCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute;
|
||||
lean_object* l_Lean_Parser_Tactic_initFn____x40_Lean_Parser_Tactic___hyg_5____closed__1;
|
||||
|
|
@ -80,7 +81,6 @@ extern lean_object* l_Lean_PrettyPrinter_Formatter_formatterAliasesRef;
|
|||
lean_object* l___regBuiltin_Lean_Parser_Tactic_nestedTactic_parenthesizer___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Tactic_unknown_parenthesizer___closed__1;
|
||||
extern lean_object* l_Lean_Parser_Tactic_tacticSeq;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_orelseFnCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_epsilonInfo;
|
||||
lean_object* l_Lean_Parser_Tactic_unknown_parenthesizer___closed__2;
|
||||
|
|
@ -250,7 +250,7 @@ x_11 = l_Lean_Parser_ident___elambda__1(x_1, x_2);
|
|||
x_12 = lean_ctor_get(x_11, 3);
|
||||
lean_inc(x_12);
|
||||
x_13 = lean_box(0);
|
||||
x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_13);
|
||||
x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_13);
|
||||
lean_dec(x_12);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
|
|
@ -294,7 +294,7 @@ x_25 = l_Lean_Parser_ident___elambda__1(x_1, x_2);
|
|||
x_26 = lean_ctor_get(x_25, 3);
|
||||
lean_inc(x_26);
|
||||
x_27 = lean_box(0);
|
||||
x_28 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_26, x_27);
|
||||
x_28 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_26, x_27);
|
||||
lean_dec(x_26);
|
||||
if (x_28 == 0)
|
||||
{
|
||||
|
|
@ -364,7 +364,7 @@ x_44 = l_Lean_Parser_ident___elambda__1(x_1, x_2);
|
|||
x_45 = lean_ctor_get(x_44, 3);
|
||||
lean_inc(x_45);
|
||||
x_46 = lean_box(0);
|
||||
x_47 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_45, x_46);
|
||||
x_47 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_45, x_46);
|
||||
lean_dec(x_45);
|
||||
if (x_47 == 0)
|
||||
{
|
||||
|
|
@ -465,7 +465,7 @@ x_72 = l_Lean_Parser_ident___elambda__1(x_71, x_2);
|
|||
x_73 = lean_ctor_get(x_72, 3);
|
||||
lean_inc(x_73);
|
||||
x_74 = lean_box(0);
|
||||
x_75 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_73, x_74);
|
||||
x_75 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_73, x_74);
|
||||
lean_dec(x_73);
|
||||
if (x_75 == 0)
|
||||
{
|
||||
|
|
|
|||
150
stage0/stdlib/Lean/Parser/Term.c
generated
150
stage0/stdlib/Lean/Parser/Term.c
generated
|
|
@ -1042,6 +1042,7 @@ lean_object* l_Lean_Parser_tacticParser(lean_object*);
|
|||
lean_object* l_Lean_Parser_Term_quotedName___elambda__1___closed__3;
|
||||
lean_object* l___regBuiltinParser_Lean_Parser_Term_panic(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_sorry_formatter___closed__1;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__14;
|
||||
lean_object* l_Lean_Parser_Term_ensureTypeOf___closed__4;
|
||||
lean_object* l_Lean_Parser_Term_macroDollarArg___elambda__1___closed__7;
|
||||
|
|
@ -2826,7 +2827,6 @@ lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__15;
|
|||
lean_object* l_Lean_Parser_Term_let_x2a___closed__3;
|
||||
extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_14558____closed__2;
|
||||
lean_object* l_Lean_Parser_Term_typeOf_formatter___closed__4;
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_quot_formatter___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__8;
|
||||
lean_object* l_Lean_Parser_Term_pipeProj___elambda__1___closed__3;
|
||||
|
|
@ -5737,7 +5737,7 @@ x_6 = lean_apply_2(x_5, x_2, x_3);
|
|||
x_7 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -5789,7 +5789,7 @@ x_4 = l_Lean_Parser_checkPrecFn(x_3, x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -5922,7 +5922,7 @@ x_4 = l_Lean_Parser_checkPrecFn(x_3, x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -6055,7 +6055,7 @@ x_4 = l_Lean_Parser_checkPrecFn(x_3, x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -6200,7 +6200,7 @@ x_4 = l_Lean_Parser_checkPrecFn(x_3, x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -6345,7 +6345,7 @@ x_4 = l_Lean_Parser_checkPrecFn(x_3, x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -11773,7 +11773,7 @@ x_5 = lean_apply_2(x_4, x_1, x_2);
|
|||
x_6 = lean_ctor_get(x_5, 3);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_box(0);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
lean_dec(x_6);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
|
|
@ -11789,7 +11789,7 @@ lean_inc(x_1);
|
|||
x_11 = l_Lean_Parser_categoryParser___elambda__1(x_9, x_10, x_1, x_5);
|
||||
x_12 = lean_ctor_get(x_11, 3);
|
||||
lean_inc(x_12);
|
||||
x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_7);
|
||||
x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_7);
|
||||
lean_dec(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
|
|
@ -11919,7 +11919,7 @@ x_15 = l_Lean_Parser_symbolFnAux(x_1, x_14, x_2, x_3);
|
|||
x_16 = lean_ctor_get(x_15, 3);
|
||||
lean_inc(x_16);
|
||||
x_17 = lean_box(0);
|
||||
x_18 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_16, x_17);
|
||||
x_18 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_16, x_17);
|
||||
lean_dec(x_16);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
|
|
@ -11964,7 +11964,7 @@ x_30 = l_Lean_Parser_symbolFnAux(x_1, x_29, x_2, x_3);
|
|||
x_31 = lean_ctor_get(x_30, 3);
|
||||
lean_inc(x_31);
|
||||
x_32 = lean_box(0);
|
||||
x_33 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_31, x_32);
|
||||
x_33 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_31, x_32);
|
||||
lean_dec(x_31);
|
||||
if (x_33 == 0)
|
||||
{
|
||||
|
|
@ -12035,7 +12035,7 @@ x_50 = l_Lean_Parser_symbolFnAux(x_1, x_49, x_2, x_3);
|
|||
x_51 = lean_ctor_get(x_50, 3);
|
||||
lean_inc(x_51);
|
||||
x_52 = lean_box(0);
|
||||
x_53 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_51, x_52);
|
||||
x_53 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_51, x_52);
|
||||
lean_dec(x_51);
|
||||
if (x_53 == 0)
|
||||
{
|
||||
|
|
@ -12137,7 +12137,7 @@ x_79 = l_Lean_Parser_symbolFnAux(x_1, x_78, x_75, x_3);
|
|||
x_80 = lean_ctor_get(x_79, 3);
|
||||
lean_inc(x_80);
|
||||
x_81 = lean_box(0);
|
||||
x_82 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_80, x_81);
|
||||
x_82 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_80, x_81);
|
||||
lean_dec(x_80);
|
||||
if (x_82 == 0)
|
||||
{
|
||||
|
|
@ -13045,7 +13045,7 @@ x_5 = lean_apply_2(x_4, x_1, x_2);
|
|||
x_6 = lean_ctor_get(x_5, 3);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_box(0);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7);
|
||||
lean_dec(x_6);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
|
|
@ -13061,7 +13061,7 @@ lean_inc(x_1);
|
|||
x_11 = l_Lean_Parser_categoryParser___elambda__1(x_9, x_10, x_1, x_5);
|
||||
x_12 = lean_ctor_get(x_11, 3);
|
||||
lean_inc(x_12);
|
||||
x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_7);
|
||||
x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_7);
|
||||
lean_dec(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
|
|
@ -13165,7 +13165,7 @@ x_15 = l_Lean_Parser_symbolFnAux(x_1, x_14, x_2, x_3);
|
|||
x_16 = lean_ctor_get(x_15, 3);
|
||||
lean_inc(x_16);
|
||||
x_17 = lean_box(0);
|
||||
x_18 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_16, x_17);
|
||||
x_18 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_16, x_17);
|
||||
lean_dec(x_16);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
|
|
@ -13210,7 +13210,7 @@ x_30 = l_Lean_Parser_symbolFnAux(x_1, x_29, x_2, x_3);
|
|||
x_31 = lean_ctor_get(x_30, 3);
|
||||
lean_inc(x_31);
|
||||
x_32 = lean_box(0);
|
||||
x_33 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_31, x_32);
|
||||
x_33 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_31, x_32);
|
||||
lean_dec(x_31);
|
||||
if (x_33 == 0)
|
||||
{
|
||||
|
|
@ -13281,7 +13281,7 @@ x_50 = l_Lean_Parser_symbolFnAux(x_1, x_49, x_2, x_3);
|
|||
x_51 = lean_ctor_get(x_50, 3);
|
||||
lean_inc(x_51);
|
||||
x_52 = lean_box(0);
|
||||
x_53 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_51, x_52);
|
||||
x_53 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_51, x_52);
|
||||
lean_dec(x_51);
|
||||
if (x_53 == 0)
|
||||
{
|
||||
|
|
@ -13383,7 +13383,7 @@ x_79 = l_Lean_Parser_symbolFnAux(x_1, x_78, x_75, x_3);
|
|||
x_80 = lean_ctor_get(x_79, 3);
|
||||
lean_inc(x_80);
|
||||
x_81 = lean_box(0);
|
||||
x_82 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_80, x_81);
|
||||
x_82 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_80, x_81);
|
||||
lean_dec(x_80);
|
||||
if (x_82 == 0)
|
||||
{
|
||||
|
|
@ -17607,7 +17607,7 @@ x_7 = l_Lean_Parser_symbolFnAux(x_5, x_6, x_1, x_2);
|
|||
x_8 = lean_ctor_get(x_7, 3);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_box(0);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9);
|
||||
lean_dec(x_8);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
|
|
@ -22908,7 +22908,7 @@ x_6 = l_Lean_Parser_atomicFn(x_5, x_1, x_2);
|
|||
x_7 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -23030,7 +23030,7 @@ x_4 = l_Lean_Parser_atomicFn(x_3, x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -26329,7 +26329,7 @@ x_7 = l_Lean_Parser_Term_ident___elambda__1(x_1, x_2);
|
|||
x_8 = lean_ctor_get(x_7, 3);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_box(0);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9);
|
||||
x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9);
|
||||
lean_dec(x_8);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
|
|
@ -26345,7 +26345,7 @@ x_11 = l_Lean_Parser_Term_letIdLhs___elambda__1___closed__7;
|
|||
x_12 = l_Lean_Parser_checkWsBeforeFn(x_11, x_1, x_7);
|
||||
x_13 = lean_ctor_get(x_12, 3);
|
||||
lean_inc(x_13);
|
||||
x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_13, x_9);
|
||||
x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_13, x_9);
|
||||
lean_dec(x_13);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
|
|
@ -26361,7 +26361,7 @@ lean_inc(x_1);
|
|||
x_15 = lean_apply_2(x_4, x_1, x_12);
|
||||
x_16 = lean_ctor_get(x_15, 3);
|
||||
lean_inc(x_16);
|
||||
x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_16, x_9);
|
||||
x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_16, x_9);
|
||||
lean_dec(x_16);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
|
|
@ -26943,7 +26943,7 @@ x_16 = l_Lean_Parser_symbolFnAux(x_1, x_15, x_3, x_4);
|
|||
x_17 = lean_ctor_get(x_16, 3);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_box(0);
|
||||
x_19 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_17, x_18);
|
||||
x_19 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_17, x_18);
|
||||
lean_dec(x_17);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
|
|
@ -26989,7 +26989,7 @@ x_31 = l_Lean_Parser_symbolFnAux(x_1, x_30, x_3, x_4);
|
|||
x_32 = lean_ctor_get(x_31, 3);
|
||||
lean_inc(x_32);
|
||||
x_33 = lean_box(0);
|
||||
x_34 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_32, x_33);
|
||||
x_34 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_32, x_33);
|
||||
lean_dec(x_32);
|
||||
if (x_34 == 0)
|
||||
{
|
||||
|
|
@ -27061,7 +27061,7 @@ x_51 = l_Lean_Parser_symbolFnAux(x_1, x_50, x_3, x_4);
|
|||
x_52 = lean_ctor_get(x_51, 3);
|
||||
lean_inc(x_52);
|
||||
x_53 = lean_box(0);
|
||||
x_54 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_52, x_53);
|
||||
x_54 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_52, x_53);
|
||||
lean_dec(x_52);
|
||||
if (x_54 == 0)
|
||||
{
|
||||
|
|
@ -27164,7 +27164,7 @@ x_80 = l_Lean_Parser_symbolFnAux(x_1, x_79, x_76, x_4);
|
|||
x_81 = lean_ctor_get(x_80, 3);
|
||||
lean_inc(x_81);
|
||||
x_82 = lean_box(0);
|
||||
x_83 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_81, x_82);
|
||||
x_83 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_81, x_82);
|
||||
lean_dec(x_81);
|
||||
if (x_83 == 0)
|
||||
{
|
||||
|
|
@ -30119,7 +30119,7 @@ x_19 = l_Lean_Parser_symbolFnAux(x_1, x_18, x_4, x_5);
|
|||
x_20 = lean_ctor_get(x_19, 3);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_box(0);
|
||||
x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_20, x_21);
|
||||
x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_20, x_21);
|
||||
lean_dec(x_20);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
|
|
@ -30129,7 +30129,7 @@ x_23 = l_Lean_nullKind;
|
|||
x_24 = l_Lean_Parser_ParserState_mkNode(x_19, x_23, x_15);
|
||||
x_25 = lean_ctor_get(x_24, 3);
|
||||
lean_inc(x_25);
|
||||
x_26 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_25, x_21);
|
||||
x_26 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_25, x_21);
|
||||
lean_dec(x_25);
|
||||
if (x_26 == 0)
|
||||
{
|
||||
|
|
@ -30155,7 +30155,7 @@ x_31 = l_Lean_nullKind;
|
|||
x_32 = l_Lean_Parser_ParserState_mkNode(x_30, x_31, x_15);
|
||||
x_33 = lean_ctor_get(x_32, 3);
|
||||
lean_inc(x_33);
|
||||
x_34 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_33, x_21);
|
||||
x_34 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_33, x_21);
|
||||
lean_dec(x_33);
|
||||
if (x_34 == 0)
|
||||
{
|
||||
|
|
@ -30206,7 +30206,7 @@ x_48 = l_Lean_Parser_symbolFnAux(x_1, x_47, x_4, x_5);
|
|||
x_49 = lean_ctor_get(x_48, 3);
|
||||
lean_inc(x_49);
|
||||
x_50 = lean_box(0);
|
||||
x_51 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_49, x_50);
|
||||
x_51 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_49, x_50);
|
||||
lean_dec(x_49);
|
||||
if (x_51 == 0)
|
||||
{
|
||||
|
|
@ -30216,7 +30216,7 @@ x_52 = l_Lean_nullKind;
|
|||
x_53 = l_Lean_Parser_ParserState_mkNode(x_48, x_52, x_44);
|
||||
x_54 = lean_ctor_get(x_53, 3);
|
||||
lean_inc(x_54);
|
||||
x_55 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_54, x_50);
|
||||
x_55 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_54, x_50);
|
||||
lean_dec(x_54);
|
||||
if (x_55 == 0)
|
||||
{
|
||||
|
|
@ -30242,7 +30242,7 @@ x_60 = l_Lean_nullKind;
|
|||
x_61 = l_Lean_Parser_ParserState_mkNode(x_59, x_60, x_44);
|
||||
x_62 = lean_ctor_get(x_61, 3);
|
||||
lean_inc(x_62);
|
||||
x_63 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_62, x_50);
|
||||
x_63 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_62, x_50);
|
||||
lean_dec(x_62);
|
||||
if (x_63 == 0)
|
||||
{
|
||||
|
|
@ -30319,7 +30319,7 @@ x_82 = l_Lean_Parser_symbolFnAux(x_1, x_81, x_4, x_5);
|
|||
x_83 = lean_ctor_get(x_82, 3);
|
||||
lean_inc(x_83);
|
||||
x_84 = lean_box(0);
|
||||
x_85 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_83, x_84);
|
||||
x_85 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_83, x_84);
|
||||
lean_dec(x_83);
|
||||
if (x_85 == 0)
|
||||
{
|
||||
|
|
@ -30329,7 +30329,7 @@ x_86 = l_Lean_nullKind;
|
|||
x_87 = l_Lean_Parser_ParserState_mkNode(x_82, x_86, x_78);
|
||||
x_88 = lean_ctor_get(x_87, 3);
|
||||
lean_inc(x_88);
|
||||
x_89 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_88, x_84);
|
||||
x_89 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_88, x_84);
|
||||
lean_dec(x_88);
|
||||
if (x_89 == 0)
|
||||
{
|
||||
|
|
@ -30355,7 +30355,7 @@ x_94 = l_Lean_nullKind;
|
|||
x_95 = l_Lean_Parser_ParserState_mkNode(x_93, x_94, x_78);
|
||||
x_96 = lean_ctor_get(x_95, 3);
|
||||
lean_inc(x_96);
|
||||
x_97 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_96, x_84);
|
||||
x_97 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_96, x_84);
|
||||
lean_dec(x_96);
|
||||
if (x_97 == 0)
|
||||
{
|
||||
|
|
@ -30463,7 +30463,7 @@ x_125 = l_Lean_Parser_symbolFnAux(x_1, x_124, x_119, x_5);
|
|||
x_126 = lean_ctor_get(x_125, 3);
|
||||
lean_inc(x_126);
|
||||
x_127 = lean_box(0);
|
||||
x_128 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_126, x_127);
|
||||
x_128 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_126, x_127);
|
||||
lean_dec(x_126);
|
||||
if (x_128 == 0)
|
||||
{
|
||||
|
|
@ -30473,7 +30473,7 @@ x_129 = l_Lean_nullKind;
|
|||
x_130 = l_Lean_Parser_ParserState_mkNode(x_125, x_129, x_121);
|
||||
x_131 = lean_ctor_get(x_130, 3);
|
||||
lean_inc(x_131);
|
||||
x_132 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_131, x_127);
|
||||
x_132 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_131, x_127);
|
||||
lean_dec(x_131);
|
||||
if (x_132 == 0)
|
||||
{
|
||||
|
|
@ -30499,7 +30499,7 @@ x_137 = l_Lean_nullKind;
|
|||
x_138 = l_Lean_Parser_ParserState_mkNode(x_136, x_137, x_121);
|
||||
x_139 = lean_ctor_get(x_138, 3);
|
||||
lean_inc(x_139);
|
||||
x_140 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_139, x_127);
|
||||
x_140 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_139, x_127);
|
||||
lean_dec(x_139);
|
||||
if (x_140 == 0)
|
||||
{
|
||||
|
|
@ -35254,7 +35254,7 @@ x_6 = l_Lean_Parser_checkPrecFn(x_5, x_1, x_2);
|
|||
x_7 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -35819,7 +35819,7 @@ x_4 = l_Lean_Parser_checkPrecFn(x_3, x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -35837,7 +35837,7 @@ x_10 = l_Lean_Parser_Term_doubleQuotedName___elambda__1___closed__5;
|
|||
x_11 = l_Lean_Parser_checkNoWsBeforeFn(x_10, x_1, x_4);
|
||||
x_12 = lean_ctor_get(x_11, 3);
|
||||
lean_inc(x_12);
|
||||
x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_6);
|
||||
x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_6);
|
||||
lean_dec(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
|
|
@ -35857,7 +35857,7 @@ lean_inc(x_1);
|
|||
x_18 = l_Lean_Parser_symbolFnAux(x_16, x_17, x_1, x_11);
|
||||
x_19 = lean_ctor_get(x_18, 3);
|
||||
lean_inc(x_19);
|
||||
x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_19, x_6);
|
||||
x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_19, x_6);
|
||||
lean_dec(x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
|
|
@ -36176,7 +36176,7 @@ x_4 = l_Lean_Parser_checkPrecFn(x_3, x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -36194,7 +36194,7 @@ x_10 = l_Lean_Parser_Term_doubleQuotedName___elambda__1___closed__5;
|
|||
x_11 = l_Lean_Parser_checkNoWsBeforeFn(x_10, x_1, x_4);
|
||||
x_12 = lean_ctor_get(x_11, 3);
|
||||
lean_inc(x_12);
|
||||
x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_6);
|
||||
x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_6);
|
||||
lean_dec(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
|
|
@ -36214,7 +36214,7 @@ lean_inc(x_1);
|
|||
x_18 = l_Lean_Parser_symbolFnAux(x_16, x_17, x_1, x_11);
|
||||
x_19 = lean_ctor_get(x_18, 3);
|
||||
lean_inc(x_19);
|
||||
x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_19, x_6);
|
||||
x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_19, x_6);
|
||||
lean_dec(x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
|
|
@ -36234,7 +36234,7 @@ lean_inc(x_1);
|
|||
x_25 = l_Lean_Parser_categoryParser___elambda__1(x_23, x_24, x_1, x_18);
|
||||
x_26 = lean_ctor_get(x_25, 3);
|
||||
lean_inc(x_26);
|
||||
x_27 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_26, x_6);
|
||||
x_27 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_26, x_6);
|
||||
lean_dec(x_26);
|
||||
if (x_27 == 0)
|
||||
{
|
||||
|
|
@ -36477,7 +36477,7 @@ x_4 = l_Lean_Parser_checkPrecFn(x_3, x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -36495,7 +36495,7 @@ x_10 = lean_unsigned_to_nat(25u);
|
|||
x_11 = l_Lean_Parser_checkPrecFn(x_10, x_1, x_4);
|
||||
x_12 = lean_ctor_get(x_11, 3);
|
||||
lean_inc(x_12);
|
||||
x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_6);
|
||||
x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_6);
|
||||
lean_dec(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
|
|
@ -36516,7 +36516,7 @@ lean_inc(x_1);
|
|||
x_19 = l_Lean_Parser_unicodeSymbolFnAux(x_16, x_17, x_18, x_1, x_11);
|
||||
x_20 = lean_ctor_get(x_19, 3);
|
||||
lean_inc(x_20);
|
||||
x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_20, x_6);
|
||||
x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_20, x_6);
|
||||
lean_dec(x_20);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
|
|
@ -36894,7 +36894,7 @@ x_6 = l_Lean_Parser_checkPrecFn(x_5, x_1, x_2);
|
|||
x_7 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -36930,7 +36930,7 @@ block_42:
|
|||
lean_object* x_15; uint8_t x_16;
|
||||
x_15 = lean_ctor_get(x_14, 3);
|
||||
lean_inc(x_15);
|
||||
x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_15, x_8);
|
||||
x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_15, x_8);
|
||||
lean_dec(x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
|
|
@ -36949,7 +36949,7 @@ x_19 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__6;
|
|||
x_20 = l_Lean_Parser_checkNoWsBeforeFn(x_19, x_1, x_14);
|
||||
x_21 = lean_ctor_get(x_20, 3);
|
||||
lean_inc(x_21);
|
||||
x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_21, x_8);
|
||||
x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_21, x_8);
|
||||
lean_dec(x_21);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
|
|
@ -36970,7 +36970,7 @@ lean_inc(x_1);
|
|||
x_27 = l_Lean_Parser_symbolFnAux(x_25, x_26, x_1, x_20);
|
||||
x_28 = lean_ctor_get(x_27, 3);
|
||||
lean_inc(x_28);
|
||||
x_29 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_28, x_8);
|
||||
x_29 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_28, x_8);
|
||||
lean_dec(x_28);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
|
|
@ -36989,7 +36989,7 @@ lean_inc(x_1);
|
|||
x_32 = lean_apply_2(x_4, x_1, x_27);
|
||||
x_33 = lean_ctor_get(x_32, 3);
|
||||
lean_inc(x_33);
|
||||
x_34 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_33, x_8);
|
||||
x_34 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_33, x_8);
|
||||
lean_dec(x_33);
|
||||
if (x_34 == 0)
|
||||
{
|
||||
|
|
@ -37401,7 +37401,7 @@ x_4 = l_Lean_Parser_checkPrecFn(x_3, x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -37425,7 +37425,7 @@ x_12 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__11;
|
|||
x_13 = l_Lean_Parser_ParserState_mkUnexpectedError(x_4, x_12);
|
||||
x_14 = lean_ctor_get(x_13, 3);
|
||||
lean_inc(x_14);
|
||||
x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_14, x_6);
|
||||
x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_14, x_6);
|
||||
lean_dec(x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
|
|
@ -37443,7 +37443,7 @@ x_18 = l_Lean_Parser_Term_namedPattern___elambda__1___closed__3;
|
|||
x_19 = l_Lean_Parser_checkNoWsBeforeFn(x_18, x_1, x_13);
|
||||
x_20 = lean_ctor_get(x_19, 3);
|
||||
lean_inc(x_20);
|
||||
x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_20, x_6);
|
||||
x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_20, x_6);
|
||||
lean_dec(x_20);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
|
|
@ -37463,7 +37463,7 @@ lean_inc(x_1);
|
|||
x_26 = l_Lean_Parser_symbolFnAux(x_24, x_25, x_1, x_19);
|
||||
x_27 = lean_ctor_get(x_26, 3);
|
||||
lean_inc(x_27);
|
||||
x_28 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_27, x_6);
|
||||
x_28 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_27, x_6);
|
||||
lean_dec(x_27);
|
||||
if (x_28 == 0)
|
||||
{
|
||||
|
|
@ -37495,7 +37495,7 @@ x_36 = l_Lean_Parser_Term_namedPattern___elambda__1___closed__3;
|
|||
x_37 = l_Lean_Parser_checkNoWsBeforeFn(x_36, x_1, x_4);
|
||||
x_38 = lean_ctor_get(x_37, 3);
|
||||
lean_inc(x_38);
|
||||
x_39 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_38, x_6);
|
||||
x_39 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_38, x_6);
|
||||
lean_dec(x_38);
|
||||
if (x_39 == 0)
|
||||
{
|
||||
|
|
@ -37515,7 +37515,7 @@ lean_inc(x_1);
|
|||
x_44 = l_Lean_Parser_symbolFnAux(x_42, x_43, x_1, x_37);
|
||||
x_45 = lean_ctor_get(x_44, 3);
|
||||
lean_inc(x_45);
|
||||
x_46 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_45, x_6);
|
||||
x_46 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_45, x_6);
|
||||
lean_dec(x_45);
|
||||
if (x_46 == 0)
|
||||
{
|
||||
|
|
@ -37795,7 +37795,7 @@ x_4 = l_Lean_Parser_checkPrecFn(x_3, x_1, x_2);
|
|||
x_5 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6);
|
||||
lean_dec(x_5);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -37815,7 +37815,7 @@ lean_inc(x_1);
|
|||
x_12 = l_Lean_Parser_symbolFnAux(x_10, x_11, x_1, x_4);
|
||||
x_13 = lean_ctor_get(x_12, 3);
|
||||
lean_inc(x_13);
|
||||
x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_13, x_6);
|
||||
x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_13, x_6);
|
||||
lean_dec(x_13);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
|
|
@ -38115,7 +38115,7 @@ x_6 = l_Lean_Parser_checkPrecFn(x_5, x_1, x_2);
|
|||
x_7 = lean_ctor_get(x_6, 3);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -38136,7 +38136,7 @@ lean_inc(x_1);
|
|||
x_14 = l_Lean_Parser_symbolFnAux(x_12, x_13, x_1, x_6);
|
||||
x_15 = lean_ctor_get(x_14, 3);
|
||||
lean_inc(x_15);
|
||||
x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_15, x_8);
|
||||
x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_15, x_8);
|
||||
lean_dec(x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
|
|
@ -40892,7 +40892,7 @@ x_17 = l_Lean_Parser_symbolFnAux(x_1, x_16, x_4, x_5);
|
|||
x_18 = lean_ctor_get(x_17, 3);
|
||||
lean_inc(x_18);
|
||||
x_19 = lean_box(0);
|
||||
x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_18, x_19);
|
||||
x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_18, x_19);
|
||||
lean_dec(x_18);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
|
|
@ -40940,7 +40940,7 @@ x_33 = l_Lean_Parser_symbolFnAux(x_1, x_32, x_4, x_5);
|
|||
x_34 = lean_ctor_get(x_33, 3);
|
||||
lean_inc(x_34);
|
||||
x_35 = lean_box(0);
|
||||
x_36 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_34, x_35);
|
||||
x_36 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_34, x_35);
|
||||
lean_dec(x_34);
|
||||
if (x_36 == 0)
|
||||
{
|
||||
|
|
@ -41014,7 +41014,7 @@ x_54 = l_Lean_Parser_symbolFnAux(x_1, x_53, x_4, x_5);
|
|||
x_55 = lean_ctor_get(x_54, 3);
|
||||
lean_inc(x_55);
|
||||
x_56 = lean_box(0);
|
||||
x_57 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_55, x_56);
|
||||
x_57 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_55, x_56);
|
||||
lean_dec(x_55);
|
||||
if (x_57 == 0)
|
||||
{
|
||||
|
|
@ -41119,7 +41119,7 @@ x_84 = l_Lean_Parser_symbolFnAux(x_1, x_83, x_80, x_5);
|
|||
x_85 = lean_ctor_get(x_84, 3);
|
||||
lean_inc(x_85);
|
||||
x_86 = lean_box(0);
|
||||
x_87 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_85, x_86);
|
||||
x_87 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_85, x_86);
|
||||
lean_dec(x_85);
|
||||
if (x_87 == 0)
|
||||
{
|
||||
|
|
@ -41666,7 +41666,7 @@ x_16 = l_Lean_Parser_symbolFnAux(x_1, x_15, x_3, x_4);
|
|||
x_17 = lean_ctor_get(x_16, 3);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_box(0);
|
||||
x_19 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_17, x_18);
|
||||
x_19 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_17, x_18);
|
||||
lean_dec(x_17);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
|
|
@ -41713,7 +41713,7 @@ x_32 = l_Lean_Parser_symbolFnAux(x_1, x_31, x_3, x_4);
|
|||
x_33 = lean_ctor_get(x_32, 3);
|
||||
lean_inc(x_33);
|
||||
x_34 = lean_box(0);
|
||||
x_35 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_33, x_34);
|
||||
x_35 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_33, x_34);
|
||||
lean_dec(x_33);
|
||||
if (x_35 == 0)
|
||||
{
|
||||
|
|
@ -41786,7 +41786,7 @@ x_53 = l_Lean_Parser_symbolFnAux(x_1, x_52, x_3, x_4);
|
|||
x_54 = lean_ctor_get(x_53, 3);
|
||||
lean_inc(x_54);
|
||||
x_55 = lean_box(0);
|
||||
x_56 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_54, x_55);
|
||||
x_56 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_54, x_55);
|
||||
lean_dec(x_54);
|
||||
if (x_56 == 0)
|
||||
{
|
||||
|
|
@ -41890,7 +41890,7 @@ x_83 = l_Lean_Parser_symbolFnAux(x_1, x_82, x_79, x_4);
|
|||
x_84 = lean_ctor_get(x_83, 3);
|
||||
lean_inc(x_84);
|
||||
x_85 = lean_box(0);
|
||||
x_86 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____at_Lean_Parser_ParserState_hasError___spec__1(x_84, x_85);
|
||||
x_86 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____at_Lean_Parser_ParserState_hasError___spec__1(x_84, x_85);
|
||||
lean_dec(x_84);
|
||||
if (x_86 == 0)
|
||||
{
|
||||
|
|
|
|||
62
stage0/stdlib/Lean/ParserCompiler.c
generated
62
stage0/stdlib/Lean/ParserCompiler.c
generated
|
|
@ -217,7 +217,6 @@ lean_object* l_Lean_ConstantInfo_type(lean_object*);
|
|||
lean_object* l_Lean_ConstantInfo_value_x3f(lean_object*);
|
||||
lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__22(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_ParserCompiler_compileParserExpr_match__2(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__40(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_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__30(lean_object*);
|
||||
lean_object* lean_expr_update_proj(lean_object*, lean_object*);
|
||||
|
|
@ -272,6 +271,7 @@ lean_object* l_Lean_mkApp(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__35___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_ParserCompiler_compileParserExpr(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ParserCompiler_compileParserExpr___rarg___lambda__34___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Range_forIn_loop___at_Lean_ParserCompiler_compileParserExpr___spec__4___rarg___closed__1;
|
||||
lean_object* l_Lean_Name_append(lean_object*, lean_object*);
|
||||
|
|
@ -16902,7 +16902,7 @@ x_73 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_74 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_74, 0, x_72);
|
||||
lean_ctor_set(x_74, 1, x_73);
|
||||
x_75 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_74, x_4, x_5, x_6, x_7, x_65);
|
||||
x_75 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_74, x_4, x_5, x_6, x_7, x_65);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -17005,7 +17005,7 @@ x_39 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_40 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_38);
|
||||
lean_ctor_set(x_40, 1, x_39);
|
||||
x_41 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_40, x_4, x_5, x_6, x_7, x_29);
|
||||
x_41 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_40, x_4, x_5, x_6, x_7, x_29);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -17236,7 +17236,7 @@ x_109 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_110 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_110, 0, x_108);
|
||||
lean_ctor_set(x_110, 1, x_109);
|
||||
x_111 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_110, x_4, x_5, x_6, x_7, x_11);
|
||||
x_111 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_110, x_4, x_5, x_6, x_7, x_11);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -17384,7 +17384,7 @@ x_178 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_179 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_179, 0, x_177);
|
||||
lean_ctor_set(x_179, 1, x_178);
|
||||
x_180 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_179, x_4, x_5, x_6, x_7, x_170);
|
||||
x_180 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_179, x_4, x_5, x_6, x_7, x_170);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -17487,7 +17487,7 @@ x_144 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_145 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_145, 0, x_143);
|
||||
lean_ctor_set(x_145, 1, x_144);
|
||||
x_146 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_145, x_4, x_5, x_6, x_7, x_134);
|
||||
x_146 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_145, x_4, x_5, x_6, x_7, x_134);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -17718,7 +17718,7 @@ x_214 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_215 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_215, 0, x_213);
|
||||
lean_ctor_set(x_215, 1, x_214);
|
||||
x_216 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_215, x_4, x_5, x_6, x_7, x_116);
|
||||
x_216 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_215, x_4, x_5, x_6, x_7, x_116);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -17838,7 +17838,7 @@ x_279 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_280 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_280, 0, x_278);
|
||||
lean_ctor_set(x_280, 1, x_279);
|
||||
x_281 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_280, x_4, x_5, x_6, x_7, x_271);
|
||||
x_281 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_280, x_4, x_5, x_6, x_7, x_271);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -17941,7 +17941,7 @@ x_245 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_246 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_246, 0, x_244);
|
||||
lean_ctor_set(x_246, 1, x_245);
|
||||
x_247 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_246, x_4, x_5, x_6, x_7, x_235);
|
||||
x_247 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_246, x_4, x_5, x_6, x_7, x_235);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -18172,7 +18172,7 @@ x_315 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_316 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_316, 0, x_314);
|
||||
lean_ctor_set(x_316, 1, x_315);
|
||||
x_317 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_316, x_4, x_5, x_6, x_7, x_217);
|
||||
x_317 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_316, x_4, x_5, x_6, x_7, x_217);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -18292,7 +18292,7 @@ x_380 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_381 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_381, 0, x_379);
|
||||
lean_ctor_set(x_381, 1, x_380);
|
||||
x_382 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_381, x_4, x_5, x_6, x_7, x_372);
|
||||
x_382 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_381, x_4, x_5, x_6, x_7, x_372);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -18395,7 +18395,7 @@ x_346 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_347 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_347, 0, x_345);
|
||||
lean_ctor_set(x_347, 1, x_346);
|
||||
x_348 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_347, x_4, x_5, x_6, x_7, x_336);
|
||||
x_348 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_347, x_4, x_5, x_6, x_7, x_336);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -18626,7 +18626,7 @@ x_416 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_417 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_417, 0, x_415);
|
||||
lean_ctor_set(x_417, 1, x_416);
|
||||
x_418 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_417, x_4, x_5, x_6, x_7, x_318);
|
||||
x_418 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_417, x_4, x_5, x_6, x_7, x_318);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -18746,7 +18746,7 @@ x_481 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_482 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_482, 0, x_480);
|
||||
lean_ctor_set(x_482, 1, x_481);
|
||||
x_483 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_482, x_4, x_5, x_6, x_7, x_473);
|
||||
x_483 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_482, x_4, x_5, x_6, x_7, x_473);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -18849,7 +18849,7 @@ x_447 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_448 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_448, 0, x_446);
|
||||
lean_ctor_set(x_448, 1, x_447);
|
||||
x_449 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_448, x_4, x_5, x_6, x_7, x_437);
|
||||
x_449 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_448, x_4, x_5, x_6, x_7, x_437);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -19080,7 +19080,7 @@ x_517 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_518 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_518, 0, x_516);
|
||||
lean_ctor_set(x_518, 1, x_517);
|
||||
x_519 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_518, x_4, x_5, x_6, x_7, x_419);
|
||||
x_519 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_518, x_4, x_5, x_6, x_7, x_419);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -19213,7 +19213,7 @@ x_586 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_587 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_587, 0, x_585);
|
||||
lean_ctor_set(x_587, 1, x_586);
|
||||
x_588 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_587, x_4, x_5, x_6, x_7, x_578);
|
||||
x_588 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_587, x_4, x_5, x_6, x_7, x_578);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -19316,7 +19316,7 @@ x_552 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_553 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_553, 0, x_551);
|
||||
lean_ctor_set(x_553, 1, x_552);
|
||||
x_554 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_553, x_4, x_5, x_6, x_7, x_542);
|
||||
x_554 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_553, x_4, x_5, x_6, x_7, x_542);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -19547,7 +19547,7 @@ x_622 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_623 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_623, 0, x_621);
|
||||
lean_ctor_set(x_623, 1, x_622);
|
||||
x_624 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_623, x_4, x_5, x_6, x_7, x_524);
|
||||
x_624 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_623, x_4, x_5, x_6, x_7, x_524);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -19667,7 +19667,7 @@ x_687 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_688 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_688, 0, x_686);
|
||||
lean_ctor_set(x_688, 1, x_687);
|
||||
x_689 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_688, x_4, x_5, x_6, x_7, x_679);
|
||||
x_689 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_688, x_4, x_5, x_6, x_7, x_679);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -19770,7 +19770,7 @@ x_653 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_654 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_654, 0, x_652);
|
||||
lean_ctor_set(x_654, 1, x_653);
|
||||
x_655 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_654, x_4, x_5, x_6, x_7, x_643);
|
||||
x_655 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_654, x_4, x_5, x_6, x_7, x_643);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -20001,7 +20001,7 @@ x_723 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_724 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_724, 0, x_722);
|
||||
lean_ctor_set(x_724, 1, x_723);
|
||||
x_725 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_724, x_4, x_5, x_6, x_7, x_625);
|
||||
x_725 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_724, x_4, x_5, x_6, x_7, x_625);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -20121,7 +20121,7 @@ x_788 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_789 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_789, 0, x_787);
|
||||
lean_ctor_set(x_789, 1, x_788);
|
||||
x_790 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_789, x_4, x_5, x_6, x_7, x_780);
|
||||
x_790 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_789, x_4, x_5, x_6, x_7, x_780);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -20224,7 +20224,7 @@ x_754 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_755 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_755, 0, x_753);
|
||||
lean_ctor_set(x_755, 1, x_754);
|
||||
x_756 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_755, x_4, x_5, x_6, x_7, x_744);
|
||||
x_756 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_755, x_4, x_5, x_6, x_7, x_744);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -20455,7 +20455,7 @@ x_824 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_825 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_825, 0, x_823);
|
||||
lean_ctor_set(x_825, 1, x_824);
|
||||
x_826 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_825, x_4, x_5, x_6, x_7, x_726);
|
||||
x_826 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_825, x_4, x_5, x_6, x_7, x_726);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -20575,7 +20575,7 @@ x_889 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_890 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_890, 0, x_888);
|
||||
lean_ctor_set(x_890, 1, x_889);
|
||||
x_891 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_890, x_4, x_5, x_6, x_7, x_881);
|
||||
x_891 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_890, x_4, x_5, x_6, x_7, x_881);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -20678,7 +20678,7 @@ x_855 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_856 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_856, 0, x_854);
|
||||
lean_ctor_set(x_856, 1, x_855);
|
||||
x_857 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_856, x_4, x_5, x_6, x_7, x_845);
|
||||
x_857 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_856, x_4, x_5, x_6, x_7, x_845);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -20909,7 +20909,7 @@ x_925 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_926 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_926, 0, x_924);
|
||||
lean_ctor_set(x_926, 1, x_925);
|
||||
x_927 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_926, x_4, x_5, x_6, x_7, x_827);
|
||||
x_927 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_926, x_4, x_5, x_6, x_7, x_827);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -21029,7 +21029,7 @@ x_990 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_991 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_991, 0, x_989);
|
||||
lean_ctor_set(x_991, 1, x_990);
|
||||
x_992 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_991, x_4, x_5, x_6, x_7, x_982);
|
||||
x_992 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_991, x_4, x_5, x_6, x_7, x_982);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -21132,7 +21132,7 @@ x_956 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_957 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_957, 0, x_955);
|
||||
lean_ctor_set(x_957, 1, x_956);
|
||||
x_958 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_957, x_4, x_5, x_6, x_7, x_946);
|
||||
x_958 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_957, x_4, x_5, x_6, x_7, x_946);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -21363,7 +21363,7 @@ x_1026 = l_Lean_KernelException_toMessageData___closed__3;
|
|||
x_1027 = lean_alloc_ctor(10, 2, 0);
|
||||
lean_ctor_set(x_1027, 0, x_1025);
|
||||
lean_ctor_set(x_1027, 1, x_1026);
|
||||
x_1028 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_943____spec__1(x_1027, x_4, x_5, x_6, x_7, x_928);
|
||||
x_1028 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_947____spec__1(x_1027, x_4, x_5, x_6, x_7, x_928);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/ParserCompiler/Attribute.c
generated
4
stage0/stdlib/Lean/ParserCompiler/Attribute.c
generated
|
|
@ -33,7 +33,6 @@ lean_object* l_Lean_ParserCompiler_CombinatorAttribute_runDeclFor___rarg___close
|
|||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_ParserCompiler_registerCombinatorAttribute___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ParserCompiler_CombinatorAttribute_runDeclFor_match__1(lean_object*);
|
||||
lean_object* l_Lean_getConstInfo___at_Lean_registerInitAttrUnsafe___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4;
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ParserCompiler_instInhabitedCombinatorAttribute;
|
||||
|
|
@ -47,6 +46,7 @@ lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__2(lean
|
|||
lean_object* l_Lean_ofExcept___at_Lean_ParserCompiler_CombinatorAttribute_runDeclFor___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_setEnv___at_Lean_ParserCompiler_registerCombinatorAttribute___spec__7(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4;
|
||||
lean_object* l_Lean_ParserCompiler_CombinatorAttribute_setDeclFor(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ParserCompiler_CombinatorAttribute_runDeclFor___rarg___closed__2;
|
||||
lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3(lean_object*, lean_object*);
|
||||
|
|
@ -642,7 +642,7 @@ _start:
|
|||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_4 = l_Lean_registerParametricAttribute___rarg___closed__2;
|
||||
x_5 = l_Lean_ParserCompiler_registerCombinatorAttribute___closed__1;
|
||||
x_6 = l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4;
|
||||
x_6 = l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4;
|
||||
lean_inc(x_1);
|
||||
x_7 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_7, 0, x_1);
|
||||
|
|
|
|||
38
stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c
generated
38
stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c
generated
|
|
@ -210,6 +210,7 @@ lean_object* l_Lean_getPPStructureInstanceType___closed__1;
|
|||
lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__6;
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__3;
|
||||
extern lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__1;
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_getPPOption___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_bindingName_x21(lean_object*);
|
||||
extern lean_object* l_Lean_Expr_ctorName___closed__10;
|
||||
|
|
@ -224,7 +225,6 @@ extern lean_object* l_Lean_getSanitizeNames___closed__2;
|
|||
lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_ForEachExpr_0__Lean_Meta_ForEachExpr_visitBinder___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Name_isAnonymous(lean_object*);
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getPPUniverses___closed__2;
|
||||
extern lean_object* l_Lean_getSanitizeNames___closed__1;
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBody___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_annotatePos_match__2(lean_object*);
|
||||
|
|
@ -242,6 +242,7 @@ lean_object* l_Lean_getPPFullNames___closed__2;
|
|||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5;
|
||||
lean_object* l_Lean_getPPStructureInstanceType___closed__2;
|
||||
extern lean_object* l_Lean_Parser_Command_universes___elambda__1___closed__1;
|
||||
lean_object* l_Lean_getPPExplicit___boxed(lean_object*);
|
||||
extern lean_object* l_Std_Format_getUnicode___closed__1;
|
||||
lean_object* l_List_firstM___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -251,7 +252,6 @@ lean_object* l_Lean_getPPPrivateNames___closed__2;
|
|||
lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_75_(lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_appUnexpanderAttribute;
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFnArgs(lean_object*);
|
||||
lean_object* l_Lean_getPPNotation___closed__2;
|
||||
lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_75____closed__2;
|
||||
|
|
@ -264,7 +264,7 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_mkAppUnexpanderAttribute___closed_
|
|||
lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__10;
|
||||
extern lean_object* l_Lean_Expr_ctorName___closed__6;
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_1559_(lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_1560_(lean_object*);
|
||||
lean_object* lean_mk_syntax_ident(lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_mkAppUnexpanderAttribute___closed__1;
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBody(lean_object*);
|
||||
|
|
@ -423,17 +423,9 @@ return x_3;
|
|||
static lean_object* _init_l_Lean_getPPNotation___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("notation");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_getPPNotation___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_getSanitizeNames___closed__2;
|
||||
x_2 = l_Lean_getPPNotation___closed__1;
|
||||
x_2 = l_Lean_Parser_Command_notation___elambda__1___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -442,7 +434,7 @@ uint8_t l_Lean_getPPNotation(lean_object* x_1) {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; uint8_t x_4;
|
||||
x_2 = l_Lean_getPPNotation___closed__2;
|
||||
x_2 = l_Lean_getPPNotation___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
|
|
@ -575,17 +567,9 @@ return x_3;
|
|||
static lean_object* _init_l_Lean_getPPUniverses___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("universes");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_getPPUniverses___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_getSanitizeNames___closed__2;
|
||||
x_2 = l_Lean_getPPUniverses___closed__1;
|
||||
x_2 = l_Lean_Parser_Command_universes___elambda__1___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -594,7 +578,7 @@ uint8_t l_Lean_getPPUniverses(lean_object* x_1) {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; uint8_t x_4;
|
||||
x_2 = l_Lean_getPPUniverses___closed__2;
|
||||
x_2 = l_Lean_getPPUniverses___closed__1;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
|
|
@ -9654,7 +9638,7 @@ goto block_39;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_1559_(lean_object* x_1) {
|
||||
lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_1560_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -9702,8 +9686,6 @@ l_Lean_getPPCoercions___closed__2 = _init_l_Lean_getPPCoercions___closed__2();
|
|||
lean_mark_persistent(l_Lean_getPPCoercions___closed__2);
|
||||
l_Lean_getPPNotation___closed__1 = _init_l_Lean_getPPNotation___closed__1();
|
||||
lean_mark_persistent(l_Lean_getPPNotation___closed__1);
|
||||
l_Lean_getPPNotation___closed__2 = _init_l_Lean_getPPNotation___closed__2();
|
||||
lean_mark_persistent(l_Lean_getPPNotation___closed__2);
|
||||
l_Lean_getPPStructureProjections___closed__1 = _init_l_Lean_getPPStructureProjections___closed__1();
|
||||
lean_mark_persistent(l_Lean_getPPStructureProjections___closed__1);
|
||||
l_Lean_getPPStructureProjections___closed__2 = _init_l_Lean_getPPStructureProjections___closed__2();
|
||||
|
|
@ -9718,8 +9700,6 @@ l_Lean_getPPStructureInstanceType___closed__2 = _init_l_Lean_getPPStructureInsta
|
|||
lean_mark_persistent(l_Lean_getPPStructureInstanceType___closed__2);
|
||||
l_Lean_getPPUniverses___closed__1 = _init_l_Lean_getPPUniverses___closed__1();
|
||||
lean_mark_persistent(l_Lean_getPPUniverses___closed__1);
|
||||
l_Lean_getPPUniverses___closed__2 = _init_l_Lean_getPPUniverses___closed__2();
|
||||
lean_mark_persistent(l_Lean_getPPUniverses___closed__2);
|
||||
l_Lean_getPPFullNames___closed__1 = _init_l_Lean_getPPFullNames___closed__1();
|
||||
lean_mark_persistent(l_Lean_getPPFullNames___closed__1);
|
||||
l_Lean_getPPFullNames___closed__2 = _init_l_Lean_getPPFullNames___closed__2();
|
||||
|
|
@ -9886,7 +9866,7 @@ l_Lean_PrettyPrinter_delab___closed__3 = _init_l_Lean_PrettyPrinter_delab___clos
|
|||
lean_mark_persistent(l_Lean_PrettyPrinter_delab___closed__3);
|
||||
l_Lean_PrettyPrinter_delab___closed__4 = _init_l_Lean_PrettyPrinter_delab___closed__4();
|
||||
lean_mark_persistent(l_Lean_PrettyPrinter_delab___closed__4);
|
||||
res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_1559_(lean_io_mk_world());
|
||||
res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_1560_(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));
|
||||
|
|
|
|||
|
|
@ -215,7 +215,6 @@ lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_B
|
|||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* lean_get_projection_info(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveOpenDecls_match__1(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__4;
|
||||
extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__2;
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_delabLit___closed__2;
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfScientific_match__1(lean_object*);
|
||||
|
|
@ -321,6 +320,7 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar_match__1___rarg(lean_obj
|
|||
lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1;
|
||||
lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__4;
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__1;
|
||||
lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__3(lean_object*);
|
||||
|
|
@ -22083,7 +22083,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil___closed__1;
|
||||
x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__4;
|
||||
x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__4;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/PrettyPrinter/Formatter.c
generated
4
stage0/stdlib/Lean/PrettyPrinter/Formatter.c
generated
|
|
@ -15,6 +15,7 @@ extern "C" {
|
|||
#endif
|
||||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Formatter_rawIdentNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4;
|
||||
lean_object* l_Lean_PrettyPrinter_Formatter_State_stack___default;
|
||||
extern lean_object* l_Lean_Parser_builtinTokenTable;
|
||||
lean_object* l_Lean_PrettyPrinter_Formatter_indent___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -514,7 +515,6 @@ lean_object* l_Lean_PrettyPrinter_Formatter_checkKind___closed__4;
|
|||
extern lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_be___closed__1;
|
||||
lean_object* l_Substring_takeRightWhileAux___at_Lean_PrettyPrinter_Formatter_pushTokenCore___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4;
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Attribute_Builtin_getId(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -10591,7 +10591,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_formatCommand___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_categoryParser_formatter), 6, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c
generated
4
stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c
generated
|
|
@ -17,6 +17,7 @@ extern lean_object* l_instReprOption___rarg___closed__2;
|
|||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__14;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutInfo_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitToken___spec__1___boxed(lean_object*);
|
||||
extern lean_object* l_Lean_Name_toString___closed__1;
|
||||
|
|
@ -565,7 +566,6 @@ lean_object* l_Lean_instMonadRef___rarg(lean_object*, lean_object*, lean_object*
|
|||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2473____closed__16;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2473____closed__15;
|
||||
lean_object* lean_mk_antiquot_parenthesizer(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4;
|
||||
lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__5;
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -11658,7 +11658,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_parenthesizeCommand___closed__1()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3697____closed__4;
|
||||
x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3700____closed__4;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_categoryParser_parenthesizer), 7, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/ResolveName.c
generated
4
stage0/stdlib/Lean/ResolveName.c
generated
|
|
@ -66,7 +66,6 @@ lean_object* l_Lean_ResolveName_resolveNamespaceUsingScope_match__1(lean_object*
|
|||
lean_object* l_Lean_resolveGlobalConst___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_map___at_Lean_ResolveName_resolveGlobalName_loop___spec__6(lean_object*, lean_object*);
|
||||
lean_object* l_List_toStringAux___at_Lean_resolveGlobalConstNoOverload___spec__3___boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*);
|
||||
|
|
@ -120,6 +119,7 @@ lean_object* l_Lean_ResolveName_resolveNamespaceUsingOpenDecls___boxed(lean_obje
|
|||
lean_object* l_List_eraseDupsAux___at_Lean_ResolveName_resolveGlobalName_loop___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_resolveGlobalName___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Std_PersistentHashMap_insertAux___rarg___closed__3;
|
||||
extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4;
|
||||
lean_object* l_Lean_ResolveName_resolveGlobalName_loop_match__2(lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_getRevAliases___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ResolveName_resolveNamespace_x3f_match__1(lean_object*);
|
||||
|
|
@ -2062,7 +2062,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj
|
|||
x_1 = l_Lean_initFn____x40_Lean_ResolveName___hyg_53____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_ResolveName___hyg_53____closed__3;
|
||||
x_3 = l_Lean_initFn____x40_Lean_ResolveName___hyg_53____closed__4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2528____closed__4;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2531____closed__4;
|
||||
x_5 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/ScopedEnvExtension.c
generated
12
stage0/stdlib/Lean/ScopedEnvExtension.c
generated
|
|
@ -182,7 +182,6 @@ lean_object* l_Nat_repr(lean_object*);
|
|||
lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_ScopedEnvExtension_ScopedEntries_insert___spec__4(lean_object*);
|
||||
uint8_t l_Array_anyMUnsafe_any___at_Lean_registerScopedEnvExtensionUnsafe___spec__2___rarg(lean_object*, lean_object*, size_t, size_t);
|
||||
lean_object* l_Std_mkHashMap___at_Lean_ScopedEnvExtension_addImportedFn___spec__1___rarg(lean_object*);
|
||||
lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_632____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_pushScope___spec__1___rarg___lambda__1___closed__1;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_pushScope___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ScopedEnvExtension_ScopedEntries_insert___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -193,6 +192,7 @@ lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
|||
lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_ScopedEnvExtension_ScopedEntries_insert___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ScopedEnvExtension_popScope_match__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ScopedEnvExtension_popScope___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_633____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerScopedEnvExtension___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ScopedEnvExtension_StateStack_scopedEntries___default(lean_object*);
|
||||
lean_object* l_Lean_ScopedEnvExtension_addLocalEntry_match__1(lean_object*, lean_object*);
|
||||
|
|
@ -210,7 +210,7 @@ extern lean_object* l_Lean_persistentEnvExtensionsRef;
|
|||
lean_object* l_Lean_SMap_find_x3f___at_Lean_ScopedEnvExtension_ScopedEntries_insert___spec__1___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_ScopedEnvExtension_ScopedEntries_insert___spec__24(lean_object*);
|
||||
size_t lean_usize_modn(size_t, lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_632_(lean_object*);
|
||||
lean_object* l_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_633_(lean_object*);
|
||||
lean_object* l_Lean_ScopedEnvExtension_add___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_registerScopedEnvExtensionUnsafe___spec__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -4738,7 +4738,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_instInhabitedScopedEnvExtension___rarg),
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_632____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
lean_object* l_IO_mkRef___at_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_633____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; uint8_t x_4;
|
||||
|
|
@ -4763,12 +4763,12 @@ return x_7;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_632_(lean_object* x_1) {
|
||||
lean_object* l_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_633_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Array_empty___closed__1;
|
||||
x_3 = l_IO_mkRef___at_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_632____spec__1(x_2, x_1);
|
||||
x_3 = l_IO_mkRef___at_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_633____spec__1(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
@ -7978,7 +7978,7 @@ l_Lean_ScopedEnvExtension_addImportedFn___rarg___closed__1 = _init_l_Lean_Scoped
|
|||
lean_mark_persistent(l_Lean_ScopedEnvExtension_addImportedFn___rarg___closed__1);
|
||||
l_Lean_ScopedEnvExtension_addImportedFn___rarg___closed__2 = _init_l_Lean_ScopedEnvExtension_addImportedFn___rarg___closed__2();
|
||||
lean_mark_persistent(l_Lean_ScopedEnvExtension_addImportedFn___rarg___closed__2);
|
||||
res = l_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_632_(lean_io_mk_world());
|
||||
res = l_Lean_initFn____x40_Lean_ScopedEnvExtension___hyg_633_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_scopedEnvExtensionsRef = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_scopedEnvExtensionsRef);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/ToExpr.c
generated
4
stage0/stdlib/Lean/ToExpr.c
generated
|
|
@ -97,9 +97,9 @@ lean_object* l_Lean_instToExprProd___rarg(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_instToExprExpr___closed__2;
|
||||
lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instToExprProd_match__1(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
lean_object* l_Lean_instToExprArray___rarg___lambda__1___closed__1;
|
||||
lean_object* l_Lean_instToExprChar___lambda__1(uint32_t);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
lean_object* l_Lean_Name_toExprAux___closed__2;
|
||||
lean_object* l_Lean_instToExprChar___lambda__1___boxed(lean_object*);
|
||||
lean_object* l_Lean_instToExprProd___rarg___lambda__1___closed__2;
|
||||
|
|
@ -910,7 +910,7 @@ static lean_object* _init_l_Lean_instToExprArray___rarg___lambda__1___closed__1(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
x_2 = l_Lean_instToExprOption___rarg___lambda__1___closed__1;
|
||||
x_3 = l_Lean_mkConst(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Util/Recognizers.c
generated
4
stage0/stdlib/Lean/Util/Recognizers.c
generated
|
|
@ -72,11 +72,11 @@ uint8_t l_Lean_Expr_isConstructorApp(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Expr_isEq___boxed(lean_object*);
|
||||
lean_object* l_Lean_Expr_arrow_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_arrayLit_x3f___boxed(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
lean_object* l_Lean_Expr_arrayLit_x3f(lean_object*);
|
||||
lean_object* l_Lean_Expr_isConstructorApp_x3f_match__2(lean_object*);
|
||||
uint8_t l_Lean_Expr_hasLooseBVars(lean_object*);
|
||||
lean_object* l_Lean_Expr_arrow_x3f___boxed(lean_object*);
|
||||
extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_isConstructorApp_x3f___closed__3;
|
||||
lean_object* l_Lean_Expr_constructorApp_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -610,7 +610,7 @@ lean_object* l_Lean_Expr_arrayLit_x3f(lean_object* x_1) {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3426____closed__5;
|
||||
x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3427____closed__5;
|
||||
x_3 = lean_unsigned_to_nat(2u);
|
||||
x_4 = l_Lean_Expr_isAppOfArity(x_1, x_2, x_3);
|
||||
if (x_4 == 0)
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Util/SCC.c
generated
6
stage0/stdlib/Lean/Util/SCC.c
generated
|
|
@ -44,8 +44,8 @@ lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_push(lean_object*);
|
|||
lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_updateLowLinkOf___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_getDataOf___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_updateLowLinkOf_match__1(lean_object*);
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____rarg(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_SCC_Data_onStack___default;
|
||||
lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_SCC_State_stack___default(lean_object*);
|
||||
lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_modifyDataOf___at___private_Lean_Util_SCC_0__Lean_SCC_resetOnStack___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_sccAux(lean_object*);
|
||||
|
|
@ -1461,7 +1461,7 @@ x_19 = lean_ctor_get(x_16, 0);
|
|||
lean_inc(x_19);
|
||||
lean_dec(x_16);
|
||||
x_20 = l___private_Lean_Util_SCC_0__Lean_SCC_sccAux___rarg___closed__2;
|
||||
x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____rarg(x_20, x_18, x_19);
|
||||
x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____rarg(x_20, x_18, x_19);
|
||||
x_22 = lean_unbox(x_21);
|
||||
lean_dec(x_21);
|
||||
if (x_22 == 0)
|
||||
|
|
@ -1496,7 +1496,7 @@ x_28 = lean_ctor_get(x_25, 0);
|
|||
lean_inc(x_28);
|
||||
lean_dec(x_25);
|
||||
x_29 = l___private_Lean_Util_SCC_0__Lean_SCC_sccAux___rarg___closed__2;
|
||||
x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_649____rarg(x_29, x_27, x_28);
|
||||
x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_651____rarg(x_29, x_27, x_28);
|
||||
x_31 = lean_unbox(x_30);
|
||||
lean_dec(x_30);
|
||||
if (x_31 == 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue