What's the difference between Logical Axioms and Rules of Inference? In my understanding, both are ordered pairs of formulas which are used to reach a conclusion through syllogisms.
My questions
Can both be formalized in a language?
Are both present in Hilbert and in Gentzen Calculi?
Are both elements of a theory?
I saw in this post a similar question, but I believe mine to be much more elementary.
It is essentially a matter of point of view.
The idea of logical axioms can be tracked back to Frege's Begriffsschrift (1879). For Frege, logic is a science, in particular, the branch of knowledge that deals with truth. Therefore, it is essential to have a body of laws governing the subject matter, namely, the notion of truth. Those are the things we know as logical axioms.
It is also important to mention that, for Frege (and Russell), there was no clear difference between logic and mathematics, so the modern practice, exemplified in set theories such as ZFC, of incorporating logical principles as rules of inference and subject-specific mathematical facts as axioms was unthinkable.
Gentzen's Untersuchungen über das logische Schließen (1934/1935) marked the turning point from this early axiomatic to the modern inferential conception of logic. Basically, Gentzen's idea was to develop a notion of formal proof that more closely represents actual mathematical reasoning:
Indeed, Hilbert-style calculi are not very nice to work with, as formal proofs of simple tautologies in those systems are often based on extremely artificial arguments. It may be worth mentioning that Frege himself did not notice that his six axioms for the propositional calculus are not independent:
That is, Axiom 3 can be obtained from modus ponens and Axioms 1 and 2. This result was first established by Łukasicwicz in 1929. Moreover, Axioms 3, 4 and 5 can all be reduced to a single axiom:
$$(\neg B \rightarrow \neg A) \rightarrow (A \rightarrow B)$$
This was also unnoticed by Frege.
Gentzen-syle calculi gives more prominence to rules of inference, which represents the process of reasoning with logical connectives by explaining how they can be obtained (introduction rules) and what we can do with them (elimination rules). Typically, they only rely on few axioms, such as the axiom of reflection:
$$p \in \Gamma \vdash p$$
but even this may be regarded as a rule of inference with no assumptions!