Semantic of (Ongoing work with S. Hayashi, T. Coquand) Jouy-en-Josas, France, December 2004 Stefano Berardi, Semantic of Computation group C.S. Dept.,

Slides:



Advertisements
Similar presentations
ICAMP: Game Simulation and Analysis Analysis of the Game “Poison” Sarah Eichhorn University of California Irvine iCAMP Overview Meeting, 5/5/10.
Advertisements

Lecture 11: Datalog Tuesday, February 6, Outline Datalog syntax Examples Semantics: –Minimal model –Least fixpoint –They are equivalent Naive evaluation.
15 Backward induction: chess, strategies, and credible threats Zermelo Theorem: Two players in game of perfect information. Finite nodes. Three outcomes:
1 Can Proofs be Animated by Games? Susumu Hayashi Humanistic Informatics Graduate School of Letters Kyoto University April 22, 2005, TLCA’05, Nara, Japan.
Gillat Kol (IAS) joint work with Ran Raz (Weizmann + IAS) Interactive Channel Capacity.
Recursively Defined Functions
Induction and Recursion. Odd Powers Are Odd Fact: If m is odd and n is odd, then nm is odd. Proposition: for an odd number m, m k is odd for all non-negative.
Progressively Finite Games
Limit-Computable Mathematics and its Applications Susumu Hayashi & Yohji Akama Sep, 22, 2002 CSL’02, Edinburgh, Scotland, UK.
Complexity 11-1 Complexity Andrei Bulatov Space Complexity.
The Clique Game Vít Jelínek, Jan Kára, Robert Šámal Mentor: Dr. József Beck.
Transparency No. P2C5-1 Formal Language and Automata Theory Part II Chapter 5 The Pumping Lemma and Closure properties for Context-free Languages.
Argumentation Logics Lecture 4: Games for abstract argumentation Henry Prakken Chongqing June 1, 2010.
Combinatorial Games Martin Müller. Contents Combinatorial game theory Thermographs Go and Amazons as combinatorial games.
CS10 The Beauty and Joy of Computing Lecture #25 : Tree Recursion The newly released (and much- hyped) Microsoft Kinect system for the XBOX.
Argumentation Logics Lecture 4: Games for abstract argumentation Henry Prakken Chongqing June 1, 2010.
DANSS Colloquium By Prof. Danny Dolev Presented by Rica Gonen
Recursion Chapter 7. Chapter 7: Recursion2 Chapter Objectives To understand how to think recursively To learn how to trace a recursive method To learn.
Recursion Chapter 7. Chapter 7: Recursion2 Chapter Objectives To understand how to think recursively To learn how to trace a recursive method To learn.
Great Theoretical Ideas in Computer Science.
Great Theoretical Ideas in Computer Science.
Parallel operations Episode 8 0 Parallel conjunction and disjunction Free versus strict games The law of the excluded middle for parallel disjunction.
Data Structures Using C++ 2E Chapter 6 Recursion.
Sequences and Series (T) Students will know the form of an Arithmetic sequence.  Arithmetic Sequence: There exists a common difference (d) between each.
Discrete Mathematics CS 2610 March 26, 2009 Skip: structural induction generalized induction Skip section 4.5.
Data Structures Using C++ 2E Chapter 6 Recursion.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 17: Recursion.
Department of Computer Science Data Structures Using C++ 2E Chapter 6: Recursion Learn about recursive Definitions Algorithms Functions Explore the base.
Between proof and truth Gabriel Sandu Univ. of Helsinki.
1 Introduction to Abstract Mathematics Chapter 4: Sequences and Mathematical Induction Instructor: Hayk Melikya 4.1- Sequences. 4.2,
Recursion Chapter 7. Chapter Objectives  To understand how to think recursively  To learn how to trace a recursive method  To learn how to write recursive.
Agents that can play multi-player games. Recall: Single-player, fully-observable, deterministic game agents An agent that plays Peg Solitaire involves.
Multiway Trees. Trees with possibly more than two branches at each node are know as Multiway trees. 1. Orchards, Trees, and Binary Trees 2. Lexicographic.
Section 3.1: Proof Strategy Now that we have a fair amount of experience with proofs, we will start to prove more difficult theorems. Our experience so.
C++ Programming: From Problem Analysis to Program Design, Fourth Edition Chapter 17: Recursion.
Week 11 - Wednesday.  What did we talk about last time?  Graphs  Euler paths and tours.
Peter van Emde Boas: Games and Computer Science 1999 GAMES AND COMPUTER SCIENCE Theoretical Models 1999 Peter van Emde Boas References available at:
Continuations, Backtracking and Limits: a notion of ‘‘Construction’’ for Classical Logic (Ongoing work) Kyoto, November 2004 Stefano Berardi, Semantic.
An Arithmetical Hierarchy of the Laws of Excluded Middle and Related Principles LICS 2004, Turku, Finland Yohji Akama (Tohoku University) Stefano Berardi.
Propositional Logic Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara
Mathematics What is it? What is it about?. Terminology: Definition Axiom – a proposition that is assumed without proof for the sake of studying the consequences.
CS344: Introduction to Artificial Intelligence Lecture: Herbrand’s Theorem Proving satisfiability of logic formulae using semantic trees (from Symbolic.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 28– Interpretation; Herbrand Interpertation 30 th Sept, 2010.
Games. Adversaries Consider the process of reasoning when an adversary is trying to defeat our efforts In game playing situations one searches down the.
Edited by Malak Abdullah Jordan University of Science and Technology Data Structures Using C++ 2E Chapter 6 Recursion.
Agenda Review: –Planar Graphs Lecture Content:  Concepts of Trees  Spanning Trees  Binary Trees Exercise.
Great Theoretical Ideas in Computer Science.
Great Theoretical Ideas in Computer Science.
Computation Motivating questions: What does “computation” mean? What are the similarities and differences between computation in computers and in natural.
Theory of Computation Lecture 5: Primitive Recursive Functions I
PROBLEM-SOLVING TECHNIQUES Rocky K. C. Chang November 10, 2015.
Chapter 15: Recursion. Objectives In this chapter, you will: – Learn about recursive definitions – Explore the base case and the general case of a recursive.
CompSci 102 Discrete Math for Computer Science March 13, 2012 Prof. Rodger Slides modified from Rosen.
Graph Search II GAM 376 Robin Burke. Outline Homework #3 Graph search review DFS, BFS A* search Iterative beam search IA* search Search in turn-based.
Overview of the theory of computation Episode 3 0 Turing machines The traditional concepts of computability, decidability and recursive enumerability.
Chapter 15: Recursion. Recursive Definitions Recursion: solving a problem by reducing it to smaller versions of itself – Provides a powerful way to solve.
Chapter 15: Recursion. Objectives In this chapter, you will: – Learn about recursive definitions – Explore the base case and the general case of a recursive.
Theory of Computational Complexity Yuji Ishikawa Avis lab. M1.
The Church-Turing Thesis Chapter Are We Done? FSM  PDA  Turing machine Is this the end of the line? There are still problems we cannot solve:
Payam Seraji IPM-Isfahan branch, Ordibehesht 1396
Recursively Enumerable and Recursive Languages
Great Theoretical Ideas in Computer Science
Algorithms and Networks
Great Theoretical Ideas in Computer Science
Recursively Defined Functions
Alternating tree Automata and Parity games
Matt Baker The Dollar Game on a Graph (with 9 surprises!)
Computing a Nash Equilibrium of a Congestion Game: PLS-completeness
CSE 321 Discrete Structures
Presentation transcript:

Semantic of (Ongoing work with S. Hayashi, T. Coquand) Jouy-en-Josas, France, December 2004 Stefano Berardi, Semantic of Computation group C.S. Dept., Turin University,

Abstract of the talk Backtracking is the possibility, for a given computation, to come back to a previous state and restart from it, forgetting everything took place after it. We introduce a new notion, 1-backtracking. It is a particular case of backtracking in which forgetting is irreversible. If we forget a state we can never restore it back. We introduce a game theoretical model for 1- backtracking. 2

Games in Set Theory A game G = (T, R, turn, W E, W A ) between two players, E (Eloise) and A (Abelard), consists of: 1.a tree T with a father/child relation R. 2.A map turn :T { E, A }. 3.A partition (W E, W A ) of infinite branches of T. A play is any finite or infinite branch of T, starting from the root of T. In each node x of the branch, the player turn (x) must select a child of x in T, otherwise his opponent wins. If a play continues forever, the winner is E if the play is in W E, and it is A if the play is in W A.

Games with 1-backtracking Given a game G, we define a game bck(G). In bck(G), the player p moving from the last position z of the play can come back to some previous position x, provided: x is before z in the tree of positions of G, and p moved from x. Then p can change the move y he did from x. xzyy … 1-backtracking x before z in G y previous movey new move

Infinite 1-backtracking is loosing A player is allowed to backtrack to a given position x i of the play only finitely many times. A player backtracking infinitely many times to the same position x i looses. If E backtracks infinitely many times to some x i and A infinitely many times to some x j, the looser is the player backtracking infinitely many times to a position with smaller index.

Removing 1-backtracking Fix any (finite or infinite) play = of bck(G). We can remove 1-backtracking from, by waiting that both players stop backtracking. The result is some canonical (finite or infinite) backtracking-free play (1) = of G. Definition of (1) runs as follows: 1.t 0 = initial position of G. 2.t n+1 = last child of t n in, provided t n has a last child in. Otherwise (1) ends.

A formal definition of bck(G) Positions of bck(G). All finite successions over G, such that: (i) s 0 initial position of G (ii) any s i+1 is a child in G of some s j, with j i, s j ancestor in G of s i, and turn (s j ) = turn (s i ). Turn. The player on turn on a position of bck(G) is the player on turn on s n. Winner of a infinite play. The winner of an infinite play of bck(G) is the winner, in G, of the backtracking-free play (1).

1-Backtracking and Limit Computable Mathematic Let A be any arithmetical formula in the connectives,,,. Let Tarski (A) be the Tarski game associated to A. Let LCM be Hayashis Limit Computable Mathematic (or Arithmetic with incremental learning). Theorem. A is true in LCM if and only E if has a recursive winning strategy on bck( Tarski (A)). 1-backtracking characterizes the set of formulas we can learn

1-Backtracking and Recursive Degrees Let G any game either with alternating players, or with no infinite plays. Let p any player. Theorem. p has a winning strategy of recursive degree 1 for G if and only if p has a winning strategy of recursive degree 0 for bck(G). Assume we can define a winning strategy for G using an oracle for the Halting problem. Then: if we allow 1-backtracking, we can define a recursive winning strategy for the same G

1- Backtracking and Excluded Middle Let A be any arithmetical formula in the connectives,,,. Let Tarski (A) be the Tarski game associated to A. Let HA be Intuitionistic Arithmetic. Let 1-EM be Excluded Middle for degree 1 formulas. Theorem. E has a recursive winning strategy for bck( Tarski (A)) if, and only if: HA + -rule + 1-EM |- A 1-backtracking characterizes the set of intuitionistic consequences of 1-EM.

Cut-free 1-Backtracking As done by Coquand for general backtracking, we can define a cut-free version bck CF (G) of bck(G). bck CF (G) is the subgame of bck(G) in which Abelard cannot backtrack (cannot answer to a move which is not the previous one). It is much easier to define winning strategies for Eloise on the cut-free version of bck(G), because Abelard has an handicap. Every winning strategy for Eloise on bck CF (G) can be raised, in a canonical way, to a winning strategy for Eloise on bck(G).

Iterating 1-Backtracking We defined the maps G| bck(G),bck CF (G) from games of Set Theory to games of Set Theory. By iteration, for any n N we can define bck n (G), bck CF n (G), the games with n-backtracking over G, with and without cuts. The difference between 1-backtracking and 2- backtracking is that, in 2-backtracking, forgetting is sometimes reversible (we may recover a previous state of the computation forgotten by 1- backtracking). By direct limit we can define bck (G), bck CF (G), for all ordinal.

1-Backtracking and unlimited Backtracking For any game G with alternating players and all plays of length n, Coquand defined a game Coq(G). In Coq(G), Eloise has an unlimited backtracking over G. Abelard, instead, cannot backtrack: Coq(G) is cut-free. Theorem. bck CF (G) is a subgame of Coq(G), and conversely, any winning strategy in Coq(G) is a winning strategy in some bck CF (G). Unlimited backtracking can be obtained by iterating 1-backtracking.

References T. Coquand, A semantics of evidence for classical arithmetic, Journal of Symbolic Logic 60, pp , S. Hayashi and M. Nakata, Towards Limit Computable Mathematics, Types for Proofs and Programs, LNCS 2277, pp , 2001.