Zulip Chat Archive
Stream: new members
Topic: Subgoal for each argument of a function
Calvin Lee (Jul 26 2022 at 03:53):
Hi!
I'm trying to prove a goal r
when I have a function f : p → q → r
is there any clever tactic to create subgoals for p
and q
instead of just doing something like
have pf₁ : p, { ... },
have pf₂ : q, { ... },
exact f pf₁ pf₂
Roberto Alvarez (Jul 26 2022 at 03:58):
You can do refine f _ _
or simply apply f
Last updated: Dec 20 2023 at 11:08 UTC