lean2/tests/lean/582.hlean

10 lines
173 B
Text
Raw Normal View History

open prod
variables {A B C : Type} (f : A → B → C) (a : A) (b b' : B)
example (p : b = b') : prod.cases_on (a, b) f = f a b' :=
begin
esimp,
state,
rewrite p
end