formal system
a formal system is an abstract structure used for inferring theorems from axiom according to a set of rules of inference which are used for carrying out the inference of theorems from axioms.
consider the following formal system
:
it has the following axioms:
with the connectives
only
the only rule of inference for this system is mp
it has the following axioms:
- A1.
- A2.
- A3.
the only rule of inference for this system is mp
the inference process in the context of a formal system is as follows:
let
be the set of premises (propositions), a proof sequence from
is the sequence
such that each statement in the sequence is one of 3 types:
sometimes we might want to prove a conclusion let
- logical axiom
- a statement from
- is derived from previous statements in the sequence using one of the rules of inference of the system
an extended formal system 
axioms:
axioms:
such that
is an arbitrary proposition
prove 
premises:
conclusion:

premises:
conclusion:
prove using the inference process that
- we can infer "joseph doesnt speak truthfully" from the assumptions "joseph doesnt speak truthfully or joseph is lazy" and "joseph isnt lazy"
- we can infer
from the assumptions
- we can infer
from
if
then
is a tautology, i.e. a proposition that can be formally proved without assumptions is a tautology
if
then 
meaning that every proposition that has a formal proof in the set of premises
logically follows from 
meaning that every proposition that has a formal proof in the set of premises
a system is complete if for every set of assumptions
, if
then
, i.e. we can formally prove every true argument with it

let
be a set of assumptions, let
be statements, then
iff 
let
be a set of assumptions, let
be statements, then
iff 