Modal logic, axiomatic proofs in K
I started with the tautology $(p \to q) \to (p \to q)$ but i'm a bit stuck.
$1. (p \to q) \to (p \to q)$
$2.\Box(p \to q) \to \Box(p \to q)$
$3. (\Box p \to \Box q) \to (\Box p \to \Box q)$
$4. (\neg \Diamond\neg p \to \Box q) \to (\neg \Diamond\neg p \to \neg \Diamond\neg q)$
But im not sure what to do from here. Did i pick a bad starting tautology.
The key here is to assume $\Diamond P$ to prove $\Diamond Q$ after already assuming $\Diamond P \to \Box Q$. Since we know that $\bot \to Q$, by Necessitation and K we get $\Box \bot \to \Box \sim Q$. By similar reasoning we get $\Box \bot \to \Box \sim P$. Since $\sim \Box \sim$ is equivalent to $\Diamond$, we have $\Diamond P \to \Diamond \top$. By Necessitation and K we have $\Box Q \to (\Box \sim Q \to \Box \bot)$. Since we have assumed both $\Diamond P$ and $\Diamond P \to \Box Q$, by Modus Ponens we have $\Box Q$, which in turn gives us $\Box \sim Q \to \Box \bot$. By contrapositive identity, we have $\Diamond \top \to \Diamond Q$. Since we have $\Diamond P \to \Diamond \top$, by Hypothetical Syllogism and Modus Ponens we have $\Diamond Q$. Thus, discharging our assumptions, we conclude $(\Diamond P \to \Box Q) \to(\Diamond P \to \Diamond Q)$.