• Keine Ergebnisse gefunden

Object and meta theory

N/A
N/A
Protected

Academic year: 2022

Aktie "Object and meta theory"

Copied!
14
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Logik f¨ ur Informatiker Logic for computer scientists

Till Mossakowski

WiSe 2013/14

Till Mossakowski Logic 1/ 14

(2)

Completeness for

propositional logic

(3)

Object and meta theory

Object theory = reasoningwithina formal proof system (e.g. Fitch)

Meta theory = reasoningabout a formal proof system

Till Mossakowski Logic 3/ 14

(4)

Truth assignments (Valuations)

Definition

A truth assignment is a functionh from the set of all atomic sentences of that language into the set{T,F}.

Definition

Any truth assignmenth can be extended to an assignment ˆh for all sentences as follows:

1 h(Qˆ ) =h(Q) for atomic sentencesQ.

2 h(¬Qˆ ) =T if and only if ˆh(Q) =F;

3 h(Qˆ ∧R) =T if and only if ˆh(Q) =T and ˆh(R) =T;

4 h(Qˆ ∨R) =T if and only if ˆh(Q) =T or ˆh(R) =T, or both.

5 h(Qˆ →R) =T if and only if ˆh(Q) =F or ˆh(R) =T, or both.

6 h(Qˆ ↔R) =T if and only if ˆh(Q) =h(R).

(5)

Tautological consequence

A sentenceS is a tautological consequenceof a set of sentences T, written

T |=T S,

if all truth assignments of atomic formulas with truth values that make all sentences inT true also make S true.

T is called tt-satisfiable, if there is a truth assignment making all sentences inT true. (Note: T may be infinite.)

Till Mossakowski Logic 5/ 14

(6)

Tautological consequence and satisfiability

Proposition. The sentenceS is a tautological consequence of the setT if and only if the setT ∪ {¬S} is not tt-satisfiable.

(7)

Propositional proofs

S isFT-provable fromT, written T `T S,

if there is a formal proof ofS with premises drawn from T using the elimination and introduction rules for∨,∧,¬,→,↔and ⊥.

Again note: T may be infinite.

Till Mossakowski Logic 7/ 14

(8)

Consistency

A set of sentencesT is called formally inconsistent, if T `T ⊥.

Example: {A∨B,¬A,¬B}.

Otherwise,T is called formally consistent.

Example: {A∨B,A,¬B}

(9)

Soundness

Theorem 1. The proof calculusFT is sound, i.e. if T `T S,

then

T |=T S.

Proof: see earlier lecture.

Till Mossakowski Logic 9/ 14

(10)

Completeness

Theorem 2(Bernays, Post). The proof calculusFT is complete, i.e. if

T |=T S, then

T `T S. Theorem 2 follows from:

Theorem 3. Every formally consistent set of sentences is tt-satisfiable.

Lemma 4. T ∪ {¬S} `T ⊥if and only if T `T S.

(11)

Proof of Theorem 3

A setT is formally complete, if for any sentenceS, either T `T S orT `T ¬S.

Proposition 5. Every formally complete and formally consistent set of sentences is tt-satisfiable.

Proposition 6. Every formally consistent set of sentences can be expanded to a formally complete and formally consistent set of sentences.

Till Mossakowski Logic 11/ 14

(12)

Proof of Proposition 5

Lemma 7. LetT be formally complete and formally consistent.

Then

1 T `T (R∧S) iff T `T R andT `T S

2 T `T (R∨S) iff T `T R or T `T S

3 T `T (¬S) iff T 6`T S

4 T `T (R→S) iffT 6`T R or T `T S

5 T `T (R↔S) iff (T `T R iff T `T S)

(13)

Proof of Proposition 6

Lemma 8. A set of sentences T is formally complete if and only if for anyatomicsentence A,

either T `T Aor T `T ¬A.

Till Mossakowski Logic 13/ 14

(14)

Compactness Theorem

Theorem 9. Let T be any set of sentences. If every finite subset of T is tt-satisfiable, thenT itself is satisfiable.

Referenzen

ÄHNLICHE DOKUMENTE

A Computational Theory for the Model Construction, Inspection and Variation Phase in Human Spatial Reasoning.. Julia Mertesdorf 1 and Emmanuelle-Anna Dietz Saldanha 2 and

These logics are from mathematical logic and formal methods, knowledge representation and nonmonotonic reasoning, and include logic programs and answer set programs under

Br¨ unnler also discusses an important advantage corollary to locality and atomicity of cut: using deep inference he gets a finitary variant of SKS by simple means (i.e. without

It possesses several properties that give proof theory car- ried out in the calculus of structures important advantages over the traditional proof theory carried out in structural

He is the author of books on relational databases, logic programming and object-oriented databases, as well as papers in database theory, object- oriented technology and

The theorem on extraction of uniform bounds from classical proofs with extensionality in Sec.3.6.5 is due to Kohlenbach (1993); the formulation given is from (Kohlenbach, 2006)....

We do not want to assume set theory here; hence we introduce a certain initial segment of the ordinals (the ordinals < ε 0 ) in a formal, combinatorial way, i.e., via

For the algebra L(N) of lists of natural numbers the total ideals are the finite lists and the cototal ones the finite or infinite lists.. For the algebra D of derivations the