lean4-htt/tests/lean/run/any_goals.lean
2017-02-06 16:23:29 -08: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