There is an exercise 2.37 in “Introduction to Mathematical Logic” by Elliott Mendelson (6th edition, p. 78).
Let $\mathscr B $ be a wf that does not contain $\Rightarrow $ and $\Leftrightarrow $. Exchange universal and existential quantifiers and exchange $\land $ and $\lor $. The result $\mathscr B^* $ is called the dual of $\mathscr B $. a. In any predicate calculus, prove the following. i. $\vdash\mathscr B $ if and only if $\vdash\lnot\mathscr B^* $. … b. Show that the duality results (a), (i)–(iii), do not hold for arbitrary theories.
I am not sure how to prove (a.i). I proved it using the completeness theorem below. However, the completeness theorem is in further chapters, so I guess I need to prove it by transforming a derivation in the object theory. I have no idea how to do it.
Proof of (a.i). Let $\mathscr B' $ be a wf obtained from $\mathscr B $ by replacing every atomic wf $\mathscr C $ with $\lnot\mathscr C $. Then $\vdash\lnot\mathscr B^* $ is equivalent to $\vdash\mathscr B' $ by De Morgan's laws.
Suppose $\vdash\mathscr B' $. Let $M$ be an interpretation of the predicate calculus and $s$ be a sequence with elements in the domain of $M$. Let $M'$ be an interpretation obtained from $M$ by replacing every relation with its complement. By the soundness theorem, $s $ satisfies $\mathscr B'$ in $M'$, hence $s $ satisfies $\mathscr B$ in $M$. Hence $\mathscr B$ is logically valid. By the completeness theorem, $\vdash\mathscr B$.
By symmetry, $\vdash\mathscr B$ implies $\vdash\mathscr B' $. $\square $