test: macro scopes in Conv.congr (#1955)
This commit is contained in:
parent
d5fb32a393
commit
52d00e8944
1 changed files with 3 additions and 0 deletions
|
|
@ -242,3 +242,6 @@ example : ((x + y) + z : Nat) = x + (y + z) := by conv => pattern (occs := 5) _
|
|||
example : ((x + y) + z : Nat) = x + (y + z) := by conv => pattern (occs := 2 5) _ + _
|
||||
example : ((x + y) + z : Nat) = x + (y + z) := by conv => pattern (occs := 1 5) _ + _
|
||||
example : ((x + y) + z : Nat) = x + (y + z) := by conv => pattern (occs := 1 2 5) _ + _
|
||||
|
||||
macro "bla" : term => `(?a)
|
||||
example : 1 = 1 := by conv => apply bla; congr
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue