test(tests/lean): add test for eta at postprocessing
This commit is contained in:
parent
8b7dc4e03a
commit
0b335230d7
2 changed files with 13 additions and 0 deletions
9
tests/lean/eta_decls.lean
Normal file
9
tests/lean/eta_decls.lean
Normal file
|
@ -0,0 +1,9 @@
|
|||
import data.finset
|
||||
open finset
|
||||
|
||||
set_option pp.implicit true
|
||||
set_option pp.notation false
|
||||
set_option pp.beta false
|
||||
|
||||
check @to_set_union
|
||||
check @to_set_empty
|
4
tests/lean/eta_decls.lean.expected.out
Normal file
4
tests/lean/eta_decls.lean.expected.out
Normal file
|
@ -0,0 +1,4 @@
|
|||
to_set_union :
|
||||
∀ {A : Type} [deceq : decidable_eq A] (s t : finset A),
|
||||
@eq (set A) (@ts A (@union A deceq s t)) (@set.union A (@ts A s) (@ts A t))
|
||||
to_set_empty : ∀ {A : Type}, @eq (set A) (@ts A (@empty A)) (@set.empty A)
|
Loading…
Reference in a new issue