New Toads and Frogs Results By Jeff Erickson Presented by Nate Swanson.

Slides:



Advertisements
Similar presentations
Special Equations - Absolute Value and Interval Notation
Advertisements

February 26, 2015Applied Discrete Mathematics Week 5: Mathematical Reasoning 1 Addition of Integers Example: Add a = (1110) 2 and b = (1011) 2. a 0 + b.
Walks, Paths and Circuits Walks, Paths and Circuits Sanjay Jain, Lecturer, School of Computing.
AE1APS Algorithmic Problem Solving John Drake.  Invariants – Chapter 2  River Crossing – Chapter 3  Logic Puzzles – Chapter 5  Matchstick Games -
Linear Equations in Linear Algebra
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Table of Contents Why Play Chess? Setting Up the Board Get to Know the Pieces Check and Checkmate What the Chess Pieces Are Worth Opening Goals Endgame.
Week 5 - Friday.  What did we talk about last time?  Sequences  Summation and production notation  Proof by induction.
Representing Relations Using Matrices
Progressively Finite Games
SCIT1003 Chapter 2: Sequential games - perfect information extensive form Prof. Tsang.
Introduction to Computability Theory
1 Introduction to Computability Theory Lecture7: PushDown Automata (Part 1) Prof. Amos Israeli.
Great Theoretical Ideas in Computer Science.
Online Graph Avoidance Games in Random Graphs Reto Spöhel Diploma Thesis Supervisors: Martin Marciniszyn, Angelika Steger.
CSE115/ENGR160 Discrete Mathematics 02/07/12
The Game of Nim on Graphs: NimG By Gwendolyn Stockman With: Alan Frieze, and Juan Vera.
Using Reduction for the Game of NIM. At each turn, a player chooses one pile and removes some sticks. The player who takes the last stick wins. Problem:
DAST 2005 Tirgul 6 Heaps Induction. DAST 2005 Heaps A binary heap is a nearly complete binary tree stored in an array object In a max heap, the value.
Wei Qi, Baduk, Go a game of strategy
Great Theoretical Ideas in Computer Science.
Cantor’s Legacy: Infinity And Diagonalization Great Theoretical Ideas In Computer Science Steven RudichCS Spring 2004 Lecture 25Apr 13, 2004Carnegie.
Great Theoretical Ideas in Computer Science.
Discrete Mathematics CS 2610 March 26, 2009 Skip: structural induction generalized induction Skip section 4.5.
Brian Duddy.  Two players, X and Y, are playing a card game- goal is to find optimal strategy for X  X has red ace (A), black ace (A), and red two (2)
Introduction to Proofs
Mathematical Induction. F(1) = 1; F(n+1) = F(n) + (2n+1) for n≥ F(n) n F(n) =n 2 for all n ≥ 1 Prove it!
Introduction to Proofs
A few leftover Decrease-and-conquer Algorithms
Investigation #1 (cont.)
Part II - Sums of Games Consider a game called Boxing Match which was defined in a programming contest m.short.html.
Section 1.8. Section Summary Proof by Cases Existence Proofs Constructive Nonconstructive Disproof by Counterexample Nonexistence Proofs Uniqueness Proofs.
The Pumping Lemma for Context Free Grammars. Chomsky Normal Form Chomsky Normal Form (CNF) is a simple and useful form of a CFG Every rule of a CNF grammar.
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.
Investigation #1 (cont.) Products and Multiples. 1.3 The Product Game.
Crystal Bennett Joshua Chukwuka Advisor: Dr. K. Berg.
CS 3240 – Chapter 4.  Closure Properties  Algorithms for Elementary Questions:  Is a given word, w, in L?  Is L empty, finite or infinite?  Are L.
CompSci 102 Discrete Math for Computer Science March 1, 2012 Prof. Rodger Slides modified from Rosen.
Expectation. Let X denote a discrete random variable with probability function p(x) (probability density function f(x) if X is continuous) then the expected.
4.6 Solving Quadratic Equations by Factoring BobsMathClass.Com Copyright © 2010 All Rights Reserved. 1 Solving Quadratic Equations by Factoring The Multiplication.
Winning Strategies of Games Played with Chips. I got a interesting game Now we show the game P 1 =4 P 2 =6 P 3 =8 Rule 1: Two players.
Every chess master was once a beginner. Irving Chernev
1 INFO 2950 Prof. Carla Gomes Module Induction Rosen, Chapter 4.
ALGEBRA 12.6 The Distance and Midpoint Formulas. The distance d between points and is: Find the distance between (–3, 4) and (1, –4). Why? Let’s try an.
Year 9 Proof Dr J Frost Last modified: 19 th February 2015 Objectives: Understand what is meant by a proof, and examples.
Mathematical Induction
2/24/20161 One, two, three, we’re… Counting. 2/24/20162 Basic Counting Principles Counting problems are of the following kind: “How many different 8-letter.
Section 1.7. Definitions A theorem is a statement that can be shown to be true using: definitions other theorems axioms (statements which are given as.
Mathematical Induction
K 3 -Saturator By Roy Oursler. What is K 3 -Saturator K 3 -Saturator is a combinatorial game A combinatorial game is a two player game where both of the.
Polygon Triangulation
Sorting by placement and Shift Sergi Elizalde Peter Winkler By 資工四 B 周于荃.
Hex: a Game of Connecting Faces. Player 1 Player 2 Players take turns placing blue chips (player 1) and red chips (player 2). Player 1 plays first. Player.
MA/CSSE 473 Day 19 Sleepsort Finish Nim Josephus problem
Great Theoretical Ideas in Computer Science
CSE15 Discrete Mathematics 02/08/17
Thinking Critically 1.1 An Introduction to Problem Solving
SCIT1003 Chapter 2: Sequential games - perfect information extensive form Prof. Tsang.
CHESS.
Exercise Exercise Proof that
Chapter 5 Induction and Recursion
9.4 Solving Quadratic Equations
Exercise Use mathematical induction to prove the following formula.
CS 220: Discrete Structures and their Applications
Basic Counting Lecture 9: Nov 5, 6.
Counting Elements of Disjoint Sets: The Addition Rule
Copyright © Zeph Grunschlag,
Foundations of Discrete Mathematics
Do not use a calculator for the following!!.
Presentation transcript:

New Toads and Frogs Results By Jeff Erickson Presented by Nate Swanson

Overview Notation and Game Rules Basic Simplification Techniques Ways of Calculating Knot Values

Notation and Game Rules One-dimensional board Left = Toads Right = Frogs Toads move to the right, Frogs move to the left A toad may either push to an empty square, or jump a single frog and land on an empty square

Notation and Game Rules

Basic Simplification Techniques Dead Pieces: –Any piece in a contiguous sequence starting with 2 toads (or the left edge of the board), and ending with 2 frogs (or the right edge of the board) Any other piece is alive We may remove any dead pieces

Basic Simplification Techniques

Death Leap Principle Isolated- –None of its neighboring squares is empty Any position in which the only legal moves are jumps into isolated spaces has value zero

Death Leap Principle Proof – suppose it’s Left’s turn: –If she has no move, she loses –Otherwise, she must jump into an isolated space –Right responds by pushing the jumped frog –This leaves the board in the same situation

Death Leap Principle Any board that has none of the following positions has value zero:

Terminal Toads Theorem and Finished Frogs Formula Proof: Show 2 nd wins on

Terminal Toads Theorem and Finished Frogs Formula Mirror strategy: –X is responded in (-X) –Last toad in 1 st compartment is marked with * –Any move in the third component is answered by moving the marked T, and visa versa –Enough to show Left loses going 1 st ; 2 special cases for Right –Similar argument for Fin. Frogs Form.

Terminal Toads Theorem and Finished Frogs Formula

Ways to Calculate Knot Values Knot – when all toads and frogs form a contiguous sequence Need only to consider positions that start with a single toad and end with a single frog Lemma 1 (all superscripts positive)

Ways to Calculate Knot Values Lemma 2 Proof: By case analysis of Lemma 1 and TTT

Lemma 2 Case Analysis

Ways to Calculate Knot Values Lemma 3 Proof: By case analysis of Lemma 1 and TTT (every position 3 moves away is an integer).

Ways to Calculate Knot Values Lemma 4 Proof: Show 2 nd wins on Base Case: b=2, Lemma 3 Similar argument for reverse game

Ways to Calculate Knot Values Lemma 5 If neither player can move from the position Then:

Lemma 5 Proof: induct on a –Left moving 1 st Left must jump; Right responds by pushing jumped frog By TTT, this equals (b-1) By induction, this game equals 0

Lemma 5 Right moving 1 st : counting argument –Left’s toads will move at least b times, for a total of ab moves –Right’s frog will move at most a moves, which is if Right never jumps, leaving a(b-1) + a= ab Therefore, Right will lose

Ways to Calculate Knot Values Lemma 6 –If neither player can move from the position Then TF

Ways to Calculate Knot Values Lemma 7 Proof: It suffices to prove that, We then induct on c (like before), and symmetrically do the same for the other side.

Lemma 7 Both players mark their respective single piece, and makes sure that that piece never jumps (best strategy) Left gets cd + b + d + 1 in the 1 st component and ab + a + c in the 2 nd. Right gets ab + a + c + 1 in the 1 st component, cd – d +b + 1 in the 2 nd, and d – 1 in the 3 rd Base Case: Lemma 1

Conclusion Lemmas cover each case for knotted games –Each knotted game has an integer value –Each knotted game’s value can be computed directly without evaluating any of the followers