These solutions follow the original numbering and the supplied natural deduction rules. The datapath conventions are specified where the diagram leaves control polarity open; the repeated part 8(a)(iii) is treated exactly as printed.[ref]
The opcode occupies bits , the arithmetic logic unit operation is wired directly to , and an immediate operand uses all of . A three-register instruction needs fifteen register-selection bits, whereas an immediate instruction must retain independent source and destination selectors outside .
Thus put and in the ten bits , and place in five of , where it can overlap the unused immediate operand of a register instruction. One valid instruction encoding is
Bits are unused for a three-register instruction. In an immediate instruction, has no effect because its read value is deselected by the ToAlu multiplexer. In a store, selects the address and selects the data; must be zero to suppress the incidental register write. These observations follow the original datapath, particularly its direct memory-address connection and the connection from the ToAlu output to memory write data.[ref]
The conjunction introduction rule combines derivations of and into a derivation of . Both conclusions must be available under the current assumptions.
The disjunction elimination rule is reasoning by cases: from , a subproof deriving the same conclusion under , and another subproof deriving under , conclude . It discharges the two case assumptions, not any surrounding premises.
The implication introduction rule derives by temporarily assuming and deriving ; it then discharges that occurrence of the assumption .
Thus
A conclusion inside a box cannot simply be reused outside it without an appropriate inference rule. Any other undischarged assumptions continue to constrain the result. These are exactly the rules printed in Figure 1.[ref]
In proof by contradiction, assume the negation of a desired conclusion , derive logical falsity, and discharge the assumption to infer . A rule expressing this is
Here the label identifies the assumption being discharged; any other open assumptions remain.
To derive this rule using the supplied rules, apply negation introduction to the subproof from to . This discharges and yields . Apply double-negation elimination to obtain . Thus the extra rule is admissible because Figure 1 explicitly includes double-negation elimination.[ref]
This is the classical form of proof by contradiction; simply deriving from an assumption leading to logical falsity uses negation introduction alone.
Under the premise, assuming either disjunct would introduce the forbidden logical disjunction. Discharging those two assumptions gives the two separate negations, which can then be conjoined.
Thus
The redundant closing parenthesis printed after the conclusion on p. 8 does not alter the readable propositional formula.[ref]
The original scan repeats the premise and conclusion of part (i) exactly; it is not a missing or unreadable alternative exercise.[ref] Here is a second formal ordering of the same argument. First introduce the fresh existential witness, derive the desired negation inside its scope, and then eliminate the witness:
Table 1.
Close the negation subproof before eliminating the witness
.
LineOpen assumptionsFormulaJustification
11Premise
21, 2Temporary assumption
31, 2, 3Temporary assumption
41, 2, 3universal elimination 3; term
51, 2, 3negation elimination rule 2, 4
61, 2negation introduction 3, 5
71existential elimination 1, 2, 6; fresh
Thus, again,
At the last existential elimination, occurs in neither the exported conclusion nor the remaining premise. The eigenvariable condition is therefore satisfied. This proof retains a different nesting of the subproofs from part (i).