130
Logic 1

Logic - Uni Salzburg

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Logic - Uni Salzburg

Logic

1

Page 2: Logic - Uni Salzburg

In the beginning

Aristotle +/- 350 B.C.

Organon

19 syllogisms

2

Page 3: Logic - Uni Salzburg

In the beginning

Aristotle +/- 350 B.C.

Organon

19 syllogisms

Logic = study of correct reasoning

2

Page 4: Logic - Uni Salzburg

Barbara syllogism

All K’s are L’sAll L’s are M’s

———————All K’s are M’s

3

Page 5: Logic - Uni Salzburg

Barbara syllogismonly later called so,in the Middle Ages

All K’s are L’sAll L’s are M’s

———————All K’s are M’s

3

Page 6: Logic - Uni Salzburg

Barbara syllogismonly later called so,in the Middle Ages

All K’s are L’sAll L’s are M’s

———————All K’s are M’s

from the two premises

3

Page 7: Logic - Uni Salzburg

Barbara syllogismonly later called so,in the Middle Ages

All K’s are L’sAll L’s are M’s

———————All K’s are M’s

from the two premises

one can always conclude the

conclusion

3

Page 8: Logic - Uni Salzburg

Barbara syllogismonly later called so,in the Middle Ages

All K’s are L’sAll L’s are M’s

———————All K’s are M’s

from the two premises

one can always conclude the

conclusion

independent of what the parameters K,L,M are

3

Page 9: Logic - Uni Salzburg

Barbara syllogismonly later called so,in the Middle Ages

All K’s are L’sAll L’s are M’s

———————All K’s are M’s

from the two premises

one can always conclude the

conclusion

independent of what the parameters K,L,M are

Logic (Logos, Greek for word, understanding, reason) deals with general reasoning laws in the form of formulas with parameters.

3

Page 10: Logic - Uni Salzburg

Propositions

4

Page 11: Logic - Uni Salzburg

Propositions

Def. A proposition (Aussage) is a grammatically correct sentence that is either true or false.

4

Page 12: Logic - Uni Salzburg

Propositions

Def. A proposition (Aussage) is a grammatically correct sentence that is either true or false.

logic deals with patterns! what matters are not particular

propositions but the way in which (abstract) propositions

are combined and what follows from them

4

Page 13: Logic - Uni Salzburg

Propositions

Def. A proposition (Aussage) is a grammatically correct sentence that is either true or false.

logic deals with patterns! what matters are not particular

propositions but the way in which (abstract) propositions

are combined and what follows from them

Connectives

∧ for “and”∨ for “or”¬ for “not”⇒ for “if .. then” or “implies”

⇔ for “if and only if”

4

Page 14: Logic - Uni Salzburg

Abstract propositions

5

Page 15: Logic - Uni Salzburg

Abstract propositions

Definition

Basis Propositional variables are abstract propositions.

Step (Case 1) If P is an abstract proposition, then so is (¬P).

Step (Case 2) If P and Q are abstract propositions, then so are (P ∧ Q), (P ∨ Q), (P ⇒ Q), and (P ⇔ Q).

5

Page 16: Logic - Uni Salzburg

Abstract propositions

a recursive/inductivedefinition

Definition

Basis Propositional variables are abstract propositions.

Step (Case 1) If P is an abstract proposition, then so is (¬P).

Step (Case 2) If P and Q are abstract propositions, then so are (P ∧ Q), (P ∨ Q), (P ⇒ Q), and (P ⇔ Q).

5

Page 17: Logic - Uni Salzburg

…and their structure

∧¬

a b c

6

Page 18: Logic - Uni Salzburg

…and their structure

the tree of((a ∧ b) ⇒ (¬c))

∧¬

a b c

6

Page 19: Logic - Uni Salzburg

…and their structure

the tree of((a ∧ b) ⇒ (¬c))

∧¬

a b c

building

6

Page 20: Logic - Uni Salzburg

…and their structure

the tree of((a ∧ b) ⇒ (¬c))

∧¬

a b c

building

decomposing

6

Page 21: Logic - Uni Salzburg

…and their structure

tree representation(no need of parenthesis)

the tree of((a ∧ b) ⇒ (¬c))

∧¬

a b c

building

decomposing

6

Page 22: Logic - Uni Salzburg

Dropping parenthesis

¬∧ ∨⇒⇔

7

Page 23: Logic - Uni Salzburg

Dropping parenthesis

priority schema(top binds the most)

¬∧ ∨⇒⇔

7

Page 24: Logic - Uni Salzburg

Dropping parenthesis

priority schema(top binds the most)

increasing priority

¬∧ ∨⇒⇔

7

Page 25: Logic - Uni Salzburg

Dropping parenthesis

priority schema(top binds the most)

increasing priority

decreasing priority¬∧ ∨⇒⇔

7

Page 26: Logic - Uni Salzburg

Dropping parenthesis

Example: ((a ∧ b) ⇒ (¬c))

becomes a ∧ b ⇒ ¬cpriority schema

(top binds the most)

increasing priority

decreasing priority¬∧ ∨⇒⇔

7

Page 27: Logic - Uni Salzburg

Truth tables

Conjunction

P Q P∧Q

0 0 0

0 1 0

1 0 0

1 1 1

8

Page 28: Logic - Uni Salzburg

Truth tables

Conjunction

P Q P∧Q

0 0 0

0 1 0

1 0 0

1 1 1

8

Page 29: Logic - Uni Salzburg

Truth tables

Conjunction

P Q P∧Q

0 0 0

0 1 0

1 0 0

1 1 1 only true when both P and Q are true

8

Page 30: Logic - Uni Salzburg

Truth tables

Disjunction

P Q P∨Q

0 0 0

0 1 1

1 0 1

1 1 1

9

Page 31: Logic - Uni Salzburg

Truth tables

Disjunction

P Q P∨Q

0 0 0

0 1 1

1 0 1

1 1 1

9

Page 32: Logic - Uni Salzburg

Truth tables

Disjunction

P Q P∨Q

0 0 0

0 1 1

1 0 1

1 1 1

true when either P or Q or both are

true

9

Page 33: Logic - Uni Salzburg

Truth tables

Negation

10

Page 34: Logic - Uni Salzburg

Truth tables

Negationunary connective

10

Page 35: Logic - Uni Salzburg

Truth tables

Negation

P ¬P

0 1

1 0

unary connective

10

Page 36: Logic - Uni Salzburg

Truth tables

Negation

P ¬P

0 1

1 0

unary connective

10

Page 37: Logic - Uni Salzburg

Truth tables

Negation

P ¬P

0 1

1 0

true when P is false

unary connective

10

Page 38: Logic - Uni Salzburg

Truth tables

Implication

11

Page 39: Logic - Uni Salzburg

Truth tables

Implicationneeds more attention

11

Page 40: Logic - Uni Salzburg

Truth tables

Implication

P Q P ⇒ Q

0 0 1

0 1 1

1 0 0

1 1 1

needs more attention

11

Page 41: Logic - Uni Salzburg

Truth tables

Implication

P Q P ⇒ Q

0 0 1

0 1 1

1 0 0

1 1 1

needs more attention

11

Page 42: Logic - Uni Salzburg

Truth tables

Implication

P Q P ⇒ Q

0 0 1

0 1 1

1 0 0

1 1 1

only false when P is true and Q is false

needs more attention

11

Page 43: Logic - Uni Salzburg

Truth tables

Bi-implication

12

Page 44: Logic - Uni Salzburg

Truth tables

Bi-implication

P⇔Q

is (P ⇒ Q)∧(Q ⇒ P)

12

Page 45: Logic - Uni Salzburg

Truth tables

Bi-implication

P Q P ⇒ Q Q ⇒ P P ⇔ Q

