in Chiswell/Hodge exercisee 2.6.2d it asks for the proof of $\{\lnot(\phi\leftrightarrow\psi)\}\vdash((\lnot\phi)\leftrightarrow\psi)$. I've managed to produce half the proof, but I'm unable to produce the other half indicated at D.
$$ \frac{(1)\frac{D^{(1)}}{((\lnot\phi)\rightarrow\psi)}(\rightarrow I) \qquad \frac{\cfrac{(6)\frac{\phi^{(6)}\quad\psi^{(2)}}{\phi\rightarrow\psi}(\rightarrow I)\quad (5)\frac{\psi^{(5)}\quad\phi^{(4)}}{\psi\rightarrow\phi}(\rightarrow I)}{\phi\leftrightarrow\psi}(\leftrightarrow I)\qquad \lnot(\phi\leftrightarrow\psi)}{(4)\cfrac{\bot}{(2)\cfrac{\lnot \phi}{(\psi\rightarrow(\lnot\phi))}(\rightarrow I)}(\lnot I)}(\lnot E)} {((\lnot\phi)\leftrightarrow\psi)}(\leftrightarrow I) $$
I had considered...
$$(1)\frac{\cfrac{\phi\quad\lnot\phi^{(1)}}{\cfrac{\bot}{\psi}(RAA)}(\lnot E)} {((\lnot\phi)\rightarrow\psi)}(\rightarrow I)$$
But that leaves me with an undischarged $\phi$. I'm otherwise unsure of how to produce the $\psi$ for the $(\rightarrow I)$ in the left branch, as an absurdity (other than as proposed) discharges $\lnot\psi$, and I can't use this to construct an absurdity against the assumption $\lnot(\phi\leftrightarrow\psi)$ similar to how I did in the right branch.
At this point in the text, the only rules available are elimination/introduction of $\land$, $\rightarrow$,$\leftrightarrow$,$\lnot$ and RAA.
I would be very grateful to understand this particular exercise further as I'm losing sleep over it.
(Also if someone has formatting advice regarding \frac or some suitable alternative via PM, I would be further grateful.)