chore: update stage0
This commit is contained in:
parent
6fc47e4baf
commit
b24df456ed
17 changed files with 4513 additions and 3900 deletions
|
|
@ -47,6 +47,10 @@ funext (fun o => match o with | none => rfl | some x => rfl)
|
|||
instance : Monad Option :=
|
||||
{pure := @some, bind := @Option.bind, map := @Option.map}
|
||||
|
||||
@[inline] protected def filter {α} (p : α → Bool) : Option α → Option α
|
||||
| some a => if p a then some a else none
|
||||
| none => none
|
||||
|
||||
@[macroInline] protected def orelse {α : Type u} : Option α → Option α → Option α
|
||||
| some a, _ => some a
|
||||
| none, b => b
|
||||
|
|
|
|||
|
|
@ -64,6 +64,13 @@ def isAntiquot : Syntax → Bool
|
|||
| Syntax.node (Name.str _ "antiquot" _) _ => true
|
||||
| _ => false
|
||||
|
||||
def antiquotKind? : Syntax → Option SyntaxNodeKind
|
||||
| Syntax.node (Name.str k "antiquot" _) args =>
|
||||
-- we treat all antiquotations where the kind was left implicit (`$e`) the same (see `elimAntiquotChoices`)
|
||||
if (args.get! 2).isNone then some Name.anonymous
|
||||
else some k
|
||||
| _ => none
|
||||
|
||||
-- `$e*` is an antiquotation "splice" matching an arbitrary number of syntax nodes
|
||||
def isAntiquotSplice (stx : Syntax) : Bool :=
|
||||
isAntiquot stx && (stx.getArg 3).getOptional.isSome
|
||||
|
|
@ -73,6 +80,17 @@ isAntiquot stx && (stx.getArg 3).getOptional.isSome
|
|||
def isAntiquotSplicePat (stx : Syntax) : Bool :=
|
||||
stx.isOfKind nullKind && stx.getArgs.size == 1 && isAntiquotSplice (stx.getArg 0)
|
||||
|
||||
/-- A term like `($e) is actually ambiguous: the antiquotation could be of kind `term`,
|
||||
or `ident`, or ... . But it shouldn't really matter because antiquotations without
|
||||
explicit kinds behave the same at runtime. So we replace `choice` nodes that contain
|
||||
at least one implicit antiquotation with that antiquotation. -/
|
||||
private partial def elimAntiquotChoices : Syntax → Syntax
|
||||
| Syntax.node `choice args => match args.find? (fun arg => if antiquotKind? arg == Name.anonymous then some arg else none) with
|
||||
| some anti => anti
|
||||
| none => Syntax.node `choice $ args.map elimAntiquotChoices
|
||||
| Syntax.node k args => Syntax.node k $ args.map elimAntiquotChoices
|
||||
| stx => stx
|
||||
|
||||
-- Elaborate the content of a syntax quotation term
|
||||
private partial def quoteSyntax : Syntax → TermElabM Syntax
|
||||
| Syntax.ident info rawVal val preresolved => do
|
||||
|
|
@ -114,7 +132,7 @@ let quoted := stx.getArg 1;
|
|||
we preserve referential transparency), so we can refer to this same `scp` inside `quoteSyntax` by
|
||||
including it literally in a syntax quotation. -/
|
||||
-- TODO: simplify to `(do scp ← getCurrMacroScope; pure $(quoteSyntax quoted))
|
||||
stx ← quoteSyntax quoted;
|
||||
stx ← quoteSyntax (elimAntiquotChoices quoted);
|
||||
`(bind getCurrMacroScope (fun scp => pure $stx))
|
||||
/- NOTE: It may seem like the newly introduced binding `scp` may accidentally
|
||||
capture identifiers in an antiquotation introduced by `quoteSyntax`. However,
|
||||
|
|
@ -177,11 +195,12 @@ else if pat.isOfKind `Lean.Parser.Term.hole then unconditional pure
|
|||
-- quotation pattern
|
||||
else if pat.isOfKind `Lean.Parser.Term.stxQuot then
|
||||
let quoted := pat.getArg 1;
|
||||
match quoted with
|
||||
-- We assume that atoms are uniquely determined by the node kind and never have to be checked
|
||||
| Syntax.atom _ _ => unconditional pure
|
||||
if quoted.isAtom then
|
||||
-- We assume that atoms are uniquely determined by the node kind and never have to be checked
|
||||
unconditional pure
|
||||
else match antiquotKind? quoted with
|
||||
-- quotation is a single antiquotation
|
||||
| Syntax.node (Name.str k "antiquot" _) _ =>
|
||||
| some k =>
|
||||
-- Antiquotation kinds like `$id:id` influence the parser, but also need to be considered by
|
||||
-- match_syntax (but not by quotation terms). For example, `($id:id) and `($e) are not
|
||||
-- distinguishable without checking the kind of the node to be captured. Note that some
|
||||
|
|
@ -194,6 +213,9 @@ else if pat.isOfKind `Lean.Parser.Term.stxQuot then
|
|||
-- let e := stx; ...
|
||||
let kind := if k == Name.anonymous then none else some k;
|
||||
let anti := quoted.getArg 1;
|
||||
let anti := match_syntax anti with
|
||||
| `(($e)) => e
|
||||
| _ => anti;
|
||||
-- Splices should only appear inside a nullKind node, see next case
|
||||
if isAntiquotSplice quoted then unconditional $ fun _ => throwError quoted "unexpected antiquotation splice"
|
||||
else if anti.isOfKind `Lean.Parser.Term.id then { kind := kind, rhsFn := fun rhs => `(let $anti := discr; $rhs) }
|
||||
|
|
@ -256,6 +278,9 @@ private partial def getAntiquotVarsAux : Syntax → TermElabM (List Syntax)
|
|||
| stx@(Syntax.node k args) => do
|
||||
if isAntiquot stx then
|
||||
let anti := args.get! 1;
|
||||
let anti := match_syntax anti with
|
||||
| `(($e)) => e
|
||||
| _ => anti;
|
||||
if anti.isOfKind `Lean.Parser.Term.id then pure [anti]
|
||||
else throwError anti "syntax_match: antiquotation must be variable"
|
||||
else
|
||||
|
|
@ -297,6 +322,7 @@ alts ← alts.getArgs.mapM $ fun alt => do {
|
|||
let pats := alt.getArg 1;
|
||||
pat ← if pats.getArgs.size == 1 then pure $ pats.getArg 0
|
||||
else throwError stx.val "syntax_match: expected exactly one pattern per alternative";
|
||||
let pat := if pat.isOfKind `Lean.Parser.Term.stxQuot then pat.setArg 1 $ elimAntiquotChoices $ pat.getArg 1 else pat;
|
||||
let rhs := alt.getArg 3;
|
||||
pure ([pat], rhs)
|
||||
};
|
||||
|
|
@ -426,7 +452,9 @@ pure $ vars.map $ fun var => var.getIdAt 0
|
|||
unsafe def oldExpandMatchSyntax (ctx : OldContext) (discr : Syntax) (alts : List (List Syntax × Syntax)) : Except String Expr := oldRunTermElabM ctx $ do
|
||||
-- HACK: discr and the RHSs are actually `Expr`
|
||||
let discr := Syntax.node `expr #[discr];
|
||||
let alts := alts.map $ fun alt => (alt.1, Syntax.node `expr #[alt.2]);
|
||||
let alts := alts.map $ fun alt =>
|
||||
let pats := alt.1.map elimAntiquotChoices;
|
||||
(pats, Syntax.node `expr #[alt.2]);
|
||||
-- letBindRhss (compileStxMatch Syntax.missing [discr]) alts []
|
||||
stx ← compileStxMatch Syntax.missing [discr] alts;
|
||||
toPreterm stx
|
||||
|
|
|
|||
|
|
@ -590,7 +590,7 @@ modify $ fun s => { syntheticMVars := [], .. s };
|
|||
-- We use `filterRevM` instead of `filterM` to make sure we process the synthetic metavariables using the order they were created.
|
||||
-- It would not be incorrect to use `filterM`.
|
||||
remainingSyntheticMVars ← syntheticMVars.filterRevM $ fun mvarDecl => do {
|
||||
trace `Elab.postpone mvarDecl.ref $ fun _ => fmt "resuming";
|
||||
trace `Elab.postpone mvarDecl.ref $ fun _ => "resuming ?" ++ mvarDecl.mvarId;
|
||||
succeeded ← synthesizeSyntheticMVar mvarDecl;
|
||||
trace `Elab.postpone mvarDecl.ref $ fun _ => if succeeded then fmt "succeeded" else fmt "not ready yet";
|
||||
pure $ !succeeded
|
||||
|
|
@ -605,7 +605,7 @@ s ← get;
|
|||
let len := s.syntheticMVars.length;
|
||||
newSyntheticMVars ← s.syntheticMVars.filterM $ fun mvarDecl =>
|
||||
match mvarDecl.kind with
|
||||
| SyntheticMVarKind.withDefault defaultVal => do
|
||||
| SyntheticMVarKind.withDefault defaultVal => withMVarContext mvarDecl.mvarId $ do
|
||||
val ← instantiateMVars mvarDecl.ref (mkMVar mvarDecl.mvarId);
|
||||
when val.getAppFn.isMVar $
|
||||
unlessM (isDefEq mvarDecl.ref val defaultVal) $
|
||||
|
|
|
|||
|
|
@ -415,8 +415,8 @@ mkLevelIMax newLhs newRhs
|
|||
|
||||
@[inline] def updateIMax! (lvl : Level) (newLhs : Level) (newRhs : Level) : Level :=
|
||||
match lvl with
|
||||
| max lhs rhs d => updateIMax (imax lhs rhs d) newLhs newRhs rfl
|
||||
| _ => panic! "imax level expected"
|
||||
| imax lhs rhs d => updateIMax (imax lhs rhs d) newLhs newRhs rfl
|
||||
| _ => panic! "imax level expected"
|
||||
|
||||
@[specialize] def instantiateParams (s : Name → Option Level) : Level → Level
|
||||
| u@(zero _) => u
|
||||
|
|
|
|||
|
|
@ -1547,16 +1547,41 @@ constant termParserAttribute : ParserAttribute := arbitrary _
|
|||
|
||||
def dollarSymbol {k : ParserKind} : Parser k := symbol "$" 1
|
||||
|
||||
-- Define parser for `$e` (if anonymous == true) and `$e:name`. Both
|
||||
-- forms can also be used with an appended `*` to turn them into an
|
||||
-- antiquotation "splice". If `kind` is given, it will additionally be checked
|
||||
-- when evaluating `match_syntax`.
|
||||
def mkAntiquot {k : ParserKind} (name : String) (kind : Option SyntaxNodeKind) (anonymous := false) : Parser k :=
|
||||
/-- Fail if previous token is immediately followed by ':'. -/
|
||||
private def noImmediateColon {k : ParserKind} : Parser k :=
|
||||
{ fn := fun _ c s =>
|
||||
let prev := s.stxStack.back;
|
||||
if checkTailNoWs prev then
|
||||
let input := c.input;
|
||||
let i := s.pos;
|
||||
if input.atEnd i then s
|
||||
else
|
||||
let curr := input.get i;
|
||||
if curr == ':' then
|
||||
s.mkUnexpectedError "unexpected ':'"
|
||||
else s
|
||||
else s
|
||||
}
|
||||
|
||||
private def pushNone {k : ParserKind} : Parser k :=
|
||||
{ fn := fun a c s => s.pushSyntax mkNullNode }
|
||||
|
||||
/--
|
||||
Define parser for `$e` (if anonymous == true) and `$e:name`. Both
|
||||
forms can also be used with an appended `*` to turn them into an
|
||||
antiquotation "splice". If `kind` is given, it will additionally be checked
|
||||
when evaluating `match_syntax`. -/
|
||||
def mkAntiquot {k : ParserKind} (name : String) (kind : Option SyntaxNodeKind) (anonymous := true) : Parser k :=
|
||||
let kind := (kind.getD Name.anonymous) ++ `antiquot;
|
||||
let sym := ":" ++ name;
|
||||
let nameP := checkNoWsBefore ("no space before '" ++ sym ++ "'") >> coe sym;
|
||||
node kind $ try $ dollarSymbol >> checkNoWsBefore "no space before" >> termParser appPrec >>
|
||||
(if anonymous then optional nameP else nameP) >> optional "*"
|
||||
-- if parsing the kind fails and `anonymous` is true, check that we're not ignoring a different
|
||||
-- antiquotation kind via `noImmediateColon`
|
||||
let nameP := if anonymous then nameP <|> noImmediateColon >> pushNone else nameP;
|
||||
node kind $ try $ dollarSymbol >> checkNoWsBefore "no space before" >>
|
||||
-- use high precedence so that `$(x).y` is parsed as a projection of an antiquotation
|
||||
termParser (appPrec + 1) >>
|
||||
nameP >> optional "*"
|
||||
|
||||
def ident {k : ParserKind} : Parser k :=
|
||||
mkAntiquot "ident" `ident <|> identNoAntiquot
|
||||
|
|
|
|||
|
|
@ -25,8 +25,10 @@ def infixL (sym : String) (lbp : Nat) : TrailingParser :=
|
|||
pushLeading >> symbol sym lbp >> termParser lbp
|
||||
|
||||
/- Built-in parsers -/
|
||||
def explicitUniv := parser! ".{" >> sepBy1 levelParser ", " >> "}"
|
||||
def namedPattern := parser! checkNoWsBefore "no space before '@'" >> "@" >> termParser appPrec
|
||||
-- NOTE: `checkNoWsBefore` should be used *before* `parser!` so that it is also applied to the generated
|
||||
-- antiquotation.
|
||||
def explicitUniv := checkNoWsBefore "no space before '.{'" >> parser! ".{" >> sepBy1 levelParser ", " >> "}"
|
||||
def namedPattern := checkNoWsBefore "no space before '@'" >> parser! "@" >> termParser appPrec
|
||||
@[builtinTermParser] def id := parser! ident >> optional (explicitUniv <|> namedPattern)
|
||||
@[builtinTermParser] def num : Parser := parser! numLit
|
||||
@[builtinTermParser] def str : Parser := parser! strLit
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ lean_object* l_Option_HasBeq___rarg(lean_object*, lean_object*, lean_object*);
|
|||
lean_object* l_Option_Alternative___lambda__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_isSome___rarg___boxed(lean_object*);
|
||||
lean_object* l_Option_Monad___closed__6;
|
||||
lean_object* l_Option_filter___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Option_bind___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Option_DecidableEq___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Option_Monad___closed__3;
|
||||
|
|
@ -67,6 +68,7 @@ lean_object* l_Option_getD___rarg(lean_object*, lean_object*);
|
|||
lean_object* l_Option_orelse(lean_object*);
|
||||
lean_object* l_Option_Monad___closed__7;
|
||||
lean_object* l_Option_Inhabited(lean_object*);
|
||||
lean_object* l_Option_filter(lean_object*);
|
||||
lean_object* l_Option_Monad___closed__9;
|
||||
lean_object* l_Option_toBool___rarg___boxed(lean_object*);
|
||||
lean_object* l_Option_Alternative;
|
||||
|
|
@ -609,6 +611,44 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l_Option_filter___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
x_3 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_3);
|
||||
x_4 = lean_apply_1(x_1, x_3);
|
||||
x_5 = lean_unbox(x_4);
|
||||
lean_dec(x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6;
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_box(0);
|
||||
return x_6;
|
||||
}
|
||||
else
|
||||
{
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Option_filter(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Option_filter___rarg), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_Option_orelse___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -120,6 +120,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot(lean_object*);
|
|||
lean_object* l_Lean_Elab_Term_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_AssocList_foldlM___main___at_Lean_Elab_Term_addBuiltinTermElab___spec__15(lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__3;
|
||||
lean_object* l___private_Init_Lean_Elab_Term_17__mkPairsAux___main___closed__1;
|
||||
lean_object* lean_io_ref_get(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Lean_Elab_Term_17__mkPairsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -173,7 +174,6 @@ lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3;
|
|||
lean_object* l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Elab_Term_mkTermElabAttribute___spec__4___closed__1;
|
||||
extern lean_object* l_List_repr___rarg___closed__3;
|
||||
lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__3;
|
||||
extern lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_throwError(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabSort___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -273,7 +273,6 @@ lean_object* l___private_Init_Lean_Elab_Term_22__mkConsts(lean_object*, lean_obj
|
|||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_withMVarContext(lean_object*);
|
||||
extern lean_object* l_Lean_Name_appendIndexAfter___closed__1;
|
||||
lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_observing(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_mkLet___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___lambda__4(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -283,6 +282,7 @@ lean_object* l_Lean_Elab_Term_withMacroExpansion(lean_object*);
|
|||
lean_object* l_Lean_Elab_Term_getTraceState___rarg(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_State_inhabited___closed__1;
|
||||
extern lean_object* l_Lean_EnvExtension_Inhabited___rarg___closed__1;
|
||||
lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_dbgTrace(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_id___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_elabArrayLit___closed__11;
|
||||
|
|
@ -308,7 +308,6 @@ lean_object* l_Lean_Elab_Term_elabNum___closed__3;
|
|||
lean_object* l_Lean_Elab_Term_termElabAttribute___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_mkFreshInstanceName(lean_object*);
|
||||
lean_object* l_Lean_Name_append___main(lean_object*, lean_object*);
|
||||
lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__2;
|
||||
lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___spec__1___closed__9;
|
||||
lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__3;
|
||||
lean_object* l_Lean_Elab_mkMessageCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
|
|
@ -520,7 +519,9 @@ lean_object* l_Lean_Elab_Term_elabStr(lean_object*, lean_object*, lean_object*,
|
|||
lean_object* l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__5;
|
||||
lean_object* l___private_Init_Lean_Elab_Term_19__resolveLocalNameAux___main(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_getLCtx(lean_object*, lean_object*);
|
||||
lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_traceAtCmdPos(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2;
|
||||
|
|
@ -746,6 +747,7 @@ lean_object* l_Lean_Elab_Term_resettingSynthInstanceCache(lean_object*);
|
|||
lean_object* l_HashMapImp_insert___at_Lean_Elab_Term_addBuiltinTermElab___spec__12(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkConst(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_registerSyntheticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__2;
|
||||
lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__10;
|
||||
lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__3;
|
||||
|
|
@ -773,6 +775,7 @@ lean_object* l_Lean_Elab_Term_TermElabM_MonadLog___lambda__2___boxed(lean_object
|
|||
lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_22__mkConsts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_liftMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabArrayLit___closed__7;
|
||||
lean_object* l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__5;
|
||||
lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2;
|
||||
lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -16360,7 +16363,7 @@ lean_object* _init_l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("resuming");
|
||||
x_1 = lean_mk_string("resuming ?");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -16399,7 +16402,7 @@ return x_6;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47;
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48;
|
||||
x_7 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_ctor_get(x_2, 1);
|
||||
|
|
@ -16415,33 +16418,41 @@ if (lean_is_exclusive(x_2)) {
|
|||
x_16 = l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__1;
|
||||
lean_inc(x_1);
|
||||
x_17 = lean_name_mk_string(x_1, x_16);
|
||||
x_18 = lean_ctor_get(x_7, 1);
|
||||
x_18 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_18);
|
||||
x_44 = l_Lean_Elab_Term_getOptions(x_4, x_5);
|
||||
x_45 = lean_ctor_get(x_44, 0);
|
||||
lean_inc(x_45);
|
||||
x_46 = lean_ctor_get(x_44, 1);
|
||||
x_19 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_19);
|
||||
x_45 = l_Lean_Elab_Term_getOptions(x_4, x_5);
|
||||
x_46 = lean_ctor_get(x_45, 0);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_44);
|
||||
lean_inc(x_17);
|
||||
x_47 = l_Lean_checkTraceOption(x_45, x_17);
|
||||
x_47 = lean_ctor_get(x_45, 1);
|
||||
lean_inc(x_47);
|
||||
lean_dec(x_45);
|
||||
if (x_47 == 0)
|
||||
lean_inc(x_17);
|
||||
x_48 = l_Lean_checkTraceOption(x_46, x_17);
|
||||
lean_dec(x_46);
|
||||
if (x_48 == 0)
|
||||
{
|
||||
x_19 = x_46;
|
||||
goto block_43;
|
||||
lean_dec(x_18);
|
||||
x_20 = x_47;
|
||||
goto block_44;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
x_48 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___spec__1___closed__9;
|
||||
lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53;
|
||||
x_49 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_49, 0, x_18);
|
||||
x_50 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___spec__1___closed__9;
|
||||
x_51 = lean_alloc_ctor(8, 2, 0);
|
||||
lean_ctor_set(x_51, 0, x_50);
|
||||
lean_ctor_set(x_51, 1, x_49);
|
||||
lean_inc(x_17);
|
||||
x_49 = l_Lean_Elab_Term_logTrace(x_17, x_18, x_48, x_4, x_46);
|
||||
x_50 = lean_ctor_get(x_49, 1);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_49);
|
||||
x_19 = x_50;
|
||||
goto block_43;
|
||||
x_52 = l_Lean_Elab_Term_logTrace(x_17, x_19, x_51, x_4, x_47);
|
||||
x_53 = lean_ctor_get(x_52, 1);
|
||||
lean_inc(x_53);
|
||||
lean_dec(x_52);
|
||||
x_20 = x_53;
|
||||
goto block_44;
|
||||
}
|
||||
block_15:
|
||||
{
|
||||
|
|
@ -16469,92 +16480,92 @@ x_5 = x_11;
|
|||
goto _start;
|
||||
}
|
||||
}
|
||||
block_43:
|
||||
block_44:
|
||||
{
|
||||
lean_object* x_20;
|
||||
lean_object* x_21;
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_7);
|
||||
x_20 = l___private_Init_Lean_Elab_Term_13__synthesizeSyntheticMVar(x_7, x_4, x_19);
|
||||
if (lean_obj_tag(x_20) == 0)
|
||||
x_21 = l___private_Init_Lean_Elab_Term_13__synthesizeSyntheticMVar(x_7, x_4, x_20);
|
||||
if (lean_obj_tag(x_21) == 0)
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26;
|
||||
x_21 = lean_ctor_get(x_20, 0);
|
||||
lean_inc(x_21);
|
||||
x_22 = lean_ctor_get(x_20, 1);
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27;
|
||||
x_22 = lean_ctor_get(x_21, 0);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_20);
|
||||
x_23 = l_Lean_Elab_Term_getOptions(x_4, x_22);
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc(x_24);
|
||||
x_25 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_23);
|
||||
lean_inc(x_17);
|
||||
x_26 = l_Lean_checkTraceOption(x_24, x_17);
|
||||
lean_dec(x_24);
|
||||
if (x_26 == 0)
|
||||
{
|
||||
uint8_t x_27;
|
||||
lean_dec(x_18);
|
||||
lean_dec(x_17);
|
||||
x_27 = lean_unbox(x_21);
|
||||
x_23 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_21);
|
||||
x_24 = l_Lean_Elab_Term_getOptions(x_4, x_23);
|
||||
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);
|
||||
lean_inc(x_17);
|
||||
x_27 = l_Lean_checkTraceOption(x_25, x_17);
|
||||
lean_dec(x_25);
|
||||
if (x_27 == 0)
|
||||
{
|
||||
uint8_t x_28;
|
||||
x_28 = 1;
|
||||
x_10 = x_28;
|
||||
x_11 = x_25;
|
||||
goto block_15;
|
||||
}
|
||||
else
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_17);
|
||||
x_28 = lean_unbox(x_22);
|
||||
lean_dec(x_22);
|
||||
if (x_28 == 0)
|
||||
{
|
||||
uint8_t x_29;
|
||||
x_29 = 0;
|
||||
x_29 = 1;
|
||||
x_10 = x_29;
|
||||
x_11 = x_25;
|
||||
x_11 = x_26;
|
||||
goto block_15;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_30;
|
||||
x_30 = lean_unbox(x_21);
|
||||
lean_dec(x_21);
|
||||
if (x_30 == 0)
|
||||
x_30 = 0;
|
||||
x_10 = x_30;
|
||||
x_11 = x_26;
|
||||
goto block_15;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34;
|
||||
x_31 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___spec__1___closed__3;
|
||||
x_32 = l_Lean_Elab_Term_logTrace(x_17, x_18, x_31, x_4, x_25);
|
||||
lean_dec(x_18);
|
||||
x_33 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_33);
|
||||
lean_dec(x_32);
|
||||
x_34 = 1;
|
||||
x_10 = x_34;
|
||||
x_11 = x_33;
|
||||
uint8_t x_31;
|
||||
x_31 = lean_unbox(x_22);
|
||||
lean_dec(x_22);
|
||||
if (x_31 == 0)
|
||||
{
|
||||
lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35;
|
||||
x_32 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___spec__1___closed__3;
|
||||
x_33 = l_Lean_Elab_Term_logTrace(x_17, x_19, x_32, x_4, x_26);
|
||||
lean_dec(x_19);
|
||||
x_34 = lean_ctor_get(x_33, 1);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_33);
|
||||
x_35 = 1;
|
||||
x_10 = x_35;
|
||||
x_11 = x_34;
|
||||
goto block_15;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38;
|
||||
x_35 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___spec__1___closed__6;
|
||||
x_36 = l_Lean_Elab_Term_logTrace(x_17, x_18, x_35, x_4, x_25);
|
||||
lean_dec(x_18);
|
||||
x_37 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_36);
|
||||
x_38 = 0;
|
||||
x_10 = x_38;
|
||||
x_11 = x_37;
|
||||
lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39;
|
||||
x_36 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___spec__1___closed__6;
|
||||
x_37 = l_Lean_Elab_Term_logTrace(x_17, x_19, x_36, x_4, x_26);
|
||||
lean_dec(x_19);
|
||||
x_38 = lean_ctor_get(x_37, 1);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_37);
|
||||
x_39 = 0;
|
||||
x_10 = x_39;
|
||||
x_11 = x_38;
|
||||
goto block_15;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_39;
|
||||
lean_dec(x_18);
|
||||
uint8_t x_40;
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_17);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
|
|
@ -16562,23 +16573,23 @@ lean_dec(x_7);
|
|||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
x_39 = !lean_is_exclusive(x_20);
|
||||
if (x_39 == 0)
|
||||
x_40 = !lean_is_exclusive(x_21);
|
||||
if (x_40 == 0)
|
||||
{
|
||||
return x_20;
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_40; lean_object* x_41; lean_object* x_42;
|
||||
x_40 = lean_ctor_get(x_20, 0);
|
||||
x_41 = lean_ctor_get(x_20, 1);
|
||||
lean_object* x_41; lean_object* x_42; lean_object* x_43;
|
||||
x_41 = lean_ctor_get(x_21, 0);
|
||||
x_42 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_42);
|
||||
lean_inc(x_41);
|
||||
lean_inc(x_40);
|
||||
lean_dec(x_20);
|
||||
x_42 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_42, 0, x_40);
|
||||
lean_ctor_set(x_42, 1, x_41);
|
||||
return x_42;
|
||||
lean_dec(x_21);
|
||||
x_43 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_41);
|
||||
lean_ctor_set(x_43, 1, x_42);
|
||||
return x_43;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -16605,14 +16616,22 @@ return x_3;
|
|||
lean_object* _init_l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("resuming");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Init_Lean_Elab_Util_1__regTraceClasses___closed__2;
|
||||
x_2 = l_List_filterAuxM___main___at___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___spec__1___closed__7;
|
||||
x_2 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__2() {
|
||||
lean_object* _init_l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -16620,21 +16639,21 @@ x_1 = lean_mk_string("resuming synthetic metavariables, mayPostpone: ");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__2;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__3;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__4;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -16650,7 +16669,7 @@ lean_inc(x_101);
|
|||
x_102 = lean_ctor_get(x_100, 1);
|
||||
lean_inc(x_102);
|
||||
lean_dec(x_100);
|
||||
x_103 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__1;
|
||||
x_103 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__2;
|
||||
x_104 = l_Lean_checkTraceOption(x_101, x_103);
|
||||
lean_dec(x_101);
|
||||
if (x_104 == 0)
|
||||
|
|
@ -16665,7 +16684,7 @@ x_105 = lean_ctor_get_uint8(x_1, sizeof(void*)*9);
|
|||
x_106 = l_Lean_fmt___at___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___spec__2(x_105);
|
||||
x_107 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_107, 0, x_106);
|
||||
x_108 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__4;
|
||||
x_108 = l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__5;
|
||||
x_109 = lean_alloc_ctor(8, 2, 0);
|
||||
lean_ctor_set(x_109, 0, x_108);
|
||||
lean_ctor_set(x_109, 1, x_107);
|
||||
|
|
@ -17032,7 +17051,7 @@ x_3 = l_Lean_fmt___at___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVars
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__1() {
|
||||
lean_object* _init_l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -17040,26 +17059,142 @@ x_1 = lean_mk_string("failed to assign default value to metavariable");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__2() {
|
||||
lean_object* _init_l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__1;
|
||||
x_1 = l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__1;
|
||||
x_2 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__3() {
|
||||
lean_object* _init_l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__2;
|
||||
x_1 = l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__2;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6; uint8_t x_7;
|
||||
x_6 = l_Lean_Expr_getAppFn___main(x_3);
|
||||
x_7 = l_Lean_Expr_isMVar(x_6);
|
||||
lean_dec(x_6);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
uint8_t x_8; lean_object* x_9; lean_object* x_10;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_8 = 0;
|
||||
x_9 = lean_box(x_8);
|
||||
x_10 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_10, 0, x_9);
|
||||
lean_ctor_set(x_10, 1, x_5);
|
||||
return x_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11;
|
||||
lean_inc(x_4);
|
||||
x_11 = l_Lean_Elab_Term_isDefEq(x_1, x_3, x_2, x_4, x_5);
|
||||
if (lean_obj_tag(x_11) == 0)
|
||||
{
|
||||
lean_object* x_12; uint8_t x_13;
|
||||
x_12 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_12);
|
||||
x_13 = lean_unbox(x_12);
|
||||
lean_dec(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17;
|
||||
x_14 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_11);
|
||||
x_15 = l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__3;
|
||||
x_16 = l_Lean_Elab_Term_throwError___rarg(x_1, x_15, x_4, x_14);
|
||||
lean_dec(x_4);
|
||||
x_17 = !lean_is_exclusive(x_16);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_18 = lean_ctor_get(x_16, 0);
|
||||
x_19 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_19);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_16);
|
||||
x_20 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_18);
|
||||
lean_ctor_set(x_20, 1, x_19);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_21;
|
||||
lean_dec(x_4);
|
||||
x_21 = !lean_is_exclusive(x_11);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
lean_object* x_22; uint8_t x_23; lean_object* x_24;
|
||||
x_22 = lean_ctor_get(x_11, 0);
|
||||
lean_dec(x_22);
|
||||
x_23 = 0;
|
||||
x_24 = lean_box(x_23);
|
||||
lean_ctor_set(x_11, 0, x_24);
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28;
|
||||
x_25 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_11);
|
||||
x_26 = 0;
|
||||
x_27 = lean_box(x_26);
|
||||
x_28 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_27);
|
||||
lean_ctor_set(x_28, 1, x_25);
|
||||
return x_28;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_29;
|
||||
lean_dec(x_4);
|
||||
x_29 = !lean_is_exclusive(x_11);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
x_30 = lean_ctor_get(x_11, 0);
|
||||
x_31 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_31);
|
||||
lean_inc(x_30);
|
||||
lean_dec(x_11);
|
||||
x_32 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_30);
|
||||
lean_ctor_set(x_32, 1, x_31);
|
||||
return x_32;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -17074,173 +17209,230 @@ return x_5;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_15;
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_1, 1);
|
||||
x_7 = lean_ctor_get(x_6, 2);
|
||||
lean_inc(x_7);
|
||||
if (lean_is_exclusive(x_1)) {
|
||||
lean_ctor_release(x_1, 0);
|
||||
lean_ctor_release(x_1, 1);
|
||||
x_8 = x_1;
|
||||
} else {
|
||||
lean_dec_ref(x_1);
|
||||
x_8 = lean_box(0);
|
||||
}
|
||||
x_15 = lean_ctor_get(x_6, 2);
|
||||
lean_inc(x_15);
|
||||
if (lean_obj_tag(x_15) == 3)
|
||||
if (lean_obj_tag(x_7) == 3)
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24;
|
||||
x_16 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_15);
|
||||
x_17 = lean_ctor_get(x_6, 1);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_18);
|
||||
x_19 = l_Lean_mkMVar(x_18);
|
||||
uint8_t x_8;
|
||||
x_8 = !lean_is_exclusive(x_1);
|
||||
if (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;
|
||||
x_9 = lean_ctor_get(x_1, 1);
|
||||
x_10 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_10);
|
||||
x_11 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_7);
|
||||
x_12 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_12);
|
||||
x_13 = lean_ctor_get(x_6, 1);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
x_14 = l_Lean_mkMVar(x_12);
|
||||
lean_inc(x_13);
|
||||
x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instantiateMVars___boxed), 4, 2);
|
||||
lean_closure_set(x_15, 0, x_13);
|
||||
lean_closure_set(x_15, 1, x_14);
|
||||
x_16 = lean_alloc_closure((void*)(l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___boxed), 5, 2);
|
||||
lean_closure_set(x_16, 0, x_13);
|
||||
lean_closure_set(x_16, 1, x_11);
|
||||
x_17 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_TermElabM_MonadLog___spec__2___rarg), 4, 2);
|
||||
lean_closure_set(x_17, 0, x_15);
|
||||
lean_closure_set(x_17, 1, x_16);
|
||||
lean_inc(x_3);
|
||||
x_20 = l_Lean_Elab_Term_instantiateMVars(x_17, x_19, x_3, x_4);
|
||||
x_21 = lean_ctor_get(x_20, 0);
|
||||
x_18 = l_Lean_Elab_Term_withMVarContext___rarg(x_12, x_17, x_3, x_4);
|
||||
lean_dec(x_12);
|
||||
if (lean_obj_tag(x_18) == 0)
|
||||
{
|
||||
lean_object* x_19; uint8_t x_20;
|
||||
x_19 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_19);
|
||||
x_20 = lean_unbox(x_19);
|
||||
lean_dec(x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21;
|
||||
lean_free_object(x_1);
|
||||
lean_dec(x_6);
|
||||
x_21 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_21);
|
||||
x_22 = lean_ctor_get(x_20, 1);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_20);
|
||||
x_23 = l_Lean_Expr_getAppFn___main(x_21);
|
||||
x_24 = l_Lean_Expr_isMVar(x_23);
|
||||
lean_dec(x_23);
|
||||
if (x_24 == 0)
|
||||
{
|
||||
uint8_t x_25;
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_17);
|
||||
lean_dec(x_16);
|
||||
x_25 = 0;
|
||||
x_9 = x_25;
|
||||
x_10 = x_22;
|
||||
goto block_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_26;
|
||||
lean_inc(x_3);
|
||||
x_26 = l_Lean_Elab_Term_isDefEq(x_17, x_21, x_16, x_3, x_22);
|
||||
if (lean_obj_tag(x_26) == 0)
|
||||
{
|
||||
lean_object* x_27; uint8_t x_28;
|
||||
x_27 = lean_ctor_get(x_26, 0);
|
||||
lean_inc(x_27);
|
||||
x_28 = lean_unbox(x_27);
|
||||
lean_dec(x_27);
|
||||
if (x_28 == 0)
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32;
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_2);
|
||||
x_29 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_26);
|
||||
x_30 = l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__3;
|
||||
x_31 = l_Lean_Elab_Term_throwError___rarg(x_17, x_30, x_3, x_29);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_17);
|
||||
x_32 = !lean_is_exclusive(x_31);
|
||||
if (x_32 == 0)
|
||||
{
|
||||
return x_31;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_33; lean_object* x_34; lean_object* x_35;
|
||||
x_33 = lean_ctor_get(x_31, 0);
|
||||
x_34 = lean_ctor_get(x_31, 1);
|
||||
lean_inc(x_34);
|
||||
lean_inc(x_33);
|
||||
lean_dec(x_31);
|
||||
x_35 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_33);
|
||||
lean_ctor_set(x_35, 1, x_34);
|
||||
return x_35;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_36; uint8_t x_37;
|
||||
lean_dec(x_17);
|
||||
x_36 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_36);
|
||||
lean_dec(x_26);
|
||||
x_37 = 0;
|
||||
x_9 = x_37;
|
||||
x_10 = x_36;
|
||||
goto block_14;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_38;
|
||||
lean_dec(x_17);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_38 = !lean_is_exclusive(x_26);
|
||||
if (x_38 == 0)
|
||||
{
|
||||
return x_26;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_39; lean_object* x_40; lean_object* x_41;
|
||||
x_39 = lean_ctor_get(x_26, 0);
|
||||
x_40 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_40);
|
||||
lean_inc(x_39);
|
||||
lean_dec(x_26);
|
||||
x_41 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_41, 0, x_39);
|
||||
lean_ctor_set(x_41, 1, x_40);
|
||||
return x_41;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_42;
|
||||
lean_dec(x_15);
|
||||
x_42 = 1;
|
||||
x_9 = x_42;
|
||||
x_10 = x_4;
|
||||
goto block_14;
|
||||
}
|
||||
block_14:
|
||||
{
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
x_1 = x_7;
|
||||
x_4 = x_10;
|
||||
lean_dec(x_18);
|
||||
x_1 = x_9;
|
||||
x_4 = x_21;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_12;
|
||||
if (lean_is_scalar(x_8)) {
|
||||
x_12 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_12 = x_8;
|
||||
lean_object* x_23;
|
||||
x_23 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_18);
|
||||
lean_ctor_set(x_1, 1, x_2);
|
||||
{
|
||||
lean_object* _tmp_0 = x_9;
|
||||
lean_object* _tmp_1 = x_1;
|
||||
lean_object* _tmp_3 = x_23;
|
||||
x_1 = _tmp_0;
|
||||
x_2 = _tmp_1;
|
||||
x_4 = _tmp_3;
|
||||
}
|
||||
lean_ctor_set(x_12, 0, x_6);
|
||||
lean_ctor_set(x_12, 1, x_2);
|
||||
x_1 = x_7;
|
||||
x_2 = x_12;
|
||||
x_4 = x_10;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_25;
|
||||
lean_free_object(x_1);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_25 = !lean_is_exclusive(x_18);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
x_26 = lean_ctor_get(x_18, 0);
|
||||
x_27 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_27);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_18);
|
||||
x_28 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_26);
|
||||
lean_ctor_set(x_28, 1, x_27);
|
||||
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;
|
||||
x_29 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_1);
|
||||
x_30 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_30);
|
||||
lean_dec(x_7);
|
||||
x_31 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_31);
|
||||
x_32 = lean_ctor_get(x_6, 1);
|
||||
lean_inc(x_32);
|
||||
lean_inc(x_31);
|
||||
x_33 = l_Lean_mkMVar(x_31);
|
||||
lean_inc(x_32);
|
||||
x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Term_instantiateMVars___boxed), 4, 2);
|
||||
lean_closure_set(x_34, 0, x_32);
|
||||
lean_closure_set(x_34, 1, x_33);
|
||||
x_35 = lean_alloc_closure((void*)(l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___boxed), 5, 2);
|
||||
lean_closure_set(x_35, 0, x_32);
|
||||
lean_closure_set(x_35, 1, x_30);
|
||||
x_36 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_TermElabM_MonadLog___spec__2___rarg), 4, 2);
|
||||
lean_closure_set(x_36, 0, x_34);
|
||||
lean_closure_set(x_36, 1, x_35);
|
||||
lean_inc(x_3);
|
||||
x_37 = l_Lean_Elab_Term_withMVarContext___rarg(x_31, x_36, x_3, x_4);
|
||||
lean_dec(x_31);
|
||||
if (lean_obj_tag(x_37) == 0)
|
||||
{
|
||||
lean_object* x_38; uint8_t x_39;
|
||||
x_38 = lean_ctor_get(x_37, 0);
|
||||
lean_inc(x_38);
|
||||
x_39 = lean_unbox(x_38);
|
||||
lean_dec(x_38);
|
||||
if (x_39 == 0)
|
||||
{
|
||||
lean_object* x_40;
|
||||
lean_dec(x_6);
|
||||
x_40 = lean_ctor_get(x_37, 1);
|
||||
lean_inc(x_40);
|
||||
lean_dec(x_37);
|
||||
x_1 = x_29;
|
||||
x_4 = x_40;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_42; lean_object* x_43;
|
||||
x_42 = lean_ctor_get(x_37, 1);
|
||||
lean_inc(x_42);
|
||||
lean_dec(x_37);
|
||||
x_43 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_6);
|
||||
lean_ctor_set(x_43, 1, x_2);
|
||||
x_1 = x_29;
|
||||
x_2 = x_43;
|
||||
x_4 = x_42;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48;
|
||||
lean_dec(x_29);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_45 = lean_ctor_get(x_37, 0);
|
||||
lean_inc(x_45);
|
||||
x_46 = lean_ctor_get(x_37, 1);
|
||||
lean_inc(x_46);
|
||||
if (lean_is_exclusive(x_37)) {
|
||||
lean_ctor_release(x_37, 0);
|
||||
lean_ctor_release(x_37, 1);
|
||||
x_47 = x_37;
|
||||
} else {
|
||||
lean_dec_ref(x_37);
|
||||
x_47 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_47)) {
|
||||
x_48 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_48 = x_47;
|
||||
}
|
||||
lean_ctor_set(x_48, 0, x_45);
|
||||
lean_ctor_set(x_48, 1, x_46);
|
||||
return x_48;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_49;
|
||||
lean_dec(x_7);
|
||||
x_49 = !lean_is_exclusive(x_1);
|
||||
if (x_49 == 0)
|
||||
{
|
||||
lean_object* x_50; lean_object* x_51;
|
||||
x_50 = lean_ctor_get(x_1, 1);
|
||||
x_51 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_51);
|
||||
lean_ctor_set(x_1, 1, x_2);
|
||||
{
|
||||
lean_object* _tmp_0 = x_50;
|
||||
lean_object* _tmp_1 = x_1;
|
||||
x_1 = _tmp_0;
|
||||
x_2 = _tmp_1;
|
||||
}
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_53; lean_object* x_54;
|
||||
x_53 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_53);
|
||||
lean_dec(x_1);
|
||||
x_54 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_54, 0, x_6);
|
||||
lean_ctor_set(x_54, 1, x_2);
|
||||
x_1 = x_53;
|
||||
x_2 = x_54;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
|
|
@ -17439,6 +17631,15 @@ return x_53;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6;
|
||||
x_6 = l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec(x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l_List_forM___main___at___private_Init_Lean_Elab_Term_15__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -21762,12 +21963,14 @@ l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__3 = _
|
|||
lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__3);
|
||||
l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__4 = _init_l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__4();
|
||||
lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__4);
|
||||
l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__1 = _init_l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__1();
|
||||
lean_mark_persistent(l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__1);
|
||||
l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__2 = _init_l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__2();
|
||||
lean_mark_persistent(l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__2);
|
||||
l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__3 = _init_l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__3();
|
||||
lean_mark_persistent(l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___closed__3);
|
||||
l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__5 = _init_l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__5();
|
||||
lean_mark_persistent(l___private_Init_Lean_Elab_Term_14__synthesizeSyntheticMVarsStep___closed__5);
|
||||
l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__1 = _init_l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__1();
|
||||
lean_mark_persistent(l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__1);
|
||||
l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__2 = _init_l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__2();
|
||||
lean_mark_persistent(l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__2);
|
||||
l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__3 = _init_l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__3();
|
||||
lean_mark_persistent(l_List_filterAuxM___main___at_Lean_Elab_Term_synthesizeUsingDefault___spec__1___lambda__1___closed__3);
|
||||
l_List_forM___main___at___private_Init_Lean_Elab_Term_15__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1 = _init_l_List_forM___main___at___private_Init_Lean_Elab_Term_15__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1();
|
||||
lean_mark_persistent(l_List_forM___main___at___private_Init_Lean_Elab_Term_15__reportStuckSyntheticMVars___spec__1___lambda__1___closed__1);
|
||||
l_List_forM___main___at___private_Init_Lean_Elab_Term_15__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2 = _init_l_List_forM___main___at___private_Init_Lean_Elab_Term_15__reportStuckSyntheticMVars___spec__1___lambda__1___closed__2();
|
||||
|
|
|
|||
|
|
@ -3898,7 +3898,7 @@ _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_Level_mkData___closed__2;
|
||||
x_2 = lean_unsigned_to_nat(419u);
|
||||
x_3 = lean_unsigned_to_nat(19u);
|
||||
x_3 = lean_unsigned_to_nat(20u);
|
||||
x_4 = l_Lean_Level_updateIMax_x21___closed__1;
|
||||
x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
|
|
@ -3907,44 +3907,22 @@ return x_5;
|
|||
lean_object* l_Lean_Level_updateIMax_x21(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 2)
|
||||
if (lean_obj_tag(x_1) == 3)
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = !lean_is_exclusive(x_1);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5;
|
||||
lean_ctor_set_tag(x_1, 3);
|
||||
x_5 = lean_level_update_imax(x_1, x_2, x_3);
|
||||
return x_5;
|
||||
lean_object* x_4;
|
||||
x_4 = lean_level_update_imax(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; uint64_t x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
x_7 = lean_ctor_get(x_1, 1);
|
||||
x_8 = lean_ctor_get_uint64(x_1, sizeof(void*)*2);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_1);
|
||||
x_9 = lean_alloc_ctor(3, 2, 8);
|
||||
lean_ctor_set(x_9, 0, x_6);
|
||||
lean_ctor_set(x_9, 1, x_7);
|
||||
lean_ctor_set_uint64(x_9, sizeof(void*)*2, x_8);
|
||||
x_10 = lean_level_update_imax(x_9, x_2, x_3);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_11 = l_Lean_Level_Inhabited;
|
||||
x_12 = l_Lean_Level_updateIMax_x21___closed__2;
|
||||
x_13 = lean_panic_fn(x_11, x_12);
|
||||
return x_13;
|
||||
x_5 = l_Lean_Level_Inhabited;
|
||||
x_6 = l_Lean_Level_updateIMax_x21___closed__2;
|
||||
x_7 = lean_panic_fn(x_5, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,7 +89,6 @@ lean_object* l_Lean_Meta_SynthInstance_resume(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Expr_getAppFn___main(lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_withMCtx(lean_object*);
|
||||
lean_object* l_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Level_Inhabited;
|
||||
lean_object* l___private_Init_Lean_Meta_SynthInstance_4__preprocessArgs___main___closed__1;
|
||||
extern lean_object* l_Lean_Expr_getAppArgs___closed__1;
|
||||
lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__1___closed__5;
|
||||
|
|
@ -243,6 +242,7 @@ lean_object* l_HashMapImp_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec_
|
|||
lean_object* l_Lean_Meta_DiscrTree_getUnify___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_HashMapImp_find_x3f___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___main___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_wakeUp___closed__2;
|
||||
lean_object* lean_level_update_imax(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_HashMapImp_find_x3f___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___main___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -355,7 +355,6 @@ lean_object* l_Array_umapMAux___main___at_Lean_Meta_SynthInstance_getInstances__
|
|||
lean_object* lean_name_mk_numeral(lean_object*, lean_object*);
|
||||
lean_object* l_HashMapImp_moveEntries___main___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___main___spec__6(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_expr_update_const(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Level_updateIMax_x21___closed__2;
|
||||
lean_object* l_AssocList_contains___main___at_Lean_Meta_SynthInstance_newSubgoal___spec__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SynthInstance_resume___closed__2;
|
||||
|
|
@ -908,148 +907,146 @@ return x_27;
|
|||
}
|
||||
case 3:
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33;
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34;
|
||||
x_28 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_28);
|
||||
x_29 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_2);
|
||||
x_30 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel___main(x_28, x_2, x_3);
|
||||
x_31 = lean_ctor_get(x_30, 1);
|
||||
x_31 = lean_ctor_get(x_30, 0);
|
||||
lean_inc(x_31);
|
||||
x_32 = lean_ctor_get(x_30, 1);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_30);
|
||||
x_32 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel___main(x_29, x_2, x_31);
|
||||
x_33 = !lean_is_exclusive(x_32);
|
||||
if (x_33 == 0)
|
||||
x_33 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel___main(x_29, x_2, x_32);
|
||||
x_34 = !lean_is_exclusive(x_33);
|
||||
if (x_34 == 0)
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37;
|
||||
x_34 = lean_ctor_get(x_32, 0);
|
||||
lean_dec(x_34);
|
||||
x_35 = l_Lean_Level_Inhabited;
|
||||
x_36 = l_Lean_Level_updateIMax_x21___closed__2;
|
||||
x_37 = lean_panic_fn(x_35, x_36);
|
||||
lean_ctor_set(x_32, 0, x_37);
|
||||
return x_32;
|
||||
lean_object* x_35; lean_object* x_36;
|
||||
x_35 = lean_ctor_get(x_33, 0);
|
||||
x_36 = lean_level_update_imax(x_1, x_31, x_35);
|
||||
lean_ctor_set(x_33, 0, x_36);
|
||||
return x_33;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42;
|
||||
x_38 = lean_ctor_get(x_32, 1);
|
||||
lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40;
|
||||
x_37 = lean_ctor_get(x_33, 0);
|
||||
x_38 = lean_ctor_get(x_33, 1);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_32);
|
||||
x_39 = l_Lean_Level_Inhabited;
|
||||
x_40 = l_Lean_Level_updateIMax_x21___closed__2;
|
||||
x_41 = lean_panic_fn(x_39, x_40);
|
||||
x_42 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_42, 0, x_41);
|
||||
lean_ctor_set(x_42, 1, x_38);
|
||||
return x_42;
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_33);
|
||||
x_39 = lean_level_update_imax(x_1, x_31, x_37);
|
||||
x_40 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_39);
|
||||
lean_ctor_set(x_40, 1, x_38);
|
||||
return x_40;
|
||||
}
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
lean_object* x_43; uint8_t x_44;
|
||||
x_43 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_43);
|
||||
x_44 = l_Lean_MetavarContext_isLevelAssignable(x_2, x_43);
|
||||
if (x_44 == 0)
|
||||
lean_object* x_41; uint8_t x_42;
|
||||
x_41 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_41);
|
||||
x_42 = l_Lean_MetavarContext_isLevelAssignable(x_2, x_41);
|
||||
if (x_42 == 0)
|
||||
{
|
||||
lean_object* x_45;
|
||||
lean_dec(x_43);
|
||||
x_45 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_45, 0, x_1);
|
||||
lean_ctor_set(x_45, 1, x_3);
|
||||
return x_45;
|
||||
lean_object* x_43;
|
||||
lean_dec(x_41);
|
||||
x_43 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_1);
|
||||
lean_ctor_set(x_43, 1, x_3);
|
||||
return x_43;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49;
|
||||
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47;
|
||||
lean_dec(x_1);
|
||||
x_46 = lean_ctor_get(x_3, 0);
|
||||
x_44 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_44);
|
||||
x_45 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_45);
|
||||
x_46 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_46);
|
||||
x_47 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_47);
|
||||
x_48 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_48);
|
||||
x_49 = l_HashMapImp_find_x3f___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___main___spec__1(x_47, x_43);
|
||||
if (lean_obj_tag(x_49) == 0)
|
||||
x_47 = l_HashMapImp_find_x3f___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___main___spec__1(x_45, x_41);
|
||||
if (lean_obj_tag(x_47) == 0)
|
||||
{
|
||||
uint8_t x_50;
|
||||
x_50 = !lean_is_exclusive(x_3);
|
||||
if (x_50 == 0)
|
||||
uint8_t x_48;
|
||||
x_48 = !lean_is_exclusive(x_3);
|
||||
if (x_48 == 0)
|
||||
{
|
||||
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;
|
||||
x_51 = lean_ctor_get(x_3, 2);
|
||||
lean_dec(x_51);
|
||||
x_52 = lean_ctor_get(x_3, 1);
|
||||
lean_dec(x_52);
|
||||
x_53 = lean_ctor_get(x_3, 0);
|
||||
lean_dec(x_53);
|
||||
x_54 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel___main___closed__2;
|
||||
lean_inc(x_46);
|
||||
x_55 = lean_name_mk_numeral(x_54, x_46);
|
||||
x_56 = l_Lean_mkLevelParam(x_55);
|
||||
x_57 = lean_unsigned_to_nat(1u);
|
||||
x_58 = lean_nat_add(x_46, x_57);
|
||||
lean_dec(x_46);
|
||||
lean_inc(x_56);
|
||||
x_59 = l_HashMapImp_insert___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___main___spec__3(x_47, x_43, x_56);
|
||||
lean_ctor_set(x_3, 1, x_59);
|
||||
lean_ctor_set(x_3, 0, x_58);
|
||||
x_60 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_60, 0, x_56);
|
||||
lean_ctor_set(x_60, 1, x_3);
|
||||
return x_60;
|
||||
}
|
||||
else
|
||||
{
|
||||
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_dec(x_3);
|
||||
x_61 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel___main___closed__2;
|
||||
lean_inc(x_46);
|
||||
x_62 = lean_name_mk_numeral(x_61, x_46);
|
||||
x_63 = l_Lean_mkLevelParam(x_62);
|
||||
x_64 = lean_unsigned_to_nat(1u);
|
||||
x_65 = lean_nat_add(x_46, x_64);
|
||||
lean_dec(x_46);
|
||||
lean_inc(x_63);
|
||||
x_66 = l_HashMapImp_insert___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___main___spec__3(x_47, x_43, x_63);
|
||||
x_67 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_67, 0, x_65);
|
||||
lean_ctor_set(x_67, 1, x_66);
|
||||
lean_ctor_set(x_67, 2, x_48);
|
||||
x_68 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_68, 0, x_63);
|
||||
lean_ctor_set(x_68, 1, x_67);
|
||||
return x_68;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_69; lean_object* x_70;
|
||||
lean_dec(x_48);
|
||||
lean_dec(x_47);
|
||||
lean_dec(x_46);
|
||||
lean_dec(x_43);
|
||||
x_69 = lean_ctor_get(x_49, 0);
|
||||
lean_inc(x_69);
|
||||
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;
|
||||
x_49 = lean_ctor_get(x_3, 2);
|
||||
lean_dec(x_49);
|
||||
x_70 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_70, 0, x_69);
|
||||
lean_ctor_set(x_70, 1, x_3);
|
||||
return x_70;
|
||||
x_50 = lean_ctor_get(x_3, 1);
|
||||
lean_dec(x_50);
|
||||
x_51 = lean_ctor_get(x_3, 0);
|
||||
lean_dec(x_51);
|
||||
x_52 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel___main___closed__2;
|
||||
lean_inc(x_44);
|
||||
x_53 = lean_name_mk_numeral(x_52, x_44);
|
||||
x_54 = l_Lean_mkLevelParam(x_53);
|
||||
x_55 = lean_unsigned_to_nat(1u);
|
||||
x_56 = lean_nat_add(x_44, x_55);
|
||||
lean_dec(x_44);
|
||||
lean_inc(x_54);
|
||||
x_57 = l_HashMapImp_insert___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___main___spec__3(x_45, x_41, x_54);
|
||||
lean_ctor_set(x_3, 1, x_57);
|
||||
lean_ctor_set(x_3, 0, x_56);
|
||||
x_58 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_58, 0, x_54);
|
||||
lean_ctor_set(x_58, 1, x_3);
|
||||
return x_58;
|
||||
}
|
||||
else
|
||||
{
|
||||
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_dec(x_3);
|
||||
x_59 = l_Lean_Meta_SynthInstance_MkTableKey_normLevel___main___closed__2;
|
||||
lean_inc(x_44);
|
||||
x_60 = lean_name_mk_numeral(x_59, x_44);
|
||||
x_61 = l_Lean_mkLevelParam(x_60);
|
||||
x_62 = lean_unsigned_to_nat(1u);
|
||||
x_63 = lean_nat_add(x_44, x_62);
|
||||
lean_dec(x_44);
|
||||
lean_inc(x_61);
|
||||
x_64 = l_HashMapImp_insert___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___main___spec__3(x_45, x_41, x_61);
|
||||
x_65 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_65, 0, x_63);
|
||||
lean_ctor_set(x_65, 1, x_64);
|
||||
lean_ctor_set(x_65, 2, x_46);
|
||||
x_66 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_66, 0, x_61);
|
||||
lean_ctor_set(x_66, 1, x_65);
|
||||
return x_66;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_67; lean_object* x_68;
|
||||
lean_dec(x_46);
|
||||
lean_dec(x_45);
|
||||
lean_dec(x_44);
|
||||
lean_dec(x_41);
|
||||
x_67 = lean_ctor_get(x_47, 0);
|
||||
lean_inc(x_67);
|
||||
lean_dec(x_47);
|
||||
x_68 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_68, 0, x_67);
|
||||
lean_ctor_set(x_68, 1, x_3);
|
||||
return x_68;
|
||||
}
|
||||
}
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_71;
|
||||
lean_object* x_69;
|
||||
lean_dec(x_2);
|
||||
x_71 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_71, 0, x_1);
|
||||
lean_ctor_set(x_71, 1, x_3);
|
||||
return x_71;
|
||||
x_69 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_69, 0, x_1);
|
||||
lean_ctor_set(x_69, 1, x_3);
|
||||
return x_69;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -124,7 +124,6 @@ uint8_t l_PersistentHashMap_contains___at_Lean_MetavarContext_isLevelAssigned___
|
|||
lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_getExprAssignment_x3f___spec__2(lean_object*, size_t, lean_object*);
|
||||
lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Level_Inhabited;
|
||||
extern lean_object* l_String_splitAux___main___closed__1;
|
||||
lean_object* l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__41___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__36(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -343,6 +342,7 @@ uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext
|
|||
lean_object* l_Lean_MetavarContext_hasAssignedLevelMVar___main___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_AssocList_replace___main___at___private_Init_Lean_MetavarContext_2__visit___spec__8(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MetavarContext_hasAssignableLevelMVar___main___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_level_update_imax(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter;
|
||||
lean_object* l___private_Init_Lean_MetavarContext_15__withFreshCache___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_LocalDecl_index(lean_object*);
|
||||
|
|
@ -527,7 +527,6 @@ extern lean_object* l_Lean_Expr_updateForallE_x21___closed__1;
|
|||
lean_object* lean_name_mk_numeral(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___lambda__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_expr_update_const(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Level_updateIMax_x21___closed__2;
|
||||
lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_LocalContext_isSubPrefixOf(lean_object*, lean_object*);
|
||||
lean_object* l_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -7139,118 +7138,116 @@ return x_24;
|
|||
}
|
||||
case 3:
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30;
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31;
|
||||
x_25 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_25);
|
||||
x_26 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_1);
|
||||
x_27 = l_Lean_MetavarContext_instantiateLevelMVars___main(x_25, x_2);
|
||||
x_28 = lean_ctor_get(x_27, 1);
|
||||
x_28 = lean_ctor_get(x_27, 0);
|
||||
lean_inc(x_28);
|
||||
x_29 = lean_ctor_get(x_27, 1);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_27);
|
||||
x_29 = l_Lean_MetavarContext_instantiateLevelMVars___main(x_26, x_28);
|
||||
x_30 = !lean_is_exclusive(x_29);
|
||||
if (x_30 == 0)
|
||||
x_30 = l_Lean_MetavarContext_instantiateLevelMVars___main(x_26, x_29);
|
||||
x_31 = !lean_is_exclusive(x_30);
|
||||
if (x_31 == 0)
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34;
|
||||
x_31 = lean_ctor_get(x_29, 0);
|
||||
lean_dec(x_31);
|
||||
x_32 = l_Lean_Level_Inhabited;
|
||||
x_33 = l_Lean_Level_updateIMax_x21___closed__2;
|
||||
x_34 = lean_panic_fn(x_32, x_33);
|
||||
lean_ctor_set(x_29, 0, x_34);
|
||||
return x_29;
|
||||
lean_object* x_32; lean_object* x_33;
|
||||
x_32 = lean_ctor_get(x_30, 0);
|
||||
x_33 = lean_level_update_imax(x_1, x_28, x_32);
|
||||
lean_ctor_set(x_30, 0, x_33);
|
||||
return x_30;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39;
|
||||
x_35 = lean_ctor_get(x_29, 1);
|
||||
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37;
|
||||
x_34 = lean_ctor_get(x_30, 0);
|
||||
x_35 = lean_ctor_get(x_30, 1);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_29);
|
||||
x_36 = l_Lean_Level_Inhabited;
|
||||
x_37 = l_Lean_Level_updateIMax_x21___closed__2;
|
||||
x_38 = lean_panic_fn(x_36, x_37);
|
||||
x_39 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_38);
|
||||
lean_ctor_set(x_39, 1, x_35);
|
||||
return x_39;
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_30);
|
||||
x_36 = lean_level_update_imax(x_1, x_28, x_34);
|
||||
x_37 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_36);
|
||||
lean_ctor_set(x_37, 1, x_35);
|
||||
return x_37;
|
||||
}
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
lean_object* x_40; lean_object* x_41;
|
||||
x_40 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_40);
|
||||
lean_inc(x_40);
|
||||
lean_object* x_38; lean_object* x_39;
|
||||
x_38 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_38);
|
||||
lean_inc(x_38);
|
||||
lean_inc(x_2);
|
||||
x_41 = lean_metavar_ctx_get_level_assignment(x_2, x_40);
|
||||
if (lean_obj_tag(x_41) == 0)
|
||||
x_39 = lean_metavar_ctx_get_level_assignment(x_2, x_38);
|
||||
if (lean_obj_tag(x_39) == 0)
|
||||
{
|
||||
lean_object* x_42;
|
||||
lean_dec(x_40);
|
||||
x_42 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_42, 0, x_1);
|
||||
lean_ctor_set(x_42, 1, x_2);
|
||||
return x_42;
|
||||
lean_object* x_40;
|
||||
lean_dec(x_38);
|
||||
x_40 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_1);
|
||||
lean_ctor_set(x_40, 1, x_2);
|
||||
return x_40;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_43; uint8_t x_44;
|
||||
lean_object* x_41; uint8_t x_42;
|
||||
lean_dec(x_1);
|
||||
x_43 = lean_ctor_get(x_41, 0);
|
||||
lean_inc(x_43);
|
||||
lean_dec(x_41);
|
||||
x_44 = l_Lean_Level_hasMVar(x_43);
|
||||
if (x_44 == 0)
|
||||
x_41 = lean_ctor_get(x_39, 0);
|
||||
lean_inc(x_41);
|
||||
lean_dec(x_39);
|
||||
x_42 = l_Lean_Level_hasMVar(x_41);
|
||||
if (x_42 == 0)
|
||||
{
|
||||
lean_object* x_45;
|
||||
lean_dec(x_40);
|
||||
x_45 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_45, 0, x_43);
|
||||
lean_ctor_set(x_45, 1, x_2);
|
||||
return x_45;
|
||||
lean_object* x_43;
|
||||
lean_dec(x_38);
|
||||
x_43 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_41);
|
||||
lean_ctor_set(x_43, 1, x_2);
|
||||
return x_43;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_46; uint8_t x_47;
|
||||
x_46 = l_Lean_MetavarContext_instantiateLevelMVars___main(x_43, x_2);
|
||||
x_47 = !lean_is_exclusive(x_46);
|
||||
if (x_47 == 0)
|
||||
lean_object* x_44; uint8_t x_45;
|
||||
x_44 = l_Lean_MetavarContext_instantiateLevelMVars___main(x_41, x_2);
|
||||
x_45 = !lean_is_exclusive(x_44);
|
||||
if (x_45 == 0)
|
||||
{
|
||||
lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
x_48 = lean_ctor_get(x_46, 0);
|
||||
x_49 = lean_ctor_get(x_46, 1);
|
||||
lean_inc(x_48);
|
||||
x_50 = lean_metavar_ctx_assign_level(x_49, x_40, x_48);
|
||||
lean_ctor_set(x_46, 1, x_50);
|
||||
return x_46;
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48;
|
||||
x_46 = lean_ctor_get(x_44, 0);
|
||||
x_47 = lean_ctor_get(x_44, 1);
|
||||
lean_inc(x_46);
|
||||
x_48 = lean_metavar_ctx_assign_level(x_47, x_38, x_46);
|
||||
lean_ctor_set(x_44, 1, x_48);
|
||||
return x_44;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54;
|
||||
x_51 = lean_ctor_get(x_46, 0);
|
||||
x_52 = lean_ctor_get(x_46, 1);
|
||||
lean_inc(x_52);
|
||||
lean_inc(x_51);
|
||||
lean_dec(x_46);
|
||||
lean_inc(x_51);
|
||||
x_53 = lean_metavar_ctx_assign_level(x_52, x_40, x_51);
|
||||
x_54 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_54, 0, x_51);
|
||||
lean_ctor_set(x_54, 1, x_53);
|
||||
return x_54;
|
||||
lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52;
|
||||
x_49 = lean_ctor_get(x_44, 0);
|
||||
x_50 = lean_ctor_get(x_44, 1);
|
||||
lean_inc(x_50);
|
||||
lean_inc(x_49);
|
||||
lean_dec(x_44);
|
||||
lean_inc(x_49);
|
||||
x_51 = lean_metavar_ctx_assign_level(x_50, x_38, x_49);
|
||||
x_52 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_49);
|
||||
lean_ctor_set(x_52, 1, x_51);
|
||||
return x_52;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_55;
|
||||
x_55 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_55, 0, x_1);
|
||||
lean_ctor_set(x_55, 1, x_2);
|
||||
return x_55;
|
||||
lean_object* x_53;
|
||||
x_53 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_53, 0, x_1);
|
||||
lean_ctor_set(x_53, 1, x_2);
|
||||
return x_53;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -118,6 +118,7 @@ lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__7;
|
|||
lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__9;
|
||||
lean_object* l_Lean_Parser_Command_classInductive___elambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_openHiding;
|
||||
extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__16;
|
||||
lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__11;
|
||||
lean_object* l_Lean_Parser_Command_declModifiers___closed__8;
|
||||
lean_object* l_Lean_Parser_Command_def___elambda__1___closed__8;
|
||||
|
|
@ -292,7 +293,6 @@ lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_
|
|||
lean_object* l_Lean_Parser_Command_instance___closed__8;
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Command_openRenaming___elambda__1___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_openOnly___elambda__1(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__15;
|
||||
lean_object* l_Lean_Parser_Command_structFields___elambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_export___elambda__1___closed__8;
|
||||
lean_object* l_Lean_Parser_Command_variables___closed__1;
|
||||
|
|
@ -562,6 +562,7 @@ lean_object* l_Lean_Parser_Command_openSimple___closed__3;
|
|||
extern lean_object* l_Lean_Parser_Term_explicitUniv___closed__3;
|
||||
lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__9;
|
||||
lean_object* l_Lean_Parser_Command_openRenamingItem___closed__2;
|
||||
extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__13;
|
||||
lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__4;
|
||||
lean_object* l_Lean_Parser_Command_openRenaming___elambda__1___closed__8;
|
||||
lean_object* l_Lean_Parser_Command_unsafe___closed__5;
|
||||
|
|
@ -1113,7 +1114,6 @@ lean_object* l_Lean_Parser_Command_structureTk___closed__5;
|
|||
lean_object* l_Lean_Parser_Command_universes___elambda__1___closed__9;
|
||||
lean_object* l_Lean_Parser_Command_set__option___closed__1;
|
||||
extern lean_object* l_Lean_Parser_Term_matchAlt___closed__1;
|
||||
extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__12;
|
||||
lean_object* l_Lean_Parser_Command_protected___elambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Command_introRule___closed__5;
|
||||
lean_object* l_Lean_Parser_Command_set__option___elambda__1___closed__7;
|
||||
|
|
@ -1613,7 +1613,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_docComment___elambda__1___closed__3;
|
||||
x_3 = l_Lean_Parser_Command_docComment___elambda__1___closed__5;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -2136,7 +2136,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_attrInstance___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_attrInstance___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -2502,7 +2502,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_attributes___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_attributes___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -2935,7 +2935,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_private___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_private___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -3208,7 +3208,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_protected___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_protected___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -3579,7 +3579,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_noncomputable___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_noncomputable___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -3852,7 +3852,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_unsafe___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_unsafe___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -4125,7 +4125,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_partial___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_partial___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -4398,7 +4398,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_declModifiers___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_declModifiers___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -5215,7 +5215,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_declId___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_declId___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -5317,7 +5317,7 @@ lean_dec(x_70);
|
|||
if (x_72 == 0)
|
||||
{
|
||||
lean_object* x_73; lean_object* x_74;
|
||||
x_73 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__15;
|
||||
x_73 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__16;
|
||||
lean_inc(x_23);
|
||||
x_74 = l_Lean_Parser_ParserState_mkErrorsAt(x_66, x_73, x_23);
|
||||
x_45 = x_74;
|
||||
|
|
@ -5333,7 +5333,7 @@ else
|
|||
{
|
||||
lean_object* x_75; lean_object* x_76;
|
||||
lean_dec(x_69);
|
||||
x_75 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__15;
|
||||
x_75 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__16;
|
||||
lean_inc(x_23);
|
||||
x_76 = l_Lean_Parser_ParserState_mkErrorsAt(x_66, x_75, x_23);
|
||||
x_45 = x_76;
|
||||
|
|
@ -5344,7 +5344,7 @@ else
|
|||
{
|
||||
lean_object* x_77; lean_object* x_78;
|
||||
lean_dec(x_67);
|
||||
x_77 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__15;
|
||||
x_77 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__16;
|
||||
lean_inc(x_23);
|
||||
x_78 = l_Lean_Parser_ParserState_mkErrorsAt(x_66, x_77, x_23);
|
||||
x_45 = x_78;
|
||||
|
|
@ -5442,7 +5442,7 @@ lean_dec(x_56);
|
|||
if (x_58 == 0)
|
||||
{
|
||||
lean_object* x_59; lean_object* x_60;
|
||||
x_59 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__12;
|
||||
x_59 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__13;
|
||||
x_60 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_59, x_51);
|
||||
x_24 = x_60;
|
||||
goto block_44;
|
||||
|
|
@ -5458,7 +5458,7 @@ else
|
|||
{
|
||||
lean_object* x_61; lean_object* x_62;
|
||||
lean_dec(x_55);
|
||||
x_61 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__12;
|
||||
x_61 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__13;
|
||||
x_62 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_61, x_51);
|
||||
x_24 = x_62;
|
||||
goto block_44;
|
||||
|
|
@ -5468,7 +5468,7 @@ else
|
|||
{
|
||||
lean_object* x_63; lean_object* x_64;
|
||||
lean_dec(x_53);
|
||||
x_63 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__12;
|
||||
x_63 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__13;
|
||||
x_64 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_63, x_51);
|
||||
x_24 = x_64;
|
||||
goto block_44;
|
||||
|
|
@ -5672,7 +5672,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_declSig___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_declSig___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -5869,7 +5869,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -6054,7 +6054,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -6541,7 +6541,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_declValEqns___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -7160,7 +7160,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_abbrev___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_abbrev___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -7530,7 +7530,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_def___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_def___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -7874,7 +7874,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_theorem___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_theorem___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -8244,7 +8244,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_constant___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_constant___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -8671,7 +8671,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_instance___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_instance___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -9164,7 +9164,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_axiom___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_axiom___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -9501,7 +9501,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_example___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_example___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -9824,7 +9824,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_relaxedInferMod___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_relaxedInferMod___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -10018,7 +10018,7 @@ lean_dec(x_38);
|
|||
if (x_40 == 0)
|
||||
{
|
||||
lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
x_41 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__12;
|
||||
x_41 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__13;
|
||||
x_42 = l_Lean_Parser_ParserState_mkErrorsAt(x_34, x_41, x_33);
|
||||
x_43 = lean_ctor_get(x_42, 0);
|
||||
lean_inc(x_43);
|
||||
|
|
@ -10053,7 +10053,7 @@ else
|
|||
{
|
||||
lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53;
|
||||
lean_dec(x_37);
|
||||
x_49 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__12;
|
||||
x_49 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__13;
|
||||
x_50 = l_Lean_Parser_ParserState_mkErrorsAt(x_34, x_49, x_33);
|
||||
x_51 = lean_ctor_get(x_50, 0);
|
||||
lean_inc(x_51);
|
||||
|
|
@ -10072,7 +10072,7 @@ else
|
|||
{
|
||||
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58;
|
||||
lean_dec(x_35);
|
||||
x_54 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__12;
|
||||
x_54 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__13;
|
||||
x_55 = l_Lean_Parser_ParserState_mkErrorsAt(x_34, x_54, x_33);
|
||||
x_56 = lean_ctor_get(x_55, 0);
|
||||
lean_inc(x_56);
|
||||
|
|
@ -10204,7 +10204,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_strictInferMod___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_strictInferMod___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -10682,7 +10682,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_introRule___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_introRule___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -11159,7 +11159,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_inductive___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_inductive___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -11555,7 +11555,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_classInductive___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_classInductive___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -12077,7 +12077,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -12634,7 +12634,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_structImplicitBinder___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_structImplicitBinder___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -12794,7 +12794,7 @@ lean_dec(x_28);
|
|||
if (x_30 == 0)
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35;
|
||||
x_31 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__12;
|
||||
x_31 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__13;
|
||||
x_32 = l_Lean_Parser_ParserState_mkErrorsAt(x_24, x_31, x_23);
|
||||
x_33 = l_Lean_Parser_Command_structImplicitBinder___elambda__1___closed__2;
|
||||
x_34 = l_Lean_Parser_ParserState_mkNode(x_32, x_33, x_18);
|
||||
|
|
@ -12817,7 +12817,7 @@ else
|
|||
{
|
||||
lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43;
|
||||
lean_dec(x_27);
|
||||
x_39 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__12;
|
||||
x_39 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__13;
|
||||
x_40 = l_Lean_Parser_ParserState_mkErrorsAt(x_24, x_39, x_23);
|
||||
x_41 = l_Lean_Parser_Command_structImplicitBinder___elambda__1___closed__2;
|
||||
x_42 = l_Lean_Parser_ParserState_mkNode(x_40, x_41, x_18);
|
||||
|
|
@ -12830,7 +12830,7 @@ else
|
|||
{
|
||||
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48;
|
||||
lean_dec(x_25);
|
||||
x_44 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__12;
|
||||
x_44 = l_Lean_Parser_Term_explicitUniv___elambda__1___closed__13;
|
||||
x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_24, x_44, x_23);
|
||||
x_46 = l_Lean_Parser_Command_structImplicitBinder___elambda__1___closed__2;
|
||||
x_47 = l_Lean_Parser_ParserState_mkNode(x_45, x_46, x_18);
|
||||
|
|
@ -13090,7 +13090,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_structInstBinder___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_structInstBinder___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -13696,7 +13696,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_structFields___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_structFields___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -13900,7 +13900,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_structCtor___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_structCtor___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -14283,7 +14283,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_structureTk___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_structureTk___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -14556,7 +14556,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_classTk___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_classTk___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -14770,7 +14770,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_extends___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_extends___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -15075,7 +15075,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_structure___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_structure___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -15731,7 +15731,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_declaration___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_declaration___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -16610,7 +16610,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_section___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_section___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -16988,7 +16988,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_namespace___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_namespace___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -17309,7 +17309,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_end___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_end___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -17676,7 +17676,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_variable___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_variable___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -17997,7 +17997,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_variables___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_variables___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -18350,7 +18350,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_universe___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_universe___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -18671,7 +18671,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_universes___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_universes___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -19024,7 +19024,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_check___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_check___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -19335,7 +19335,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_exit___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_exit___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -19619,7 +19619,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_resolve__name___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_resolve__name___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -19940,7 +19940,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_elab___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_elab___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -20251,7 +20251,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_init__quot___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_init__quot___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -20527,7 +20527,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_set__option___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_set__option___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -21142,7 +21142,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_attribute___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_attribute___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -21908,7 +21908,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_export___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_export___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -22478,7 +22478,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_openHiding___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_openHiding___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -22938,7 +22938,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_openRenamingItem___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_openRenamingItem___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -23420,7 +23420,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_openRenaming___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_openRenaming___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -23883,7 +23883,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_openOnly___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_openOnly___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -24365,7 +24365,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_openSimple___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_openSimple___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -24557,7 +24557,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_open___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_open___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -25082,7 +25082,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_maxPrec___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_maxPrec___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -25331,7 +25331,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_precedence___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_precedence___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -25576,7 +25576,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_quotedSymbolPrec___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_quotedSymbolPrec___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -25934,7 +25934,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_prefix___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_prefix___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -26199,7 +26199,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_infix___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_infix___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -26464,7 +26464,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_infixl___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_infixl___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -26729,7 +26729,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_infixr___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_infixr___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -26994,7 +26994,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_postfix___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_postfix___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -27546,7 +27546,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_reserve___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_reserve___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -27975,7 +27975,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_mixfix___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_mixfix___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -28274,7 +28274,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_identPrec___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_identPrec___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -28620,7 +28620,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Command_notation___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Command_notation___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -383,7 +383,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__3;
|
||||
x_3 = l_Lean_Parser_Level_paren___elambda__1___closed__5;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -894,7 +894,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Level_LevelToFormat_Result_format___main___closed__3;
|
||||
x_3 = l_Lean_Parser_Level_max___elambda__1___closed__2;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -1165,7 +1165,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Level_LevelToFormat_Result_format___main___closed__5;
|
||||
x_3 = l_Lean_Parser_Level_imax___elambda__1___closed__2;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -1433,7 +1433,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Level_hole___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Level_hole___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -1709,7 +1709,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Level_num___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Level_num___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -1864,7 +1864,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Syntax_getKind___closed__3;
|
||||
x_3 = l_Lean_Parser_Level_ident___elambda__1___closed__2;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -233,7 +233,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Module_prelude___elambda__1___closed__3;
|
||||
x_3 = l_Lean_Parser_Module_prelude___elambda__1___closed__5;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -498,7 +498,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Module_import___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Module_import___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -1118,7 +1118,7 @@ uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
|||
x_1 = 0;
|
||||
x_2 = l_Lean_Parser_Module_header___elambda__1___closed__1;
|
||||
x_3 = l_Lean_Parser_Module_header___elambda__1___closed__3;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -122,6 +122,7 @@ lean_object* l_AssocList_replace___main___at_Lean_Parser_nodeInfo___elambda__1__
|
|||
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*);
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1(uint8_t, lean_object*);
|
||||
lean_object* l_Lean_Parser_octalNumberFn(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_identFnAux___main___spec__4___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_hexNumberFn(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -169,11 +170,13 @@ lean_object* l_Lean_Parser_satisfyFn___boxed(lean_object*, lean_object*, lean_ob
|
|||
lean_object* l_Lean_Parser_declareBuiltinParser___closed__5;
|
||||
lean_object* l_Lean_Parser_strLit___boxed(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getOptionalIdent(lean_object*);
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_mkAntiquot___closed__9;
|
||||
lean_object* l_RBNode_insert___at_Lean_Parser_TokenMap_insert___spec__5(lean_object*);
|
||||
lean_object* l_Lean_Parser_symbolNoWsFn___closed__1;
|
||||
uint8_t l_Lean_isIdBeginEscape(uint32_t);
|
||||
lean_object* l_Lean_Parser_declareBuiltinParser___closed__3;
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1___rarg___closed__1;
|
||||
lean_object* l_Array_foldSepByM(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_EnvExtension_Inhabited___rarg___lambda__1(lean_object*);
|
||||
lean_object* l_Lean_Parser_orelseFn(uint8_t);
|
||||
|
|
@ -241,6 +244,7 @@ lean_object* l_Lean_Parser_checkColGeFn___boxed(lean_object*, lean_object*, lean
|
|||
lean_object* l_Lean_Parser_declareBuiltinParser___closed__4;
|
||||
lean_object* l_Lean_Parser_quotedSymbolFn(uint8_t);
|
||||
lean_object* l_Lean_Parser_quotedSymbolFn___rarg___closed__4;
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_10__pushNone___elambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_insertToken(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Nat_HasOfNat___closed__1;
|
||||
lean_object* l_Lean_Parser_tokenTableAttribute;
|
||||
|
|
@ -294,6 +298,7 @@ lean_object* l_Lean_Parser_mkAntiquot___closed__5;
|
|||
lean_object* l_Lean_Parser_TokenConfig_HasToString;
|
||||
lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_binNumberFn___spec__3(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_fieldIdx___boxed(lean_object*);
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_10__pushNone___elambda__1(uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_forArgsM(lean_object*);
|
||||
extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__3;
|
||||
lean_object* l_Lean_Parser_unicodeSymbolCheckPrecFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -343,6 +348,7 @@ lean_object* l_Lean_Parser_mkAtomicInfo___elambda__2(lean_object*);
|
|||
lean_object* l_Lean_Parser_manyAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_fieldIdx___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_10__pushNone(uint8_t);
|
||||
lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg(lean_object*);
|
||||
lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_rawCh___elambda__1___spec__1(uint32_t, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
|
|
@ -414,6 +420,7 @@ lean_object* l_Lean_Parser_trailingLoop___main___boxed(lean_object*, lean_object
|
|||
uint8_t l_Lean_Parser_Error_beq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_runParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserState_keepNewError(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_symbol(uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_anyOfFn___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_octalNumberFn___spec__2(lean_object*, lean_object*);
|
||||
|
|
@ -515,6 +522,7 @@ lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_octalNumberFn___s
|
|||
lean_object* l___private_Init_Lean_Parser_Parser_3__rawAux___boxed(lean_object*);
|
||||
uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_declareBuiltinParser___closed__7;
|
||||
lean_object* l_Lean_Parser_mkAntiquot___closed__13;
|
||||
lean_object* l_Lean_Parser_termParser___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_mkTokenTableAttribute(lean_object*);
|
||||
extern lean_object* l_Lean_Options_empty;
|
||||
|
|
@ -566,7 +574,6 @@ lean_object* l_Lean_Parser_rawCh(uint8_t, uint32_t, uint8_t);
|
|||
lean_object* l_mkHashMapImp___rarg(lean_object*);
|
||||
lean_object* l_Lean_Parser_many1Indent___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_sepByInfo___elambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_mkAntiquot___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserState_restore___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(lean_object*);
|
||||
lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -690,6 +697,7 @@ lean_object* l_Lean_Parser_takeWhileFn___lambda__1___boxed(lean_object*, lean_ob
|
|||
lean_object* l_Lean_mkApp(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Error_Inhabited;
|
||||
lean_object* l_RBNode_find___main___at_Lean_Parser_TokenMap_insert___spec__1___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Syntax_asNode___closed__1;
|
||||
lean_object* l_Lean_nameToExprAux___main(lean_object*);
|
||||
lean_object* l_Lean_Parser_unicodeSymbolCheckPrecFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
|
|
@ -723,6 +731,7 @@ lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_octalNumberFn___spec__1___
|
|||
extern lean_object* l___private_Init_Util_1__mkPanicMessage___closed__2;
|
||||
lean_object* l_Lean_Syntax_foldArgsAuxM___main___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_epsilonInfo;
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_9__noImmediateColon___boxed(lean_object*);
|
||||
lean_object* l_Lean_Parser_lookaheadFn___boxed(lean_object*);
|
||||
lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__6(lean_object*);
|
||||
lean_object* l_Lean_Parser_anyOfFn___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -767,7 +776,6 @@ lean_object* l_RBNode_setBlack___rarg(lean_object*);
|
|||
lean_object* l_Lean_Parser_noFirstTokenInfo___elambda__2(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Trie_empty___closed__1;
|
||||
lean_object* l_Lean_Parser_symbolOrIdent___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_mkAntiquot___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_chFn___rarg(uint32_t, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Syntax_forArgsM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_epsilonInfo___closed__2;
|
||||
|
|
@ -816,6 +824,7 @@ lean_object* l_Lean_Syntax_isNone___boxed(lean_object*);
|
|||
lean_object* l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Syntax_foldSepRevArgsM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_currLbp(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_takeWhile1Fn(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_10__pushNone___elambda__1___rarg(lean_object*);
|
||||
lean_object* lean_io_initializing(lean_object*);
|
||||
lean_object* l_Array_getEvenElems___boxed(lean_object*);
|
||||
extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__2;
|
||||
|
|
@ -852,6 +861,7 @@ lean_object* l_Lean_Parser_manyFn(uint8_t, lean_object*, lean_object*, lean_obje
|
|||
lean_object* l_Lean_Parser_ParserState_next___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Parser_inhabited___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_chFn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Syntax_foldSepRevArgsM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_sepBy1Info___elambda__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_epsilonInfo___elambda__2(lean_object*);
|
||||
|
|
@ -922,6 +932,7 @@ lean_object* l_Lean_Parser_orelseFn___boxed(lean_object*);
|
|||
lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__4(lean_object*);
|
||||
lean_object* l_List_toStringAux___main___at_Lean_Parser_FirstTokens_toStr___spec__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_RBNode_insert___at_Lean_Parser_TokenMap_insert___spec__5___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_10__pushNone___boxed(lean_object*);
|
||||
lean_object* l_Lean_Parser_unicodeSymbolInfo___closed__1;
|
||||
lean_object* l_Lean_Parser_checkColGe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_numLitFn___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -961,6 +972,7 @@ lean_object* l_Lean_Parser_manyAux___boxed(lean_object*, lean_object*, lean_obje
|
|||
lean_object* l_Lean_Parser_group___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__3___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_many1Indent___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_9__noImmediateColon(uint8_t);
|
||||
lean_object* l_Lean_Parser_sepBy1Info___elambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_strLit(uint8_t);
|
||||
lean_object* l_Lean_Parser_many1(uint8_t, lean_object*);
|
||||
|
|
@ -29014,6 +29026,168 @@ x_3 = l_Lean_Parser_dollarSymbol(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1___rarg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("unexpected ':'");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
x_3 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_3);
|
||||
x_4 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(x_3);
|
||||
lean_dec(x_3);
|
||||
x_5 = l_Lean_Parser_checkTailNoWs(x_4);
|
||||
lean_dec(x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
x_7 = lean_ctor_get(x_6, 0);
|
||||
x_8 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_string_utf8_at_end(x_7, x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
uint32_t x_10; uint32_t x_11; uint8_t x_12;
|
||||
x_10 = lean_string_utf8_get(x_7, x_8);
|
||||
lean_dec(x_8);
|
||||
x_11 = 58;
|
||||
x_12 = x_10 == x_11;
|
||||
if (x_12 == 0)
|
||||
{
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14;
|
||||
x_13 = l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1___rarg___closed__1;
|
||||
x_14 = l_Lean_Parser_ParserState_mkUnexpectedError(x_2, x_13);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_8);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1(uint8_t x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1___rarg___boxed), 2, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_9__noImmediateColon(uint8_t x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = lean_box(x_1);
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1___boxed), 2, 1);
|
||||
lean_closure_set(x_3, 0, x_2);
|
||||
x_4 = l_Lean_Parser_Parser_inhabited___closed__1;
|
||||
x_5 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
lean_ctor_set(x_5, 1, x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1___rarg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1___rarg(x_1, x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_4 = l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1(x_3, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_9__noImmediateColon___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l___private_Init_Lean_Parser_Parser_9__noImmediateColon(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_10__pushNone___elambda__1___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Syntax_asNode___closed__1;
|
||||
x_3 = l_Lean_Parser_ParserState_pushSyntax(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_10__pushNone___elambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_10__pushNone___elambda__1___rarg), 1, 0);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_10__pushNone(uint8_t x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = lean_box(x_1);
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_10__pushNone___elambda__1___boxed), 3, 1);
|
||||
lean_closure_set(x_3, 0, x_2);
|
||||
x_4 = l_Lean_Parser_Parser_inhabited___closed__1;
|
||||
x_5 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
lean_ctor_set(x_5, 1, x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_10__pushNone___elambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4; lean_object* x_5;
|
||||
x_4 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_5 = l___private_Init_Lean_Parser_Parser_10__pushNone___elambda__1(x_4, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Init_Lean_Parser_Parser_10__pushNone___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l___private_Init_Lean_Parser_Parser_10__pushNone(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_mkAntiquot___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -29056,16 +29230,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot___elambda__2___rarg),
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_mkAntiquot___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_4 = l_Lean_Parser_termParserAttribute;
|
||||
x_5 = l_Lean_Parser_appPrec;
|
||||
x_6 = l_Lean_Parser_ParserAttribute_runParser(x_4, x_5, x_2, x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l_Lean_Parser_mkAntiquot___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -29095,9 +29259,11 @@ return x_1;
|
|||
lean_object* _init_l_Lean_Parser_mkAntiquot___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("*");
|
||||
return x_1;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_appPrec;
|
||||
x_2 = lean_unsigned_to_nat(1u);
|
||||
x_3 = lean_nat_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l_Lean_Parser_mkAntiquot___closed__5() {
|
||||
|
|
@ -29105,37 +29271,36 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_mkAntiquot___closed__4;
|
||||
x_2 = l_String_trim(x_1);
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_termParser___lambda__1___boxed), 4, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l_Lean_Parser_mkAntiquot___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Parser_mkAntiquot___closed__5;
|
||||
x_3 = l_Lean_Parser_symbolInfo(x_2, x_1);
|
||||
return x_3;
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("*");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l_Lean_Parser_mkAntiquot___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_mkAntiquot___closed__5;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___rarg___boxed), 4, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
x_1 = l_Lean_Parser_mkAntiquot___closed__6;
|
||||
x_2 = l_String_trim(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l_Lean_Parser_mkAntiquot___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_mkAntiquot___closed__6;
|
||||
x_2 = l_Lean_Parser_optionaInfo(x_1);
|
||||
return x_2;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Parser_mkAntiquot___closed__7;
|
||||
x_3 = l_Lean_Parser_symbolInfo(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l_Lean_Parser_mkAntiquot___closed__9() {
|
||||
|
|
@ -29143,7 +29308,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_mkAntiquot___closed__7;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optionalFn___rarg), 4, 1);
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___rarg___boxed), 4, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -29151,17 +29316,18 @@ return x_2;
|
|||
lean_object* _init_l_Lean_Parser_mkAntiquot___closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("no space before");
|
||||
return x_1;
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_mkAntiquot___closed__8;
|
||||
x_2 = l_Lean_Parser_optionaInfo(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l_Lean_Parser_mkAntiquot___closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_mkAntiquot___closed__10;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkNoWsBefore___elambda__1___rarg___boxed), 4, 1);
|
||||
x_1 = l_Lean_Parser_mkAntiquot___closed__9;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optionalFn___rarg), 4, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -29170,10 +29336,20 @@ lean_object* _init_l_Lean_Parser_mkAntiquot___closed__12() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot___lambda__1___boxed), 3, 0);
|
||||
x_1 = lean_mk_string("no space before");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* _init_l_Lean_Parser_mkAntiquot___closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_mkAntiquot___closed__12;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkNoWsBefore___elambda__1___rarg___boxed), 4, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_mkAntiquot(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -29207,21 +29383,21 @@ x_22 = lean_alloc_closure((void*)(l_Lean_Parser_dollarSymbol___elambda__1___boxe
|
|||
lean_closure_set(x_22, 0, x_21);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
lean_object* x_63;
|
||||
x_63 = lean_box(0);
|
||||
x_23 = x_63;
|
||||
goto block_62;
|
||||
lean_object* x_73;
|
||||
x_73 = lean_box(0);
|
||||
x_23 = x_73;
|
||||
goto block_72;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_64;
|
||||
x_64 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_64);
|
||||
lean_object* x_74;
|
||||
x_74 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_74);
|
||||
lean_dec(x_3);
|
||||
x_23 = x_64;
|
||||
goto block_62;
|
||||
x_23 = x_74;
|
||||
goto block_72;
|
||||
}
|
||||
block_62:
|
||||
block_72:
|
||||
{
|
||||
lean_object* x_24; lean_object* x_25;
|
||||
x_24 = l_Lean_Parser_mkAntiquot___closed__2;
|
||||
|
|
@ -29230,20 +29406,20 @@ lean_dec(x_23);
|
|||
if (x_4 == 0)
|
||||
{
|
||||
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;
|
||||
x_26 = l_Lean_Parser_mkAntiquot___closed__8;
|
||||
x_26 = l_Lean_Parser_mkAntiquot___closed__10;
|
||||
x_27 = l_Lean_Parser_andthenInfo(x_16, x_26);
|
||||
x_28 = l_Lean_Parser_mkAntiquot___closed__9;
|
||||
x_28 = l_Lean_Parser_mkAntiquot___closed__11;
|
||||
x_29 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2);
|
||||
lean_closure_set(x_29, 0, x_18);
|
||||
lean_closure_set(x_29, 1, x_28);
|
||||
x_30 = l_Lean_Parser_Parser_inhabited___closed__1;
|
||||
x_31 = l_Lean_Parser_andthenInfo(x_30, x_27);
|
||||
x_32 = l_Lean_Parser_mkAntiquot___closed__12;
|
||||
x_32 = l_Lean_Parser_mkAntiquot___closed__5;
|
||||
x_33 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2);
|
||||
lean_closure_set(x_33, 0, x_32);
|
||||
lean_closure_set(x_33, 1, x_29);
|
||||
x_34 = l_Lean_Parser_andthenInfo(x_15, x_31);
|
||||
x_35 = l_Lean_Parser_mkAntiquot___closed__11;
|
||||
x_35 = l_Lean_Parser_mkAntiquot___closed__13;
|
||||
x_36 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2);
|
||||
lean_closure_set(x_36, 0, x_35);
|
||||
lean_closure_set(x_36, 1, x_33);
|
||||
|
|
@ -29265,42 +29441,61 @@ return x_42;
|
|||
}
|
||||
else
|
||||
{
|
||||
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;
|
||||
x_43 = l_Lean_Parser_optionaInfo(x_16);
|
||||
x_44 = lean_alloc_closure((void*)(l_Lean_Parser_optionalFn___rarg), 4, 1);
|
||||
lean_closure_set(x_44, 0, x_18);
|
||||
x_45 = l_Lean_Parser_mkAntiquot___closed__8;
|
||||
x_46 = l_Lean_Parser_andthenInfo(x_43, x_45);
|
||||
x_47 = l_Lean_Parser_mkAntiquot___closed__9;
|
||||
x_48 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2);
|
||||
lean_closure_set(x_48, 0, x_44);
|
||||
lean_closure_set(x_48, 1, x_47);
|
||||
x_49 = l_Lean_Parser_Parser_inhabited___closed__1;
|
||||
x_50 = l_Lean_Parser_andthenInfo(x_49, x_46);
|
||||
x_51 = l_Lean_Parser_mkAntiquot___closed__12;
|
||||
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;
|
||||
x_43 = l___private_Init_Lean_Parser_Parser_9__noImmediateColon(x_1);
|
||||
x_44 = l___private_Init_Lean_Parser_Parser_10__pushNone(x_1);
|
||||
x_45 = lean_ctor_get(x_43, 0);
|
||||
lean_inc(x_45);
|
||||
lean_dec(x_43);
|
||||
x_46 = lean_ctor_get(x_44, 0);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_44);
|
||||
x_47 = l_Lean_Parser_andthenInfo(x_45, x_46);
|
||||
x_48 = lean_box(x_1);
|
||||
x_49 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1___boxed), 2, 1);
|
||||
lean_closure_set(x_49, 0, x_48);
|
||||
x_50 = lean_box(x_1);
|
||||
x_51 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_10__pushNone___elambda__1___boxed), 3, 1);
|
||||
lean_closure_set(x_51, 0, x_50);
|
||||
x_52 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2);
|
||||
lean_closure_set(x_52, 0, x_51);
|
||||
lean_closure_set(x_52, 1, x_48);
|
||||
x_53 = l_Lean_Parser_andthenInfo(x_15, x_50);
|
||||
x_54 = l_Lean_Parser_mkAntiquot___closed__11;
|
||||
x_55 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2);
|
||||
lean_closure_set(x_55, 0, x_54);
|
||||
lean_closure_set(x_55, 1, x_52);
|
||||
x_56 = l_Lean_Parser_andthenInfo(x_20, x_53);
|
||||
x_57 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2);
|
||||
lean_closure_set(x_57, 0, x_22);
|
||||
lean_closure_set(x_57, 1, x_55);
|
||||
x_58 = lean_alloc_closure((void*)(l_Lean_Parser_tryFn___rarg), 4, 1);
|
||||
lean_closure_set(x_58, 0, x_57);
|
||||
lean_closure_set(x_52, 0, x_49);
|
||||
lean_closure_set(x_52, 1, x_51);
|
||||
x_53 = l_Lean_Parser_orelseInfo(x_16, x_47);
|
||||
x_54 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn___rarg), 5, 2);
|
||||
lean_closure_set(x_54, 0, x_18);
|
||||
lean_closure_set(x_54, 1, x_52);
|
||||
x_55 = l_Lean_Parser_mkAntiquot___closed__10;
|
||||
x_56 = l_Lean_Parser_andthenInfo(x_53, x_55);
|
||||
x_57 = l_Lean_Parser_mkAntiquot___closed__11;
|
||||
x_58 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2);
|
||||
lean_closure_set(x_58, 0, x_54);
|
||||
lean_closure_set(x_58, 1, x_57);
|
||||
x_59 = l_Lean_Parser_Parser_inhabited___closed__1;
|
||||
x_60 = l_Lean_Parser_andthenInfo(x_59, x_56);
|
||||
x_61 = l_Lean_Parser_mkAntiquot___closed__5;
|
||||
x_62 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2);
|
||||
lean_closure_set(x_62, 0, x_61);
|
||||
lean_closure_set(x_62, 1, x_58);
|
||||
x_63 = l_Lean_Parser_andthenInfo(x_15, x_60);
|
||||
x_64 = l_Lean_Parser_mkAntiquot___closed__13;
|
||||
x_65 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2);
|
||||
lean_closure_set(x_65, 0, x_64);
|
||||
lean_closure_set(x_65, 1, x_62);
|
||||
x_66 = l_Lean_Parser_andthenInfo(x_20, x_63);
|
||||
x_67 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2);
|
||||
lean_closure_set(x_67, 0, x_22);
|
||||
lean_closure_set(x_67, 1, x_65);
|
||||
x_68 = lean_alloc_closure((void*)(l_Lean_Parser_tryFn___rarg), 4, 1);
|
||||
lean_closure_set(x_68, 0, x_67);
|
||||
lean_inc(x_25);
|
||||
x_59 = l_Lean_Parser_nodeInfo(x_25, x_56);
|
||||
x_60 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot___elambda__2___rarg), 5, 2);
|
||||
lean_closure_set(x_60, 0, x_25);
|
||||
lean_closure_set(x_60, 1, x_58);
|
||||
x_61 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_61, 0, x_59);
|
||||
lean_ctor_set(x_61, 1, x_60);
|
||||
return x_61;
|
||||
x_69 = l_Lean_Parser_nodeInfo(x_25, x_66);
|
||||
x_70 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot___elambda__2___rarg), 5, 2);
|
||||
lean_closure_set(x_70, 0, x_25);
|
||||
lean_closure_set(x_70, 1, x_68);
|
||||
x_71 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_71, 0, x_69);
|
||||
lean_ctor_set(x_71, 1, x_70);
|
||||
return x_71;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -29325,15 +29520,6 @@ x_3 = l_Lean_Parser_mkAntiquot___elambda__2(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_mkAntiquot___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_mkAntiquot___lambda__1(x_1, x_2, x_3);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_mkAntiquot___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -29429,7 +29615,7 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_2 = l_Lean_Syntax_getKind___closed__3;
|
||||
x_3 = l_Lean_Parser_ident___closed__1;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
x_6 = lean_box(x_1);
|
||||
x_7 = lean_alloc_closure((void*)(l_Lean_Parser_identFn___boxed), 2, 1);
|
||||
|
|
@ -29568,7 +29754,7 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_2 = l_Lean_fieldIdxKind___closed__1;
|
||||
x_3 = l_Lean_Parser_fieldIdx___closed__1;
|
||||
x_4 = 0;
|
||||
x_4 = 1;
|
||||
x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4);
|
||||
x_6 = lean_ctor_get(x_5, 0);
|
||||
lean_inc(x_6);
|
||||
|
|
@ -30987,6 +31173,8 @@ l_Lean_Parser_dollarSymbol___closed__1 = _init_l_Lean_Parser_dollarSymbol___clos
|
|||
lean_mark_persistent(l_Lean_Parser_dollarSymbol___closed__1);
|
||||
l_Lean_Parser_dollarSymbol___closed__2 = _init_l_Lean_Parser_dollarSymbol___closed__2();
|
||||
lean_mark_persistent(l_Lean_Parser_dollarSymbol___closed__2);
|
||||
l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1___rarg___closed__1 = _init_l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1___rarg___closed__1();
|
||||
lean_mark_persistent(l___private_Init_Lean_Parser_Parser_9__noImmediateColon___elambda__1___rarg___closed__1);
|
||||
l_Lean_Parser_mkAntiquot___closed__1 = _init_l_Lean_Parser_mkAntiquot___closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__1);
|
||||
l_Lean_Parser_mkAntiquot___closed__2 = _init_l_Lean_Parser_mkAntiquot___closed__2();
|
||||
|
|
@ -31011,6 +31199,8 @@ l_Lean_Parser_mkAntiquot___closed__11 = _init_l_Lean_Parser_mkAntiquot___closed_
|
|||
lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__11);
|
||||
l_Lean_Parser_mkAntiquot___closed__12 = _init_l_Lean_Parser_mkAntiquot___closed__12();
|
||||
lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__12);
|
||||
l_Lean_Parser_mkAntiquot___closed__13 = _init_l_Lean_Parser_mkAntiquot___closed__13();
|
||||
lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__13);
|
||||
l_Lean_Parser_ident___closed__1 = _init_l_Lean_Parser_ident___closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_ident___closed__1);
|
||||
l_Lean_Parser_fieldIdxFn___closed__1 = _init_l_Lean_Parser_fieldIdxFn___closed__1();
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue