The language and formal semantics of computability logic Episode 14 0 The formal language Interpretations Definitions of validity and uniform validity.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Artificial Intelligence Chapter 13 The Propositional Calculus Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
2005conjunctive-ii1 Query languages II: equivalence & containment (Motivation: rewriting queries using views)  conjunctive queries – CQ’s  Extensions.
Hoare’s Correctness Triplets Dijkstra’s Predicate Transformers
1 Logic Logic in general is a subfield of philosophy and its development is credited to ancient Greeks. Symbolic or mathematical logic is used in AI. In.
L41 Lecture 2: Predicates and Quantifiers.. L42 Agenda Predicates and Quantifiers –Existential Quantifier  –Universal Quantifier 
CPSC 322, Lecture 20Slide 1 Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs Computer Science cpsc322, Lecture 20 (Textbook.
Department of Computer Science© G.M.P O'Hare University College Dublin DEPARTMENT OF COMPUTER SCIENCE COMP 4.19Multi-Agent Systems(MAS) Lectures 19&20.
Syllabus Every Week: 2 Hourly Exams +Final - as noted on Syllabus
Knowledge Representation & Reasoning (Part 1) Propositional Logic chapter 6 Dr Souham Meshoul CAP492.
Alpha: Symbolization and Inference Bram van Heuveln Minds and Machines Lab RPI.
Let remember from the previous lesson what is Knowledge representation
Parallel operations Episode 8 0 Parallel conjunction and disjunction Free versus strict games The law of the excluded middle for parallel disjunction.
Intro to Discrete Structures
Discrete Mathematics and Its Applications
Reduction Episode 9 0 The operation of reduction and the relation of reducibility Examples of reductions The variety of reduction concepts and their systematization.
Theoretical basis of GUHA Definition 1. A (simplified) observational predicate language L n consists of (i) (unary) predicates P 1,…,P n, and an infinite.
MATH 224 – Discrete Mathematics
Atomic Sentences Chapter 1 Language, Proof and Logic.
1 Chapter 7 Propositional and Predicate Logic. 2 Chapter 7 Contents (1) l What is Logic? l Logical Operators l Translating between English and Logic l.
1st-order Predicate Logic (FOL)
Theory of Computation, Feodor F. Dragan, Kent State University 1 NP-Completeness P: is the set of decision problems (or languages) that are solvable in.
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
CMPF144 FUNDAMENTALS OF COMPUTING THEORY Module 5: Classical Logic.
Logic CL4 Episode 16 0 The language of CL4 The rules of CL4 CL4 as a conservative extension of classical logic The soundness and completeness of CL4 The.
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
Slide 1 Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs Jim Little UBC CS 322 – CSP October 20, 2014.
Propositional Logic Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara
0 What logic is or should be Propositions Boolean operations The language of classical propositional logic Interpretation and truth Validity (tautologicity)
LDK R Logics for Data and Knowledge Representation PL of Classes.
1 CMSC 250 Discrete Structures CMSC 250 Lecture 1.
© Kenneth C. Louden, Chapter 11 - Functional Programming, Part III: Theory Programming Languages: Principles and Practice, 2nd Ed. Kenneth C. Louden.
Hazırlayan DISCRETE COMPUTATIONAL STRUCTURES Propositional Logic PROF. DR. YUSUF OYSAL.
Lecture 4: Predicates and Quantifiers; Sets.
0 Propositional logic versus first-order (predicate) logic The universe of discourse Constants, variables, terms and valuations Predicates as generalized.
Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science.
CS 285- Discrete Mathematics Lecture 4. Section 1.3 Predicate logic Predicate logic is an extension of propositional logic that permits concisely reasoning.
Computer Science CPSC 322 Lecture 22 Logical Consequences, Proof Procedures (Ch 5.2.2)
Logic UNIT 1.
1 First order theories (Chapter 1, Sections 1.4 – 1.5) From the slides for the book “Decision procedures” by D.Kroening and O.Strichman.
Propositional Logic Rather than jumping right into FOL, we begin with propositional logic A logic involves: §Language (with a syntax) §Semantics §Proof.
Static games Episode 12 0 Some intuitive characterizations of static games Dynamic games Pure computational problems = static games Delays Definition.
Interactive computability Episode 13 0 Hard-play machines (HPMs) Easy-play machines (EPMs) Definition of interactive computability The interactive version.
Overview of the theory of computation Episode 3 0 Turing machines The traditional concepts of computability, decidability and recursive enumerability.
PREDICATES AND QUANTIFIERS COSC-1321 Discrete Structures 1.
Lecture 041 Predicate Calculus Learning outcomes Students are able to: 1. Evaluate predicate 2. Translate predicate into human language and vice versa.
Logics for Data and Knowledge Representation ClassL (part 1): syntax and semantics.
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
Chapter 1 Logic and proofs
Chapter 7. Propositional and Predicate Logic
Advanced Algorithms Analysis and Design
Computer Science cpsc322, Lecture 20
Knowledge Representation and Reasoning
The Propositional Calculus
Cirquent calculus Episode 15 About cirquent calculus in general
Logics for Data and Knowledge Representation
Negation and choice operations
Back to “Serious” Topics…
Classical propositional logic (quick review)
Chapter 7. Propositional and Predicate Logic
Computer Science cpsc322, Lecture 20
This Lecture Substitution model
Propositional Logic CMSC 471 Chapter , 7.7 and Chuck Dyer
Blind quantifiers Episode 10 Unistructurality
The language and formal semantics of computability logic
Episode 14 Logic CL4 The language of CL4 The rules of CL4
  Homework 6 (June 20) Material covered: Slides
Episode 10 Static games Some intuitive characterizations of static games Dynamic games Pure computational problems = static games Delays Definition of.
Episode 7 Reduction The operation of reduction and the relation of reducibility Examples of reductions The variety of reduction concepts and their systematization.
Interactive computability
Presentation transcript:

The language and formal semantics of computability logic Episode 14 0 The formal language Interpretations Definitions of validity and uniform validity Validity or uniform validity? The extensional equivalence between validity and uniform validity Computability versus “knowability” Closure under Modus Ponens Other closure theorems Uniform-constructive closure

“The” language of computability logic 14.1 It is not quite accurate to say “the language” of computability logic because, as pointed out earlier, the latter has an open-ended formalism; more than that, computability logic in a broader and more proper sense is a program for rebuilding logic rather than a particular logical system. Yet, in these lecture notes, by “the language of computability logic” we will mean the particular language defined on this slide. It builds upon (fully contains and extends) the language of classical first order logic. The logical constants and operators are ⊤ ⊥     ⊓ ⊔     ⊓ ⊔ This language is richer than that of classical logic not only because it has many new logical operators. It also has two sorts of letters: elementary letters and general letters, each sort, as before, coming with a fixed arity. Elementary letters represent predicates (elementary games), and hence the old letters of classical logic are now seen as and identified with (and renamed into) elementary letters. On the other hand, general letters represent any (not necessarily elementary) computational problems, and are thus new. Atoms, as before, are L(t 1,...,t n ), where L is an (elementary or general) n-ary letter and the t i are any terms (i.e. variables or constants). Formulas are built from atoms, operators and terms in the standard way. The definitions of free and bound occurrences of terms are also standard, with the only difference that now we have six rather than two quantifiers. As before, we agree that no formula contains both free and bound occurrences of the same variable.

Interpretations 14.2 An interpretation now is a function * that assigns: An elementary game p*(x 1,...,x n ) to each n-ary elementary letter p; A(ny) static game P*(x 1,...,x n ) to each n-ary general letter P. CONVENTION: We will be exclusively using the lowercase p,q,r,s for elementary letters and the uppercase P,Q,R,S for general letters. As in Episode 5, there are certain “admissibility” conditions that are assumed to beEpisode 5 satisfied by all interpretations that we consider. Those conditions are to avoid unpleasant collisions of variables, and also to guarantee that blind quantifiers are not applied to games for which they are undefined. The above admissibility conditions are never violated in natural cases anyway, so we are lazy to state them here. See Section 7 of “In the beginning was gameIn the beginning was game semanticssemantics” for details if you need to. Each interpretation * extends to all formulas in the expected way: ( L(t 1,...,t n ) ) * = L*(t 1,...,t n ) (any n-ary letter L); (E  F)* = E*  F*; ( ⊓ xE)* = ⊓ x(E*); etc. Intuitively, an interpretation * gives meanings to formulas: a formula F is just a string, while F* is a computational problem.

Definitions of validity and uniform validity 14.3 Definition We say that a formula F is valid iff, for every interpretation *, ⊧ F*. Remembering the meaning of ⊧, the above definition can be equivalently stated as: Definition 14.1’. We say that a formula F is valid iff, for every interpretation *, there is an HPM (or EPM) M such that M ⊧ F*. Validity of F thus means  *  M(M ⊧ F*). Reversing the order of this quantification and taking  M  *(M ⊧ F*) instead, yields the stronger property of “ uniform validity ” : Definition We say that a formula F is uniformly valid iff there is an HPM (or EPM) M such that, for every interpretation *, M ⊧ F*. Such a machine M is said to be a uniform algorithmic solution, or just uniform solution, for F. Intuitively, a uniform solution M for a formula F is an interpretation-independent winning strategy: since, unlike valuation, the “ intended ” or “ actual ” interpretation * is not visible to the machine, M has to play in some standard, uniform way that would be successful for any possible interpretation of F, i.e. any possible meaning of its atoms.

Validity or uniform validity? 14.4 “ Which of our two versions of validity is more interesting depends on the motivational standpoint. It is validity rather than uniform validity that tells us what can be computed in principle. So, a computability-theoretician would focus on validity. Mathematically, non-validity is generally by an order of magnitude more informative --- and correspondingly harder to prove --- than non-uniform-validity. Say, the non-validity of p ⊔  p means existence of solvable-in-principle yet algorithmically unsolvable problems --- the fact that became known to the mankind only as late as in the 20th century. As for the non-uniform-validity of p ⊔  p, it is trivial: of course there is no way to choose one of the two disjuncts that would be true for all possible values of p because, as the Stone Age intellectuals were probably aware, some p are true and some are false. On the other hand, it is uniform validity rather than validity that is of interest in more applied areas of computer science such as knowledgebase systems or systems for planning and action. In this sort of applications we want a logic on which a universal problem-solving machine can be based. Such a machine would or should be able to solve problems represented by logical formulas without any specific knowledge of the meanings of their atoms, i.e. without knowledge of the actual interpretation. Remembering what was said about the intuitive meaning of uniform validity, this concept is exactly what fits the bill. ” --- From “ In the beginning was game semantics ”. In the beginning was game semantics

The extensional equivalence between validity and uniform validity 14.5 Intentionally, uniform validity implies validity, but not vice versa. Yet, it is believed that the extents of these two concepts of validity are identical: Conjecture A formula is valid iff it is uniformly valid. This conjecture has been positively verified for formulas not containing recurrences and parallel quantifiers. And there are all reasons to believe that it remains true for all formulas as well. Why did we need to introduce two concepts of validity, and why is Conjecture 14.3 important? Episode 1 contained the claim that computability logic is not only a logic ofEpisode 1 computability, but also a logic of knowledge. It is time to reveal one important secret: Focusing on validity makes our approach a logic of computability. Focusing on uniform validity makes our approach a logic of knowledge.

Computability versus “knowability” 14.6 A separate episode will be devoted to computability logic seen as as logic of knowledge. For now, to get a preliminary feel of the difference between computability and “ knowability ”, remember two examples from Episode 9.Episode 9 Reducing the paternal grandmotherhood ( 奶奶 ) problem to the conjunction of the fatherhood ( 爸爸 ) and motherhood ( 妈妈 ) problems: (1) ⊓ x ⊔ y ( y= 爸爸 (x) )  ⊓ x ⊔ y ( y= 妈妈 (x) )  ⊓ x ⊔ y ( y= 奶奶 (x) ) and reducing the acceptance problem to the halting problem: (2) ⊓ x ⊓ y (  Halts(x,y) ⊔ Halts(x,y) )  ⊓ x ⊓ y (  Accepts(x,y) ⊔ Accepts(x,y) ) Unlike the case with (2), the consequent of (1) is a computable problem: after all, there are only finitely many people, and a machine may simply have a table to look up anybody ’ s paternal grandmother. So, seemingly there was no real need to reduce the consequent of (1) to the antecedent, as the former could be solved directly. Yet, solving it would require some (finite but still) nontrivial non-logical knowledge. On the other hand, reducing the consequent of (1) to its antecedent does not require any special knowledge other than that 奶奶 = 爸爸∘妈妈. In contrast, the consequent of (2) cannot be algorithmically solved at all, no matter how much knowledge an agent has. Thus, (2) provides insights into our approach as a logic of computability, while (1) is to give us a feel of it as a logic of “ knowability ”.

Closure under Modus Ponens 14.7 The inference rule “ From A and A  B conclude B ” is called Modus Ponens. Notation: ⊧ F* means “F* is computable” ⊩ F means “F is valid” ⊪ F means “F is uniformly valid” Theorem Computability, validity and uniform validity are closed under Modus Ponens. In other words, for any formulas E and F, and any interpretation *, we have: (i) If ⊧ E* and ⊧ E*  F*, then ⊧ F* (ii) If ⊩ E and ⊩ E  F, then ⊩ F (iii) If ⊪ E and ⊪ E  F, then ⊪ F

Other closure theorems 14.8 Theorem For any formula F, variable x and interpretation *: (i) (ii) (iii) If ⊧ F*, then ⊧ F* If ⊩ F, then ⊩ F If ⊪ F, then ⊪ F If ⊧ F*, then ⊧ ⊓ xF* If ⊩ F, then ⊩ ⊓ xF If ⊪ F, then ⊪ ⊓ xF If ⊧ F*, then ⊧  xF* If ⊩ F, then ⊩  xF If ⊪ F, then ⊪  xF On the other hand, unlike classical truth, computability is not closed under the rule “ From A conclude  xA ”. For example, we have ⊧ Even(x) ⊔ Odd(x) but ⊭  x ( Even(x) ⊔ Odd(x) )

Uniform-constructive closure 14.9 Notation: M ⊧ F* means “M computes F*” M ⊪ F means “M is a uniform solution for F” Theorem 14.4 ’. There is an effective function f: {HPMs}  {HPMs}  {HPMs} such that, for any formulas E and F, interpretation * and HPMs M and N: (i) If M ⊧ E* and N ⊧ E*  F*, then f(M,N) ⊧ F* (iii) If M ⊪ E and N ⊪ E  F, then f(M,N) ⊪ F Clauses (i) and (iii) of Theorems 14.4 and 14.5, in fact, hold in the much stronger form as stated below. We call closure in this strong sense uniform-constructive closure. Theorem 14.5 ’. There are effective functions f 1,f 2,f 3,f 4 : {HPMs}  {HPMs} such that, for any formula F, interpretation * and HPM M: (i) (iii) If M ⊧ F*, then f 1 (M) ⊧ F* If M ⊪ F, then f 1 (M) ⊪ F If M ⊧ F*, then f 2 (M) ⊧ F* If M ⊪ F, then f 2 (M) ⊪ F If M ⊧ F*, then f 3 (M) ⊧ ⊓ xF* If M ⊪ F, then f 3 (M) ⊪ ⊓ xF If M ⊧ F*, then f 4 (M) ⊧  xF* If M ⊪ F, then f 4 (M) ⊪  xF