In Kleene's IM page 149 the reader is asked to supply the details for the following two examples.
Example 5. Given $A(x) \vdash B$ and $A(x) \vdash \lnot B$ with x held constant, then $\vdash \lnot A(x)$ and $\vdash \forall x \lnot A(x)$.
Example 6. Given $A(x) \vdash^x B$ and $A(x) \vdash^x \lnot B$ with x not necessarily held constant, then $\vdash \lnot \forall x A(x)$.
I think that the proofs go roughly like below also see this question and answer:
For example 5:
- $A(x) \vdash B$ - given
- $A(x) \vdash \lnot B$ - also given
- $\vdash \lnot A(x)$ - by negation introduction (on 1 and 2) page 99
- $\lnot A(x) \vdash^x \forall x \lnot A(x)$ - by generality introduction page 99
- $\vdash \lnot A(x) \vdash^x \forall x \lnot A(x)$ - from 3 and 4 we have this chain
- $\vdash \forall x \lnot A(x)$ - from 5 (notice the lack/discharge of superscript, i.e. $\vdash$ instead of $\vdash^x$, that's one example of discharge)
For example 6:
- $A(x) \vdash^x B$ - given
- $\forall x A(x) \vdash A(x)$ - by generality elimination page 99
- $\forall x A(x) \vdash A(x) \vdash^x B$ - from 1 and 2 we have this chain
- $\forall x A(x) \vdash B$ - from 3 (notice the lack/discharge of superscript, that's the second example of discharge)
- $\forall x A(x) \vdash \lnot B$ similarly from the other given deduction
- $\vdash \lnot \forall x A(x)$ - by negation introduction (on 4 and 5)
The superscript was discharged twice:
- in step 6 for the proof of example 5
- in step 4 for the proof of example 6
What's the justification for this discharge of the superscript? (Or are there similarly simple proofs that don't involve this discharge?)