Skip to content

Commit 67244f5

Browse files
committed
fix #guard_msgs output
1 parent 9d91c9d commit 67244f5

5 files changed

Lines changed: 6 additions & 11 deletions

File tree

MathlibTest/GCongr/GCongr.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ a b c d : ℕ
4848
h : b~d
4949
⊢ a~a
5050
51-
case a.a
51+
case a
5252
a b c d : ℕ
5353
h : b~d
5454
⊢ c~c

MathlibTest/GRewrite.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ the inequality goes in the wrong direction). -/
215215
/--
216216
error: Tactic `grewrite` failed: could not discharge x ≤ y using x ≥ y
217217
218-
case h₁.hbc
218+
case hbc
219219
x y b : ℚ
220220
h : x ≥ y
221221
⊢ x ≤ y
@@ -257,7 +257,7 @@ example {Prime : ℕ → Prop} {a a' : ℕ} (h₁ : Prime (a + 1)) (h₂ : a = a
257257
/--
258258
error: Tactic `grewrite` failed: could not discharge b ≤ a using a ≤ b
259259
260-
case h₂.hbc
260+
case hbc
261261
a b c : ℚ
262262
h₁ : a ≤ b
263263
h₂ : 0 ≤ c

MathlibTest/Linarith/Basic.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,6 @@ example (x : ℤ) : 0 ≤ x * wrapped x := by nlinarith
728728
def tightlyWrapped (z : ℤ) : ℤ := z
729729
/--
730730
error: linarith failed to find a contradiction
731-
case h
732731
x : ℤ
733732
a✝ : x * tightlyWrapped x < 0
734733
⊢ False

MathlibTest/congr.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@ example (inst1 : BEq α) [LawfulBEq α] (inst2 : BEq α) [LawfulBEq α] (xs : Li
332332

333333
/--
334334
error: unsolved goals
335-
case h.e'_2
336335
α : Type
337336
inst1 : BEq α
338337
inst✝¹ : LawfulBEq α

MathlibTest/conv_widget.lean

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ conv =>
8383
enter [1, x, 5]
8484
skip
8585
---
86-
trace: case h
87-
x : False
86+
trace: x : False
8887
| true
8988
-/
9089
#guard_msgs in
@@ -115,8 +114,7 @@ conv =>
115114
enter [1, 0, x, 1]
116115
skip
117116
---
118-
trace: case h
119-
x : Unit
117+
trace: x : Unit
120118
| false
121119
-/
122120
#guard_msgs in
@@ -384,8 +382,7 @@ conv =>
384382
enter [1, 0, x0, x1, x2, 2]
385383
skip
386384
---
387-
trace: case h.h.h
388-
x0 x1 x2 : Bool → Nat
385+
trace: x0 x1 x2 : Bool → Nat
389386
| x2 true
390387
-/
391388
#guard_msgs in

0 commit comments

Comments
 (0)