Intuitionistic Logic

Soundness and Completeness

Reading preferences

Optional display controls need JavaScript. All reading content and navigation work without it.

Source file content/intuitionistic-logic/soundness-completeness/soundness-completeness.tex

Editorial

This chapter collects soundness and completeness results for propositional intuitionistic logic. It needs an introduction. The completeness proof makes use of facts about provability that should be stated and proved explicitly somewhere.

Source file content/intuitionistic-logic/soundness-completeness/soundness-axd.tex

Soundness of Axiomatic derivation

Editorial

The soundness proof relies on the fact that all axioms are intuitionistically valid; this still needs to be proved, e.g., in the Semantics chapter.

Soundness theorem for the intuitionistic axiomatic calculus

[Soundness] If ΓA\Gamma \Proves !Asource, then ΓA\Gamma \Entails !Asource.

Proof

We prove that if ΓA\Gamma \Proves !Asource, then ΓA\Gamma \Entails !Asource. The proof is by induction on the number nnsource of formulas in the derivation of A!Asource from Γ\Gammasource. We show that if A1!A_1source, dots, An=A!A_n = !Asource is a derivation from Γ\Gammasource, then ΓAn\Gamma \Entails !A_nsource. Note that if A1!A_1source, dots, An!A_nsource is a derivation, so is A1!A_1source, dots, Ak!A_ksource for any k<nk<nsource.

There are no derivations of length 00source, so for n=0n=0source the claim holds vacuously. So the claim holds for all derivations of length <n<nsource. We distinguish cases according to the justification of An!A_nsource.

  1. An!A_nsource is an axiom. All axioms are valid, so ΓAn\Gamma \Entails !A_nsource for any Γ\Gammasource.

  2. AnΓ!A_n \in \Gammasource. Then for any M\mModel{M}source and wwsource, if MΓ[w]\mSat{M}{\Gamma}[w]source, obviously MAn[w]\mSat{M}{!A_n}[w]source, i.e., ΓA\Gamma \Entails !Asource.

  3. An!A_nsource follows by MP from Ai!A_isource and AjAiAn!A_j \ident !A_i \lif !A_nsource. A1!A_1source, dots, Ai!A_isource and A1!A_1source, dots, Aj!A_jsource are derivations from Γ\Gammasource, so by inductive hypothesis, ΓAi\Gamma \Entails !A_isource and ΓAiAn\Gamma \Entails !A_i \lif !A_nsource.

    Suppose MΓ[w]\mSat{M}{\Gamma}[w]source. Since MΓ[w]\mSat{M}{\Gamma}[w]source and ΓAiAn\Gamma \Entails !A_i \lif !A_nsource, MAiAn[w]\mSat{M}{!A_i \lif !A_n}[w]source. By definition, this means that for all ww'source such that RwwRww'source, if MAi[w]\mSat{M}{!A_i}[w']source then MAn[w]\mSat{M}{!A_n}[w']source. Since RRsource is reflexive, wwsource is among the ww'source such that RwwRww'source, i.e., we have that if MAi[w]\mSat{M}{!A_i}[w]source then MAn[w]\mSat{M}{!A_n}[w]source. Since ΓAi\Gamma \Entails !A_isource, MAi[w]\mSat{M}{!A_i}[w]source. So, MAn[w]\mSat{M}{!A_n}[w]source, as we wanted to show.

Source file content/intuitionistic-logic/soundness-completeness/soundness-nd.tex

Soundness of Natural Deduction

We will now prove soundness of natural deduction with regards to the relational semantics, that is, showing that if a formula is derivable from a set of assumptions then the set of assumptions entails the formula.

Soundness theorem for intuitionistic natural deduction

[Soundness] If ΓA\Gamma \Proves !Asource, then ΓA\Gamma \Entails !Asource.

Proof

We prove that if ΓA\Gamma \Proves !Asource, then ΓA\Gamma \Entails !Asource. The proof is by induction on the derivation of A!Asource from Γ\Gammasource.

  1. If the derivation consists of just the assumption A!Asource, we have AA!A \Proves !Asource, and want to show that AA!A \Entails !Asource. Suppose that MA[w]\mSat{M}{!A}[w]source. Then trivially MA[w]\mSat{M}{!A}[w]source.

  2. The derivation ends in Intro\Intro{\land}source: Exercise.

  3. The derivation ends in Elim\Elim{\land}source: Exercise.

  4. The derivation ends in Intro\Intro{\lor}source: Suppose the premise is B!Bsource, and the undischarged assumptions of the derivation ending in B!Bsource are Γ\Gammasource. Then we have ΓB\Gamma \Proves !Bsource and by inductive hypothesis, ΓB\Gamma \Entails !Bsource. We have to show that ΓBC\Gamma \Entails !B \lor !Csource. Suppose MΓ[w]\mSat{M}{\Gamma}[w]source. Since ΓB\Gamma \Entails !Bsource, MB[w]\mSat{M}{!B}[w]source. But then also MBC[w]\mSat{M}{!B \lor !C}[w]source. Similarly, if the premise is C!Csource, we have that ΓC\Gamma \Entails !Csource.

  5. The derivation ends in Elim\Elim{\lor}source: The derivations ending in the premises are of BC!B \lor !Csource from undischarged assumptions Γ\Gammasource, of D!Dsource from undischarged assumptions Δ1{B}\Delta_1 \cup \{!B\}source, and of D!Dsource from undischarged assumptions Δ2{C}\Delta_2 \cup \{!C\}source. So we have ΓBC\Gamma \Proves !B \lor !Csource, Δ1{B}D\Delta_1 \cup \{!B\} \Proves !Dsource, and Δ2{C}D\Delta_2 \cup \{!C\} \Proves !Dsource. By induction hypothesis, ΓBC\Gamma \Entails !B \lor !Csource, Δ1{B}D\Delta_1 \cup \{!B\} \Entails !Dsource, and Δ2{C}D\Delta_2 \cup \{!C\} \Entails !Dsource. We have to prove that ΓΔ1Δ2D\Gamma \cup \Delta_1 \cup \Delta_2 \Entails !Dsource.

    Suppose MΓΔ1Δ2[w]\mSat{M}{\Gamma \cup \Delta_1 \cup \Delta_2}[w]source. Then MΓ[w]\mSat{M}{\Gamma}[w]source and since ΓBC\Gamma \Entails !B \lor !Csource, MBC[w]\mSat{M}{!B \lor !C}[w]source. By definition of M\mSat{M}{}source, either MB[w]\mSat{M}{!B}[w]source or MC[w]\mSat{M}{!C}[w]source. So we distinguish cases: (a) MB[w]\mSat{M}{!B}[w]source. ThenMΔ1{B}[w]\mSat{M}{\Delta_1 \cup \{!B\}}[w]source. Since Δ1{B}D\Delta_1 \cup \{!B\} \Entails !Dsource, we have MD[w]\mSat{M}{!D}[w]source. (b) MC[w]\mSat{M}{!C}[w]source. Then MΔ2{C}[w]\mSat{M}{\Delta_2 \cup \{!C\}}[w]source. Since Δ2{C}D\Delta_2 \cup \{!C\} \Entails !Dsource, we have MD[w]\mSat{M}{!D}[w]source. So in either case, MD[w]\mSat{M}{!D}[w]source, as we wanted to show.

  6. The derivation ends with Intro\Intro{\lif}source concluding BC!B\lif !Csource. Then the premise is C!Csource, and the derivation ending in the premise has undischarged assumptions Γ{B}\Gamma \cup \{!B\}source. So we have that Γ{B}C\Gamma \cup \{!B\} \Proves !Csource, and by induction hypothesis that Γ{B}C\Gamma \cup \{!B\} \Entails !Csource. We have to show that ΓBC\Gamma \Entails !B \lif !Csource.

    Suppose MΓ[w]\mSat{M}{\Gamma}[w]source. We want to show that for all ww'source such that RwwRww'source, if MB[w]\mSat{M}{!B}[w']source, then MC[w]\mSat{M}{!C}[w']source. So assume that RwwRww'source and MB[w]\mSat{M}{!B}[w']source. By the earlier proposition that intuitionistic truth persists along accessibility, MΓ[w]\mSat{M}{\Gamma}[w']source. Since Γ{B}C\Gamma \cup \{!B\} \Entails !Csource, MC[w]\mSat{M}{!C}[w']source, which is what we wanted to show.

  7. The derivation ends in Elim\Elim{\lif}source and conclusion C!Csource. The premises are BC!B \lif !Csource and B!Bsource, with derivations from undischarged assumptions Γ\Gammasource, Δ\Deltasource. So we have ΓBC\Gamma \Proves !B \lif !Csource and ΔB\Delta \Proves !Bsource. By inductive hypothesis, ΓBC\Gamma \Entails !B \lif !Csource and ΔB\Delta \Entails !Bsource. We have to show that ΓΔC\Gamma \cup \Delta \Entails !Csource.

    Suppose MΓΔ[w]\mSat{M}{\Gamma \cup \Delta}[w]source. Since MΓ[w]\mSat{M}{\Gamma}[w]source and ΓBC\Gamma \Entails !B \lif !Csource, MBC[w]\mSat{M}{!B \lif !C}[w]source. By definition, this means that for all ww'source such that RwwRww'source, if MB[w]\mSat{M}{!B}[w']source then MC[w]\mSat{M}{!C}[w']source. Since RRsource is reflexive, wwsource is among the ww'source such that RwwRww'source, i.e., we have that if MB[w]\mSat{M}{!B}[w]source then MC[w]\mSat{M}{!C}[w]source. Since MΔ[w]\mSat{M}{\Delta}[w]source and ΔB\Delta \Entails !Bsource, MB[w]\mSat{M}{!B}[w]source. So, MC[w]\mSat{M}{!C}[w]source, as we wanted to show.

  8. The derivation ends in I\FalseIntsource, concluding A!Asource. The premise is \lfalsesource and the undischarged assumptions of the derivation of the premise are Γ\Gammasource. Then Γ\Gamma \Proves \lfalsesource. By inductive hypothesis, Γ\Gamma \Entails \lfalsesource. We have to show ΓA\Gamma \Entails !Asource.

    We proceed indirectly. If ΓA\Gamma \Entails/ !Asource there is a model M\mModel{M}source and world wwsource such that MΓ[w]\mSat{M}{\Gamma}[w]source and MA[w]\mSat/{M}{!A}[w]source. Since Γ\Gamma \Entails \lfalsesource, M[w]\mSat{M}{\lfalse}[w]source. But that's impossible, since by definition, M[w]\mSat/{M}{\lfalse}[w]source. So ΓA\Gamma \Entails !Asource.

  9. The derivation ends in ¬Intro\Intro\lnotsource: Exercise.

  10. The derivation ends in ¬Elim\Elim\lnotsource: Exercise.

