Download Completeness of Propositional Logic Truth Assignments and Truth

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Gödel's incompleteness theorems wikipedia , lookup

Intuitionistic logic wikipedia , lookup

History of the function concept wikipedia , lookup

Modal logic wikipedia , lookup

Law of thought wikipedia , lookup

Analytic–synthetic distinction wikipedia , lookup

Argument wikipedia , lookup

Meaning (philosophy of language) wikipedia , lookup

Boolean satisfiability problem wikipedia , lookup

Junction Grammar wikipedia , lookup

Laws of Form wikipedia , lookup

Donald Davidson (philosopher) wikipedia , lookup

Propositional formula wikipedia , lookup

Grammaticality wikipedia , lookup

Truth wikipedia , lookup

Semantic holism wikipedia , lookup

Propositional calculus wikipedia , lookup

Natural deduction wikipedia , lookup

Truth-bearer wikipedia , lookup

Transcript
Completeness of Propositional Logic
Truth Assignments and Truth Tables
Let us define a truth assignment for a first-order language to be any function h from the set of all atomic
sentences of that language into the set {TRUE, FALSE}. That is, for each atomic sentence A of the
language, h gives us a truth value, written h(A), either TRUE or FALSE. Intuitively, we can think of each
such function h as representing one row of the reference columns of a large truth table.
Example:
h(p) = TRUE
h(q) = FALSE
h(r) = TRUE
In truth table, this would be a row:
P
T
Q
F
R
T
How would we determine whether a (compound) sentence is true or false?
Extend h to ; this new function is defined over the set of all sentences of the language.
Example:
(P ^ Q ^ (P -> Q)) = FALSE
Notice that not all symbols need to be used in the sentence.
This function is truth functional, i.e. the truth value of the compound sentence is determined by the
value of the atomic sentences and our interpretation of the connectives:
1.
2.
3.
4.
5.
6.
(Q) = h(Q) for atomic sentences Q.
(¬Q) = TRUE if and only if (Q) = FALSE;
(Q ^ R) = TRUE if and only if (Q) = TRUE and (R) = TRUE;
(Q v R) = TRUE if and only if (Q) = TRUE or (R) = TRUE, or both.
(Q → R) = TRUE if and only if (Q) = FALSE or (R) = TRUE, or both.
(Q ↔ R) = TRUE if and only if (Q) = (R).
Definition. Sentence S is a tautology if every truth assignment h has S coming out true, that is, (S) =
TRUE.
Definition. A sentence S is a tautological consequence of a set of sentences provided every truth
assignment that makes all the sentences in true also makes S true.
Definition. A sentence S is tt-satisfiable provided there is a truth assignment h such that (S) = TRUE.
Definition. A set of sentences is tt-satisfiable if there is a single assignment h that makes each of the
sentences in true.
Examples. Class exercise.
Proposition 1. The sentence S is a tautological consequence of the set
not tt-satisfiable.
if and only if the set
{¬S} is
Proof. Homework assignment.
Completeness
Theorem (Completeness of
|
S.
) If a sentence S is a tautological consequence of a set
of sentences then
The following lemma has to do with just the rules of propositional logic.
Lemma 2.
S}|
if and only if
|
S.
Proof. See book.
The following definition has to do with the rules again.
Definition. A set of sentences
no proof of from in .
is formally consistent if and only
|/-T , that is, if and only if there is
Theorem (Reformulation of Completeness) Every formally consistent set of sentences is tt-satisfiable.
The Completeness Theorem results from applying this to the set
Definition. A set
or |/-T S.
{¬S}
is formally complete if for any of sentences sentence S of the language, either
|-T S
This is really an unusual property of sets of sentences, since it says that the set so strong that it settles
every question that can be expressed in the language, since for any sentence, either it or its negation is
provable from .
Lemma 3. Let be a formally consistent, formally complete set of sentences, and let R and S be any
sentences of the language.
1.
2.
3.
4.
5.
|-T (R ^ S) iff |-T R and |-T S
|-T (R v S) iff |-T R or |-T S
|-T ¬S iff |/-T S
|-T (R → S) iff |/-T R or |-T S
|-T (R ↔ S) iff either |-T R and
Proof. See book and assignment.
|-T S or
|/-T R and
|/-T S