I have derived the proof to some extent, mentioned below:-
$$\begin{array}{rll} 1. &\lnot p \land \lnot q &\text{Premise} \\ 2. &\lnot p &\land\text{elim},1 \\ 3. &\lnot q &\land\text{elim},1 \\ 4. &p &\lnot\text{elim},2 \\ 5. &q &\lnot\text{elim},3 \\ 6. &p \rightarrow q &\rightarrow\text{intro},4,5 \\ 7. &q \rightarrow p &\rightarrow\text{intro},4,5 \\ 8. &p \Leftrightarrow q &\Leftrightarrow\text{intro},6,7 \end{array}$$
Is the above proof correct? Please correct me.
The proof must be :
1) $\lnot p \land \lnot q$ --- premise
2) $\lnot p$ --- form 1) by $\land$-elim
3) $\lnot q$ --- form 1) by $\land$-elim
4) $p$ --- assumed [a]
5) $\bot$ --- from 2) and 4) by $\lnot$-elim
6) $q$ --- from 3) and 5) by RAA (or Double negation)
7) $p \rightarrow q$ --- from 4) and 6) by $\rightarrow$-intro, discharging [a]
8) $q$ --- assumed [b]
9) $\bot$ --- from 3) and 8) by $\lnot$-elim
10) $p$ --- from 2) and 9) by RAA (or Double negation)
11) $q \rightarrow p$ --- from 8) and 10) by $\rightarrow$-intro, discharging [b]