Skip to content

Commit df05564

Browse files
committed
add test
1 parent d0505c2 commit df05564

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
example : True := by
2+
let a := 1
3+
let b := 2
4+
have : b = 2 := by simp [a,b]
5+
have : a = 1 := by simp? [a]
6+
have : 1 = 1 := by simp?
7+
trivial
8+
9+
example : False := by
10+
let a := 1
11+
let b := 1
12+
have : a = 1 → False := sorry
13+
simp (disch := simp [b]) [this, a]
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Try this: simp only [a]
2+
Try this: simp only

0 commit comments

Comments
 (0)