lean2/tests/lean/528.lean

7 lines
128 B
Text

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