0 0 1 1 1

0 1 1 0 0

1 0 0 1 0

1 1 1 1 1

P⇔Q

is (P ⇒ Q)∧(Q ⇒ P)

12

Page 46: Logic - Uni Salzburg

Truth tables

Bi-implication

P Q P ⇒ Q Q ⇒ P P ⇔ Q

0 0 1 1 1

0 1 1 0 0

1 0 0 1 0

1 1 1 1 1

P⇔Q

is (P ⇒ Q)∧(Q ⇒ P)

12

Page 47: Logic - Uni Salzburg

Truth tables

Bi-implication

P Q P ⇒ Q Q ⇒ P P ⇔ Q

0 0 1 1 1

0 1 1 0 0

1 0 0 1 0

1 1 1 1 1

P⇔Q

is (P ⇒ Q)∧(Q ⇒ P)

12

Page 48: Logic - Uni Salzburg

Truth tables

Bi-implication

P Q P ⇒ Q Q ⇒ P P ⇔ Q

0 0 1 1 1

0 1 1 0 0

1 0 0 1 0

1 1 1 1 1

P⇔Q

is (P ⇒ Q)∧(Q ⇒ P)

true when P and Q have the same truth

value

12

Page 49: Logic - Uni Salzburg

Truth-functionsDef. A truth-function or Boolean function is a function f: {0,1}n ⟶ {0,1}

13

Page 50: Logic - Uni Salzburg

Truth-functionsDef. A truth-function or Boolean function is a function f: {0,1}n ⟶ {0,1}

Property: Every abstract proposition P(a1,..,an) induces a truth-function.

13

Page 51: Logic - Uni Salzburg

Truth-functionsDef. A truth-function or Boolean function is a function f: {0,1}n ⟶ {0,1}

Property: Every abstract proposition P(a1,..,an) induces a truth-function.

by its inductive structure, using the

truth tables

13

Page 52: Logic - Uni Salzburg

Truth-functionsDef. A truth-function or Boolean function is a function f: {0,1}n ⟶ {0,1}

Property: Every abstract proposition P(a1,..,an) induces a truth-function.

by its inductive structure, using the

truth tables

{Notation in the book… a, b(0,0) ⟼ 0

(0,1) ⟼ 1

(1,0) ⟼ 0

(1,1) ⟼ 1 13

Page 53: Logic - Uni Salzburg

Truth-functionsDef. A truth-function or Boolean function is a function f: {0,1}n ⟶ {0,1}

Property: Every abstract proposition P(a1,..,an) induces a truth-function.

by its inductive structure, using the

truth tables

P(a,b): (a ∧ b) ∨ b{Notation in the book… a, b(0,0) ⟼ 0

(0,1) ⟼ 1

(1,0) ⟼ 0

(1,1) ⟼ 1 13

Page 54: Logic - Uni Salzburg

Truth-functionsDef. A truth-function or Boolean function is a function f: {0,1}n ⟶ {0,1}

Property: Every abstract proposition P(a1,..,an) induces a truth-function.

by its inductive structure, using the

truth tables

a1, .. an are the variables in P (and more) ordered in a sequence

P(a,b): (a ∧ b) ∨ b{Notation in the book… a, b(0,0) ⟼ 0

(0,1) ⟼ 1

(1,0) ⟼ 0

(1,1) ⟼ 1 13

Page 55: Logic - Uni Salzburg

Truth-functions

Property: Every abstract proposition P(a1,..,an) with ordered and specified variables induces a truth-function.

a1, .. an are the variables in P (and more) ordered in a sequence

P(a,b,c):

induces

(a ∧ b) ∨ b

The sequence of specified variables matters!

Note: a, b, c(0,0,0) ⟼ 0

(0,0,1) ⟼ 0

(0,1,0) ⟼ 1

(0,1,1) ⟼ 1

(1,0,0) ⟼ 0

(1,0,1) ⟼ 0

(1,1,0) ⟼ 1

(1,1,1) ⟼ 1

14

Page 56: Logic - Uni Salzburg

Equivalence of propositions

15

Page 57: Logic - Uni Salzburg

Equivalence of propositions

Definition: Two abstract propositions P and Q are equivalent, notation P = Q, iff they induce the same truth-functionval

on any sequence containing their common variables

15

Page 58: Logic - Uni Salzburg

Equivalence of propositions

Property: The relation = is an equivalence on the set of all abstract propositions

val

Definition: Two abstract propositions P and Q are equivalent, notation P = Q, iff they induce the same truth-functionval

on any sequence containing their common variables

15

Page 59: Logic - Uni Salzburg

Equivalence of propositions

Property: The relation = is an equivalence on the set of all abstract propositions

val

i.e., for all abstract propositions P, Q, R, (1) P = P; (2) if P = Q, then Q = P; and

(3) if P = Q and Q = R, then P = Rval val val

valvalval

Definition: Two abstract propositions P and Q are equivalent, notation P = Q, iff they induce the same truth-functionval

on any sequence containing their common variables

15

Page 60: Logic - Uni Salzburg

Exampleb b c cAre the following equivalent? and

0 0

0 1

1 0

1 1

b b c ccb b c

16

Page 61: Logic - Uni Salzburg

Exampleb b c cAre the following equivalent? and

0 0 1

0 1 1

1 0 0

1 1 0

b b c ccb b c

17

Page 62: Logic - Uni Salzburg

Exampleb b c cAre the following equivalent? and

0 0 1 1

0 1 1 0

1 0 0 1

1 1 0 0

b b c ccb b c

18

Page 63: Logic - Uni Salzburg

Exampleb b c cAre the following equivalent? and

0 0 1 1 0

0 1 1 0 0

1 0 0 1 0

1 1 0 0 0

b b c ccb b c

19

Page 64: Logic - Uni Salzburg

Exampleb b c cAre the following equivalent? and

0 0 1 1 0 0

0 1 1 0 0 0

1 0 0 1 0 0

1 1 0 0 0 0

b b c ccb b c

20

Page 65: Logic - Uni Salzburg

Exampleb b c cAre the following equivalent? and

0 0 1 1 0 0

0 1 1 0 0 0

1 0 0 1 0 0

1 1 0 0 0 0

b b c ccb b c

Their truth values are the same, so they are equivalentb b

valc c

21

Page 66: Logic - Uni Salzburg

Tautologies and contradictions

22

Page 67: Logic - Uni Salzburg

Tautologies and contradictions

Def. An abstract proposition P is a tautology iff its truth-function is constant 1.

22

Page 68: Logic - Uni Salzburg

Tautologies and contradictions

Def. An abstract proposition P is a tautology iff its truth-function is constant 1.

Def. An abstract proposition P is a contradiction iff its truth-function is constant 0.

22

Page 69: Logic - Uni Salzburg

Tautologies and contradictions

Def. An abstract proposition P is a tautology iff its truth-function is constant 1.

Def. An abstract proposition P is a contradiction iff its truth-function is constant 0.

Def. An abstract proposition P is a contingency iff it is neither a tautology nor a contradiction.22

Page 70: Logic - Uni Salzburg

Tautologies and contradictions

Def. An abstract proposition P is a tautology iff its truth-function is constant 1.

Def. An abstract proposition P is a contradiction iff its truth-function is constant 0.

Def. An abstract proposition P is a contingency iff it is neither a tautology nor a contradiction.

all tautologies areequivalent

22

Page 71: Logic - Uni Salzburg

Tautologies and contradictions

Def. An abstract proposition P is a tautology iff its truth-function is constant 1.

Def. An abstract proposition P is a contradiction iff its truth-function is constant 0.

Def. An abstract proposition P is a contingency iff it is neither a tautology nor a contradiction.

all tautologies areequivalent

all contradictions are equivalent

22

Page 72: Logic - Uni Salzburg

Tautologies and contradictions

Def. An abstract proposition P is a tautology iff its truth-function is constant 1.

Def. An abstract proposition P is a contradiction iff its truth-function is constant 0.

Def. An abstract proposition P is a contingency iff it is neither a tautology nor a contradiction.

all tautologies areequivalent

all contradictions are equivalentbut not all

contingencies!

22

Page 73: Logic - Uni Salzburg

Abstract propositions

a recursive/inductivedefinition

Definition

Basis (Case 1) T and F are abstract propositions.Basis (Case 2) Propositional variables are abstract propositions.

Step (Case 1) If P is an abstract proposition, then so is (¬P).Step (Case 2) If P and Q are abstract propositions, then so are (P ∧ Q), (P ∨ Q), (P ⇒ Q), and (P ⇔ Q).

23

Page 74: Logic - Uni Salzburg

Propositional LogicStandard Equivalences

24

Page 75: Logic - Uni Salzburg

Commutativity and Associativity

P Qval

Q P

P Qval

Q P

P Qval

Q P

Commutativity

25

Page 76: Logic - Uni Salzburg

Commutativity and Associativity

P Qval

Q P

P Qval

Q P

P Qval

Q P

Commutativity

P Qval

Q P

P Q P Q Q P0 1 1 0

26

Page 77: Logic - Uni Salzburg

Commutativity and Associativity

P Qval

Q P

P Qval

Q P

P Qval

Q P

Commutativity

P Q Rval

P Q R

P Q Rval

P Q R

P Q Rval

P Q R

Associativity

27

Page 78: Logic - Uni Salzburg

Commutativity and Associativity

P Qval

Q P

P Qval

Q P

P Qval

Q P

Commutativity

P Q Rval

P Q R

P Q Rval

P Q R

P Q Rval

P Q R

Associativity

P Q Rval

P Q R

28

Page 79: Logic - Uni Salzburg

Commutativity and Associativity

P Qval

Q P

P Qval

Q P

P Qval

Q P

Commutativity

P Q Rval

P Q R

P Q Rval

P Q R

P Q Rval

P Q R

Associativity

P Q Rval

P Q R

P Q R P Q R P Q R

29

Page 80: Logic - Uni Salzburg

Commutativity and Associativity

P Qval

Q P

P Qval

Q P

P Qval

Q P

Commutativity

P Q Rval

P Q R

P Q Rval

P Q R

P Q Rval

P Q R

Associativity

P Q Rval

P Q R

P Q R P Q R P Q R0 1 0

30

Page 81: Logic - Uni Salzburg

Commutativity and Associativity

P Qval

Q P

P Qval

Q P

P Qval

Q P

Commutativity

P Q Rval

P Q R

P Q Rval

P Q R

P Q Rval

P Q R

Associativity

P Q Rval

P Q R

P Q R P Q R P Q R0 1 0 0 1

31

Page 82: Logic - Uni Salzburg

Idempotence and Double Negation

Idempotence

P Pval

P

P Pval

P

P Pval

P

P Pval

P

32

Page 83: Logic - Uni Salzburg

Idempotence and Double Negation

Idempotence

P Pval

P

P Pval

P

P Pval

P

P Pval

P

Double negation

Pval

P

33

Page 84: Logic - Uni Salzburg

T and F

Inversion

Tval

F

Fval

T

34

Page 85: Logic - Uni Salzburg

T and F

Inversion

Tval

F

Fval

T

Negation

Pval

P F

35

Page 86: Logic - Uni Salzburg

T and F

Inversion

Tval

F

Fval

T

Negation

Pval

P F

Contradiction

P Pval

F

36

Page 87: Logic - Uni Salzburg

T and F

Inversion

Tval

F

Fval

T

Negation

Pval

P F

Contradiction

P Pval

F

Excluded Middle

P Pval

T37

Page 88: Logic - Uni Salzburg

T and F

Inversion

Tval

F

Fval

T

Negation

Pval

P F

Contradiction

P Pval

F

Excluded Middle

P Pval

T

T/F - elimination

P Tval

P Fval

P Tval

P Fval

38

Page 89: Logic - Uni Salzburg

T and F

Inversion

Tval

F

Fval

T

Negation

Pval

P F

Contradiction

P Pval

F

Excluded Middle

P Pval

T

T/F - elimination

P Tval

P

P Fval

F

P Tval

T

P Fval

P

39

Page 90: Logic - Uni Salzburg

Distributivity, De Morgan

Distributivity

P Q Rval

P Q P R

P Q Rval

P Q P R

40

Page 91: Logic - Uni Salzburg

Distributivity, De Morgan

Distributivity

P Q Rval

P Q P R

P Q Rval

P Q P R

De Morgan

P Qval

P Q

P Qval

P Q

41

Page 92: Logic - Uni Salzburg

Implication and Contraposition

Implication

P Qval

P Q

P Qval

P Q

42

Page 93: Logic - Uni Salzburg

Implication and Contraposition

Implication

P Qval

P Q

P Qval

P Q

Contraposition

P Qval

Q P

43

Page 94: Logic - Uni Salzburg

Implication and Contraposition

Implication

P Qval

P Q

P Qval

P Q

Contraposition

P Qval

Q P P Qval

P Q

common mistake!

44

Page 95: Logic - Uni Salzburg

Bi-implication and Self-equivalence

Bi-implication

P Qval

P Q Q P

45

Page 96: Logic - Uni Salzburg

Bi-implication and Self-equivalence

Bi-implication

Self-equivalence

P Qval

P Q Q P

P Pval

46

Page 97: Logic - Uni Salzburg

Bi-implication and Self-equivalence

Bi-implication

Self-equivalence

P Qval

P Q Q P

P Pval

T

47

Page 98: Logic - Uni Salzburg

Calculating with equivalent propositions

(the use of standard equivalences)

48

Page 99: Logic - Uni Salzburg

Recall…

Definition: Two abstract propositions P and Q are equivalent, notation P = Q, iff they induce the same truth-functionval

Property: The relation = is an equivalence on the set of all abstract propositions.

val

on any sequence containing their common variables

i.e., for all abstract propositions P, Q, R, (1) P = P; (2) if P = Q, then Q = P; and

(3) if P = Q and Q = R, then P = Rval val val

valvalval

49

Page 100: Logic - Uni Salzburg

Substitution

Simple

50

Page 101: Logic - Uni Salzburg

Substitution

Simple

EVERY occurrence of P is substituted!

50

Page 102: Logic - Uni Salzburg

Substitution

Simple Sequential

EVERY occurrence of P is substituted!

50

Page 103: Logic - Uni Salzburg

Substitution

Simple Sequential

Simultaneous EVERY occurrence of P is substituted!

50

Page 104: Logic - Uni Salzburg

Substitution

Simple Sequential

Simultaneous EVERY occurrence of P is substituted!

meta rule

50

Page 105: Logic - Uni Salzburg

The rule of Leibnitz

Leibnitz

51

Page 106: Logic - Uni Salzburg

The rule of Leibnitz

Leibnitz

single occurrence is

replaced!

51

Page 107: Logic - Uni Salzburg

The rule of Leibnitz

Leibnitz

single occurrence is

replaced!formula that has

as a sub formula

51

Page 108: Logic - Uni Salzburg

The rule of Leibnitz

Leibnitz

single occurrence is

replaced!

meta rule

formula that has as a sub formula

51

Page 109: Logic - Uni Salzburg

Strengthening and

weakening

52

Page 110: Logic - Uni Salzburg

We hadDefinition: Two abstract propositions P and Q are equivalent, notation P = Q, iff (1) Always when P has truth value 1, also Q has truth value 1, and (2) Always when Q has truth value 1, also P has truth value 1.

val

53

Page 111: Logic - Uni Salzburg

We hadDefinition: Two abstract propositions P and Q are equivalent, notation P = Q, iff (1) Always when P has truth value 1, also Q has truth value 1, and (2) Always when Q has truth value 1, also P has truth value 1.

val

if we relax this, we get

strengthening

53

Page 112: Logic - Uni Salzburg

We hadDefinition: Two abstract propositions P and Q are equivalent, notation P = Q, iff (1) Always when P has truth value 1, also Q has truth value 1, and (2) Always when Q has truth value 1, also P has truth value 1.

val

if we relax this, we get

strengthening

in an equivalentformulation

53

Page 113: Logic - Uni Salzburg

Strengthening

Definition: The abstract proposition P is stronger than Q, notation P = Q, iff (1) Always when P has truth value 1, also Q has truth value 1, and (2) Always when Q has truth value 1, also P has truth value 1.

val

54

Page 114: Logic - Uni Salzburg

Strengthening

Definition: The abstract proposition P is stronger than Q, notation P = Q, iff (1) Always when P has truth value 1, also Q has truth value 1, and (2) Always when Q has truth value 1, also P has truth value 1.

val

Q is weaker than P

54

Page 115: Logic - Uni Salzburg

Strengthening

Definition: The abstract proposition P is stronger than Q, notation P = Q, iff always when P has truth value 1, also Q has truth value 1.

val

55

Page 116: Logic - Uni Salzburg

Strengthening

Definition: The abstract proposition P is stronger than Q, notation P = Q, iff always when P has truth value 1, also Q has truth value 1.

val

always when P is true, Q is also true

55

Page 117: Logic - Uni Salzburg

Strengthening

Definition: The abstract proposition P is stronger than Q, notation P = Q, iff always when P has truth value 1, also Q has truth value 1.

val

Q is weaker than P

always when P is true, Q is also true

55

Page 118: Logic - Uni Salzburg

Properties

56

Page 119: Logic - Uni Salzburg

Properties

Lemma E1: iff is a tautology.

56

Page 120: Logic - Uni Salzburg

Properties

Lemma E1: iff is a tautology.

Lemma EW1: iff and .

56

Page 121: Logic - Uni Salzburg

Properties

Lemma W2: Pval

|ù P

Lemma E1: iff is a tautology.

Lemma EW1: iff and .

56

Page 122: Logic - Uni Salzburg

Properties

Lemma W2: Pval

|ù P

Lemma W3: If and then Pval

|ù Q Qval

|ù R Pval

|ù R

Lemma E1: iff is a tautology.

Lemma EW1: iff and .

56

Page 123: Logic - Uni Salzburg

Properties

Lemma W2: Pval

|ù P

Lemma W3: If and then Pval

|ù Q Qval

|ù R Pval

|ù R

Lemma E1: iff is a tautology.

Lemma EW1: iff and .

Lemma W4: iff is a tautology.

56

Page 124: Logic - Uni Salzburg

Standard Weakenings

and-or-weakening

Extremes

57

Page 125: Logic - Uni Salzburg

Calculating with weakenings(the use of standard weakenings)

58

Page 126: Logic - Uni Salzburg

Substitution

Sequential

Simultaneous

Simple

�r⇠{P sval

|ù r⇠{P s

59

Page 127: Logic - Uni Salzburg

Substitution

Sequential

Simultaneous

just holds

Simple

�r⇠{P sval

|ù r⇠{P s

59

Page 128: Logic - Uni Salzburg

Substitution

Sequential

Simultaneous EVERY occurrence of P is substituted!

just holds

Simple

�r⇠{P sval

|ù r⇠{P s

59

Page 129: Logic - Uni Salzburg

The rule of Leibnitz

Leibnitz

formula that has as a sub formula

does not hold for weakening!

60

Page 130: Logic - Uni Salzburg

Leibnitzdoes not hold for weakening!

Monotonicity

The rule of Leibnitz

61