lean2/tests/lean/run/generalizes.lean
2015-03-27 17:54:48 -07:00

8 lines
159 B
Text

import logic
theorem tst (A B : Type) (a : A) (b : B) : a == b → b == a :=
begin
generalizes [a, b, B],
intros [B', b, a, H],
apply (heq.symm H),
end