Professional Documents
Culture Documents
LOGIC CONCEPTS
Introduction
• Example:
• Example:
Tree-like presentations
Sequential presentations
Rule for T
The simplest introduction rule is the one for T. It is called "unit". Because it has no
premises, this rule is an axiom: something that can start a proof.
Independence
An axiomatic system must have consistency (an internal logic that is not self-
contradictory). It is better if it also has independence, in which axioms are
independent of each other; you cannot get one axiom from another
Completeness
The third important quality, but not a requirement of an axiomatic system, is
completeness. Whatever we attempt to test with the system will either be
proven or its negative will be proven
Semantic Tableaux
A semantic tableau is a tree representing all the ways the conjunction of the formulas
at the root can be true.
We expand the formulas based on the structure of the compound formulas. This
expansion forms a tree.
If all branches in the tableau lead to a contradiction, then there is no way the
conjunction of the formulas at the root can be true.
A path of the tree represents the conjunction of the formulas along the path.
Semantic tableaux was invented by E.W. Beth and J. Hintikka (1965).
Showing Inconsistency
If all branches of a tableau are closed, the set of formulas at the root are
inconsistent. We can use semantic tableaux to show a set of formulas is
inconsistent.
Showing Validity
For an argument to be invalid, there has to be a way for the premises to be
true and the conclusion to be false. Equivalently, . . . there has to be a way for
the premises to be true and the negation of the conclusion to be true. To
show an argument is valid, we put the premises and the negation of the
conclusion at the root of a tableau. If we can close all the branches of the
tableau, then this set of formulas is inconsistent. This means the argument is
valid and we can write: p1, p2, p3, . . . `ST q
Tableaux Expansion Rules
• each of the binary logical connectives
• the negation of a formula with each binary logicalconnective
• double negation
• The rule numbers are provided to show you thecorrespondence with
Kelly’s text book. We will use namesrather than numbers for the rules.
• There is a summary sheet available on the course web page with the
semantic tableaux expansion rules.
Rules for Conjunction
• This rule can be applied to a formula with more than two conjuncts in a
single step.
• A semantic tableaux rule only applies to one formula (i.e., one line of the
tree).
Rules for Disjunction
This rule can be applied to a formula with more than two disjuncts in a single
step.
Heuristic
• Apply the non-branching rules first
• Usually this will result in shorter proofs.
• Rule for Negation
Quantifier:
• The variable of predicates is quantified by quantifiers. There are two types
of quantifier in predicate logic - Existential Quantifier and Universal
Quantifier.
Existential Quantifier:
• If p(x) is a proposition over the universe U. Then it is denoted as ∃x p(x)
and read as "There exists at least one value in the universe of variable x
such that p(x) is true. The quantifier ∃ is called the existential quantifier.
• There are several ways to write a proposition, with an existential
quantifier, i.e.,
• (∃x∈A)p(x) or ∃x∈A such that p (x) or (∃x)p(x) or p(x) is true
for some x ∈A.
Universal Quantifier:
• If p(x) is a proposition over the universe U. Then it is denoted as ∀x,p(x)
and read as "For every x∈U,p(x) is true." The quantifier ∀ is called the
Universal Quantifier.
• There are several ways to write a proposition, with a universal quantifier.
• ∀x∈A,p(x) or p(x), ∀x ∈A Or ∀x,p(x) or p(x) is true for all x
∈A.
Negation of Quantified Propositions:
• When we negate a quantified proposition, i.e., when a universally
quantified proposition is negated, we obtain an existentially quantified
proposition,and when an existentially quantified proposition is negated,
we obtain a universally quantified proposition.
• The two rules for negation of quantified proposition are as follows. These
are also called DeMorgan's Law.
Example: Negate each of the following propositions
Propositions with Multiple Quantifiers:
• The proposition which contains both universal and existential quantifiers,
the order of those quantifiers can't be exchanged without altering the
meaning of the proposition, e.g., the proposition ∃x ∀ y p(x,y) means
"There exists some x such that p (x, y) is true for every y."
• Example: Write the negation for each of the following. Determine whether
the resulting statement is true or false. Assume U = R.
• 1.∀ x ∃ m(x2<m) Sol: Negation of ∀ x ∃ m(x2<m) is ∃ x ∀ m (x2≥m). The
meaning of ∃ x ∀ m (x2≥m) is that there exists for some x such that x2≥m,
for every m. The statement is true as there is some greater x such that
x2≥m, for every m.
2.∃ m∀ x(x2<m)
• Sol: Negation of ∃ m ∀ x (x2<m) is ∀ m∃x (x2≥m). The meaning of ∀ m∃x
(x2≥m) is that for every m, there exists for some x such that x2≥m. The
statement is true as for every m, there exists for some greater x such that
x2≥m.