Exercise completing the natural-deduction soundness proof

Complete the proof of the natural-deduction soundness theorem. For the cases for ¬Intro\Intro\lnotsource and ¬Elim\Elim\lnotsource, use the definition of M¬A[w]\mSat{M}{\lnot !A}[w]source in the definition of truth at a world, i.e., don't treat ¬A\lnot !Asource as defined by A!A \lif \lfalsesource.

Exercise giving three intuitionistic nonderivability results

Show that the following formulas are not derivable in intuitionistic logic:

  1. (AB)(BA)(!A \lif !B) \lor (!B \lif !A)source

  2. (¬¬AA)(A¬A)(\lnot\lnot !A \lif !A) \lif (!A \lor \lnot !A)source

  3. (ABC)((AB)(AC))(!A \lif !B \lor !C) \lif \bigl((!A \lif !B)\lor(!A \lif !C)\bigr)source

Source file content/intuitionistic-logic/soundness-completeness/lindenbaum.tex

Lindenbaum's Lemma

The completeness theorem for intuitionistic logic is proved by assuming ΓA\Gamma \Proves/ !Asource and constructing a model MΓ\mSat{M}{\Gamma}source and MA\mSat/{M}{!A}source.

In classical logic the relation of derivability can be reduced to the notion of consistency since a formula A!Asource is derivable from a set of formulas iff the set together with the negation of A!Asource is inconsistent. This is not possible in intuitionistic logic. In intuitionistic logic, if ¬A\lnot!Asource is inconsistent, we only get that ¬¬A\Proves \lnot\lnot !Asource. Since ¬¬AA\lnot\lnot!A \lif !Asource does not hold intuitionistically in general, we cannot conclude that A\Proves !Asource.

Thus, when constructing the model M\mModel{M}source, we will need to keep track of the non-derivability of the formula A!Asource and thus we will not be able to use a complete set Γ*Γ\Gamma^* \supseteq \Gammasource to build the model M\mModel{M}source, as in every complete set Γ*\Gamma^*source, we have Γ*A¬A\Gamma^* \Proves !A \lor \lnot !Asource.

Instead of using a complete set Γ*\Gamma^*source, we will us the notion of a prime set of formulas:

Definition of a prime set of formulas

A set of formulas Γ\Gammasource is prime iff

  1. Γ\Gammasource is consistent, i.e., Γ\Gamma \Proves/ \lfalsesource;

  2. if ΓA\Gamma \Proves !Asource then AΓ!A \in \Gammasource; and

  3. if ABΓ!A \lor !B \in \Gammasource then AΓ!A \in \Gammasource or BΓ!B \in \Gammasource.

Lindenbaum's Lemma for intuitionistic logic

[Lindenbaum's Lemma] If ΓA\Gamma \Proves/ !Asource, there is a Γ*Γ\Gamma^* \supseteq \Gammasource such that Γ*\Gamma^*source is prime and Γ*A\Gamma^* \Proves/ !Asource.

Proof

Let B1C1!B_1 \lor !C_1source, B2C2!B_2 \lor !C_2source, dots, be an enumeration of all formulas of the form BC!B \lor !Csource. We'll define an increasing sequence of sets of formulas Γn\Gamma_nsource, where each Γn+1\Gamma_{n+1}source is defined as Γn\Gamma_nsource together with one new formula. Γ*\Gamma^*source will be the union of all Γn\Gamma_nsource. The new formulas are selected so as to ensure that Γ*\Gamma^*source is prime and still Γ*A\Gamma^* \Proves/ !Asource. This means that at each step we should find the first disjunction BiCi!B_i \lor !C_isource such that:

  1. ΓnBiCi\Gamma_n \Proves !B_i \lor !C_isource

  2. BiΓn!B_i \notin \Gamma_nsource and CiΓn!C_i \notin \Gamma_nsource

We add to Γn\Gamma_nsource either Bi!B_isource if Γn{Bi}A\Gamma_n \cup \{!B_i\} \Proves/ !Asource, or Ci!C_isource otherwise. We'll have to show that this works. For now, let's define i(n)i(n)source as the least iisource such that the first condition selecting a disjunction and the second condition selecting a disjunction hold.

Define Γ0=Γ\Gamma_0 = \Gammasource and

Γn+1={Γn{Bi(n)}if Γn{Bi(n)}AΓn{Ci(n)}otherwise\Gamma_{n+1} = \begin{cases} \Gamma_n \cup \{!B_{i(n)}\} & \text{if $\Gamma_n \cup \{!B_{i(n)}\} \Proves/ !A$} \\ \Gamma_n \cup \{!C_{i(n)}\} & \text{otherwise} \end{cases}source

If i(n)i(n)source is undefined, i.e., whenever ΓnBC\Gamma_n \Proves !B \lor !Csource, either BΓn!B \in \Gamma_nsource or CΓn!C \in \Gamma_nsource, we let Γn+1=Γn\Gamma_{n+1} = \Gamma_nsource. Now let Γ*=n=0Γn\Gamma^* = \bigcup_{n=0}^\infty \Gamma_nsource

First we show that for all nnsource, ΓnA\Gamma_n \Proves/ !Asource. We proceed by induction on nnsource. For n=0n = 0source the claim holds by the hypothesis of the theorem, i.e., ΓA\Gamma \Proves/ !Asource. If n>0n>0source, we have to show that if ΓnA\Gamma_n \Proves/ !Asource then Γn+1A\Gamma_{n+1} \Proves/ !Asource. If i(n)i(n)source is undefined, Γn+1=Γn\Gamma_{n+1} = \Gamma_nsource and there is nothing to prove. So suppose i(n)i(n)source is defined. For simplicity, let i=i(n)i = i(n)source.

We'll prove the contrapositive of the claim. Suppose Γn+1A\Gamma_{n+1} \Proves !Asource. By construction, Γn+1=Γn{Bi}\Gamma_{n+1} = \Gamma_n \cup \{!B_i\}source if Γn{Bi}A\Gamma_n \cup \{!B_i\} \Proves/ !Asource, or else Γn+1=Γn{Ci}\Gamma_{n+1} = \Gamma_n \cup \{!C_i\}source. It clearly can't be the first, since then Γn+1A\Gamma_{n+1} \Proves/ !Asource. Hence, Γn{Bi}A\Gamma_n \cup \{!B_i\} \Proves !Asource and Γn+1=Γn{Ci}\Gamma_{n+1} = \Gamma_n \cup \{!C_i\}source. By definition of i(n)i(n)source, we have that ΓnBiCi\Gamma _n \Proves !B_i \lor !C_isource. We have Γn{Bi}A\Gamma_n \cup \{!B_i\} \Proves !Asource. We also have Γn+1=Γn{Ci}A\Gamma_{n+1} = \Gamma_n \cup \{!C_i\} \Proves !Asource. Hence, ΓnA\Gamma_n \Proves !Asource, which is what we wanted to show.

If Γ*A\Gamma^* \Proves !Asource, there would be some finite subset ΓΓ*\Gamma' \subseteq \Gamma^*source such that ΓA\Gamma' \Proves !Asource. Each DΓ!D \in \Gamma'source must be in Γi\Gamma_isource for some iisource. Let nnsource be the largest of these. Since ΓiΓn\Gamma_i \subseteq \Gamma_nsource if ini \le nsource, ΓΓn\Gamma' \subseteq \Gamma_nsource. But then ΓnA\Gamma_n \Proves !Asource, contrary to our proof above that ΓnA\Gamma_n \Proves/ !Asource.

Lastly, we show that Γ*\Gamma^*source is prime, i.e., satisfies conditions the consistency condition in the definition of a prime set, the deductive-closure condition in the definition of a prime set, and the disjunction condition in the definition of a prime set of the definition of a prime set.

First, Γ*A\Gamma^* \Proves/ !Asource, so Γ*\Gamma^*source is consistent, so the consistency condition in the definition of a prime set holds.

We now show that if Γ*BC\Gamma^* \Proves !B \lor !Csource, then either BΓ*!B \in \Gamma^*source or CΓ*!C \in \Gamma^*source. This proves the disjunction condition in the definition of a prime set, since if BCΓ*!B \lor !C \in \Gamma^*source then also Γ*BC\Gamma^* \Proves !B \lor !Csource. So assume Γ*BC\Gamma^* \Proves !B \lor !Csource but BΓ*!B \notin \Gamma^*source and CΓ*!C \notin \Gamma^*source. Since Γ*BC\Gamma^* \Proves !B \lor !Csource, ΓnBC\Gamma_n \Proves !B \lor !Csource for some nnsource. BC!B \lor !Csource appears on the enumeration of all disjunctions, say, as BjCj!B_j \lor !C_jsource. BjCj!B_j \lor !C_jsource satisfies the properties in the definition of i(n)i(n)source, namely we have ΓnBjCj\Gamma_n \Proves !B_j \lor !C_jsource, while BjΓn!B_j \notin \Gamma_nsource and CjΓn!C_j \notin \Gamma_nsource. At each stage, at least one fewer disjunction BiCi!B_i \lor !C_isource satisfies the conditions (since at each stage we add either Bi!B_isource or Ci!C_isource), so at some stage mmsource we will have j=i(m)j = i(m)source. But then either BΓm+1!B \in \Gamma_{m+1}source or CΓm+1!C \in \Gamma_{m+1}source, contrary to the assumption that BΓ*!B \notin \Gamma^*source and CΓ*!C \notin \Gamma^*source.

Now suppose Γ*B\Gamma^* \Proves !Bsource. Then Γ*BB\Gamma^* \Proves !B \lor !Bsource. But we've just proved that if Γ*BB\Gamma^* \Proves !B \lor !Bsource then BΓ*!B \in \Gamma^*source. Hence, Γ*\Gamma^*source satisfies the deductive-closure condition in the definition of a prime set of the definition of a prime set.

Exercise relating nonderivability of falsity to classical consistency

Show that if Γ\Gamma \Proves/ \botsource then Γ\Gammasource is consistent in classical logic, i.e., there is a valuation making all formulas in Γ\Gammasource true.

Source file content/intuitionistic-logic/soundness-completeness/canonical-model.tex

The Canonical Model

The worlds in our model will be finite sequences σ\sigmasource of natural numbers, i.e., σ*\sigma \in \Nat^*source. Note that *\Nat^*source is inductively defined by:

  1. Λ*\emptyseq \in \Nat^*source.

  2. If σ*\sigma \in \Nat^*source and nn \in \Natsource, then σ.n*\sigma.n \in \Nat^*source (where σ.n\sigma.nsource is σn\sigma \concat \tuple{n}source and σσ\sigma \concat \sigma'source is the concatenation if σ\sigmasource and σ\sigma'source).

  3. Nothing else is in *\Nat^*source.

So we can use *\Nat^*source to give inductive definitions.

Let B1,C1\tuple{!B_1, !C_1}source, B2,C2\tuple{!B_2, !C_2}source, dots, be an enumeration of all pairs of formulas. Given a set of formulas Δ\Deltasource, define Δ(σ)\Delta(\sigma)source by induction as follows:

  1. Δ(Λ)=Δ\Delta(\emptyseq) = \Deltasource

  2. Δ(σ.n)=\Delta(\sigma.n) = {}source

    {(Δ(σ){Bn})*if Δ(σ){Bn}CnΔ(σ)otherwise\begin{cases} (\Delta(\sigma) \cup \{!B_n\})^* & \text{if $\Delta(\sigma) \cup \{!B_n\} \Proves/ !C_n$} \\ \Delta(\sigma) & \text{otherwise} \end{cases}source

Here by (Δ(σ){Bn})*(\Delta(\sigma) \cup \{!B_n\})^*source we mean the prime set of formulas which exists by Lindenbaum's Lemma applied to the set Δ(σ){Bn}\Delta(\sigma) \cup \{!B_n\}source and the formula Cn!C_nsource. Note that by this definition, if Δ(σ){Bn}Cn\Delta(\sigma) \cup \{!B_n\} \Proves/ !C_nsource, then Δ(σ.n)Bn\Delta(\sigma.n) \Proves !B_nsource and Δ(σ.n)Cn\Delta(\sigma.n) \Proves/ !C_nsource. Note also that Δ(σ)Δ(σ.n)\Delta(\sigma) \subseteq \Delta(\sigma.n)source for any nnsource. If Δ\Deltasource is prime, then Δ(σ)\Delta(\sigma)source is prime for all σ\sigmasource.

Definition of the canonical intuitionistic model

Suppose Δ\Deltasource is prime. Then the canonical model M(Δ)\mModel{M(\Delta)}source for Δ\Deltasource is defined by:

  1. W=*W = \Nat^*source, the set of finite sequences of natural numbers.

  2. RRsource is the partial order according to which RσσR\sigma\sigma'source iff σ\sigmasource is an initial segment of σ\sigma'source (i.e., σ=σσ\sigma' = \sigma \concat \sigma''source for some sequence σ\sigma''source).

  3. V(p)={σ:pΔ(σ)}V(p) = \Setabs{\sigma}{p \in \Delta(\sigma)}source.

It is easy to verify that RRsource is indeed a partial order. Also, the monotonicity condition on VVsource is satisfied. Since Δ(σ)Δ(σ.n)\Delta(\sigma) \subseteq \Delta(\sigma.n)source we get Δ(σ)Δ(σ)\Delta(\sigma) \subseteq \Delta(\sigma')source whenever RσσR\sigma\sigma'source by induction on σ\sigmasource.

Source file content/intuitionistic-logic/soundness-completeness/truth-lemma.tex

The Truth Lemma

The following lemma connects satisfaction in the canonical model with which formulas are elements of the prime set Δ\Deltasource.

Truth Lemma for the canonical model

If Δ\Deltasource is prime, then M(Δ)A[σ]\mSat{M(\Delta)}{!A}[\sigma]source iff Δ(σ)A\Delta(\sigma) \Proves !Asource.

Proof

By induction on A!Asource.

  1. Case: A!A \ident \lfalsesource

    Since Δ(σ)\Delta(\sigma)source is prime, it is consistent, so Δ(σ)A\Delta(\sigma) \Proves/ \indfrmsource. By definition, M(Δ)A[σ]\mSat/{M(\Delta)}{\indfrm}[\sigma]source.

  2. Case: Ap!A \ident psource

    By definition of \mSat{{}}{}source, M(Δ)A[σ]\mSat{M(\Delta)}{\indfrm}[\sigma]source iff σV(p)\sigma \in V(p)source, i.e., Δ(σ)A\Delta(\sigma) \Proves \indfrmsource.

  3. Case: A¬B!A \ident \lnot !Bsource

  4. Case: ABC!A \ident !B \land !Csource

    M(Δ)A[σ]\mSat{M(\Delta)}{\indfrm}[\sigma]source iff M(Δ)B[σ]\mSat{M(\Delta)}{!B}[\sigma]source and M(Δ)C[σ]\mSat{M(\Delta)}{!C}[\sigma]source. By induction hypothesis, M(Δ)B[σ]\mSat{M(\Delta)}{!B}[\sigma]source iff Δ(σ)B\Delta(\sigma) \Proves !Bsource, and similarly for C!Csource. But Δ(σ)B\Delta(\sigma) \Proves !Bsource and Δ(σ)C\Delta(\sigma) \Proves !Csource iff Δ(σ)A\Delta(\sigma) \Proves \indfrmsource.

  5. Case: ABC!A \ident !B \lor !Csource

    M(Δ)A[σ]\mSat{M(\Delta)}{\indfrm}[\sigma]source iff M(Δ)B[σ]\mSat{M(\Delta)}{!B}[\sigma]source or M(Δ)C[σ]\mSat{M(\Delta)}{!C}[\sigma]source. By induction hypothesis, this holds iff Δ(σ)B\Delta(\sigma) \Proves !Bsource or Δ(σ)C\Delta(\sigma) \Proves !Csource. We have to show that this in turn holds iff Δ(σ)A\Delta(\sigma) \Proves \indfrmsource. The left-to-right direction is clear. The right-to-left direction follows since Δ(σ)\Delta(\sigma)source is prime.

  6. Case: ABC!A \ident !B \lif !Csource

    First the contrapositive of the left-to-right direction: Assume Δ(σ)BC\Delta(\sigma) \Proves/ !B \lif !Csource. Then also Δ(σ){B}C\Delta(\sigma) \cup \{!B\} \Proves/ !Csource. Since B,C\tuple{!B, !C}source is Bn,Cn\tuple{!B_n, !C_n}source for some nnsource, we have Δ(σ.n)=(Δ(σ){B})*\Delta(\sigma.n) = (\Delta(\sigma) \cup \{!B\})^*source, and Δ(σ.n)B\Delta(\sigma.n) \Proves !Bsource but Δ(σ.n)C\Delta(\sigma.n) \Proves/ !Csource. By inductive hypothesis, M(Δ)B[σ.n]\mSat{M(\Delta)}{!B}[\sigma.n]source and M(Δ)C[σ.n]\mSat/{M(\Delta)}{!C}[\sigma.n]source. Since Rσ(σ.n)R\sigma(\sigma.n)source, this means that M(Δ)A[σ]\mSat/{M(\Delta)}{\indfrm}[\sigma]source.

    Now assume Δ(σ)BC\Delta(\sigma) \Proves !B \lif !Csource, and let RσσR\sigma\sigma'source. Since Δ(σ)Δ(σ)\Delta(\sigma) \subseteq \Delta(\sigma')source, we have: if Δ(σ)B\Delta(\sigma') \Proves !Bsource, then Δ(σ)C\Delta(\sigma') \Proves !Csource. In other words, for every σ\sigma'source such that RσσR\sigma\sigma'source, either Δ(σ)B\Delta(\sigma') \Proves/ !Bsource or Δ(σ)C\Delta(\sigma') \Proves !Csource. By induction hypothesis, this means that whenever RσσR\sigma\sigma'source, either M(Δ)B[σ]\mSat/{M(\Delta)}{!B}[\sigma']source or M(Δ)C[σ]\mSat{M(\Delta)}{!C}[\sigma']source, i.e., M(Δ)A[σ]\mSat{M(\Delta)}{\indfrm}[\sigma]source.

Source file content/intuitionistic-logic/soundness-completeness/completeness-thm.tex

The Completeness Theorem

Completeness theorem for intuitionistic logic

If ΓA\Gamma \Entails !Asource then ΓA\Gamma \Proves !Asource.

Proof

We prove the contrapositive: Suppose ΓA\Gamma \Proves/ !Asource. Then by Lindenbaum's Lemma, there is a prime set Γ*Γ\Gamma^* \supseteq \Gammasource such that Γ*A\Gamma^* \Proves/ !Asource. Consider the canonical model M(Γ*)\mModel{M(\Gamma^*)}source for Γ*\Gamma^*source as defined in the definition of the canonical model. For any BΓ!B \in \Gammasource, Γ*B\Gamma^* \Proves !Bsource. Note that Γ*(Λ)=Γ*\Gamma^*(\emptyseq) = \Gamma^*source. By the Truth Lemma (the Truth Lemma), we have M(Γ*)B[Λ]\mSat{M(\Gamma^*)}{!B}[\emptyseq]source for all BΓ!B \in \Gammasource and M(Γ*)A[Λ]\mSat/{M(\Gamma^*)}{!A}[\emptyseq]source. This shows that ΓA\Gamma \Entails/ !Asource.

Exercise on formulas using only variables, disjunction, and conjunction

Show that if A!Asource only contains propositional variables, \lorsource, and \landsource, then A\Entails/ !Asource. Use this to conclude that \lifsource is not definable in intuitionistic logic from \lorsource and \landsource.

Exercise proving the disjunction property

By using the completeness theorem prove that if AB\Proves !A \lor !Bsource then A\Proves !Asource or B\Proves !Bsource. (Hint: Assume M1A\mSat/{M_1}{!A}source and M2B\mSat/{M_2}{!B}source and construct a new model M\mModel{M}source such that MAB\mSat/{M}{!A \lor !B}source.)

Exercise on linearly ordered relational models

Show that if M\mModel{M}source is a relational model using a linear order then M(AB)(BA)\mSat{M}{(!A \lif !B)\lor(!B \lif !A)}source.

Source file content/intuitionistic-logic/soundness-completeness/decidability.tex

Decidability

Observe that the proof of the completeness theorem gives us for every ΓA\Gamma \Proves/ !Asource a model with an infinite number of worlds witnessing the fact that ΓA\Gamma \Entails/ !Asource. The following proposition shows that to prove A\Entails !Asource it is enough to prove that MA\mSat{M}{!A}source for all finite models (i.e., models with a finite set of worlds).

Finite-countermodel theorem

If A\Entails/ !Asource then there is a finite model MA\mSat/{M'}{!A}source.

Proof

Assume M=W,R,V\mModel{M}=\tuple{W, R, V}source is such that MA\mSat/{M}{!A}source and PPsource is the set of propositional variables occurring in A!Asource. Define M=W,R,V\mModel{M'}=\tuple{W', R', V'}source by letting W={[w]:wW}W' = \Setabs{[w]}{w \in W}source where [w]={pP:wV(p)}[w] = \Setabs{p \in P}{w \in V(p)}source, RR'source be the subset relation, and V(p)={[w]:p[w]}V'(p)=\Setabs{[w]}{p \in [w]}source. It should be clear that WW'source is a finite set and that M\mModel{M'}source is a relational model.

It can be shown, by induction on A!Asource, that

MA[w] iff MA[[w]]\mSat{M}{!A}[w] \text{ iff } \mSat{M'}{!A}[{[w]}]source

for all formulas A!Asource with only propositional variables from PPsource. This is left as an exercise for the reader.

Exercise finishing the finite-countermodel proof

Finish the proof of the finite-countermodel theorem by showing that M,wA\mSat{M,w}{!A}source iff M,[w]A\mSat{M',[w]}{!A}source for all formulas A!Asource with only propositional variables from PPsource.

From the finite-countermodel theorem it follows that there is an algorithm to decide whether A\Entails !Asource.

Source disclosures