chore: update stage0
This commit is contained in:
parent
f34bf82e0f
commit
403c4bbf47
14 changed files with 1317 additions and 1150 deletions
6
stage0/src/Init/Notation.lean
generated
6
stage0/src/Init/Notation.lean
generated
|
|
@ -244,12 +244,6 @@ syntax (name := induction) "induction " term,+ (" using " ident)? ("generalizin
|
|||
syntax casesTarget := atomic(ident " : ")? term
|
||||
syntax (name := cases) "cases " casesTarget,+ (" using " ident)? (inductionAlts)? : tactic
|
||||
|
||||
syntax matchAlt := "| " term,+ " => " (hole <|> syntheticHole <|> tacticSeq)
|
||||
syntax matchAlts := withPosition((colGe matchAlt)+)
|
||||
syntax (name := «match») "match " matchDiscr,+ (" : " term)? " with " matchAlts : tactic
|
||||
|
||||
syntax (name := introMatch) "intro " matchAlts : tactic
|
||||
|
||||
syntax (name := existsIntro) "exists " term : tactic
|
||||
|
||||
/- We use a priority > default, to avoid ambiguity with the builtin `have` notation -/
|
||||
|
|
|
|||
4
stage0/src/Lean/Elab/Tactic/Basic.lean
generated
4
stage0/src/Lean/Elab/Tactic/Basic.lean
generated
|
|
@ -326,7 +326,7 @@ private def introStep (n : Name) : TacticM Unit :=
|
|||
| `(tactic| intro _) => introStep `_
|
||||
| `(tactic| intro $pat:term) => do
|
||||
let m ← `(match h with | $pat:term => _)
|
||||
let m := m.setKind ``Lean.Parser.Tactic.match
|
||||
let m := m.setKind ``Lean.Parser.Tactic.matchTemp
|
||||
let stxNew ← `(tactic| intro h; $m; clear h)
|
||||
withMacroExpansion stx stxNew $ evalTactic stxNew
|
||||
| `(tactic| intro $hs:term*) => do
|
||||
|
|
@ -336,10 +336,12 @@ private def introStep (n : Name) : TacticM Unit :=
|
|||
withMacroExpansion stx stxNew $ evalTactic stxNew
|
||||
| _ => throwUnsupportedSyntax
|
||||
|
||||
/-
|
||||
@[builtinTactic Lean.Parser.Tactic.introMatch] def evalIntroMatch : Tactic := fun stx => do
|
||||
let matchAlts := stx[1]
|
||||
let stxNew ← liftMacroM $ Term.expandMatchAltsIntoMatchTactic stx matchAlts
|
||||
withMacroExpansion stx stxNew $ evalTactic stxNew
|
||||
-/
|
||||
|
||||
private def getIntrosSize : Expr → Nat
|
||||
| Expr.forallE _ _ b _ => getIntrosSize b + 1
|
||||
|
|
|
|||
3
stage0/src/Lean/Elab/Tactic/Match.lean
generated
3
stage0/src/Lean/Elab/Tactic/Match.lean
generated
|
|
@ -43,7 +43,8 @@ private def mkAuxiliaryMatchTerm (parentTag : Name) (matchTac : Syntax) : MacroM
|
|||
let (matchTerm, s) ← mkAuxiliaryMatchTermAux parentTag matchTac |>.run {}
|
||||
pure (matchTerm, s.cases)
|
||||
|
||||
@[builtinTactic Lean.Parser.Tactic.match] def evalMatch : Tactic := fun stx => do
|
||||
-- @[builtinTactic Lean.Parser.Tactic.match]
|
||||
def evalMatch : Tactic := fun stx => do
|
||||
let tag ← getMainTag
|
||||
let (matchTerm, cases) ← liftMacroM $ mkAuxiliaryMatchTerm tag stx
|
||||
let refineMatchTerm ← `(tactic| refine $matchTerm)
|
||||
|
|
|
|||
8
stage0/src/Lean/Parser/Tactic.lean
generated
8
stage0/src/Lean/Parser/Tactic.lean
generated
|
|
@ -15,10 +15,12 @@ builtin_initialize
|
|||
@[builtinTacticParser] def «unknown» := parser! withPosition (ident >> errorAtSavedPos "unknown tactic" true)
|
||||
@[builtinTacticParser] def nestedTactic := tacticSeqBracketed
|
||||
|
||||
def matchRhs := Term.hole <|> Term.syntheticHole <|> tacticSeq
|
||||
def matchAltsTemp := Term.matchAlts (rhsParser := matchRhs)
|
||||
def matchRhs := Term.hole <|> Term.syntheticHole <|> tacticSeq
|
||||
def matchAlts := Term.matchAlts (rhsParser := matchRhs)
|
||||
@[builtinTacticParser] def «match» := parser!:leadPrec "match " >> sepBy1 Term.matchDiscr ", " >> Term.optType >> " with " >> matchAlts
|
||||
@[builtinTacticParser] def introMatch := parser! nonReservedSymbol "intro " >> matchAlts
|
||||
|
||||
@[builtinTacticParser low] def «matchTemp» := parser!:leadPrec "match " >> sepBy1 Term.matchDiscr ", " >> Term.optType >> " with " >> matchAltsTemp
|
||||
@[builtinTacticParser high] def «matchTemp» := parser!:leadPrec "match " >> sepBy1 Term.matchDiscr ", " >> Term.optType >> " with " >> matchAlts
|
||||
|
||||
end Tactic
|
||||
end Parser
|
||||
|
|
|
|||
483
stage0/stdlib/Init/Notation.c
generated
483
stage0/stdlib/Init/Notation.c
generated
|
|
@ -46,7 +46,6 @@ lean_object* l_term___x25_____closed__1;
|
|||
lean_object* l_term___x3d__;
|
||||
lean_object* l_stx___x3c_x7c_x3e_____closed__9;
|
||||
lean_object* l_term___u2265_____closed__1;
|
||||
lean_object* l_Lean_Parser_Tactic_match___closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_12817____closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_9498____closed__7;
|
||||
lean_object* l_term___x3c_x24_x3e_____closed__2;
|
||||
|
|
@ -66,15 +65,14 @@ lean_object* l_term___x5c_x2f_____closed__3;
|
|||
lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__6;
|
||||
lean_object* l_Lean_Parser_Tactic_generalize___closed__1;
|
||||
lean_object* l_Lean_Parser_Tactic_intro___closed__8;
|
||||
lean_object* l_Lean_Parser_Tactic_match;
|
||||
lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__11;
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16543____boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_erw;
|
||||
lean_object* l_prec_x28___x29___closed__5;
|
||||
lean_object* l_Lean_Parser_Tactic_case___closed__6;
|
||||
lean_object* l_Lean_Parser_Tactic_apply___closed__2;
|
||||
lean_object* l_term___u2265_____closed__4;
|
||||
lean_object* l_Lean_Parser_Syntax_addPrec___closed__9;
|
||||
lean_object* l_Lean_Parser_Tactic_matchAlts___closed__3;
|
||||
lean_object* l_term___x2d_____closed__1;
|
||||
lean_object* l_precLead___closed__4;
|
||||
lean_object* l_term_x2d__;
|
||||
|
|
@ -184,11 +182,11 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_1989_(lean_object*, lean_objec
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_1848_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2252_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2511_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_match___closed__10;
|
||||
lean_object* l_Lean_Parser_Tactic_injection___closed__2;
|
||||
lean_object* l_term___x7c_x7c_____closed__3;
|
||||
lean_object* l_Lean_Parser_Syntax_addPrio___closed__4;
|
||||
lean_object* l_term___x2d_____closed__2;
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16543____closed__1;
|
||||
lean_object* l_term___x26_x26_____closed__5;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_3037____closed__4;
|
||||
lean_object* l_Lean_Parser_Tactic_rwRule___closed__4;
|
||||
|
|
@ -210,7 +208,6 @@ lean_object* l_term___x3e_x3e_x3d_____closed__7;
|
|||
lean_object* l_prio_x28___x29___closed__6;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6163____closed__6;
|
||||
lean_object* l_Lean_Parser_Tactic_skip___closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_matchAlts___closed__5;
|
||||
lean_object* l_Lean_Parser_Tactic_induction___closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_13394____closed__6;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_11370____closed__13;
|
||||
|
|
@ -277,7 +274,6 @@ lean_object* l_term_x2d_____closed__6;
|
|||
lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__16;
|
||||
lean_object* l_Lean_Parser_Tactic_have___closed__9;
|
||||
lean_object* l_rawNatLit___closed__1;
|
||||
lean_object* l_Lean_Parser_Tactic_matchAlt___closed__2;
|
||||
extern lean_object* l_Array_empty___closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6427____closed__5;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_3826____closed__3;
|
||||
|
|
@ -302,7 +298,6 @@ lean_object* l_Lean_Parser_Tactic_skip___closed__2;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_8218____closed__2;
|
||||
lean_object* l_Lean_Parser_Tactic_injection___closed__8;
|
||||
lean_object* l_Lean_Parser_Tactic_changeWith___closed__5;
|
||||
lean_object* l_Lean_Parser_Tactic_matchAlts___closed__1;
|
||||
lean_object* l_Lean_Parser_Tactic_rwSeq___closed__1;
|
||||
lean_object* l_Lean_Parser_Tactic_erwSeq___closed__5;
|
||||
lean_object* l_Lean_Parser_Tactic_apply___closed__4;
|
||||
|
|
@ -318,11 +313,9 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_11707____closed__3;
|
|||
lean_object* l_term___x2d_____closed__4;
|
||||
lean_object* l_term___x3c_x2a_____closed__1;
|
||||
lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_13620_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_introMatch___closed__3;
|
||||
lean_object* l_precLead___closed__5;
|
||||
lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__4;
|
||||
lean_object* l_Lean_Parser_Tactic_inductionAlt;
|
||||
lean_object* l_Lean_Parser_Tactic_matchAlts___closed__4;
|
||||
lean_object* l_term___x3e_x3d_____closed__6;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_10024____closed__7;
|
||||
lean_object* l_Lean_Parser_Tactic_orelse___closed__7;
|
||||
|
|
@ -340,7 +333,6 @@ lean_object* l_Lean_Parser_Tactic_tacticRepeat__;
|
|||
lean_object* l_Lean_Parser_Tactic_injection___closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_948____closed__4;
|
||||
lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__7;
|
||||
lean_object* l_Lean_Parser_Tactic_match___closed__11;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6946____closed__3;
|
||||
lean_object* l_term___x3e_x3e_____closed__3;
|
||||
lean_object* l_rawNatLit___closed__2;
|
||||
|
|
@ -382,7 +374,6 @@ lean_object* l_term___x3c__;
|
|||
lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__3;
|
||||
lean_object* l_term___x3c_x7c__;
|
||||
lean_object* l_Lean_Parser_Tactic_intros___closed__5;
|
||||
lean_object* l_Lean_Parser_Tactic_matchAlt___closed__4;
|
||||
lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_13620__expandListLit(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_12172____boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_3037____closed__3;
|
||||
|
|
@ -503,6 +494,7 @@ lean_object* l_term_x21_____closed__5;
|
|||
lean_object* l_Lean_Parser_Tactic_withReducible___closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1989____closed__6;
|
||||
lean_object* l_term___x3c_x3d_____closed__1;
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__1;
|
||||
lean_object* l_stx___x3f___closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_553____boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_term___x24_______closed__8;
|
||||
|
|
@ -525,6 +517,7 @@ lean_object* l_Lean_Parser_Tactic_erwSeq___closed__4;
|
|||
lean_object* l_Lean_Parser_Tactic_change___closed__2;
|
||||
lean_object* l_term___u2218_____closed__8;
|
||||
lean_object* l_Lean_Parser_Tactic_cases___closed__9;
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_induction___closed__11;
|
||||
lean_object* l_Lean_Parser_Tactic_intro___closed__12;
|
||||
lean_object* l_term___x24_______closed__1;
|
||||
|
|
@ -576,6 +569,7 @@ lean_object* l_Lean_Parser_Tactic_cases;
|
|||
lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__9;
|
||||
lean_object* l_term___x3c_x7c_x3e_____closed__4;
|
||||
lean_object* l_term_x21_____closed__1;
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__2;
|
||||
lean_object* l_stx___x2c_x2a_x2c_x3f___closed__2;
|
||||
lean_object* l_Lean_Parser_Tactic_allGoals___closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4331____closed__7;
|
||||
|
|
@ -664,11 +658,9 @@ lean_object* l_termIf_____x3a__Then__Else_____closed__9;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_1508____closed__1;
|
||||
lean_object* l_Lean_Parser_Tactic_expandERw(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_10813____closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__1;
|
||||
lean_object* l_Lean_Parser_Tactic_intro___closed__11;
|
||||
lean_object* l_Lean_Parser_Tactic_focus;
|
||||
lean_object* l_term___u2218_____closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_term___x2a_x3e_____closed__5;
|
||||
lean_object* l_prioLow___closed__1;
|
||||
lean_object* l_Lean_Parser_Tactic_erewrite___closed__2;
|
||||
|
|
@ -685,7 +677,6 @@ lean_object* l_stx___x2b;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_7464____closed__6;
|
||||
lean_object* l_term___x2a_x3e_____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_2774____closed__9;
|
||||
lean_object* l_Lean_Parser_Tactic_matchAlt___closed__1;
|
||||
lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_focus___closed__6;
|
||||
lean_object* l_Lean_Parser_Tactic_changeWith___closed__1;
|
||||
|
|
@ -725,7 +716,6 @@ lean_object* l_prio_x28___x29;
|
|||
lean_object* l_term___x2d__;
|
||||
lean_object* l_term___x5c_x2f_____closed__2;
|
||||
lean_object* l_Lean_Parser_Tactic_tacticRfl___closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_introMatch___closed__1;
|
||||
lean_object* l_stx___x2c_x2b___closed__4;
|
||||
lean_object* l_Lean_Syntax_setKind(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_traceState___closed__4;
|
||||
|
|
@ -740,7 +730,6 @@ lean_object* l_term___u2227_____closed__4;
|
|||
lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_13620____closed__7;
|
||||
lean_object* l_term_x25_x5b___x7c___x5d___closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_13394____closed__9;
|
||||
lean_object* l_Lean_Parser_Tactic_introMatch___closed__2;
|
||||
lean_object* l_Lean_Parser_Tactic_changeWith___closed__7;
|
||||
lean_object* l_Lean_Parser_Tactic_apply___closed__6;
|
||||
lean_object* l_Lean_Parser_Tactic_locationTarget___closed__1;
|
||||
|
|
@ -767,7 +756,6 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_8477____closed__6;
|
|||
lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__3;
|
||||
lean_object* l_term___x7c_x7c_____closed__4;
|
||||
lean_object* l_prio_x28___x29___closed__5;
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__2;
|
||||
lean_object* l_Lean_Parser_Tactic_revert___closed__6;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_3300____closed__9;
|
||||
lean_object* l_termIf__Then__Else_____closed__1;
|
||||
|
|
@ -778,7 +766,6 @@ lean_object* l_prioDefault___closed__2;
|
|||
lean_object* l_Lean_Parser_Tactic_generalize___closed__11;
|
||||
lean_object* l_term___u2227_____closed__6;
|
||||
lean_object* l_Lean_Parser_Tactic_erewrite___closed__6;
|
||||
lean_object* l_Lean_Parser_Tactic_match___closed__6;
|
||||
lean_object* l_term___x3a_x3a_____closed__1;
|
||||
extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_8972____closed__4;
|
||||
|
|
@ -857,7 +844,6 @@ lean_object* l_termIf__Then__Else_____closed__4;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_11900____closed__6;
|
||||
lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_6163____closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_match___closed__8;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_736____closed__6;
|
||||
lean_object* l_term___x3e_____closed__4;
|
||||
lean_object* l_Lean_Parser_Tactic_induction___closed__10;
|
||||
|
|
@ -907,12 +893,10 @@ lean_object* l_term___x3c_x2a_x3e_____closed__3;
|
|||
lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__14;
|
||||
lean_object* l_term___xd7_____closed__3;
|
||||
lean_object* l_term___x3d_x3d_____closed__5;
|
||||
lean_object* l_Lean_Parser_Tactic_match___closed__9;
|
||||
lean_object* l_term_x2d_____closed__5;
|
||||
lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_13620____closed__5;
|
||||
lean_object* l_Lean_Parser_Tactic_refine___closed__6;
|
||||
lean_object* l_term___x25_____closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_introMatch___closed__4;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_9761____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4859____closed__5;
|
||||
lean_object* l_Lean_Parser_Tactic_allGoals___closed__2;
|
||||
|
|
@ -951,7 +935,6 @@ lean_object* l_Lean_Parser_Tactic_tacticTry_____closed__4;
|
|||
lean_object* l_Lean_Parser_Tactic_generalize___closed__10;
|
||||
lean_object* l_term___x3c_x7c_x3e__;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4859____closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_match___closed__2;
|
||||
lean_object* l_Lean_Parser_Tactic_paren___closed__2;
|
||||
lean_object* l_Lean_Parser_Tactic_subst___closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_withReducible___closed__6;
|
||||
|
|
@ -1061,7 +1044,6 @@ lean_object* l_Lean_Parser_Tactic_intro___closed__16;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_5643____closed__6;
|
||||
lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*);
|
||||
lean_object* l_term___x5e_____closed__4;
|
||||
lean_object* l_Lean_Parser_Tactic_match___closed__4;
|
||||
lean_object* l_termMaxPrec_x21;
|
||||
lean_object* l_Lean_Parser_Syntax_subPrio___closed__4;
|
||||
lean_object* l_term___x3e_x3e_x3d_____closed__4;
|
||||
|
|
@ -1073,8 +1055,8 @@ lean_object* l_term___x2a_____closed__6;
|
|||
lean_object* l_term___x3c_x2a_x3e_____closed__6;
|
||||
lean_object* l_term_x2d_____closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_existsIntro___closed__6;
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16696_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16543_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_14986_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_14860_(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_14727_(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1082,7 +1064,6 @@ lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_14558_(lean
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_3563____closed__4;
|
||||
lean_object* l_term___u2227_____closed__2;
|
||||
lean_object* l_term___x3e_____closed__1;
|
||||
lean_object* l_Lean_Parser_Tactic_match___closed__1;
|
||||
lean_object* l_term_x25_x5b___x7c___x5d___closed__8;
|
||||
lean_object* l_Lean_Parser_Tactic_show___closed__5;
|
||||
lean_object* l_termIf_____x3a__Then__Else_____closed__12;
|
||||
|
|
@ -1097,7 +1078,6 @@ lean_object* l_precMax___closed__4;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_2511____closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_10024____closed__4;
|
||||
lean_object* l_term___u2265_____closed__6;
|
||||
lean_object* l_Lean_Parser_Tactic_match___closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_10550____closed__1;
|
||||
lean_object* l_term_x5b___x5d___closed__5;
|
||||
lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__13;
|
||||
|
|
@ -1130,7 +1110,6 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_7981____closed__1;
|
|||
lean_object* l_Lean_Parser_Tactic_focus___closed__5;
|
||||
lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_13620__expandListLit_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_match___closed__5;
|
||||
lean_object* l_Lean_Parser_Tactic_erewrite___closed__3;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_3037____closed__7;
|
||||
lean_object* l_term___x3c_x7c_____closed__1;
|
||||
|
|
@ -1320,7 +1299,6 @@ lean_object* l_termIf_____x3a__Then__Else_____closed__20;
|
|||
lean_object* l_term___x2a_____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_1192____closed__3;
|
||||
lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_13620____closed__1;
|
||||
lean_object* l_Lean_Parser_Tactic_matchAlt;
|
||||
lean_object* l_Lean_Parser_Tactic_done___closed__4;
|
||||
lean_object* l_Lean_Parser_Tactic_erw___closed__6;
|
||||
lean_object* l___private_Init_Notation_0__Lean_Parser_Tactic_withCheapRefl(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1389,7 +1367,6 @@ lean_object* l_Lean_Parser_Tactic_intro___closed__2;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_8972____closed__3;
|
||||
lean_object* l_term___x3e_x3e_x3d_____closed__6;
|
||||
lean_object* l_Lean_Parser_Tactic_focus___closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_matchAlt___closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_rwSeq___closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_10287____closed__9;
|
||||
lean_object* l_Lean_Parser_Tactic_changeWith___closed__3;
|
||||
|
|
@ -1413,7 +1390,6 @@ lean_object* l_termIf__Then__Else_____closed__3;
|
|||
lean_object* l_term___x24_______closed__7;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_9498____closed__4;
|
||||
lean_object* l_term___x26_x26_____closed__1;
|
||||
lean_object* l_Lean_Parser_Tactic_matchAlts___closed__2;
|
||||
lean_object* l_term___x26_x26_____closed__2;
|
||||
lean_object* l_precMax;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
|
|
@ -1488,7 +1464,6 @@ lean_object* l_term___x3c_x7c_____closed__6;
|
|||
lean_object* l_myMacro____x40_Init_Notation___hyg_3037____closed__6;
|
||||
lean_object* l_Lean_Parser_Tactic_rwRule___closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_casesTarget___closed__2;
|
||||
lean_object* l_Lean_Parser_Tactic_matchAlts;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4859____closed__9;
|
||||
lean_object* l_stx_x21_____closed__7;
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_unexpand____x40_Init_Notation___hyg_1970____spec__1(lean_object*);
|
||||
|
|
@ -1501,7 +1476,6 @@ lean_object* l_Lean_Parser_Tactic_let_x21___closed__5;
|
|||
lean_object* l_term___xd7_____closed__4;
|
||||
lean_object* l_termMaxPrec_x21___closed__5;
|
||||
lean_object* l_Lean_Parser_Tactic_expandRwSeq(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_matchAlt___closed__5;
|
||||
lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__1;
|
||||
lean_object* l_term___x3e_____closed__5;
|
||||
lean_object* l_Lean_Parser_Tactic_existsIntro___closed__1;
|
||||
|
|
@ -1545,7 +1519,6 @@ lean_object* l_Lean_Parser_Tactic_rw___closed__4;
|
|||
lean_object* l_Lean_Parser_Tactic_refine;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_10813____closed__2;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_4089____closed__8;
|
||||
lean_object* l_Lean_Parser_Tactic_introMatch;
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_14727____closed__4;
|
||||
lean_object* l_Lean_Parser_Tactic_generalize___closed__5;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_11370____closed__8;
|
||||
|
|
@ -1581,7 +1554,6 @@ lean_object* l_Lean_Parser_Tactic_letrec___closed__10;
|
|||
lean_object* l_Lean_Parser_Tactic_tacticAdmit___closed__4;
|
||||
lean_object* l_term___x5c_x2f__;
|
||||
lean_object* l_Lean_Parser_Tactic_refine_x21___closed__3;
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16696____closed__1;
|
||||
lean_object* l_Lean_Parser_Syntax_addPrec___closed__8;
|
||||
lean_object* l_Lean_Parser_Tactic_intros___closed__10;
|
||||
lean_object* l_term___x3d_____closed__5;
|
||||
|
|
@ -1597,7 +1569,6 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_8477____closed__3;
|
|||
lean_object* l_termIf_____x3a__Then__Else_____closed__16;
|
||||
lean_object* l_Lean_Parser_Tactic_letrec___closed__5;
|
||||
lean_object* l_myMacro____x40_Init_Notation___hyg_8477____closed__5;
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16696____boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_term___x2b_____closed__4;
|
||||
lean_object* l_term___x2a_x3e__;
|
||||
lean_object* l_term___x24_______closed__10;
|
||||
|
|
@ -28855,348 +28826,6 @@ x_1 = l_Lean_Parser_Tactic_cases___closed__9;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_matchAlt___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Tactic_intro___closed__2;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_11900____closed__9;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_matchAlt___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Syntax_addPrec___closed__10;
|
||||
x_2 = l_Lean_Parser_Tactic_inductionAlt___closed__4;
|
||||
x_3 = l_Lean_Parser_Tactic_induction___closed__5;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_matchAlt___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Syntax_addPrec___closed__10;
|
||||
x_2 = l_Lean_Parser_Tactic_matchAlt___closed__2;
|
||||
x_3 = l_Lean_Parser_Tactic_case___closed__7;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_matchAlt___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Syntax_addPrec___closed__10;
|
||||
x_2 = l_Lean_Parser_Tactic_matchAlt___closed__3;
|
||||
x_3 = l_Lean_Parser_Tactic_inductionAlt___closed__15;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_matchAlt___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_11900____closed__9;
|
||||
x_2 = l_Lean_Parser_Tactic_matchAlt___closed__1;
|
||||
x_3 = l_Lean_Parser_Tactic_matchAlt___closed__4;
|
||||
x_4 = lean_alloc_ctor(9, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_matchAlt() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Parser_Tactic_matchAlt___closed__5;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_matchAlts___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Tactic_intro___closed__2;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_11900____closed__7;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_matchAlts___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Syntax_addPrec___closed__10;
|
||||
x_2 = l_Lean_Parser_Tactic_inductionAlts___closed__7;
|
||||
x_3 = l_Lean_Parser_Tactic_matchAlt;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_matchAlts___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_736____closed__6;
|
||||
x_2 = l_Lean_Parser_Tactic_matchAlts___closed__2;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_matchAlts___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Tactic_location___closed__4;
|
||||
x_2 = l_Lean_Parser_Tactic_matchAlts___closed__3;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_matchAlts___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_11900____closed__7;
|
||||
x_2 = l_Lean_Parser_Tactic_matchAlts___closed__1;
|
||||
x_3 = l_Lean_Parser_Tactic_matchAlts___closed__4;
|
||||
x_4 = lean_alloc_ctor(9, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_matchAlts() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Parser_Tactic_matchAlts___closed__5;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_match___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Tactic_intro___closed__2;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_11900____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_match___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("match ");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_match___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Tactic_match___closed__2;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(6, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_match___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_11900____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_match___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Tactic_match___closed__4;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_match___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Parser_Tactic_match___closed__5;
|
||||
x_2 = l_myMacro____x40_Init_Notation___hyg_1054____closed__7;
|
||||
x_3 = l_term_x5b___x5d___closed__6;
|
||||
x_4 = 0;
|
||||
x_5 = lean_alloc_ctor(11, 3, 1);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_2);
|
||||
lean_ctor_set(x_5, 2, x_3);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_match___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Syntax_addPrec___closed__10;
|
||||
x_2 = l_Lean_Parser_Tactic_match___closed__3;
|
||||
x_3 = l_Lean_Parser_Tactic_match___closed__6;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_match___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Syntax_addPrec___closed__10;
|
||||
x_2 = l_Lean_Parser_Tactic_match___closed__7;
|
||||
x_3 = l_term_x7b_____x3a___x2f_x2f___x7d___closed__7;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_match___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Syntax_addPrec___closed__10;
|
||||
x_2 = l_Lean_Parser_Tactic_match___closed__8;
|
||||
x_3 = l_Lean_Parser_Tactic_changeWith___closed__4;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_match___closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Syntax_addPrec___closed__10;
|
||||
x_2 = l_Lean_Parser_Tactic_match___closed__9;
|
||||
x_3 = l_Lean_Parser_Tactic_matchAlts;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_match___closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Tactic_match___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(1023u);
|
||||
x_3 = l_Lean_Parser_Tactic_match___closed__10;
|
||||
x_4 = lean_alloc_ctor(3, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_match() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Parser_Tactic_match___closed__11;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_introMatch___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("introMatch");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_introMatch___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Tactic_intro___closed__2;
|
||||
x_2 = l_Lean_Parser_Tactic_introMatch___closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_introMatch___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Syntax_addPrec___closed__10;
|
||||
x_2 = l_Lean_Parser_Tactic_intro___closed__6;
|
||||
x_3 = l_Lean_Parser_Tactic_matchAlts;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_introMatch___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Tactic_introMatch___closed__2;
|
||||
x_2 = lean_unsigned_to_nat(1023u);
|
||||
x_3 = l_Lean_Parser_Tactic_introMatch___closed__3;
|
||||
x_4 = lean_alloc_ctor(3, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_introMatch() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Parser_Tactic_introMatch___closed__4;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_existsIntro___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -29365,7 +28994,7 @@ x_1 = l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__1() {
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -29373,17 +29002,17 @@ x_1 = lean_mk_string("haveAssign");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__2() {
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_1989____closed__2;
|
||||
x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__1;
|
||||
x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__1;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -29450,7 +29079,7 @@ lean_ctor_set(x_33, 0, x_14);
|
|||
lean_ctor_set(x_33, 1, x_32);
|
||||
x_34 = lean_array_push(x_17, x_33);
|
||||
x_35 = lean_array_push(x_34, x_11);
|
||||
x_36 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__2;
|
||||
x_36 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__2;
|
||||
x_37 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_36);
|
||||
lean_ctor_set(x_37, 1, x_35);
|
||||
|
|
@ -29515,7 +29144,7 @@ lean_ctor_set(x_66, 0, x_46);
|
|||
lean_ctor_set(x_66, 1, x_65);
|
||||
x_67 = lean_array_push(x_50, x_66);
|
||||
x_68 = lean_array_push(x_67, x_11);
|
||||
x_69 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__2;
|
||||
x_69 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__2;
|
||||
x_70 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_70, 0, x_69);
|
||||
lean_ctor_set(x_70, 1, x_68);
|
||||
|
|
@ -29541,11 +29170,11 @@ return x_79;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512_(x_1, x_2, x_3);
|
||||
x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359_(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -29624,7 +29253,7 @@ x_1 = l_Lean_Parser_Tactic_tacticRepeat_____closed__6;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16696____closed__1() {
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16543____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -29632,7 +29261,7 @@ x_1 = lean_mk_string("repeat");
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16696_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16543_(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -29721,7 +29350,7 @@ x_38 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_38, 0, x_35);
|
||||
lean_ctor_set(x_38, 1, x_37);
|
||||
x_39 = lean_array_push(x_21, x_38);
|
||||
x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16696____closed__1;
|
||||
x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16543____closed__1;
|
||||
lean_inc(x_18);
|
||||
x_41 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_41, 0, x_18);
|
||||
|
|
@ -29828,7 +29457,7 @@ x_92 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_92, 0, x_89);
|
||||
lean_ctor_set(x_92, 1, x_91);
|
||||
x_93 = lean_array_push(x_75, x_92);
|
||||
x_94 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16696____closed__1;
|
||||
x_94 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16543____closed__1;
|
||||
lean_inc(x_71);
|
||||
x_95 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_95, 0, x_71);
|
||||
|
|
@ -29892,11 +29521,11 @@ return x_125;
|
|||
}
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16696____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16543____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16696_(x_1, x_2, x_3);
|
||||
x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16543_(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -32664,64 +32293,6 @@ l_Lean_Parser_Tactic_cases___closed__9 = _init_l_Lean_Parser_Tactic_cases___clos
|
|||
lean_mark_persistent(l_Lean_Parser_Tactic_cases___closed__9);
|
||||
l_Lean_Parser_Tactic_cases = _init_l_Lean_Parser_Tactic_cases();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_cases);
|
||||
l_Lean_Parser_Tactic_matchAlt___closed__1 = _init_l_Lean_Parser_Tactic_matchAlt___closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_matchAlt___closed__1);
|
||||
l_Lean_Parser_Tactic_matchAlt___closed__2 = _init_l_Lean_Parser_Tactic_matchAlt___closed__2();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_matchAlt___closed__2);
|
||||
l_Lean_Parser_Tactic_matchAlt___closed__3 = _init_l_Lean_Parser_Tactic_matchAlt___closed__3();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_matchAlt___closed__3);
|
||||
l_Lean_Parser_Tactic_matchAlt___closed__4 = _init_l_Lean_Parser_Tactic_matchAlt___closed__4();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_matchAlt___closed__4);
|
||||
l_Lean_Parser_Tactic_matchAlt___closed__5 = _init_l_Lean_Parser_Tactic_matchAlt___closed__5();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_matchAlt___closed__5);
|
||||
l_Lean_Parser_Tactic_matchAlt = _init_l_Lean_Parser_Tactic_matchAlt();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_matchAlt);
|
||||
l_Lean_Parser_Tactic_matchAlts___closed__1 = _init_l_Lean_Parser_Tactic_matchAlts___closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_matchAlts___closed__1);
|
||||
l_Lean_Parser_Tactic_matchAlts___closed__2 = _init_l_Lean_Parser_Tactic_matchAlts___closed__2();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_matchAlts___closed__2);
|
||||
l_Lean_Parser_Tactic_matchAlts___closed__3 = _init_l_Lean_Parser_Tactic_matchAlts___closed__3();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_matchAlts___closed__3);
|
||||
l_Lean_Parser_Tactic_matchAlts___closed__4 = _init_l_Lean_Parser_Tactic_matchAlts___closed__4();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_matchAlts___closed__4);
|
||||
l_Lean_Parser_Tactic_matchAlts___closed__5 = _init_l_Lean_Parser_Tactic_matchAlts___closed__5();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_matchAlts___closed__5);
|
||||
l_Lean_Parser_Tactic_matchAlts = _init_l_Lean_Parser_Tactic_matchAlts();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_matchAlts);
|
||||
l_Lean_Parser_Tactic_match___closed__1 = _init_l_Lean_Parser_Tactic_match___closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_match___closed__1);
|
||||
l_Lean_Parser_Tactic_match___closed__2 = _init_l_Lean_Parser_Tactic_match___closed__2();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_match___closed__2);
|
||||
l_Lean_Parser_Tactic_match___closed__3 = _init_l_Lean_Parser_Tactic_match___closed__3();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_match___closed__3);
|
||||
l_Lean_Parser_Tactic_match___closed__4 = _init_l_Lean_Parser_Tactic_match___closed__4();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_match___closed__4);
|
||||
l_Lean_Parser_Tactic_match___closed__5 = _init_l_Lean_Parser_Tactic_match___closed__5();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_match___closed__5);
|
||||
l_Lean_Parser_Tactic_match___closed__6 = _init_l_Lean_Parser_Tactic_match___closed__6();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_match___closed__6);
|
||||
l_Lean_Parser_Tactic_match___closed__7 = _init_l_Lean_Parser_Tactic_match___closed__7();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_match___closed__7);
|
||||
l_Lean_Parser_Tactic_match___closed__8 = _init_l_Lean_Parser_Tactic_match___closed__8();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_match___closed__8);
|
||||
l_Lean_Parser_Tactic_match___closed__9 = _init_l_Lean_Parser_Tactic_match___closed__9();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_match___closed__9);
|
||||
l_Lean_Parser_Tactic_match___closed__10 = _init_l_Lean_Parser_Tactic_match___closed__10();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_match___closed__10);
|
||||
l_Lean_Parser_Tactic_match___closed__11 = _init_l_Lean_Parser_Tactic_match___closed__11();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_match___closed__11);
|
||||
l_Lean_Parser_Tactic_match = _init_l_Lean_Parser_Tactic_match();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_match);
|
||||
l_Lean_Parser_Tactic_introMatch___closed__1 = _init_l_Lean_Parser_Tactic_introMatch___closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_introMatch___closed__1);
|
||||
l_Lean_Parser_Tactic_introMatch___closed__2 = _init_l_Lean_Parser_Tactic_introMatch___closed__2();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_introMatch___closed__2);
|
||||
l_Lean_Parser_Tactic_introMatch___closed__3 = _init_l_Lean_Parser_Tactic_introMatch___closed__3();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_introMatch___closed__3);
|
||||
l_Lean_Parser_Tactic_introMatch___closed__4 = _init_l_Lean_Parser_Tactic_introMatch___closed__4();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_introMatch___closed__4);
|
||||
l_Lean_Parser_Tactic_introMatch = _init_l_Lean_Parser_Tactic_introMatch();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_introMatch);
|
||||
l_Lean_Parser_Tactic_existsIntro___closed__1 = _init_l_Lean_Parser_Tactic_existsIntro___closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_existsIntro___closed__1);
|
||||
l_Lean_Parser_Tactic_existsIntro___closed__2 = _init_l_Lean_Parser_Tactic_existsIntro___closed__2();
|
||||
|
|
@ -32752,10 +32323,10 @@ l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7 = _init_l_Lean_Parser_
|
|||
lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7);
|
||||
l_Lean_Parser_Tactic_tacticHave_____x3a_x3d__ = _init_l_Lean_Parser_Tactic_tacticHave_____x3a_x3d__();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____x3a_x3d__);
|
||||
l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__1);
|
||||
l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__2();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__2);
|
||||
l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__1);
|
||||
l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__2();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__2);
|
||||
l_Lean_Parser_Tactic_tacticRepeat_____closed__1 = _init_l_Lean_Parser_Tactic_tacticRepeat_____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRepeat_____closed__1);
|
||||
l_Lean_Parser_Tactic_tacticRepeat_____closed__2 = _init_l_Lean_Parser_Tactic_tacticRepeat_____closed__2();
|
||||
|
|
@ -32770,8 +32341,8 @@ l_Lean_Parser_Tactic_tacticRepeat_____closed__6 = _init_l_Lean_Parser_Tactic_tac
|
|||
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRepeat_____closed__6);
|
||||
l_Lean_Parser_Tactic_tacticRepeat__ = _init_l_Lean_Parser_Tactic_tacticRepeat__();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_tacticRepeat__);
|
||||
l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16696____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16696____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16696____closed__1);
|
||||
l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16543____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16543____closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16543____closed__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Elab/Binders.c
generated
10
stage0/stdlib/Lean/Elab/Binders.c
generated
|
|
@ -89,6 +89,7 @@ extern lean_object* l_Lean_identKind___closed__2;
|
|||
extern lean_object* l_Lean_Parser_Term_letPatDecl___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_expandWhereDecls(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__8;
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__2;
|
||||
lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___at_Lean_Elab_Term_elabBinders___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandFunBinders___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -198,6 +199,7 @@ lean_object* lean_nat_sub(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Elab_Term_declareTacticSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_implicitBinder___elambda__1___closed__1;
|
||||
extern lean_object* l_Lean_choiceKind___closed__2;
|
||||
extern lean_object* l_Lean_Parser_Tactic_matchTemp___elambda__1___closed__2;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__3___lambda__1___closed__4;
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__14;
|
||||
|
|
@ -300,7 +302,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_12817____closed__8;
|
|||
lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandWhereDeclsOpt___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkFVar(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_match___closed__2;
|
||||
extern lean_object* l_Lean_Expr_getAutoParamTactic_x3f___closed__1;
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__5;
|
||||
lean_object* l_Lean_Elab_Term_quoteAutoTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -342,7 +343,6 @@ extern lean_object* l_Lean_Elab_Term_instMonadQuotationTermElabM;
|
|||
lean_object* l_Lean_Elab_Term_expandWhereDecls_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabLetDeclAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_match___closed__1;
|
||||
extern lean_object* l_Lean_identKind;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_12817____closed__9;
|
||||
lean_object* l_Lean_Elab_Term_expandFunBinders_loop_match__1___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -19643,7 +19643,7 @@ lean_ctor_set(x_276, 0, x_255);
|
|||
lean_ctor_set(x_276, 1, x_275);
|
||||
x_277 = lean_array_push(x_274, x_276);
|
||||
x_278 = lean_array_push(x_277, x_1);
|
||||
x_279 = l_Lean_Parser_Tactic_match___closed__1;
|
||||
x_279 = l_Lean_Parser_Tactic_matchTemp___elambda__1___closed__2;
|
||||
x_280 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_280, 0, x_279);
|
||||
lean_ctor_set(x_280, 1, x_278);
|
||||
|
|
@ -19691,7 +19691,7 @@ lean_ctor_set(x_303, 0, x_281);
|
|||
lean_ctor_set(x_303, 1, x_302);
|
||||
x_304 = lean_array_push(x_301, x_303);
|
||||
x_305 = lean_array_push(x_304, x_1);
|
||||
x_306 = l_Lean_Parser_Tactic_match___closed__1;
|
||||
x_306 = l_Lean_Parser_Tactic_matchTemp___elambda__1___closed__2;
|
||||
x_307 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_307, 0, x_306);
|
||||
lean_ctor_set(x_307, 1, x_305);
|
||||
|
|
@ -22550,7 +22550,7 @@ else
|
|||
{
|
||||
lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142;
|
||||
lean_dec(x_5);
|
||||
x_127 = l_Lean_Parser_Tactic_match___closed__2;
|
||||
x_127 = l_Lean_Parser_Term_match___elambda__1___closed__8;
|
||||
x_128 = l_Lean_mkAtomFrom(x_1, x_127);
|
||||
x_129 = l_Lean_nullKind;
|
||||
x_130 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/BuiltinNotation.c
generated
6
stage0/stdlib/Lean/Elab/BuiltinNotation.c
generated
|
|
@ -218,6 +218,7 @@ lean_object* l_Lean_Elab_Term_elabNativeRefl___boxed(lean_object*, lean_object*,
|
|||
lean_object* l_Lean_Elab_Term_expandEmptyC___closed__3;
|
||||
lean_object* l_Lean_Meta_kabstract___at_Lean_Elab_Term_elabSubst___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__2___closed__6;
|
||||
extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__2;
|
||||
lean_object* l_Lean_Elab_Term_expandEmptyC___closed__5;
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Term_expandHave___closed__1;
|
||||
|
|
@ -284,7 +285,6 @@ extern lean_object* l_Lean_instQuoteBool___closed__3;
|
|||
lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor(lean_object*);
|
||||
lean_object* l_Nat_repr(lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_elabPanic___closed__7;
|
||||
extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__2;
|
||||
lean_object* l_Lean_Elab_Term_expandSuffices_match__6(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkEqSymm___at_Lean_Elab_Term_elabSubst___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1934,7 +1934,7 @@ x_27 = l_Lean_Syntax_isOfKind(x_25, x_26);
|
|||
if (x_27 == 0)
|
||||
{
|
||||
lean_object* x_28; uint8_t x_29;
|
||||
x_28 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__2;
|
||||
x_28 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__2;
|
||||
lean_inc(x_25);
|
||||
x_29 = l_Lean_Syntax_isOfKind(x_25, x_28);
|
||||
if (x_29 == 0)
|
||||
|
|
@ -3008,7 +3008,7 @@ x_523 = l_Lean_Syntax_isOfKind(x_521, x_522);
|
|||
if (x_523 == 0)
|
||||
{
|
||||
lean_object* x_524; uint8_t x_525;
|
||||
x_524 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__2;
|
||||
x_524 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__2;
|
||||
lean_inc(x_521);
|
||||
x_525 = l_Lean_Syntax_isOfKind(x_521, x_524);
|
||||
if (x_525 == 0)
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Do.c
generated
4
stage0/stdlib/Lean/Elab/Do.c
generated
|
|
@ -179,6 +179,7 @@ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3___boxed(lea
|
|||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTermCore___spec__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f_match__5___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__8;
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -742,7 +743,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_12817____closed__8;
|
|||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_getTryCatchUpdatedVars___spec__1(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Do_0__Lean_Elab_Term_hasLiftMethod___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_match___closed__2;
|
||||
lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_mkIdBindFor___closed__4;
|
||||
lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor(lean_object*);
|
||||
lean_object* l_Array_anyMUnsafe_any___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t);
|
||||
|
|
@ -3864,7 +3864,7 @@ static lean_object* _init_l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___clo
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Tactic_match___closed__2;
|
||||
x_1 = l_Lean_Parser_Term_match___elambda__1___closed__8;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Elab/Quotation.c
generated
4
stage0/stdlib/Lean/Elab/Quotation.c
generated
|
|
@ -151,6 +151,7 @@ lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_E
|
|||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__9;
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__24;
|
||||
extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__8;
|
||||
lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -524,7 +525,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBind
|
|||
extern lean_object* l_Lean_Parser_Term_quot___elambda__1___closed__1;
|
||||
lean_object* l_String_dropRight(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_match___closed__2;
|
||||
lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__2;
|
||||
extern lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1;
|
||||
|
|
@ -26763,7 +26763,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Tactic_match___closed__2;
|
||||
x_1 = l_Lean_Parser_Term_match___elambda__1___closed__8;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
|
|||
208
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
208
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
|
|
@ -25,7 +25,6 @@ lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Elab_Tactic_evalTactic_
|
|||
extern lean_object* l_Lean_Parser_Tactic_revert___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalIntroMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_getMainTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__5;
|
||||
|
|
@ -160,17 +159,14 @@ lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___
|
|||
lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_done___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_USize_decLt(size_t, size_t);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_getFVarId_match__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUsing_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_liftMetaMAtMain(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalRevert_match__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalClear_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_getFVarId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalTactic_match__2(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773____closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_focus___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -227,6 +223,7 @@ lean_object* l_Lean_Elab_Tactic_forEachVar_match__1___rarg(lean_object*, lean_ob
|
|||
lean_object* l_Lean_Elab_Tactic_focus___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_getMacros___spec__1(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_choiceKind___closed__2;
|
||||
extern lean_object* l_Lean_Parser_Tactic_matchTemp___elambda__1___closed__2;
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_11900____closed__14;
|
||||
lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_evalTacticSeqBracketed___spec__1(lean_object*);
|
||||
|
|
@ -271,7 +268,6 @@ lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkSorry___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_introMatch___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_getGoals___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1;
|
||||
|
|
@ -373,7 +369,6 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1_
|
|||
lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27___boxed(lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_appendGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_match___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_saveBacktrackableState(lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1;
|
||||
lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -481,7 +476,7 @@ lean_object* l_Lean_Elab_Tactic_focusAux___rarg(lean_object*, lean_object*, lean
|
|||
lean_object* l_Lean_Elab_Tactic_getFVarIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__1___closed__2;
|
||||
lean_object* l_Std_AssocList_find_x3f___at_Lean_Elab_Tactic_evalTactic___spec__6(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773_(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3745_(lean_object*);
|
||||
lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_ensureHasType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -502,7 +497,6 @@ lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_evalTacticUs
|
|||
lean_object* l_Lean_Elab_Tactic_liftMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_try_x3f(lean_object*);
|
||||
lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch(lean_object*);
|
||||
lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Elab_Tactic_evalTactic___spec__3(lean_object*, size_t, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_intro___closed__2;
|
||||
lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -552,6 +546,7 @@ lean_object* l_Lean_Elab_Term_setMessageLog(lean_object*, lean_object*, lean_obj
|
|||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalIntros___spec__1(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalChoiceAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_getMainModule(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3745____closed__1;
|
||||
lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalIntros_match__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_setMCtx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -10636,7 +10631,7 @@ x_138 = l_myMacro____x40_Init_Notation___hyg_11900____closed__2;
|
|||
x_139 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_139, 0, x_138);
|
||||
lean_ctor_set(x_139, 1, x_137);
|
||||
x_140 = l_Lean_Parser_Tactic_match___closed__1;
|
||||
x_140 = l_Lean_Parser_Tactic_matchTemp___elambda__1___closed__2;
|
||||
x_141 = l_Lean_Syntax_setKind(x_139, x_140);
|
||||
x_142 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(x_8, x_9, x_93);
|
||||
x_143 = lean_ctor_get(x_142, 0);
|
||||
|
|
@ -10842,184 +10837,6 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_evalIntroMatch(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58;
|
||||
x_32 = lean_unsigned_to_nat(1u);
|
||||
x_33 = l_Lean_Syntax_getArg(x_1, x_32);
|
||||
x_34 = lean_st_ref_get(x_9, x_10);
|
||||
x_35 = lean_ctor_get(x_34, 0);
|
||||
lean_inc(x_35);
|
||||
x_36 = lean_ctor_get(x_34, 1);
|
||||
lean_inc(x_36);
|
||||
lean_dec(x_34);
|
||||
x_37 = lean_ctor_get(x_35, 0);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_35);
|
||||
x_38 = lean_ctor_get(x_8, 3);
|
||||
lean_inc(x_38);
|
||||
x_39 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_36);
|
||||
x_40 = lean_ctor_get(x_39, 0);
|
||||
lean_inc(x_40);
|
||||
x_41 = lean_ctor_get(x_39, 1);
|
||||
lean_inc(x_41);
|
||||
lean_dec(x_39);
|
||||
x_42 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_42);
|
||||
x_43 = lean_ctor_get(x_8, 2);
|
||||
lean_inc(x_43);
|
||||
x_44 = lean_st_ref_get(x_9, x_41);
|
||||
x_45 = lean_ctor_get(x_44, 0);
|
||||
lean_inc(x_45);
|
||||
x_46 = lean_ctor_get(x_44, 1);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_44);
|
||||
x_47 = lean_ctor_get(x_45, 1);
|
||||
lean_inc(x_47);
|
||||
lean_dec(x_45);
|
||||
lean_inc(x_37);
|
||||
x_48 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1);
|
||||
lean_closure_set(x_48, 0, x_37);
|
||||
x_49 = x_48;
|
||||
x_50 = lean_environment_main_module(x_37);
|
||||
x_51 = lean_alloc_ctor(0, 6, 0);
|
||||
lean_ctor_set(x_51, 0, x_49);
|
||||
lean_ctor_set(x_51, 1, x_50);
|
||||
lean_ctor_set(x_51, 2, x_40);
|
||||
lean_ctor_set(x_51, 3, x_42);
|
||||
lean_ctor_set(x_51, 4, x_43);
|
||||
lean_ctor_set(x_51, 5, x_38);
|
||||
x_52 = l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic(x_1, x_33, x_51, x_47);
|
||||
x_53 = lean_ctor_get(x_52, 0);
|
||||
lean_inc(x_53);
|
||||
x_54 = lean_ctor_get(x_52, 1);
|
||||
lean_inc(x_54);
|
||||
lean_dec(x_52);
|
||||
x_55 = lean_st_ref_take(x_9, x_46);
|
||||
x_56 = lean_ctor_get(x_55, 0);
|
||||
lean_inc(x_56);
|
||||
x_57 = lean_ctor_get(x_55, 1);
|
||||
lean_inc(x_57);
|
||||
lean_dec(x_55);
|
||||
x_58 = !lean_is_exclusive(x_56);
|
||||
if (x_58 == 0)
|
||||
{
|
||||
lean_object* x_59; lean_object* x_60; lean_object* x_61;
|
||||
x_59 = lean_ctor_get(x_56, 1);
|
||||
lean_dec(x_59);
|
||||
lean_ctor_set(x_56, 1, x_54);
|
||||
x_60 = lean_st_ref_set(x_9, x_56, x_57);
|
||||
x_61 = lean_ctor_get(x_60, 1);
|
||||
lean_inc(x_61);
|
||||
lean_dec(x_60);
|
||||
x_11 = x_53;
|
||||
x_12 = x_61;
|
||||
goto block_31;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67;
|
||||
x_62 = lean_ctor_get(x_56, 0);
|
||||
x_63 = lean_ctor_get(x_56, 2);
|
||||
x_64 = lean_ctor_get(x_56, 3);
|
||||
lean_inc(x_64);
|
||||
lean_inc(x_63);
|
||||
lean_inc(x_62);
|
||||
lean_dec(x_56);
|
||||
x_65 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_65, 0, x_62);
|
||||
lean_ctor_set(x_65, 1, x_54);
|
||||
lean_ctor_set(x_65, 2, x_63);
|
||||
lean_ctor_set(x_65, 3, x_64);
|
||||
x_66 = lean_st_ref_set(x_9, x_65, x_57);
|
||||
x_67 = lean_ctor_get(x_66, 1);
|
||||
lean_inc(x_67);
|
||||
lean_dec(x_66);
|
||||
x_11 = x_53;
|
||||
x_12 = x_67;
|
||||
goto block_31;
|
||||
}
|
||||
block_31:
|
||||
{
|
||||
uint8_t x_13;
|
||||
x_13 = !lean_is_exclusive(x_4);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_14 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_11);
|
||||
x_15 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_1);
|
||||
lean_ctor_set(x_15, 1, x_11);
|
||||
x_16 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_14);
|
||||
lean_ctor_set(x_4, 3, x_16);
|
||||
x_17 = l_Lean_Elab_Tactic_evalTactic(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
x_18 = lean_ctor_get(x_4, 0);
|
||||
x_19 = lean_ctor_get(x_4, 1);
|
||||
x_20 = lean_ctor_get(x_4, 2);
|
||||
x_21 = lean_ctor_get(x_4, 3);
|
||||
x_22 = lean_ctor_get(x_4, 4);
|
||||
x_23 = lean_ctor_get_uint8(x_4, sizeof(void*)*6);
|
||||
x_24 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1);
|
||||
x_25 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 2);
|
||||
x_26 = lean_ctor_get(x_4, 5);
|
||||
lean_inc(x_26);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_21);
|
||||
lean_inc(x_20);
|
||||
lean_inc(x_19);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_4);
|
||||
lean_inc(x_11);
|
||||
x_27 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_27, 0, x_1);
|
||||
lean_ctor_set(x_27, 1, x_11);
|
||||
x_28 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_27);
|
||||
lean_ctor_set(x_28, 1, x_21);
|
||||
x_29 = lean_alloc_ctor(0, 6, 3);
|
||||
lean_ctor_set(x_29, 0, x_18);
|
||||
lean_ctor_set(x_29, 1, x_19);
|
||||
lean_ctor_set(x_29, 2, x_20);
|
||||
lean_ctor_set(x_29, 3, x_28);
|
||||
lean_ctor_set(x_29, 4, x_22);
|
||||
lean_ctor_set(x_29, 5, x_26);
|
||||
lean_ctor_set_uint8(x_29, sizeof(void*)*6, x_23);
|
||||
lean_ctor_set_uint8(x_29, sizeof(void*)*6 + 1, x_24);
|
||||
lean_ctor_set_uint8(x_29, sizeof(void*)*6 + 2, x_25);
|
||||
x_30 = l_Lean_Elab_Tactic_evalTactic(x_11, x_2, x_3, x_29, x_5, x_6, x_7, x_8, x_9, x_12);
|
||||
return x_30;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntroMatch), 10, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
x_3 = l_Lean_Parser_Tactic_introMatch___closed__2;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -14870,7 +14687,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3745____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -14880,11 +14697,11 @@ x_3 = lean_name_mk_string(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773_(lean_object* x_1) {
|
||||
lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3745_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773____closed__1;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3745____closed__1;
|
||||
x_3 = l_Lean_registerTraceClass(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -15263,11 +15080,6 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1);
|
|||
res = l___regBuiltin_Lean_Elab_Tactic_evalIntro(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__1);
|
||||
res = l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__1);
|
||||
res = l___regBuiltin_Lean_Elab_Tactic_evalIntros(lean_io_mk_world());
|
||||
|
|
@ -15310,9 +15122,9 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalOrelse___closed__1);
|
|||
res = l___regBuiltin_Lean_Elab_Tactic_evalOrelse(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773____closed__1);
|
||||
res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3773_(lean_io_mk_world());
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3745____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3745____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3745____closed__1);
|
||||
res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3745_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
27
stage0/stdlib/Lean/Elab/Tactic/Match.c
generated
27
stage0/stdlib/Lean/Elab/Tactic/Match.c
generated
|
|
@ -14,7 +14,6 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
extern lean_object* l_myMacro____x40_Init_Notation___hyg_11900____closed__2;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalMatch(lean_object*);
|
||||
size_t l_USize_add(size_t, size_t);
|
||||
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_getMainTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -68,13 +67,11 @@ lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*);
|
|||
extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___closed__1;
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_evalMatchTemp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
lean_object* l_Lean_Elab_Tactic_AuxMatchTermState_nextIdx___default;
|
||||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_match___closed__1;
|
||||
extern lean_object* l_Lean_Parser_Tactic_refine___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_evalMatch_match__1___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_refine___closed__2;
|
||||
|
|
@ -1472,25 +1469,6 @@ lean_dec(x_1);
|
|||
return x_9;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalMatch), 10, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalMatch(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
x_3 = l_Lean_Parser_Tactic_match___closed__1;
|
||||
x_4 = l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__1;
|
||||
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* l_Lean_Elab_Tactic_evalMatchTemp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1559,11 +1537,6 @@ l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux__
|
|||
lean_mark_persistent(l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTermAux___boxed__const__1);
|
||||
l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___closed__1 = _init_l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___closed__1);
|
||||
l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalMatch___closed__1);
|
||||
res = l___regBuiltin_Lean_Elab_Tactic_evalMatch(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___regBuiltin_Lean_Elab_Tactic_evalMatchTemp___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalMatchTemp___closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalMatchTemp___closed__1);
|
||||
res = l___regBuiltin_Lean_Elab_Tactic_evalMatchTemp(lean_io_mk_world());
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Parser/Do.c
generated
4
stage0/stdlib/Lean/Parser/Do.c
generated
|
|
@ -324,6 +324,7 @@ lean_object* l_Lean_Parser_Term_doSeqBracketed_formatter___closed__1;
|
|||
lean_object* l_Lean_Parser_Term_doDbgTrace___elambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_doFor___closed__8;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_doReassignArrow_formatter(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__11;
|
||||
lean_object* l_Lean_Parser_Term_doReassignArrow___elambda__1___lambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_doIfCond___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_doTry___elambda__1___closed__2;
|
||||
|
|
@ -1407,7 +1408,6 @@ lean_object* l_Lean_Parser_Term_doIfLetBind___closed__2;
|
|||
lean_object* l_Lean_Parser_Term_doLet___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_doLet___elambda__1___closed__15;
|
||||
lean_object* l_Lean_Parser_Term_doLetArrow___elambda__1___closed__3;
|
||||
extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__10;
|
||||
lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_doCatch_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_doReturn_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -14135,7 +14135,7 @@ static lean_object* _init_l_Lean_Parser_Term_doMatch___elambda__1___closed__8()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Term_match___elambda__1___closed__10;
|
||||
x_1 = l_Lean_Parser_Term_match___elambda__1___closed__11;
|
||||
x_2 = l_Lean_Parser_Term_doMatch___elambda__1___closed__7;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
|
|||
1572
stage0/stdlib/Lean/Parser/Tactic.c
generated
1572
stage0/stdlib/Lean/Parser/Tactic.c
generated
File diff suppressed because it is too large
Load diff
128
stage0/stdlib/Lean/Parser/Term.c
generated
128
stage0/stdlib/Lean/Parser/Term.c
generated
|
|
@ -936,6 +936,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_checkStackTop_formatter___boxed(lean
|
|||
lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__11;
|
||||
lean_object* l_Lean_Parser_Term_letRecDecl;
|
||||
lean_object* l_Lean_Parser_many_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__28;
|
||||
lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_stateRefT_formatter___closed__3;
|
||||
lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1178,6 +1179,7 @@ lean_object* l_Lean_Parser_Term_have___elambda__1___closed__6;
|
|||
extern lean_object* l_Lean_Parser_symbol_parenthesizer___rarg___closed__1;
|
||||
lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_matchDiscr_quot_formatter___closed__5;
|
||||
extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__1;
|
||||
lean_object* l_Lean_Parser_Term_matchDiscr_quot_formatter___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_dbgTrace___closed__9;
|
||||
lean_object* l_Lean_ppIndent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1296,6 +1298,7 @@ lean_object* l_Lean_Parser_Term_type___elambda__1___closed__15;
|
|||
lean_object* l_Lean_Parser_Term_attributes___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_matchAlt_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Term_structInst_formatter___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_match___elambda__1___closed__14;
|
||||
lean_object* l_Lean_Parser_Tactic_quot_parenthesizer___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_match___closed__6;
|
||||
lean_object* l_Lean_Parser_Term_scientific___closed__3;
|
||||
|
|
@ -1346,6 +1349,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_unreachable_parenthesizer___closed_
|
|||
lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__6;
|
||||
lean_object* l_Lean_Parser_Term_funImplicitBinder___elambda__1___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_assert___closed__1;
|
||||
extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__2;
|
||||
lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__11;
|
||||
lean_object* l_Lean_Parser_Term_sufficesDecl___closed__3;
|
||||
lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__8;
|
||||
|
|
@ -1534,7 +1538,6 @@ lean_object* l_Lean_Parser_Tactic_quot_formatter___closed__3;
|
|||
extern lean_object* l_Lean_instToStringAttributeKind___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_haveDecl___closed__3;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_doubleQuotedName_formatter(lean_object*);
|
||||
extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__1;
|
||||
lean_object* l_Lean_Parser_Term_doubleQuotedName_parenthesizer___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_letPatDecl___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_anonymousCtor_formatter___closed__1;
|
||||
|
|
@ -1767,7 +1770,6 @@ lean_object* l___regBuiltin_Lean_Parser_Term_subst_parenthesizer(lean_object*);
|
|||
lean_object* l_Lean_Parser_Term_haveDecl_parenthesizer___closed__4;
|
||||
lean_object* l___regBuiltin_Lean_Parser_Term_pipeProj_formatter___closed__1;
|
||||
lean_object* l_Lean_Parser_Term_funImplicitBinder_parenthesizer___closed__4;
|
||||
extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__2;
|
||||
lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_match___elambda__1___closed__12;
|
||||
lean_object* l_Lean_Parser_Term_binderDefault___elambda__1___closed__5;
|
||||
|
|
@ -2213,7 +2215,6 @@ extern lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__5;
|
|||
lean_object* l_Lean_Parser_Term_matchDiscr_formatter___closed__6;
|
||||
lean_object* l_Lean_Parser_Term_optExprPrecedence___closed__5;
|
||||
lean_object* l_Lean_Parser_Term_haveDecl_parenthesizer___closed__3;
|
||||
extern lean_object* l_Lean_Parser_Tactic_match___closed__2;
|
||||
lean_object* l_Lean_Parser_Term_matchDiscr_quot___closed__4;
|
||||
lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__4;
|
||||
lean_object* l_Lean_Parser_Term_let_x2a___elambda__1___closed__3;
|
||||
|
|
@ -2406,7 +2407,6 @@ lean_object* l_Lean_Parser_Tactic_quot_formatter___closed__4;
|
|||
lean_object* l_Lean_Parser_Term_byTactic_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__7;
|
||||
lean_object* l_Lean_Parser_Term_dynamicQuot___closed__6;
|
||||
extern lean_object* l_Lean_Parser_Tactic_match___closed__4;
|
||||
lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__9;
|
||||
lean_object* l_Lean_Parser_sepBy1(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
lean_object* l_Lean_Parser_Term_instBinder___closed__2;
|
||||
|
|
@ -11831,7 +11831,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__2;
|
||||
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__2;
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -11841,7 +11841,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__2
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__1;
|
||||
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__1;
|
||||
x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3);
|
||||
|
|
@ -11893,7 +11893,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__7
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__2;
|
||||
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__2;
|
||||
x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__6;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
|
|
@ -11951,7 +11951,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__2;
|
||||
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__2;
|
||||
x_2 = l_Lean_Parser_Term_haveAssign___closed__2;
|
||||
x_3 = l_Lean_Parser_nodeInfo(x_1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -12735,7 +12735,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_formatter___closed__1()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__1;
|
||||
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__1;
|
||||
x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -12772,7 +12772,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_formatter___closed__4()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__2;
|
||||
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__2;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_haveAssign_formatter___closed__3;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3);
|
||||
|
|
@ -13107,7 +13107,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_parenthesizer___closed__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16512____closed__2;
|
||||
x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16359____closed__2;
|
||||
x_2 = lean_unsigned_to_nat(1024u);
|
||||
x_3 = l_Lean_Parser_Term_typeAscription_parenthesizer___closed__2;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3);
|
||||
|
|
@ -22153,10 +22153,9 @@ return x_4;
|
|||
static lean_object* _init_l_Lean_Parser_Term_match___elambda__1___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Tactic_match___closed__2;
|
||||
x_2 = l_String_trim(x_1);
|
||||
return x_2;
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string("match ");
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_match___elambda__1___closed__9() {
|
||||
|
|
@ -22164,8 +22163,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_match___elambda__1___closed__8;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
x_2 = l_String_trim(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
|
|
@ -22174,7 +22172,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_match___elambda__1___closed__9;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tokenWithAntiquotFn), 3, 1);
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___boxed), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -22182,22 +22180,20 @@ return x_2;
|
|||
static lean_object* _init_l_Lean_Parser_Term_match___elambda__1___closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_match___elambda__1___closed__10;
|
||||
x_2 = l_Lean_Parser_Term_match___elambda__1___closed__7;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tokenWithAntiquotFn), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_match___elambda__1___closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_11900____closed__2;
|
||||
x_2 = l_Lean_Parser_Term_match___elambda__1___closed__11;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
x_1 = l_Lean_Parser_Term_match___elambda__1___closed__11;
|
||||
x_2 = l_Lean_Parser_Term_match___elambda__1___closed__7;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -22207,8 +22203,20 @@ static lean_object* _init_l_Lean_Parser_Term_match___elambda__1___closed__13() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Term_byTactic___elambda__1___closed__10;
|
||||
x_1 = l_myMacro____x40_Init_Notation___hyg_11900____closed__2;
|
||||
x_2 = l_Lean_Parser_Term_match___elambda__1___closed__12;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Term_match___elambda__1___closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Term_byTactic___elambda__1___closed__10;
|
||||
x_2 = l_Lean_Parser_Term_match___elambda__1___closed__13;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_1);
|
||||
lean_closure_set(x_3, 1, x_2);
|
||||
|
|
@ -22222,7 +22230,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object*
|
|||
x_3 = l_Lean_Parser_Term_match___elambda__1___closed__2;
|
||||
x_4 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_4);
|
||||
x_5 = l_Lean_Parser_Term_match___elambda__1___closed__13;
|
||||
x_5 = l_Lean_Parser_Term_match___elambda__1___closed__14;
|
||||
x_6 = 1;
|
||||
x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2);
|
||||
return x_7;
|
||||
|
|
@ -22268,7 +22276,7 @@ static lean_object* _init_l_Lean_Parser_Term_match___closed__4() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_match___elambda__1___closed__8;
|
||||
x_1 = l_Lean_Parser_Term_match___elambda__1___closed__9;
|
||||
x_2 = l_Lean_Parser_symbolInfo(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -22564,7 +22572,7 @@ static lean_object* _init_l_Lean_Parser_Term_match_formatter___closed__2() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Tactic_match___closed__2;
|
||||
x_1 = l_Lean_Parser_Term_match___elambda__1___closed__8;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -46583,18 +46591,18 @@ return x_2;
|
|||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_matchDiscr;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, 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_myMacro____x40_Init_Notation___hyg_11900____closed__3;
|
||||
x_3 = lean_name_mk_string(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_match_formatter___closed__3;
|
||||
x_1 = l_Lean_Parser_Term_matchDiscr;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -46604,7 +46612,7 @@ static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_372
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_match_parenthesizer___closed__2;
|
||||
x_1 = l_Lean_Parser_Term_match_formatter___closed__3;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -46614,7 +46622,7 @@ static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_372
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_forall___elambda__1___closed__10;
|
||||
x_1 = l_Lean_Parser_Term_match_parenthesizer___closed__2;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -46624,7 +46632,7 @@ static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_372
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_forall_formatter___closed__3;
|
||||
x_1 = l_Lean_Parser_Term_forall___elambda__1___closed__10;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -46634,7 +46642,7 @@ static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_372
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_forall_parenthesizer___closed__2;
|
||||
x_1 = l_Lean_Parser_Term_forall_formatter___closed__3;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -46644,7 +46652,7 @@ static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_372
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_attrKind;
|
||||
x_1 = l_Lean_Parser_Term_forall_parenthesizer___closed__2;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -46654,7 +46662,7 @@ static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_372
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_attrInstance_formatter___closed__2;
|
||||
x_1 = l_Lean_Parser_Term_attrKind;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -46664,6 +46672,16 @@ static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_372
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_attrInstance_formatter___closed__2;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__28() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Term_attrInstance_parenthesizer___closed__3;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
|
|
@ -46827,8 +46845,8 @@ lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67;
|
|||
x_64 = lean_ctor_get(x_63, 1);
|
||||
lean_inc(x_64);
|
||||
lean_dec(x_63);
|
||||
x_65 = l_Lean_Parser_Tactic_match___closed__4;
|
||||
x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__19;
|
||||
x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__19;
|
||||
x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__20;
|
||||
x_67 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_65, x_66, x_64);
|
||||
if (lean_obj_tag(x_67) == 0)
|
||||
{
|
||||
|
|
@ -46836,7 +46854,7 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70;
|
|||
x_68 = lean_ctor_get(x_67, 1);
|
||||
lean_inc(x_68);
|
||||
lean_dec(x_67);
|
||||
x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__20;
|
||||
x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__21;
|
||||
x_70 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_65, x_69, x_68);
|
||||
if (lean_obj_tag(x_70) == 0)
|
||||
{
|
||||
|
|
@ -46844,7 +46862,7 @@ lean_object* x_71; lean_object* x_72; lean_object* x_73;
|
|||
x_71 = lean_ctor_get(x_70, 1);
|
||||
lean_inc(x_71);
|
||||
lean_dec(x_70);
|
||||
x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__21;
|
||||
x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__22;
|
||||
x_73 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_65, x_72, x_71);
|
||||
if (lean_obj_tag(x_73) == 0)
|
||||
{
|
||||
|
|
@ -46853,7 +46871,7 @@ x_74 = lean_ctor_get(x_73, 1);
|
|||
lean_inc(x_74);
|
||||
lean_dec(x_73);
|
||||
x_75 = l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__12;
|
||||
x_76 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__22;
|
||||
x_76 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__23;
|
||||
x_77 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_75, x_76, x_74);
|
||||
if (lean_obj_tag(x_77) == 0)
|
||||
{
|
||||
|
|
@ -46861,7 +46879,7 @@ lean_object* x_78; lean_object* x_79; lean_object* x_80;
|
|||
x_78 = lean_ctor_get(x_77, 1);
|
||||
lean_inc(x_78);
|
||||
lean_dec(x_77);
|
||||
x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__23;
|
||||
x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__24;
|
||||
x_80 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_75, x_79, x_78);
|
||||
if (lean_obj_tag(x_80) == 0)
|
||||
{
|
||||
|
|
@ -46869,7 +46887,7 @@ lean_object* x_81; lean_object* x_82; lean_object* x_83;
|
|||
x_81 = lean_ctor_get(x_80, 1);
|
||||
lean_inc(x_81);
|
||||
lean_dec(x_80);
|
||||
x_82 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__24;
|
||||
x_82 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__25;
|
||||
x_83 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_75, x_82, x_81);
|
||||
if (lean_obj_tag(x_83) == 0)
|
||||
{
|
||||
|
|
@ -46878,7 +46896,7 @@ x_84 = lean_ctor_get(x_83, 1);
|
|||
lean_inc(x_84);
|
||||
lean_dec(x_83);
|
||||
x_85 = l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__4;
|
||||
x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__25;
|
||||
x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__26;
|
||||
x_87 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_85, x_86, x_84);
|
||||
if (lean_obj_tag(x_87) == 0)
|
||||
{
|
||||
|
|
@ -46886,7 +46904,7 @@ lean_object* x_88; lean_object* x_89; lean_object* x_90;
|
|||
x_88 = lean_ctor_get(x_87, 1);
|
||||
lean_inc(x_88);
|
||||
lean_dec(x_87);
|
||||
x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__26;
|
||||
x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__27;
|
||||
x_90 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_85, x_89, x_88);
|
||||
if (lean_obj_tag(x_90) == 0)
|
||||
{
|
||||
|
|
@ -46894,7 +46912,7 @@ lean_object* x_91; lean_object* x_92; lean_object* x_93;
|
|||
x_91 = lean_ctor_get(x_90, 1);
|
||||
lean_inc(x_91);
|
||||
lean_dec(x_90);
|
||||
x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__27;
|
||||
x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__28;
|
||||
x_93 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_85, x_92, x_91);
|
||||
return x_93;
|
||||
}
|
||||
|
|
@ -50291,6 +50309,8 @@ l_Lean_Parser_Term_match___elambda__1___closed__12 = _init_l_Lean_Parser_Term_ma
|
|||
lean_mark_persistent(l_Lean_Parser_Term_match___elambda__1___closed__12);
|
||||
l_Lean_Parser_Term_match___elambda__1___closed__13 = _init_l_Lean_Parser_Term_match___elambda__1___closed__13();
|
||||
lean_mark_persistent(l_Lean_Parser_Term_match___elambda__1___closed__13);
|
||||
l_Lean_Parser_Term_match___elambda__1___closed__14 = _init_l_Lean_Parser_Term_match___elambda__1___closed__14();
|
||||
lean_mark_persistent(l_Lean_Parser_Term_match___elambda__1___closed__14);
|
||||
l_Lean_Parser_Term_match___closed__1 = _init_l_Lean_Parser_Term_match___closed__1();
|
||||
lean_mark_persistent(l_Lean_Parser_Term_match___closed__1);
|
||||
l_Lean_Parser_Term_match___closed__2 = _init_l_Lean_Parser_Term_match___closed__2();
|
||||
|
|
@ -54036,6 +54056,8 @@ l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__26 = _init_l_
|
|||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__26);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__27();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__27);
|
||||
l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__28();
|
||||
lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727____closed__28);
|
||||
res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3727_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue