Compactness
Let a consequence relation for some logic be given. is compact if, and only if:
where is a finite subset of .
In this note, we are interested in compactness for classical propositional logic. We will treat semantically.
Classical Propositional Logic and Semantic Consequence ( )
Let be our standard propositional language, be the set of all possible valuations (worlds) , and the usual satisfaction relation on .
We define classical consequence as follows:
(Note: Many logic textbooks use for semantic consequence as well as for the satisfaction relation .)
Because of how this consequence relation is constructed, we can prove that has several crucial structural properties:
Structural Properties of
Let be classical semantic consequence. satisfies the following properties:
- Reflexivity: If , then .
- Monotonicity: If and , then .
- Transitivity: If for all , and , then .
- Disjunction of Premises (Proof by Cases): If and , then .
We can show that Compactness holds for classical logic. We can give two proofs for it. To prove ^442bae using the first method, we need the following concepts:
Well-Behaved Set of Formulas
Consider , where is the set of well-formed formulas consisting only of . The set is well-behaved iff, for all formulas :
- ,
- ,
- .
Lemma
- For any valuation function , the set is well-behaved.
- For all , if is well-behaved, then there exists a valuation function such that .
bproof
(1) Consider an arbitrary valuation function and the set . Consider arbitrary formulas .
- .
- .
- .
So, is well-behaved.
(2) Consider an arbitrary well-behaved . Let us define as
and let us show it is a valuation function.
- First, is a function. Take any . Either or . If , , and if , . Either way, assigns a unique value (0 or 1) to , for any . So is a function.
- Second, let us show that is an assignment. This immediately follows from the step above, for the set of propositional variables and is already defined on the entirety of .
- Third, let us show that is a valuation. It means that the values for complex formulas are assigned according to the usual rules. Consider arbitrary :
- .
- .
- .
Therefore is indeed a valuation function. eproof
Compactness for Classical Logic
The classical consequence relation (or equivalently the operation ) is compact.
bproof Let us prove the theorem contrapositively. Let and suppose that, for all finite , . Let us prove that . We will construct a chain of sets resulting in a set such that , and show that this is the maximal subset of such that no finite subset implies . Then, we will prove that this set is well-behaved, which implies that , and by ^bc81d0 that there exists a valuation such that . We will conclude that since and , .
First, note that the set is countable, for there is an injective function such that is the Gödel number of . So, we can list all the members of as . Second, define the following property:
Let us define the following chain of sets:
Then, define
Let us now establish two key properties of .
- () First, obviously holds, for .
- ( holds) Second, holds. Let us first prove by induction that holds for all . First, we have ex hypothesi. Suppose now that holds (IH), and let us show that holds. Consider the set . We have two cases. If does not hold, then , and by the IH holds. If holds, , from which it immediately follows that holds. Therefore, holds for all . Suppose now for reductio that does not hold. It follows that there exists a finite such that . Since is the union of a chain of sets and is finite, there must be some such that . Since is finite, , and , we have that does not hold. However, this contradicts the fact that holds for all . Therefore, must hold.
- ( is a maximal -set) Let us prove that is the maximal subset of satisfying . Suppose that there exists a set such that . We will show that fails. Since the inclusion is strict, there exists some such that . In our enumeration, for some . Since , it implies . By the definition of our chain, is excluded only if is false. This means there is a finite set such that . Now, observe that and . So , and hence, . Since contains a finite subset that entails , fails. Thus, no proper superset of satisfies .
Let us now show that is well-behaved.
- (Negation: ) () Suppose . If , it follows that , and since (i) (a contradiction semantically entails everything) and (ii) is finite, does not hold, contradicting (2) above. Hence . () Suppose . Since is the maximal -set, does not hold, meaning that there exists some finite such that . Suppose for reductio that . By the maximality of , we have that does not hold, meaning that there exists some finite such that . Let . Note, and is finite. Note that , and since and is monotonic, . Analogously, , and since , . By the Property of Disjunction of Premises – see ^2970ed – we get . Since is a tautology, any valuation that satisfies will trivially satisfy , and thus will satisfy . Therefore, , contradicting . Therefore, .
- (Conjunction: ) () Suppose . If , by the step above , and hence . Since and is finite, does not hold: contradiction. The argument for is analogous. So, both must be in . () Suppose . If , then . Since and is a finite subset of , does not hold: contradiction. So, .
- (Disjunction: ) () Suppose . If and , it follows that . Since and is a finite subset of , does not hold: contradiction. () Suppose that either or . Take the former case. Suppose . Hence . Since and is a finite subset of , does not hold: contradiction.
Therefore, is well-behaved in the sense of ^f6ac8d. By ^bc81d0, it follows that there exists a valuation such that . This means that . Moreover, note that , for if , we have and clearly is a finite subset of , violating . Since is well-behaved, , and hence , meaning . A fortiori, and , for . So, there exists a valuation function such that and , i.e. . eproof