lean4-htt/old_tests/tests/lean/run/any_goals.lean
2018-04-10 12:56:55 -07:00

10 lines
190 B
Text

constant f : nat → nat
axiom fax : ∀ x, f x = x
example (a b c : nat) : b = c → f a = a ∧ c = b :=
begin
intros,
constructor,
any_goals {rw fax},
{symmetry, assumption}
end