Im having some difficulties trying to move from first order logic to more general "first order theories". The literature is not very consistent on the election of terminology, notation, deductive systems, semantics, etc.
Im currently reading Mendelson, where a first order theory is defined to be:
Let L be a first-order language. A first-order theory in the language L will be a formal theory $K$ whose symbols and wfs are the symbols and wfs of L and whose axioms and rules of inference are specified in the following way. The axioms of $K$ are divided into two classes: the logical axioms and the proper (or nonlogical) axioms.
(Then he proceeds to list axioms and rules)
In Mendelson a "theory" is not treated as a set, the deductive system is not separated from the theory part. Then any theory $K$ for any subject matter is also a first order logic. And if no axioms are present then $K$ is a "pure first order theory". If $\alpha$ is probable from a theory $K$, is written $\vdash_K \alpha$.
Consider the following (meta)lemma 2.12:
If a closed wff $\neg\alpha$ of a theory $K$ is not provable in $K$, and if $K'$ is the theory obtained from $K$ by adding $\alpha$ as a new axiom, then $K'$ is consistent.
In symbols:
$$\text{If} \ \ \not\vdash_K \neg\alpha \ \ \text{then} \ \ K+\alpha \ \ \text{is consistent} \label{a}\tag{1}$$
On the other hand, from what i have seen, other (maybe more "modern") treatments define a "theory" to be something quite different and more concrete, typically just some set. A definition in this sense would be something along the lines of (fixing underlying deductive system):
- A theory $T$ is a set of sentences.
- The theorems of $T$ is the smallest set of formulas containing $T$ and the logical axioms closed under the inference rules.
If $\alpha$ is probable from a theory $T$, is written $T \vdash \alpha$.
Now, what would be our equivalent of (1)?. I think is the same as saying for any theory $T$ and sentence $\alpha$:
$$\text{If} \ \ T \not\vdash \neg\alpha \ \ \text{then} \ \ T\cup\{\alpha\} \ \ \text{is consistent} \label{b}\tag{2}$$
Is this translation correct?. Is it just a matter of treat the theory explicitly as a set and express the theory deductions as logical consecuence?
But in this setting i dont see any special reason to talk about theories here, we can establish this fact for any set of sentences $\Gamma$ (ie. ignore if $\Gamma$ is intended to be a "theory"):
$$\text{If} \ \ \Gamma \not\vdash \neg\alpha \ \ \text{then} \ \ \Gamma\cup\{\alpha\} \ \ \text{is consistent} \label{c}\tag{3}$$
But now i wonder if this have the same meaning as (1) or (2), because here if $\Gamma$ is a set of axioms then will be treated just like hypothesis by the meaning of $\vdash$, and i dont know if that is a problem....
As a related example, consider the so
called "Strong Soundness/Completeness" wich is stated as:
$$ \Gamma \vdash \alpha \ \ \text{iff} \ \ \Gamma \vDash \alpha $$
Is $\Gamma$ supposed to be a set of hypotesis, a theory, or could be both (because a theory is just a set of formulas)?.
Are these definition of theories presented really different in some important way?.