28. predicate logic lidity - helsingin yliopisto · 2011-04-01 · last viewed deductions! en a...
TRANSCRIPT
28. Predicate LogicValidity
The Lecture
Last viewed
Validity
Jouko Väänänen: Predicate logic
Last viewed
ValidityIn everyday language a person utters a validity if he or she says something which is true but only because of its form, like every day is rainy or else some days are not rainy.
Jouko Väänänen: Predicate logic
Last viewed
ValidityIn everyday language a person utters a validity if he or she says something which is true but only because of its form, like every day is rainy or else some days are not rainy.A formula of predicate logic is valid, or a validity, if it is satisfied by every assignment in every structure.
Jouko Väänänen: Predicate logic
Last viewed
ValidityIn everyday language a person utters a validity if he or she says something which is true but only because of its form, like every day is rainy or else some days are not rainy.A formula of predicate logic is valid, or a validity, if it is satisfied by every assignment in every structure. Examples
xA ¬ x¬A xA ¬ x¬Ax(A B) xA xBx(A B) xA xBx x=x (identity axioms have the special role that they are
always assumed when �”=�” is part of the formula.)
Jouko Väänänen: Predicate logic
Last viewed
Satisfiable
Jouko Väänänen: Predicate logic
Last viewed
Satisfiable
A formula is satisfiable if it is satisfied by some assignment in some structure.
Jouko Väänänen: Predicate logic
Last viewed
Satisfiable
A formula is satisfiable if it is satisfied by some assignment in some structure.Examples
Jouko Väänänen: Predicate logic
Last viewed
Satisfiable
A formula is satisfiable if it is satisfied by some assignment in some structure.Examples
�• x yR0(x,y) ¬ y xR0(x,y)
�• x(P0(x) P1(x)) (¬ xP0(x) ¬ xP1(x))
�•¬( xP0(x) xP0(x))
Jouko Väänänen: Predicate logic
Last viewed
Contingent
Jouko Väänänen: Predicate logic
Last viewed
ContingentA formula is contingent if it is both consistent and refutable. A person utters a contingency, like �”It is raining�” if what he or she says can be true but can also be false.
Jouko Väänänen: Predicate logic
Last viewed
ContingentA formula is contingent if it is both consistent and refutable. A person utters a contingency, like �”It is raining�” if what he or she says can be true but can also be false.Examples
xP0(x)
x yR0(x,y)
x(R0(x,y) P0(x))
x=y (depending on the assignment this can be true or false)
Jouko Väänänen: Predicate logic
Last viewed
Refutable
Jouko Väänänen: Predicate logic
Last viewed
Refutable
A formula is refutable if there are an assignment s and a structure M that refute it, i.e. The assignment s does not satisfy the formula in M. It is like someone says �”Every day in August is rainy�” and you refute it by pointing out that in the year 1996 there was a day in August when it did not rain.
Jouko Väänänen: Predicate logic
Last viewed
Refutable
A formula is refutable if there are an assignment s and a structure M that refute it, i.e. The assignment s does not satisfy the formula in M. It is like someone says �”Every day in August is rainy�” and you refute it by pointing out that in the year 1996 there was a day in August when it did not rain.
ExamplesxP0(x) xP0(x)
x yR0(x,y) y xR0(x,y)
x=y
Jouko Väänänen: Predicate logic
Last viewed
Contradiction
Jouko Väänänen: Predicate logic
Last viewed
ContradictionIn everyday language a person utters a contradiction if he or she says something which is false merely because of its form, like Every day is sunny but August 15 is not sunny.
Jouko Väänänen: Predicate logic
Last viewed
ContradictionIn everyday language a person utters a contradiction if he or she says something which is false merely because of its form, like Every day is sunny but August 15 is not sunny.A formula of predicate logic is a contradiction if it is not satisfied by any assignment in any structure.
Jouko Väänänen: Predicate logic
Last viewed
ContradictionIn everyday language a person utters a contradiction if he or she says something which is false merely because of its form, like Every day is sunny but August 15 is not sunny.A formula of predicate logic is a contradiction if it is not satisfied by any assignment in any structure.Examples
xA x¬A xA x¬Ax(A B) x(A ¬B)
x=y x=z ¬y=z (Identity has a special role. We always assume the identity axioms if = is present. Therefore this formula is a contradiction.)
Jouko Väänänen: Predicate logic
Last viewed
Categories of formulas of predicate logic
Contradictions
Validities
Contingencies
Jouko Väänänen: Predicate logic
Last viewed
Categories of formulas of predicate logic
Every formula of predicate logic is either a validity, a contradiction or a contingency.
Contradictions
Validities
Contingencies
Jouko Väänänen: Predicate logic
Last viewed
Categories of formulas of predicate logic
Every formula of predicate logic is either a validity, a contradiction or a contingency.Every satisfiable formula is either valid or contingent.
Contradictions
Validities
Contingencies
Jouko Väänänen: Predicate logic
Last viewed
Categories of formulas of predicate logic
Every formula of predicate logic is either a validity, a contradiction or a contingency.Every satisfiable formula is either valid or contingent.Every refutable formula is either a contradiction or a contingency
Contradictions
Validities
Contingencies
Jouko Väänänen: Predicate logic
Last viewed
Hard question
Jouko Väänänen: Predicate logic
Last viewed
Hard question
Given a formula, can you decide mechanically whether it is a validity, a contradiction or a contingency?
Jouko Väänänen: Predicate logic
Last viewed
Hard question
Given a formula, can you decide mechanically whether it is a validity, a contradiction or a contingency?It can be proved that this is not possible (if mechanically is interpreted as is now common).
Jouko Väänänen: Predicate logic
Last viewed
The method of deductions
Jouko Väänänen: Predicate logic
Last viewed
The method of deductions
�•Given a potential deduction for a formula A it is not difficult to check whether the deduction is correct or not.
Jouko Väänänen: Predicate logic
Last viewed
The method of deductions
�•Given a potential deduction for a formula A it is not difficult to check whether the deduction is correct or not.�•This can be done mechanically. Such computer programs are called proof checkers.
Jouko Väänänen: Predicate logic
Last viewed
The method of deductions
�•Given a potential deduction for a formula A it is not difficult to check whether the deduction is correct or not.�•This can be done mechanically. Such computer programs are called proof checkers.�•One can make a list of all possible deductions and check them one by one.
Jouko Väänänen: Predicate logic
Last viewed
The method of deductions
�•Given a potential deduction for a formula A it is not difficult to check whether the deduction is correct or not.�•This can be done mechanically. Such computer programs are called proof checkers.�•One can make a list of all possible deductions and check them one by one.�•The hard case is when there is no deduction, so it takes infinite time to find it out.
Jouko Väänänen: Predicate logic
Last viewed
Equivalence of formulas
Jouko Väänänen: Predicate logic
Last viewed
Equivalence of formulas
Two formulas of predicate logic, A and B, are called (logically) equivalent if A B is a validity.
Jouko Väänänen: Predicate logic
Last viewed
Equivalence of formulas
Two formulas of predicate logic, A and B, are called (logically) equivalent if A B is a validity.
Equivalence of formulas is used in everyday language and in science all the time, often without paying much attention to it.
Jouko Väänänen: Predicate logic
Last viewed
Formula Equivalent formula
Condition
xA ¬ x¬A
xA ¬ x¬A
x(A B) xA xB
x(A B) xA xB
x yA y xA
x yA y xA
x(A B) xA B x not free in B
x(A B) A xB x not free in A
x(A B) xA B x not free in B
Equivalent formulas of predicate logic
Jouko Väänänen: Predicate logic
Last viewed
The method
Jouko Väänänen: Propositional logic
Last viewed
The method
Jouko Väänänen: Propositional logic
Last viewed
The method
Jouko Väänänen: Propositional logic
Last viewed
The method
Jouko Väänänen: Propositional logic
Last viewed
The method
Jouko Väänänen: Propositional logic