33-- it is fine to simply remove the `#guard_msgs` and expected output.
44
55/--
6- info: • [ Command ] @ ⟨77 , 0⟩-⟨77 , 40⟩ @ Lean.Elab.Command.elabDeclaration
7- • [ Term ] Nat : Type @ ⟨77 , 15⟩-⟨77 , 18⟩ @ Lean.Elab.Term.elabIdent
8- • [ Completion-Id ] Nat : some Sort.{?_uniq.1} @ ⟨77 , 15⟩-⟨77 , 18⟩
9- • [ Term ] Nat : Type @ ⟨77 , 15⟩-⟨77 , 18⟩
10- • [ Term ] n (isBinder := true) : Nat @ ⟨77 , 11⟩-⟨77 , 12⟩
11- • [ Term ] 0 ≤ n : Prop @ ⟨77 , 22⟩-⟨77 , 27⟩ @ «_aux_Init_Notation___macroRules_term_≤__2»
6+ info: • [ Command ] @ ⟨79 , 0⟩-⟨79 , 40⟩ @ Lean.Elab.Command.elabDeclaration
7+ • [ Term ] Nat : Type @ ⟨79 , 15⟩-⟨79 , 18⟩ @ Lean.Elab.Term.elabIdent
8+ • [ Completion-Id ] Nat : some Sort.{?_uniq.1} @ ⟨79 , 15⟩-⟨79 , 18⟩
9+ • [ Term ] Nat : Type @ ⟨79 , 15⟩-⟨79 , 18⟩
10+ • [ Term ] n (isBinder := true) : Nat @ ⟨79 , 11⟩-⟨79 , 12⟩
11+ • [ Term ] 0 ≤ n : Prop @ ⟨79 , 22⟩-⟨79 , 27⟩ @ «_aux_Init_Notation___macroRules_term_≤__2»
1212 • [ MacroExpansion ]
1313 0 ≤ n
1414 ===>
1515 binrel% LE.le✝ 0 n
16- • [ Term ] 0 ≤ n : Prop @ ⟨77 , 22⟩†-⟨77 , 27⟩† @ Lean.Elab.Term.Op.elabBinRel
17- • [ Term ] 0 ≤ n : Prop @ ⟨77 , 22⟩†-⟨77 , 27⟩†
18- • [ Completion-Id ] LE.le✝ : none @ ⟨77 , 22⟩†-⟨77 , 27⟩†
19- • [ Term ] 0 : Nat @ ⟨77 , 22⟩-⟨77 , 23⟩ @ Lean.Elab.Term.elabNumLit
20- • [ Term ] n : Nat @ ⟨77 , 26⟩-⟨77 , 27⟩ @ Lean.Elab.Term.elabIdent
21- • [ Completion-Id ] n : none @ ⟨77 , 26⟩-⟨77 , 27⟩
22- • [ Term ] n : Nat @ ⟨77 , 26⟩-⟨77 , 27⟩
16+ • [ Term ] 0 ≤ n : Prop @ ⟨79 , 22⟩†-⟨79 , 27⟩† @ Lean.Elab.Term.Op.elabBinRel
17+ • [ Term ] 0 ≤ n : Prop @ ⟨79 , 22⟩†-⟨79 , 27⟩†
18+ • [ Completion-Id ] LE.le✝ : none @ ⟨79 , 22⟩†-⟨79 , 27⟩†
19+ • [ Term ] 0 : Nat @ ⟨79 , 22⟩-⟨79 , 23⟩ @ Lean.Elab.Term.elabNumLit
20+ • [ Term ] n : Nat @ ⟨79 , 26⟩-⟨79 , 27⟩ @ Lean.Elab.Term.elabIdent
21+ • [ Completion-Id ] n : none @ ⟨79 , 26⟩-⟨79 , 27⟩
22+ • [ Term ] n : Nat @ ⟨79 , 26⟩-⟨79 , 27⟩
2323 • [ CustomInfo(Lean.Elab.Term.AsyncBodyInfo) ]
24- • [ Term ] n (isBinder := true) : Nat @ ⟨77 , 11⟩-⟨77 , 12⟩
24+ • [ Term ] n (isBinder := true) : Nat @ ⟨79 , 11⟩-⟨79 , 12⟩
2525 • [ CustomInfo(Lean.Elab.Term.BodyInfo) ]
26- • [ Tactic ] @ ⟨77, 31⟩-⟨77, 40⟩
27- (Term.byTactic "by" (Tactic.tacticSeq (Tactic.tacticSeq1Indented [(Tactic.exact? "exact?" [ ]) ] )))
26+ • [ Tactic ] @ ⟨79, 31⟩-⟨79, 40⟩
27+ (Term.byTactic
28+ "by"
29+ (Tactic.tacticSeq (Tactic.tacticSeq1Indented [(Tactic.exact? "exact?" (Tactic.optConfig []) [ ]) ] )))
2830 before ⏎
2931 n : Nat
3032 ⊢ 0 ≤ n
3133 after no goals
32- • [ Tactic ] @ ⟨77 , 31⟩-⟨77 , 33⟩
34+ • [ Tactic ] @ ⟨79 , 31⟩-⟨79 , 33⟩
3335 "by"
3436 before ⏎
3537 n : Nat
3638 ⊢ 0 ≤ n
3739 after no goals
38- • [ Tactic ] @ ⟨77 , 34⟩-⟨77 , 40⟩ @ Lean.Elab.Tactic.evalTacticSeq
39- (Tactic.tacticSeq (Tactic.tacticSeq1Indented [(Tactic.exact? "exact?" [ ]) ] ))
40+ • [ Tactic ] @ ⟨79 , 34⟩-⟨79 , 40⟩ @ Lean.Elab.Tactic.evalTacticSeq
41+ (Tactic.tacticSeq (Tactic.tacticSeq1Indented [(Tactic.exact? "exact?" (Tactic.optConfig []) [ ]) ] ))
4042 before ⏎
4143 n : Nat
4244 ⊢ 0 ≤ n
4345 after no goals
44- • [ Tactic ] @ ⟨77 , 34⟩-⟨77 , 40⟩ @ Lean.Elab.Tactic.evalTacticSeq1Indented
45- (Tactic.tacticSeq1Indented [(Tactic.exact? "exact?" [ ]) ] )
46+ • [ Tactic ] @ ⟨79 , 34⟩-⟨79 , 40⟩ @ Lean.Elab.Tactic.evalTacticSeq1Indented
47+ (Tactic.tacticSeq1Indented [(Tactic.exact? "exact?" (Tactic.optConfig []) [ ]) ] )
4648 before ⏎
4749 n : Nat
4850 ⊢ 0 ≤ n
4951 after no goals
50- • [ Tactic ] @ ⟨77 , 34⟩-⟨77 , 40⟩ @ Lean.Elab.LibrarySearch.evalExact
51- (Tactic.exact? "exact?" [])
52+ • [ Tactic ] @ ⟨79 , 34⟩-⟨79 , 40⟩ @ Lean.Elab.LibrarySearch.evalExact
53+ (Tactic.exact? "exact?" (Tactic.optConfig []) [])
5254 before ⏎
5355 n : Nat
5456 ⊢ 0 ≤ n
5557 after no goals
56- • [ Tactic ] @ ⟨77 , 34⟩†-⟨77 , 40⟩† @ Lean.Elab.Tactic.evalExact
58+ • [ Tactic ] @ ⟨79 , 34⟩†-⟨79 , 40⟩† @ Lean.Elab.Tactic.evalExact
5759 (Tactic.exact "exact" (Term.app `Nat.zero_le [`n]))
5860 before ⏎
5961 n : Nat
@@ -66,8 +68,8 @@ info: • [Command] @ ⟨77, 0⟩-⟨77, 40⟩ @ Lean.Elab.Command.elabDeclarati
6668 • [ Completion-Id ] n : some Nat @ ⟨1, 5⟩†-⟨1, 5⟩†
6769 • [ Term ] n : Nat @ ⟨1, 5⟩†-⟨1, 5⟩†
6870 • [ CustomInfo(Lean.Meta.Tactic.TryThis.TryThisInfo) ]
69- • [ Term ] t (isBinder := true) : ∀ (n : Nat), 0 ≤ n @ ⟨77 , 8⟩-⟨77 , 9⟩
70- • [ Term ] t (isBinder := true) : ∀ (n : Nat), 0 ≤ n @ ⟨77 , 8⟩-⟨77 , 9⟩
71+ • [ Term ] t (isBinder := true) : ∀ (n : Nat), 0 ≤ n @ ⟨79 , 8⟩-⟨79 , 9⟩
72+ • [ Term ] t (isBinder := true) : ∀ (n : Nat), 0 ≤ n @ ⟨79 , 8⟩-⟨79 , 9⟩
7173---
7274info: Try this:
7375 [ apply ] exact Nat.zero_le n
0 commit comments