logic as a tool chapter 1 understanding propositional
play

Logic as a Tool Chapter 1: Understanding Propositional Logic 1.4 - PowerPoint PPT Presentation

Logic as a Tool Chapter 1: Understanding Propositional Logic 1.4 Inductive definitions Structural induction and recursion Valentin Goranko Stockholm University October 2016 Goranko Introduction Inductive definitions: a special kind of


  1. Inductive definition (2) of the set of propositional formulae Thus, the set of propositional formulae FOR can also be defined as the least set of words in the alphabet of propositional logic such that: Goranko

  2. Inductive definition (2) of the set of propositional formulae Thus, the set of propositional formulae FOR can also be defined as the least set of words in the alphabet of propositional logic such that: 1. Every Boolean constant is in FOR . Goranko

  3. Inductive definition (2) of the set of propositional formulae Thus, the set of propositional formulae FOR can also be defined as the least set of words in the alphabet of propositional logic such that: 1. Every Boolean constant is in FOR . 2. Every propositional variable is in FOR . Goranko

  4. Inductive definition (2) of the set of propositional formulae Thus, the set of propositional formulae FOR can also be defined as the least set of words in the alphabet of propositional logic such that: 1. Every Boolean constant is in FOR . 2. Every propositional variable is in FOR . 3. If A is in FOR then ¬ A is in FOR . Goranko

  5. Inductive definition (2) of the set of propositional formulae Thus, the set of propositional formulae FOR can also be defined as the least set of words in the alphabet of propositional logic such that: 1. Every Boolean constant is in FOR . 2. Every propositional variable is in FOR . 3. If A is in FOR then ¬ A is in FOR . 4. If each of A and B is in FOR then each of ( A ∧ B ) , ( A ∨ B ) , ( A → B ) , and ( A ↔ B ) is in FOR . Goranko

  6. Inductive definition (2) of the set of propositional formulae Thus, the set of propositional formulae FOR can also be defined as the least set of words in the alphabet of propositional logic such that: 1. Every Boolean constant is in FOR . 2. Every propositional variable is in FOR . 3. If A is in FOR then ¬ A is in FOR . 4. If each of A and B is in FOR then each of ( A ∧ B ) , ( A ∨ B ) , ( A → B ) , and ( A ↔ B ) is in FOR . This pattern of converting the inductive definition into explicit one is general and can be applied to every inductive definition. Goranko

  7. Inductive definition (2) of the set of propositional formulae Thus, the set of propositional formulae FOR can also be defined as the least set of words in the alphabet of propositional logic such that: 1. Every Boolean constant is in FOR . 2. Every propositional variable is in FOR . 3. If A is in FOR then ¬ A is in FOR . 4. If each of A and B is in FOR then each of ( A ∧ B ) , ( A ∨ B ) , ( A → B ) , and ( A ↔ B ) is in FOR . This pattern of converting the inductive definition into explicit one is general and can be applied to every inductive definition. For correctness of the definition above, it must be proved that the set FOR defined above exists , that it is unique , and that it equals FOR ∗ . Goranko

  8. Inductive definition (2) of the set of propositional formulae Thus, the set of propositional formulae FOR can also be defined as the least set of words in the alphabet of propositional logic such that: 1. Every Boolean constant is in FOR . 2. Every propositional variable is in FOR . 3. If A is in FOR then ¬ A is in FOR . 4. If each of A and B is in FOR then each of ( A ∧ B ) , ( A ∨ B ) , ( A → B ) , and ( A ↔ B ) is in FOR . This pattern of converting the inductive definition into explicit one is general and can be applied to every inductive definition. For correctness of the definition above, it must be proved that the set FOR defined above exists , that it is unique , and that it equals FOR ∗ . Equivalent inductive definition of FOR ∗ in a Backus-Naur normal form: A := p | ⊤ | ⊥ | ¬ A | ( A ∧ A ) | ( A ∨ A ) | ( A → A ) | ( A ↔ A ) where p ∈ PVAR . Goranko

  9. Induction principles and proofs by induction With every inductive definition, a scheme for proofs by induction can be associated. Goranko

  10. Induction principles and proofs by induction With every inductive definition, a scheme for proofs by induction can be associated. The construction of this scheme is uniform from the inductive definition, as illustrated below. Goranko

  11. Induction principles and proofs by induction With every inductive definition, a scheme for proofs by induction can be associated. The construction of this scheme is uniform from the inductive definition, as illustrated below. Principle of induction on the words in an alphabet: Given an alphabet A , let P be a property of words in A such that: Goranko

  12. Induction principles and proofs by induction With every inductive definition, a scheme for proofs by induction can be associated. The construction of this scheme is uniform from the inductive definition, as illustrated below. Principle of induction on the words in an alphabet: Given an alphabet A , let P be a property of words in A such that: 1. The empty string ǫ has the property P . Goranko

  13. Induction principles and proofs by induction With every inductive definition, a scheme for proofs by induction can be associated. The construction of this scheme is uniform from the inductive definition, as illustrated below. Principle of induction on the words in an alphabet: Given an alphabet A , let P be a property of words in A such that: 1. The empty string ǫ has the property P . 2. If the word w in A has the property P and a ∈ A , then the word wa has the property P . Goranko

  14. Induction principles and proofs by induction With every inductive definition, a scheme for proofs by induction can be associated. The construction of this scheme is uniform from the inductive definition, as illustrated below. Principle of induction on the words in an alphabet: Given an alphabet A , let P be a property of words in A such that: 1. The empty string ǫ has the property P . 2. If the word w in A has the property P and a ∈ A , then the word wa has the property P . Then, every word w in A has the property P . Goranko

  15. Induction on natural numbers Goranko

  16. Induction on natural numbers Principle of (mathematical) induction on natural numbers. Let P be a property of natural numbers such that: Goranko

  17. Induction on natural numbers Principle of (mathematical) induction on natural numbers. Let P be a property of natural numbers such that: 1. 0 has the property P . Goranko

  18. Induction on natural numbers Principle of (mathematical) induction on natural numbers. Let P be a property of natural numbers such that: 1. 0 has the property P . 2. For every natural number n , if n has the property P then Sn has the property P . Goranko

  19. Induction on natural numbers Principle of (mathematical) induction on natural numbers. Let P be a property of natural numbers such that: 1. 0 has the property P . 2. For every natural number n , if n has the property P then Sn has the property P . Then, every natural number n has the property P . Goranko

  20. Induction on natural numbers Principle of (mathematical) induction on natural numbers. Let P be a property of natural numbers such that: 1. 0 has the property P . 2. For every natural number n , if n has the property P then Sn has the property P . Then, every natural number n has the property P . Here is the same principle, stated in set-theoretic terms: Let P be a set of natural numbers such that: 1. 0 ∈ P . 2. For every natural number n , if n ∈ P then Sn ∈ P . Then, every natural number n is in P , i.e. P = N . Goranko

  21. Structural induction on propositional formulae Goranko

  22. Structural induction on propositional formulae The general pattern for defining a principle of induction for a set X defined by an inductive definition: replace throughout the definition “ is in the set X ” with “ satisfies the property P ”. Goranko

  23. Structural induction on propositional formulae The general pattern for defining a principle of induction for a set X defined by an inductive definition: replace throughout the definition “ is in the set X ” with “ satisfies the property P ”. Applied to the inductive definition of propositional formulae, it produces the following principle of structural induction on propositional formulae. Goranko

  24. Structural induction on propositional formulae The general pattern for defining a principle of induction for a set X defined by an inductive definition: replace throughout the definition “ is in the set X ” with “ satisfies the property P ”. Applied to the inductive definition of propositional formulae, it produces the following principle of structural induction on propositional formulae. Let P be a property of propositional formulae such that: Goranko

  25. Structural induction on propositional formulae The general pattern for defining a principle of induction for a set X defined by an inductive definition: replace throughout the definition “ is in the set X ” with “ satisfies the property P ”. Applied to the inductive definition of propositional formulae, it produces the following principle of structural induction on propositional formulae. Let P be a property of propositional formulae such that: 1. Every Boolean constant satisfies the property P . Goranko

  26. Structural induction on propositional formulae The general pattern for defining a principle of induction for a set X defined by an inductive definition: replace throughout the definition “ is in the set X ” with “ satisfies the property P ”. Applied to the inductive definition of propositional formulae, it produces the following principle of structural induction on propositional formulae. Let P be a property of propositional formulae such that: 1. Every Boolean constant satisfies the property P . 2. Every propositional variable satisfies the property P . Goranko

  27. Structural induction on propositional formulae The general pattern for defining a principle of induction for a set X defined by an inductive definition: replace throughout the definition “ is in the set X ” with “ satisfies the property P ”. Applied to the inductive definition of propositional formulae, it produces the following principle of structural induction on propositional formulae. Let P be a property of propositional formulae such that: 1. Every Boolean constant satisfies the property P . 2. Every propositional variable satisfies the property P . 3. If A satisfies the property P then ¬ A satisfies the property P . Goranko

  28. Structural induction on propositional formulae The general pattern for defining a principle of induction for a set X defined by an inductive definition: replace throughout the definition “ is in the set X ” with “ satisfies the property P ”. Applied to the inductive definition of propositional formulae, it produces the following principle of structural induction on propositional formulae. Let P be a property of propositional formulae such that: 1. Every Boolean constant satisfies the property P . 2. Every propositional variable satisfies the property P . 3. If A satisfies the property P then ¬ A satisfies the property P . 4. If each of A and B satisfies the property P then each of ( A ∧ B ) , ( A ∨ B ) , ( A → B ), and ( A ↔ B ) satisfies the property P . Goranko

  29. Structural induction on propositional formulae The general pattern for defining a principle of induction for a set X defined by an inductive definition: replace throughout the definition “ is in the set X ” with “ satisfies the property P ”. Applied to the inductive definition of propositional formulae, it produces the following principle of structural induction on propositional formulae. Let P be a property of propositional formulae such that: 1. Every Boolean constant satisfies the property P . 2. Every propositional variable satisfies the property P . 3. If A satisfies the property P then ¬ A satisfies the property P . 4. If each of A and B satisfies the property P then each of ( A ∧ B ) , ( A ∨ B ) , ( A → B ), and ( A ↔ B ) satisfies the property P . Then every propositional formula satisfies the property P . Goranko

  30. General framework for inductive definitions and principles The necessary ingredients for an inductive definition are: Goranko

  31. General framework for inductive definitions and principles The necessary ingredients for an inductive definition are: • A universe U . In the examples, the universes are sets of words in a given alphabet. Goranko

  32. General framework for inductive definitions and principles The necessary ingredients for an inductive definition are: • A universe U . In the examples, the universes are sets of words in a given alphabet. • A subset B ⊆ U of initial (basic) elements. In the examples, the sets of initial elements are respectively: { ǫ } ; { 0 } ; {⊤ , ⊥} ∪ PVAR . Goranko

  33. General framework for inductive definitions and principles The necessary ingredients for an inductive definition are: • A universe U . In the examples, the universes are sets of words in a given alphabet. • A subset B ⊆ U of initial (basic) elements. In the examples, the sets of initial elements are respectively: { ǫ } ; { 0 } ; {⊤ , ⊥} ∪ PVAR . • A set F of operations (constructors) in U . Goranko

  34. General framework for inductive definitions and principles The necessary ingredients for an inductive definition are: • A universe U . In the examples, the universes are sets of words in a given alphabet. • A subset B ⊆ U of initial (basic) elements. In the examples, the sets of initial elements are respectively: { ǫ } ; { 0 } ; {⊤ , ⊥} ∪ PVAR . • A set F of operations (constructors) in U . In the examples, these are: – the operation of appending a symbol to a word; Goranko

  35. General framework for inductive definitions and principles The necessary ingredients for an inductive definition are: • A universe U . In the examples, the universes are sets of words in a given alphabet. • A subset B ⊆ U of initial (basic) elements. In the examples, the sets of initial elements are respectively: { ǫ } ; { 0 } ; {⊤ , ⊥} ∪ PVAR . • A set F of operations (constructors) in U . In the examples, these are: – the operation of appending a symbol to a word; – the operation of prefixing a natural number by A ; Goranko

  36. General framework for inductive definitions and principles The necessary ingredients for an inductive definition are: • A universe U . In the examples, the universes are sets of words in a given alphabet. • A subset B ⊆ U of initial (basic) elements. In the examples, the sets of initial elements are respectively: { ǫ } ; { 0 } ; {⊤ , ⊥} ∪ PVAR . • A set F of operations (constructors) in U . In the examples, these are: – the operation of appending a symbol to a word; – the operation of prefixing a natural number by A ; – the propositional connectives regarded as operations on words. Goranko

  37. The set inductively defined over B by applying the operations in F Goranko

  38. The set inductively defined over B by applying the operations in F Intuitively, the set of elements of U inductively defined over B by applying the operations in F , hereby denoted by C ( B , F ), is the set defined by the following inductive definition: Goranko

  39. The set inductively defined over B by applying the operations in F Intuitively, the set of elements of U inductively defined over B by applying the operations in F , hereby denoted by C ( B , F ), is the set defined by the following inductive definition: 1. Every element of B is in C ( B , F ). Goranko

  40. The set inductively defined over B by applying the operations in F Intuitively, the set of elements of U inductively defined over B by applying the operations in F , hereby denoted by C ( B , F ), is the set defined by the following inductive definition: 1. Every element of B is in C ( B , F ). 2. For every operation f ∈ F , such that f : U n − → U , if every x 1 , . . . , x n is in C ( B , F ) then f ( x 1 , . . . , x n ) is in C ( B , F ). Goranko

  41. The set inductively defined over B by applying the operations in F Intuitively, the set of elements of U inductively defined over B by applying the operations in F , hereby denoted by C ( B , F ), is the set defined by the following inductive definition: 1. Every element of B is in C ( B , F ). 2. For every operation f ∈ F , such that f : U n − → U , if every x 1 , . . . , x n is in C ( B , F ) then f ( x 1 , . . . , x n ) is in C ( B , F ). For a precise mathematical meaning and two equivalent characterisations of the set C ( B , F ), see Section 1.4 in the book. Goranko

  42. Induction principle for the inductively defined set C ( B , F ) Proposition (Induction principle for C ( B , F )) Let P be a property of elements of U, such that: Goranko

  43. Induction principle for the inductively defined set C ( B , F ) Proposition (Induction principle for C ( B , F )) Let P be a property of elements of U, such that: 1. Every element of B has the property P . Goranko

  44. Induction principle for the inductively defined set C ( B , F ) Proposition (Induction principle for C ( B , F )) Let P be a property of elements of U, such that: 1. Every element of B has the property P . 2. For every operation f ∈ F , such that f : U n − → U, if every x 1 , . . . , x n has the property P then f ( x 1 , . . . , x n ) has the property P . Goranko

  45. Induction principle for the inductively defined set C ( B , F ) Proposition (Induction principle for C ( B , F )) Let P be a property of elements of U, such that: 1. Every element of B has the property P . 2. For every operation f ∈ F , such that f : U n − → U, if every x 1 , . . . , x n has the property P then f ( x 1 , . . . , x n ) has the property P . Then every element of C ( B , F ) has the property P . Goranko

  46. Induction principle for the inductively defined set C ( B , F ) Proposition (Induction principle for C ( B , F )) Let P be a property of elements of U, such that: 1. Every element of B has the property P . 2. For every operation f ∈ F , such that f : U n − → U, if every x 1 , . . . , x n has the property P then f ( x 1 , . . . , x n ) has the property P . Then every element of C ( B , F ) has the property P . For a proof, see Section 1.4 in the book. Goranko

  47. Recursive definitions on inductively definable sets Given an inductively defined set C ( B , F ) in a universe U , how to define a function h on that set by using the inductive definition? Goranko

  48. Recursive definitions on inductively definable sets Given an inductively defined set C ( B , F ) in a universe U , how to define a function h on that set by using the inductive definition? To idea: first define h on the set B , and then provide rules prescribing how the definition of that function propagates over all operations. Goranko

  49. Recursive definitions on inductively definable sets Given an inductively defined set C ( B , F ) in a universe U , how to define a function h on that set by using the inductive definition? To idea: first define h on the set B , and then provide rules prescribing how the definition of that function propagates over all operations. Formally, in order to define by recursion a mapping h : C ( B , F ) → X where X is a fixed target set, we need: Goranko

  50. Recursive definitions on inductively definable sets Given an inductively defined set C ( B , F ) in a universe U , how to define a function h on that set by using the inductive definition? To idea: first define h on the set B , and then provide rules prescribing how the definition of that function propagates over all operations. Formally, in order to define by recursion a mapping h : C ( B , F ) → X where X is a fixed target set, we need: 1. A mapping h 0 : B → X . Goranko

  51. Recursive definitions on inductively definable sets Given an inductively defined set C ( B , F ) in a universe U , how to define a function h on that set by using the inductive definition? To idea: first define h on the set B , and then provide rules prescribing how the definition of that function propagates over all operations. Formally, in order to define by recursion a mapping h : C ( B , F ) → X where X is a fixed target set, we need: 1. A mapping h 0 : B → X . 2. For every n -ary operation f ∈ F a mapping F f : U n × X n → X . Goranko

  52. Recursive definitions on inductively definable sets Given an inductively defined set C ( B , F ) in a universe U , how to define a function h on that set by using the inductive definition? To idea: first define h on the set B , and then provide rules prescribing how the definition of that function propagates over all operations. Formally, in order to define by recursion a mapping h : C ( B , F ) → X where X is a fixed target set, we need: 1. A mapping h 0 : B → X . 2. For every n -ary operation f ∈ F a mapping F f : U n × X n → X . Now the mapping h is defined as follows: Goranko

  53. Recursive definitions on inductively definable sets Given an inductively defined set C ( B , F ) in a universe U , how to define a function h on that set by using the inductive definition? To idea: first define h on the set B , and then provide rules prescribing how the definition of that function propagates over all operations. Formally, in order to define by recursion a mapping h : C ( B , F ) → X where X is a fixed target set, we need: 1. A mapping h 0 : B → X . 2. For every n -ary operation f ∈ F a mapping F f : U n × X n → X . Now the mapping h is defined as follows: 1. If a ∈ B then h ( a ) := h 0 ( a ). Goranko

  54. Recursive definitions on inductively definable sets Given an inductively defined set C ( B , F ) in a universe U , how to define a function h on that set by using the inductive definition? To idea: first define h on the set B , and then provide rules prescribing how the definition of that function propagates over all operations. Formally, in order to define by recursion a mapping h : C ( B , F ) → X where X is a fixed target set, we need: 1. A mapping h 0 : B → X . 2. For every n -ary operation f ∈ F a mapping F f : U n × X n → X . Now the mapping h is defined as follows: 1. If a ∈ B then h ( a ) := h 0 ( a ). 2. For every n -ary operation f ∈ F : h ( f ( a 1 , . . . , a n )) := F f ( a 1 , . . . , a n , h ( a 1 ) , . . . , h ( a n )) . Goranko

  55. Recursive definitions on inductively definable sets Given an inductively defined set C ( B , F ) in a universe U , how to define a function h on that set by using the inductive definition? To idea: first define h on the set B , and then provide rules prescribing how the definition of that function propagates over all operations. Formally, in order to define by recursion a mapping h : C ( B , F ) → X where X is a fixed target set, we need: 1. A mapping h 0 : B → X . 2. For every n -ary operation f ∈ F a mapping F f : U n × X n → X . Now the mapping h is defined as follows: 1. If a ∈ B then h ( a ) := h 0 ( a ). 2. For every n -ary operation f ∈ F : h ( f ( a 1 , . . . , a n )) := F f ( a 1 , . . . , a n , h ( a 1 ) , . . . , h ( a n )) . Sometimes the mappings F f only take as arguments h ( a 1 ) , . . . , h ( a n ). Goranko

  56. Example: primitive recursion on natural numbers Goranko

  57. Example: primitive recursion on natural numbers As a particular case, functions on natural numbers can be defined by primitive recursion, using the inductive definition given earlier. Goranko

  58. Example: primitive recursion on natural numbers As a particular case, functions on natural numbers can be defined by primitive recursion, using the inductive definition given earlier. 1. Basic scheme of primitive recursion: h (0) = a; h ( n + 1) = h ( Sn ) = F S ( n , h ( n )) Goranko

  59. Example: primitive recursion on natural numbers As a particular case, functions on natural numbers can be defined by primitive recursion, using the inductive definition given earlier. 1. Basic scheme of primitive recursion: h (0) = a; h ( n + 1) = h ( Sn ) = F S ( n , h ( n )) For example, the scheme h (0) = 1 ; h ( Sn ) = ( n + 1) h ( n ) defines the factorial function : h ( n ) = n !. Goranko

  60. Example: primitive recursion on natural numbers As a particular case, functions on natural numbers can be defined by primitive recursion, using the inductive definition given earlier. 1. Basic scheme of primitive recursion: h (0) = a; h ( n + 1) = h ( Sn ) = F S ( n , h ( n )) For example, the scheme h (0) = 1 ; h ( Sn ) = ( n + 1) h ( n ) defines the factorial function : h ( n ) = n !. 2. General scheme of primitive recursion with parameters: h ( m , 0) = F 0 ( m ) ; h ( m , Sn ) = F S ( m , n , h ( m , n )) . Goranko

  61. Example: primitive recursion on natural numbers As a particular case, functions on natural numbers can be defined by primitive recursion, using the inductive definition given earlier. 1. Basic scheme of primitive recursion: h (0) = a; h ( n + 1) = h ( Sn ) = F S ( n , h ( n )) For example, the scheme h (0) = 1 ; h ( Sn ) = ( n + 1) h ( n ) defines the factorial function : h ( n ) = n !. 2. General scheme of primitive recursion with parameters: h ( m , 0) = F 0 ( m ) ; h ( m , Sn ) = F S ( m , n , h ( m , n )) . For example, the scheme h ( m , 0) = m; h ( m , n + 1) = h ( m , n ) + 1 defines the function addition : h ( m , n ) = m + n . Goranko

  62. Example: truth valuations of propositional formulae Recall that the set FOR is built on a set of propositional variables PVAR and a truth assignment is a mapping s : PVAR → { T , F } . Goranko

  63. Example: truth valuations of propositional formulae Recall that the set FOR is built on a set of propositional variables PVAR and a truth assignment is a mapping s : PVAR → { T , F } . Now, given any truth assignment s : PVAR → { T , F } we define a mapping α : FOR → { T , F } that extends it to a truth valuation – a function computing the truth values of all formulae in FOR , defined by recursion on the inductive definition of FOR as follows: Goranko

  64. Example: truth valuations of propositional formulae Recall that the set FOR is built on a set of propositional variables PVAR and a truth assignment is a mapping s : PVAR → { T , F } . Now, given any truth assignment s : PVAR → { T , F } we define a mapping α : FOR → { T , F } that extends it to a truth valuation – a function computing the truth values of all formulae in FOR , defined by recursion on the inductive definition of FOR as follows: 1. α ( ⊤ ) = T , α ( ⊥ ) = F . Goranko

  65. Example: truth valuations of propositional formulae Recall that the set FOR is built on a set of propositional variables PVAR and a truth assignment is a mapping s : PVAR → { T , F } . Now, given any truth assignment s : PVAR → { T , F } we define a mapping α : FOR → { T , F } that extends it to a truth valuation – a function computing the truth values of all formulae in FOR , defined by recursion on the inductive definition of FOR as follows: 1. α ( ⊤ ) = T , α ( ⊥ ) = F . 2. α ( p ) = s ( p ) for every propositional variable p . Goranko

  66. Example: truth valuations of propositional formulae Recall that the set FOR is built on a set of propositional variables PVAR and a truth assignment is a mapping s : PVAR → { T , F } . Now, given any truth assignment s : PVAR → { T , F } we define a mapping α : FOR → { T , F } that extends it to a truth valuation – a function computing the truth values of all formulae in FOR , defined by recursion on the inductive definition of FOR as follows: 1. α ( ⊤ ) = T , α ( ⊥ ) = F . 2. α ( p ) = s ( p ) for every propositional variable p . 3. α ( ¬ A ) = F ¬ ( α ( A )), where F ¬ : { T , F } → { T , F } is defined as follows: F ¬ ( T ) = F , F ¬ ( F ) = T . Goranko

  67. Example: truth valuations of propositional formulae Recall that the set FOR is built on a set of propositional variables PVAR and a truth assignment is a mapping s : PVAR → { T , F } . Now, given any truth assignment s : PVAR → { T , F } we define a mapping α : FOR → { T , F } that extends it to a truth valuation – a function computing the truth values of all formulae in FOR , defined by recursion on the inductive definition of FOR as follows: 1. α ( ⊤ ) = T , α ( ⊥ ) = F . 2. α ( p ) = s ( p ) for every propositional variable p . 3. α ( ¬ A ) = F ¬ ( α ( A )), where F ¬ : { T , F } → { T , F } is defined as follows: F ¬ ( T ) = F , F ¬ ( F ) = T . 4. α ( A ∧ B ) = F ∧ ( α ( A ) , α ( B )), where F ¬ : { T , F } 2 → { T , F } is defined as follows: F ∧ ( T , T ) = T and F ∧ ( T , F ) = F ∧ ( F , T ) = F ∧ ( F , F ) = F . (That is, F ∧ computes the truth table of ∧ .) Goranko

  68. Truth valuations of propositional formulae, continued Goranko

  69. Truth valuations of propositional formulae, continued 1. α ( A ∨ B ) = F ∨ ( α ( A ) , α ( B )), where F ∨ : { T , F } 2 → { T , F } is defined respectively as follows: F ∧ ( T , T ) = F ∧ ( T , F ) = F ∧ ( F , T ) = T and F ∧ ( F , F ) = F . Goranko

  70. Truth valuations of propositional formulae, continued 1. α ( A ∨ B ) = F ∨ ( α ( A ) , α ( B )), where F ∨ : { T , F } 2 → { T , F } is defined respectively as follows: F ∧ ( T , T ) = F ∧ ( T , F ) = F ∧ ( F , T ) = T and F ∧ ( F , F ) = F . 2. α ( A → B ) = F → ( α ( A ) , α ( B )), where F → : { T , F } 2 → { T , F } is defined according to the truth table of → . Goranko

  71. Truth valuations of propositional formulae, continued 1. α ( A ∨ B ) = F ∨ ( α ( A ) , α ( B )), where F ∨ : { T , F } 2 → { T , F } is defined respectively as follows: F ∧ ( T , T ) = F ∧ ( T , F ) = F ∧ ( F , T ) = T and F ∧ ( F , F ) = F . 2. α ( A → B ) = F → ( α ( A ) , α ( B )), where F → : { T , F } 2 → { T , F } is defined according to the truth table of → . 3. α ( A ↔ B ) = F ↔ ( α ( A ) , α ( B )), where F ↔ : { T , F } 2 → { T , F } is defined according to the truth table of ↔ . Goranko

  72. Truth valuations of propositional formulae, continued 1. α ( A ∨ B ) = F ∨ ( α ( A ) , α ( B )), where F ∨ : { T , F } 2 → { T , F } is defined respectively as follows: F ∧ ( T , T ) = F ∧ ( T , F ) = F ∧ ( F , T ) = T and F ∧ ( F , F ) = F . 2. α ( A → B ) = F → ( α ( A ) , α ( B )), where F → : { T , F } 2 → { T , F } is defined according to the truth table of → . 3. α ( A ↔ B ) = F ↔ ( α ( A ) , α ( B )), where F ↔ : { T , F } 2 → { T , F } is defined according to the truth table of ↔ . The so defined mapping α is called the truth-valuation of the propositional formulae generated by the truth assignment s . Goranko

  73. Truth valuations of propositional formulae, continued 1. α ( A ∨ B ) = F ∨ ( α ( A ) , α ( B )), where F ∨ : { T , F } 2 → { T , F } is defined respectively as follows: F ∧ ( T , T ) = F ∧ ( T , F ) = F ∧ ( F , T ) = T and F ∧ ( F , F ) = F . 2. α ( A → B ) = F → ( α ( A ) , α ( B )), where F → : { T , F } 2 → { T , F } is defined according to the truth table of → . 3. α ( A ↔ B ) = F ↔ ( α ( A ) , α ( B )), where F ↔ : { T , F } 2 → { T , F } is defined according to the truth table of ↔ . The so defined mapping α is called the truth-valuation of the propositional formulae generated by the truth assignment s . Using such recursive definitions, various other natural functions associated with propositional formulae can be defined likewise, such as length, number of occurrences of logical connectives, set of occurring propositional variables, etc. Goranko

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend