Formula Trees and Propositional Logic Flashcards

1
Q

Definition: A language L of propositional (or sentential) logic consists of …

A
  1. a set PVar(L) of propositional variables: P0, P1, P2, …
  2. a set of Conn1(L) of unary (one) logical connectives, containing ¬ (negation)
  3. a set Conn2(L) of binary logical connectives, containing: ∧ (conjunction), ∨ (disjuction), ⊃ (implication)

L is the meta-variable for a formal language

Not need to distinguish between arity of connectives, speak of set Conn(L) of logical connectives, such that Conn(L) = Conn1(L) ⋃ Conn2(L)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Recursive definition of a formula tree:

A
  1. Base clause: Any propositional variable Pi is a formula tree (atomic trees)
  2. Inductive Clauses: If A and B are formula trees: …
  3. Final Clause: Only trees that are obtained from the above rules are formula trees
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the different definition for the parts of a formula tree?

A

#1: Formula tree not a single propositional variable, then the top connective of the formula tree is called the main connective (also: root or top node)

#2: If the main connective is unary we say that the tree is unary; if the main connective of the formula is binary, then the tree is binary

#3: For the unary tree in the above inductive clases, subtree. For the binary trees in the above inductive clauses, A is the left subtree and B is the right subtree

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define interpretation:

A

mapping from the alphabet to the formula tree

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define truth value assignment:

A

Mapping f: PVar(L) → {T, F}

(f maps each propositional variable Pi to one of the truth values T or F)

Mapping: relation between two sets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Definition of a truth value of a formula tree:

State the cases

A would be considered a meta-variable

A

i. Case 1 (Atomic Formula Tree):
If A is a propositional variable, then the truth value of A if f(A)

ii. Case 2 (Unary Formula Tree):
If A is of the form …, then the trueth value of A is determined by the truth table, contingent on the value of B

*iii. Case 3 (Binary Formula Tree): *
If A is in the form …, then the truth valye of A is determined depending on the truth values of B and C by the respective truth tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Exercise 01:

If the truth value assignments of f maps P1 to T, P2 to F, and P3 to T, then what are the truth values of the following three formula trees?

A

a) T
b) T
c) T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Translating formula trees into other notation:

Prefix/ Preorder/ Polish Method:

A
  1. Visit the root
  2. Traverse the left subtree
  3. Traverse the right subtree

Start from top

More economical - no parentheses are necessary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Translating formula trees into other notation:

Infix/ Inorder/ Algebraic Method:

A
  1. Traverse the left subtree
  2. Visit the root
  3. Traverse the right subtree

Easier to read

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Translating formula trees into other notation:

Postfix/ Postorder/ Endorder Method:

A
  1. Traverse the left subtree
  2. Traverse the right subtree
  3. Visit the root
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Translating formula trees into other notation:

Frege’s Begriffsschrift notation:

A

Variant of the prefix representation is Frege’s two-dimentional notation

Isomorphic relationship with the formula trees from exercise 01

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Translating formula trees into other notation:

Dot notation by Peano/Whitehead and Russell:

A

Isomorphic to exercise 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is propositional logic?

A

A formal language to express logical relations between propositions or statements. Can be true or false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Alphabet of propositional logic:

A
  1. Propositional Variables: P0, P1, P2, …
  2. Logical Connectives: ∧ (conjunction), ∨ (disjuction), ⊃ (implication), and ~ (negation)
  3. Parenthesis: (, ).

Since we do not want to consider all possible combinations of these symbols, we restrict ourselves to well-formed formulas (wff) are defined by the following recursive definition:
1. Base Clause: P1 is a wff for i E ℕ. These wffs are also called atomics wffs
2. Inductive clauses: IF A and B are wffs thhen so are the logic connectives between them
3. Final Clause: Only strings of symbols that are obtained by the above two rules are wffs.

Note: ‘A’ and ‘B’ are not wffs themselves, but only metalogical variables that stand for wffs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How does parenthesis relate to formulas

A

Clutter
To avoid clutter, leave out parentheses when its clear how the formulas are intended to be read.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Bivalence and propositional logic:

A

Only consider two truth values, true and false (T and F)
In classical logic every proposition is either true or false (principle of bivalence)

17
Q

How are connectives in classical logic truth-functional?

A

Given a interpretation of the components of wff into the set of truth values (truth assignment), we can determine the truth value of a more complicated wff:

18
Q

Truth value assignment of the connective “conjunction”

A
19
Q

Truth value assignment of the connective “disjunction”

A
20
Q

Truth value assignment of the connective “implication”

A

A implies B: not have a causational relationshp

21
Q

Define tautologies:

A

If a wff is always true

22
Q

What are logically equivalent formulas?

A

Conjuctions and disjuctions are be given explicit meanings in terms or implication and negation:

23
Q

What are the minimum set of connectives?

A

{~, ⊃}, {~, ∧}, and {~, ∨}

Any of these pairs is sufficient to define the other connectives