lean2/tests/lean/528.lean

8 lines
128 B
Text
Raw Normal View History

variables {P : bool → Type} {x : P bool.tt} {y : P bool.ff}
example (b : bool) : P b :=
match b with
| tt := x
| ff := y
end