Formal Logic/Sentential Logic/Constructing a Simple Derivation
← Inference Rules  ↑ Sentential Logic  Subderivations and Discharge Rules → 
Constructing a Simple Derivation
editOur derivations consists two types of elements.
 Derived lines. A derived line has three parts:
 Line number. This allows the line to be referred to later.
 Formula. The purpose of a derivation is to derive formulae, and this is the formula that has been derived at this line.
 Annotation. This specifies the justification for entering the formula into the derivation.
 Fencing. These include:
 Vertical lines between the line number and the formula. These are used to set off subderivations which we will get to in the next module.
 Horizontal lines separating premises and temporary assumptions from other lines. When we get to predicate logic, there are restrictions on using premises and temporary assumptions. Setting them off in an easytorecognize fashion aids in adhering to the restrictions.
We often speak informally of the formula as if it were the entire line, but the line also includes the line number and the annotation.
Rules
editPremises
editThe annotation for a premise is 'Premise'. We require that all premises used in the derivation are in the first lines. No nonpremise line is allowed to appear before a premise. In theory, an argument can have infinitely many premises. However, derivations have only finitely many lines, so only finitely many premises can be used in the derivation. We do not require that all premises appear before other lines. This would be impossible for arguments with infinitely many premises. But we do require that all premises to appear in the derivation appear before any other line.
The requirement that premises used in the derivation appear as its first lines is stricter than absolutely necessary. However, certain restrictions that will be needed when we get to predicate logic make the requirement at least a useful convention.
Inference rules
editWe introduced all but two inference rules in the previous module, and will introduce the other two in the next module.
Axioms
editThis derivation system does not have any axioms.
An example derivation
editWe will construct a derivation for the following argument:
 ∴
First, we enter the premises into the derivation:

Note the vertical line between the line numbers and the formulae. That is part of the fencing that controls
subderivations. We will get to subderivations in the next module. Until then, we simply put a single vertical line the length of the derivation. Note also the horizontal line under the premises. This is fencing that helps distinguish
the premises from the other lines in the derivation.
Now we need to use the premises. Applying KE to the first premise twice. we add the following lines:

Now we need to use the second premise by applying CE. Since CE has two antecedent lines, we first need to derive the other line that we will need. We thus add these lines:

Now we will use the third premise by applying CE. Again, we first need to derive the other line we will need. The
new lines are:

Line 9 is , the conclusion of our argument, so we are done. The
conclusion does not always fall into our lap so nicely, but here it did. The complete derivation runs:
