Knights, Knaves, and Logical Reasoning
|
|
- Primrose Patrick
- 5 years ago
- Views:
Transcription
1 Knights, Knaves, and Logical Reasoning Mechanising the Laws of Thought Fabio Papacchini 1 8 March Special thanks to Francis Southern F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
2 Introduction Thinking Formalising Modelling Computing F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
3 Thinking F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
4 A Puzzle You are on a strange island where people are divided into Knights always saying the truth Knaves always saying lies You meet two natives of the island Alice and Bob, and ask them Are you knights or knaves? Alice answers At least one of us is a knave What are Alice and Bob? F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
5 Alice: At least one of us is a knave Alice Bob Alice Bob Alice Bob Alice Bob F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
6 Alice: At least one of us is a knave Alice Bob Alice Bob Alice Bob Alice Bob F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
7 Alice: At least one of us is a knave Alice Bob Alice Bob Alice Bob Alice Bob F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
8 Formalising F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
9 Formalising Correct Reasoning A: Socrates is a man B: All men are mortal C: All men are Socrates C: Socrates is mortal F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
10 Formalising Correct Reasoning A: Socrates is a man B: All men are mortal C: All men are Socrates C: Socrates is mortal Woody Allen - Life and Death Aristotle F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
11 Formalising Correct Reasoning A: Socrates is a man B: All men are mortal C: All men are Socrates C: Socrates is mortal Woody Allen - Life and Death Aristotle Linguistic, philosophical, or mathematical approaches to formalisation Today: Propositional Logic F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
12 Propositions An expression which is either true or false. F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
13 Propositions An expression which is either true or false. Proposition test: Is it true that...? = 5 Manchester Grass is green We re in Manchester What s your name? It s raining F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
14 Not, And & Not p p F T T F It s not raining Grass is not green. F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
15 Not, And & Not p p F T T F And p q p & q F F F F T F T F F T T T It s not raining Grass is not green. Grass is green and it s raining. We re in Manchester and we re in France. F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
16 Or, Implication (If, then) Or p q p q F F F F T T T F T T T T Take an aspirin or lie down. You can have milk or sugar in your tea. F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
17 Or, Implication (If, then) Or p q p q F F F F T T T F T T T T Implication p q p q F F T F T T T F F T T T Take an aspirin or lie down. You can have milk or sugar in your tea. If you get 90% on this assignment, then you ll pass the course. If you re late, then you ll give me a fiver. F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
18 Biimplication (If and only if) Biimplication p q p q F F T F T F T F F T T T I ll buy you a new wallet if (and only if) you need one. He studies if (and only if) he can. F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
19 An Example: (p & q) r p q r (p & q) (p & q) r F F F F F T F T F F T T T F F T F T T T F T T T F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
20 An Example: (p & q) r p q r (p & q) (p & q) r F F F F F F T F F T F F F T T F T F F F T F T F T T F T T T F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
21 An Example: (p & q) r p q r (p & q) (p & q) r F F F F F F T F F T F F F T T F T F F F T F T F T T F T T T T T F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
22 An Example: (p & q) r p q r (p & q) (p & q) r F F F F T F F T F T F T F F T F T T F T T F F F T T F T F T T T F T T T T T F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
23 An Example: (p & q) r p q r (p & q) (p & q) r F F F F T F F T F T F T F F T F T T F T T F F F T T F T F T T T F T F T T T T F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
24 An Example: (p & q) r p q r (p & q) (p & q) r F F F F T F F T F T F T F F T F T T F T T F F F T T F T F T T T F T F T T T T T F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
25 Modelling F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
26 The Trick k A = Alice is a knight k A = Alice is a knave Alice says X is the same as k A X. F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
27 The Trick k A = Alice is a knight k A = Alice is a knave Alice says X is the same as k A X. Alice says at least one of us is a knave I m a knave or Bob is a knave k A k B k A ( k A k B ) F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
28 The Trick k A = Alice is a knight k A = Alice is a knave Alice says X is the same as k A X. Alice says at least one of us is a knave I m a knave or Bob is a knave k A k B k A ( k A k B ) k A k B k A k B k A k B k A ( k A k B ) F F T T T F T T F T T F F T T T T F F F F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
29 The Trick k A = Alice is a knight k A = Alice is a knave Alice says X is the same as k A X. Alice says at least one of us is a knave I m a knave or Bob is a knave k A k B k A ( k A k B ) k A k B k A k B k A k B k A ( k A k B ) F F T T T F F T T F T T F F T T T T F F F F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
30 The Trick k A = Alice is a knight k A = Alice is a knave Alice says X is the same as k A X. Alice says at least one of us is a knave I m a knave or Bob is a knave k A k B k A ( k A k B ) k A k B k A k B k A k B k A ( k A k B ) F F T T T F F T T F T F T F F T T T T F F F F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
31 The Trick k A = Alice is a knight k A = Alice is a knave Alice says X is the same as k A X. Alice says at least one of us is a knave I m a knave or Bob is a knave k A k B k A ( k A k B ) k A k B k A k B k A k B k A ( k A k B ) F F T T T F F T T F T F T F F T T T T T F F F F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
32 The Trick k A = Alice is a knight k A = Alice is a knave Alice says X is the same as k A X. Alice says at least one of us is a knave I m a knave or Bob is a knave k A k B k A ( k A k B ) k A k B k A k B k A k B k A ( k A k B ) F F T T T F F T T F T F T F F T T T T T F F F F F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
33 From Solving to Modelling Alice Alice: At least one of us is a knave Bob Alice Bob Alice Bob Alice Bob F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
34 From Solving to Modelling Alice: At least one of us is a knave k A = Alice is a knight The trick: Alice says X is the same as k A X At least one of us is a knave = k A k B Alice says At least one of us is a knave = k A ( k A k B ) F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
35 From Solving to Modelling Alice: At least one of us is a knave k A = Alice is a knight The trick: Alice says X is the same as k A X At least one of us is a knave = k A k B Alice says At least one of us is a knave = k A ( k A k B ) Can be (really) hard, but you only have to do it once! F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
36 Modelling a Sudoku What propositions do we need? Number n is in row i and column j F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
37 Modelling a Sudoku What propositions do we need? Number n is in row i and column j number 7 is in row 1 and column propositions! p (1,1,1), p (1,1,2),..., p (9,9,9) rows in a truth table atoms in the visible universe F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
38 Modelling a Sudoku What propositions do we need? Number n is in row i and column j number 7 is in row 1 and column propositions! p (1,1,1), p (1,1,2),..., p (9,9,9) rows in a truth table atoms in the visible universe What do we have to model? at least one number per cell (p (1,1,1) p (2,1,1)... p (9,1,1) ) at most one number per cell (p (1,1,1) p (2,1,1),... ) F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
39 Modelling a Sudoku What propositions do we need? Number n is in row i and column j number 7 is in row 1 and column propositions! p (1,1,1), p (1,1,2),..., p (9,9,9) rows in a truth table atoms in the visible universe What do we have to model? at least one number per cell (p (1,1,1) p (2,1,1)... p (9,1,1) ) at most one number per cell (p (1,1,1) p (2,1,1),... ) no number can be repeated in a row F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
40 Modelling a Sudoku What propositions do we need? Number n is in row i and column j number 7 is in row 1 and column propositions! p (1,1,1), p (1,1,2),..., p (9,9,9) rows in a truth table atoms in the visible universe What do we have to model? at least one number per cell (p (1,1,1) p (2,1,1)... p (9,1,1) ) at most one number per cell (p (1,1,1) p (2,1,1),... ) no number can be repeated in a row/column F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
41 Modelling a Sudoku What propositions do we need? Number n is in row i and column j number 7 is in row 1 and column propositions! p (1,1,1), p (1,1,2),..., p (9,9,9) rows in a truth table atoms in the visible universe What do we have to model? at least one number per cell (p (1,1,1) p (2,1,1)... p (9,1,1) ) at most one number per cell (p (1,1,1) p (2,1,1),... ) no number can be repeated in a row/column/region F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
42 Computing F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
43 Automating the Process Truth table mechanical time consuming (2 n rows!) tedious F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
44 Automating the Process Truth table mechanical time consuming (2 n rows!) tedious Let a computer do it for you! ideal for mechanical tasks only needs an input formula much faster than us the output is easily customisable F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
45 Automated Reasoning Much more than solving puzzles! software and hardware verification Intel and Microsoft information management biomedical ontologies, Semantic Web, databases combinatorial reasoning constraint satisfaction, planning, scheduling Internet security theorem proving in mathematics F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
46 Where Could Have Been Used Ariane 5 rocket failure due to a software bug, cost $370 million. F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
47 Where Has Been Used To find and fix a bug in a widely used sorting algorithm! F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
48 Where Has Been Used To find and fix a bug in a widely used sorting algorithm! Even Amazon and Facebook use automated reasoning techniques! F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
49 Automated Reasoning Competitions The CADE ATP System Competition (CASC) OWL Reasoning Competition (ORE) SAT-Race F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
50 Do You Want to Know More? Feel free to ask questions or look at the references on the handout! F. Papacchini Knights, Knaves, and Logical Reasoning 8 March / 23
22c181: Formal Methods in Software Engineering. The University of Iowa Spring Propositional Logic
22c181: Formal Methods in Software Engineering The University of Iowa Spring 2010 Propositional Logic Copyright 2010 Cesare Tinelli. These notes are copyrighted materials and may not be used in other course
More informationModal logic. Benzmüller/Rojas, 2014 Artificial Intelligence 2
Modal logic Benzmüller/Rojas, 2014 Artificial Intelligence 2 What is Modal Logic? Narrowly, traditionally: modal logic studies reasoning that involves the use of the expressions necessarily and possibly.
More informationLogical Agents (AIMA - Chapter 7)
Logical Agents (AIMA - Chapter 7) CIS 391 - Intro to AI 1 Outline 1. Wumpus world 2. Logic-based agents 3. Propositional logic Syntax, semantics, inference, validity, equivalence and satifiability Next
More information11/18/2015. Outline. Logical Agents. The Wumpus World. 1. Automating Hunt the Wumpus : A different kind of problem
Outline Logical Agents (AIMA - Chapter 7) 1. Wumpus world 2. Logic-based agents 3. Propositional logic Syntax, semantics, inference, validity, equivalence and satifiability Next Time: Automated Propositional
More informationInvestigation of Algorithmic Solutions of Sudoku Puzzles
Investigation of Algorithmic Solutions of Sudoku Puzzles Investigation of Algorithmic Solutions of Sudoku Puzzles The game of Sudoku as we know it was first developed in the 1979 by a freelance puzzle
More informationMicrosoft Excel Math Formula Guide
Microsoft Excel is a spreadsheet software that is used to organize and calculate data. This handout will focus on how to use built-in Excel functions to solve basic mathematical calculations. Basics of
More informationLogic Masters India Presents. April 14 16, 2012 April 2012 Monthly Sudoku Test INSTRUCTION BOOKLET
Logic Masters India Presents April 14 16, 2012 April 2012 Monthly Sudoku Test INSTRUCTION BOOKLET Thanks to Tawan Sunathvanichkul (ta mz29) for test solving the puzzles and David Millar for designing the
More informationBeyond Sudoku: Using Puzzles to Develop Students Logical-Thinking Skills. Jeffrey J. Wanko Miami University - Oxford, OH
Beyond Sudoku: Using Puzzles to Develop Students Logical-Thinking Skills Jeffrey J. Wanko Miami University - Oxford, OH Bridges Some cells start out with numbers from 1 to 8 inclusive--these are the islands.
More informationComparing Methods for Solving Kuromasu Puzzles
Comparing Methods for Solving Kuromasu Puzzles Leiden Institute of Advanced Computer Science Bachelor Project Report Tim van Meurs Abstract The goal of this bachelor thesis is to examine different methods
More informationIdeas beyond Number. Teacher s guide to Activity worksheets
Ideas beyond Number Teacher s guide to Activity worksheets Learning objectives To explore reasoning, logic and proof through practical, experimental, structured and formalised methods of communication
More informationG53CLP Constraint Logic Programming
G53CLP Constraint Logic Programming Dr Rong Qu Modeling CSPs Case Study I Constraint Programming... represents one of the closest approaches computer science has yet made to the Holy Grail of programming:
More informationUC Berkeley CS61C : Machine Structures
CS61C L22 Representations of Combinatorial Logic Circuits (1) inst.eecs.berkeley.edu/~cs61c UC Berkeley CS61C : Machine Structures Lecture 22 Representations of Combinatorial Logic Circuits 27-3-9 TA David
More informationLatin squares and related combinatorial designs. Leonard Soicher Queen Mary, University of London July 2013
Latin squares and related combinatorial designs Leonard Soicher Queen Mary, University of London July 2013 Many of you are familiar with Sudoku puzzles. Here is Sudoku #043 (Medium) from Livewire Puzzles
More informationOn the Combination of Constraint Programming and Stochastic Search: The Sudoku Case
On the Combination of Constraint Programming and Stochastic Search: The Sudoku Case Rhydian Lewis Cardiff Business School Pryfysgol Caerdydd/ Cardiff University lewisr@cf.ac.uk Talk Plan Introduction:
More informationUC Berkeley CS61C : Machine Structures
inst.eecs.berkeley.edu/~cs61c UC Berkeley CS61C : Machine Structures Lecture 22 Representations of Combinatorial Logic Circuits Lecturer SOE Dan Garcia www.cs.berkeley.edu/~ddgarcia 100 MPG Car contest!
More informationUN DOS TREZ Sudoku Competition. Puzzle Booklet for Preliminary Round. 19-Feb :45PM 75 minutes
Name: College: Email id: Contact: UN DOS TREZ Sudoku Competition Puzzle Booklet for Preliminary Round 19-Feb-2010 4:45PM 75 minutes In Association With www.logicmastersindia.com Rules of Sudoku A typical
More informationFormally Verified Endgame Tables
Formally Verified Endgame Tables Joe Leslie-Hurd Intel Corp. joe@gilith.com Guest Lecture, Combinatorial Games Portland State University Thursday 25 April 2013 Joe Leslie-Hurd Formally Verified Endgame
More informationCounting Sudoku Variants
Counting Sudoku Variants Wayne Zhao mentor: Dr. Tanya Khovanova Bridgewater-Raritan Regional High School May 20, 2018 MIT PRIMES Conference Wayne Zhao Counting Sudoku Variants 1 / 21 Sudoku Number of fill-ins
More informationMAT 1160 Mathematics, A Human Endeavor
MAT 1160 Mathematics, A Human Endeavor Syllabus: office hours, grading Schedule (note exam dates) Academic Integrity Guidelines Homework & Quizzes Course Web Site : www.eiu.edu/ mathcs/mat1160/ 2005 09,
More informationultimate variety puzzles book for adults brain games great numbers brain games teasers for adults ensuring unlimited fun
DOWNLOAD OR READ : ULTIMATE VARIETY PUZZLES BOOK FOR ADULTS BRAIN GAMES GREAT NUMBERS BRAIN GAMES TEASERS FOR ADULTS ENSURING UNLIMITED FUN PDF EBOOK EPUB MOBI Page 1 Page 2 for adults ensuring unlimited
More informationarxiv:cs/ v2 [cs.cc] 27 Jul 2001
Phutball Endgames are Hard Erik D. Demaine Martin L. Demaine David Eppstein arxiv:cs/0008025v2 [cs.cc] 27 Jul 2001 Abstract We show that, in John Conway s board game Phutball (or Philosopher s Football),
More informationa b y UC Berkeley CS61C : Machine Structures Hello Helo,world!
CS61C L23 Representations of Combinatorial Logic Circuits (1) inst.eecs.berkeley.edu/~cs61c UC Berkeley CS61C : Machine Structures Lecture 23 Representations of Combinatorial Logic Circuits 2006-10-20
More informationAlice s Adventures in Wonderland Puzzle Book
Alice s Adventures in Wonderland Puzzle Book Hannah Bolander Muncie, Indiana 1 Alice s Adventures in Wonderland Puzzle Book Table of Contents Chapter 1: Chutes and Ladders with a Twist Chapter 2: Water,
More informationUsing KenKen to Build Reasoning Skills 1
1 INTRODUCTION Using KenKen to Build Reasoning Skills 1 Harold Reiter Department of Mathematics, University of North Carolina Charlotte, Charlotte, NC 28223, USA hbreiter@email.uncc.edu John Thornton Charlotte,
More informationKenken For Teachers. Tom Davis January 8, Abstract
Kenken For Teachers Tom Davis tomrdavis@earthlink.net http://www.geometer.org/mathcircles January 8, 00 Abstract Kenken is a puzzle whose solution requires a combination of logic and simple arithmetic
More informationSudoku 16 X 16: 100 Sudoku Puzzles Volume 2 By David Badger READ ONLINE
Sudoku 16 X 16: 100 Sudoku Puzzles Volume 2 By David Badger READ ONLINE If you are searching for a ebook Sudoku 16 x 16: 100 Sudoku puzzles Volume 2 by David Badger in pdf format, then you've come to the
More informationThe Mathematics Behind Sudoku Laura Olliverrie Based off research by Bertram Felgenhauer, Ed Russel and Frazer Jarvis. Abstract
The Mathematics Behind Sudoku Laura Olliverrie Based off research by Bertram Felgenhauer, Ed Russel and Frazer Jarvis Abstract I will explore the research done by Bertram Felgenhauer, Ed Russel and Frazer
More informationSudokuSplashZone. Overview 3
Overview 3 Introduction 4 Sudoku Game 4 Game grid 4 Cell 5 Row 5 Column 5 Block 5 Rules of Sudoku 5 Entering Values in Cell 5 Solver mode 6 Drag and Drop values in Solver mode 6 Button Inputs 7 Check the
More information1st UKPA Sudoku Championship
st UKPA Sudoku Championship COMPETITION PUZZLES Saturday 6th Sunday 7th November 00 Championship Duration: hours. Puzzles designed by Tom Collyer # - Classic Sudoku ( 4) 0pts #8 - No Touch Sudoku 5pts
More informationPractical Aspects of Logic in AI
Artificial Intelligence Topic 15 Practical Aspects of Logic in AI Reading: Russell and Norvig, Chapter 10 Description Logics as Ontology Languages for the Semantic Web, F. Baader, I. Horrocks and U.Sattler,
More informationWPF SUDOKU GP 2014 ROUND 2 WPF SUDOKU/PUZZLE GRAND PRIX Puzzle authors: Serbia. Organised by
WPF SUDOKU/PUZZLE GRAND PRIX 2014 WPF SUDOKU GP 2014 Puzzle authors: Serbia Classic sudoku by Nikola Živanović Sudoku variations by Zoran Tanasić and Čedomir Milanović Organised by 1 Classic Sudoku (6
More informationCOEN7501: Formal Hardware Verification
COEN7501: Formal Hardware Verification Prof. Sofiène Tahar Hardware Verification Group Electrical and Computer Engineering Concordia University Montréal, Quebec CANADA Accident at Carbide plant, India
More informationWPF SUDOKU/PUZZLE GRAND PRIX 2014 WPF SUDOKU GP 2014 COMPETITION BOOKLET ROUND 4. Puzzle authors: Russia Andrey Bogdanov, Olga Leontieva.
WPF SUDOKU/PUZZLE GRAND PRIX 204 WPF SUDOKU GP 204 COMPETITION BOOKLET Puzzle authors: Russia Andrey Bogdanov, Olga Leontieva Organised by Classic Sudoku ( points) Answer Key: Enter the st row of digits,
More informationYou ve seen them played in coffee shops, on planes, and
Every Sudoku variation you can think of comes with its own set of interesting open questions There is math to be had here. So get working! Taking Sudoku Seriously Laura Taalman James Madison University
More informationDEVELOPING LOGICAL SKILLS WITH THE HELP OF SUDOKU. Radost Nicolaeva-Cohen, Andreea Timiras, Adrian Buciu, Emil Robert Rudi Wimmer
DEVELOPING LOGICAL SKILLS WITH THE HELP OF SUDOKU Radost Nicolaeva-Cohen, Andreea Timiras, Adrian Buciu, Emil Robert Rudi Wimmer Larnaka 28. März 2018 Basics History Pro and Contra on Sudoku for teaching
More informationDesign and Analysis of Information Systems Topics in Advanced Theoretical Computer Science. Autumn-Winter 2011
Design and Analysis of Information Systems Topics in Advanced Theoretical Computer Science Autumn-Winter 2011 Purpose of the lecture Design of information systems Statistics Database management and query
More informationEnrichment chapter: ICT and computers. Objectives. Enrichment
Enrichment chapter: ICT and computers Objectives By the end of this chapter the student should be able to: List some of the uses of Information and Communications Technology (ICT) Use a computer to perform
More informationLogic Masters India Presents
Logic Masters India Presents February 12 13, 2011 February 2011 Monthly Sudoku Test INSTRUCTION BOOKLET Submission: http://logicmastersindia.com/m201102s/ This contest deals with Sudoku variants. Each
More informationLogicBlocks & Digital Logic Introduction
Page 1 of 10 LogicBlocks & Digital Logic Introduction Introduction Get up close and personal with the driving force behind the world of digital electronics - digital logic! The LogicBlocks kit is your
More informationAlmost everyone knows that mathematics serves the very practical purpose of dictating engineering design... It is... less widely known that
Almost everyone knows that mathematics serves the very practical purpose of dictating engineering design.... It is... less widely known that mathematics has determined the direction and content of philosophical
More informationLogicBlocks & Digital Logic Introduction a
LogicBlocks & Digital Logic Introduction a learn.sparkfun.com tutorial Available online at: http://sfe.io/t215 Contents Introduction What is Digital Logic? LogicBlocks Fundamentals The Blocks In-Depth
More informationChapter 1: Digital logic
Chapter 1: Digital logic I. Overview In PHYS 252, you learned the essentials of circuit analysis, including the concepts of impedance, amplification, feedback and frequency analysis. Most of the circuits
More informationSudoku Mock Test 5. Instruction Booklet. 28 th December, IST (GMT ) 975 points + Time Bonus. Organized by. Logic Masters: India
Sudoku Mock Test 5 Instruction Booklet 28 th December, 2008 14.30 16.30 IST (GMT + 5.30) 975 points + Time Bonus Organized by Logic Masters: India Points Distribution No. Sudoku Points Puzzle Creator 1
More informationTheorem Proving and Model Checking
Theorem Proving and Model Checking (or: how to have your cake and eat it too) Joe Hurd joe.hurd@comlab.ox.ac.uk Cakes Talk Computing Laboratory Oxford University Theorem Proving and Model Checking Joe
More informationCS 730/830: Intro AI. Prof. Wheeler Ruml. TA Bence Cserna. Thinking inside the box. 5 handouts: course info, project info, schedule, slides, asst 1
CS 730/830: Intro AI Prof. Wheeler Ruml TA Bence Cserna Thinking inside the box. 5 handouts: course info, project info, schedule, slides, asst 1 Wheeler Ruml (UNH) Lecture 1, CS 730 1 / 23 My Definition
More informationSUDOKU SURPRISE. Hosted by Logic Masters India November Puzzles set by David McNeill Tested by Tom Collyer, Yuhei Kusui and Robert Vollmert
SUDOKU SURPRISE Hosted by Logic Masters India November 2014 Puzzles set by David McNeill Tested by Tom Collyer, Yuhei Kusui and Robert Vollmert I was exhausted after the World Puzzle and Sudoku Championships.
More informationLOGIC. ON THE ISLAND OF KNIGHTS AND KNAVES
CHPER 2 LOGIC. ON HE ISLND O KNIGHS ND KNVES Mathematics is not a spectator sport. If you want to improve, you have to play the sport! Do your homework! On separate quadrille paper hand it in at the beginning
More informationISudoku. Jonathon Makepeace Matthew Harris Jamie Sparrow Julian Hillebrand
Jonathon Makepeace Matthew Harris Jamie Sparrow Julian Hillebrand ISudoku Abstract In this paper, we will analyze and discuss the Sudoku puzzle and implement different algorithms to solve the puzzle. After
More informationLecture 2. 1 Nondeterministic Communication Complexity
Communication Complexity 16:198:671 1/26/10 Lecture 2 Lecturer: Troy Lee Scribe: Luke Friedman 1 Nondeterministic Communication Complexity 1.1 Review D(f): The minimum over all deterministic protocols
More informationCongruence. Solving linear congruences. A linear congruence is an expression in the form. ax b (modm)
Congruence Solving linear congruences A linear congruence is an expression in the form ax b (modm) a, b integers, m a positive integer, x an integer variable. x is a solution if it makes the congruence
More informationA year ago I investigated a mathematical problem relating to Latin squares. Most people, whether knowing it or not, have actually seen a Latin square
1 How I Got Started: A year ago I investigated a mathematical problem relating to Latin squares. Most people, whether knowing it or not, have actually seen a Latin square at some point in their lives and
More informationFormal Verification. Lecture 5: Computation Tree Logic (CTL)
Formal Verification Lecture 5: Computation Tree Logic (CTL) Jacques Fleuriot 1 jdf@inf.ac.uk 1 With thanks to Bob Atkey for some of the diagrams. Recap Previously: Linear-time Temporal Logic This time:
More informationAbout the speed of animated models in MS Excel part #2
About the speed of animated models in MS Excel part #2 by George Lungu - This is the second part of a presentation concerning the calculation speed in Excel workbooks. - The first half contained a speed
More informationBEST SUDOKU PUZZLE BOOK 1 ANTI STRESS RELAXING SUDOKU PUZZLES 200 EASY HARD PUZZLES
BEST SUDOKU PUZZLE BOOK 1 ANTI STRESS RELAXING SUDOKU PUZZLES 200 EASY HARD PUZZLES page 1 / 5 page 2 / 5 best sudoku puzzle book pdf Free Printable Sudoku Puzzles. Create thousands of printable sudoku
More informationApplications of Advanced Mathematics (C4) Paper B: Comprehension INSERT WEDNESDAY 21 MAY 2008 Time:Upto1hour
ADVANCED GCE 4754/01B MATHEMATICS (MEI) Applications of Advanced Mathematics (C4) Paper B: Comprehension INSERT WEDNESDAY 21 MAY 2008 Afternoon Time:Upto1hour INSTRUCTIONS TO CANDIDATES This insert contains
More informationUnlock the power of location. Gjermund Jakobsen ITS Konferansen 2017
Unlock the power of location Gjermund Jakobsen ITS Konferansen 2017 50B 200 Countries mapped HERE in numbers Our world in numbers 7,000+ Employees in 56 countries focused on delivering the world s best
More informationFormal Hardware Verification: Theory Meets Practice
Formal Hardware Verification: Theory Meets Practice Dr. Carl Seger Senior Principal Engineer Tools, Flows and Method Group Server Division Intel Corp. June 24, 2015 1 Quiz 1 Small Numbers Order the following
More informationT H E M A T H O F S U D O K U
T H E M A T H S U D O K U O F Oscar Vega. Department of Mathematics. College of Science and Mathematics Centennial Celebration. California State University, Fresno. May 13 th, 2011. The Game A Sudoku board
More informationisudoku Computing Solutions to Sudoku Puzzles w/ 3 Algorithms by: Gavin Hillebrand Jamie Sparrow Jonathon Makepeace Matthew Harris
isudoku Computing Solutions to Sudoku Puzzles w/ 3 Algorithms by: Gavin Hillebrand Jamie Sparrow Jonathon Makepeace Matthew Harris What is Sudoku? A logic-based puzzle game Heavily based in combinatorics
More informationTaking Sudoku Seriously
Taking Sudoku Seriously Laura Taalman, James Madison University You ve seen them played in coffee shops, on planes, and maybe even in the back of the room during class. These days it seems that everyone
More informationAdaptive Fault Diagnosis using Self-Referential Reasoning by Robert Cowen
Adaptive Fault Diagnosis using Self-Referential Reasoning by Robert Cowen 1. Introduction. I first encountered logical puzzles about Knights, who always tell the truth, Knaves, who always lie, and Normals,
More informationSUDOKU X. Samples Document. by Andrew Stuart. Moderate
SUDOKU X Moderate Samples Document by Andrew Stuart About Sudoku X This is a variant of the popular Sudoku puzzle which contains two extra constraints on the solution, namely the diagonals, typically indicated
More informationWhat are Career Opportunities if You Are Good in Math? Rafal Kulik Department of Mathematics and Statistics
What are Career Opportunities if You Are Good in Math? Rafal Kulik Department of Mathematics and Statistics matchair@uottawa.ca Doing mathematics and statistics means Identifying and solving problems Proving
More informationApplications of Advanced Mathematics (C4) Paper B: Comprehension WEDNESDAY 21 MAY 2008 Time:Upto1hour
ADVANCED GCE 4754/01B MATHEMATICS (MEI) Applications of Advanced Mathematics (C4) Paper B: Comprehension WEDNESDAY 21 MAY 2008 Afternoon Time:Upto1hour Additional materials: Rough paper MEI Examination
More informationA Grid of Liars. Ryan Morrill University of Alberta
A Grid of Liars Ryan Morrill rmorrill@ualberta.ca University of Alberta Say you have a row of 15 people, each can be either a knight or a knave. Knights always tell the truth, while Knaves always lie.
More informationCOMP219: Artificial Intelligence. Lecture 2: AI Problems and Applications
COMP219: Artificial Intelligence Lecture 2: AI Problems and Applications 1 Introduction Last time General module information Characterisation of AI and what it is about Today Overview of some common AI
More information1 Introduction. 2 An Easy Start. KenKen. Charlotte Teachers Institute, 2015
1 Introduction R is a puzzle whose solution requires a combination of logic and simple arithmetic and combinatorial skills 1 The puzzles range in difficulty from very simple to incredibly difficult Students
More information1. MacBride s description of reductionist theories of modality
DANIEL VON WACHTER The Ontological Turn Misunderstood: How to Misunderstand David Armstrong s Theory of Possibility T here has been an ontological turn, states Fraser MacBride at the beginning of his article
More informationSudoku Tutor 1.0 User Manual
Sudoku Tutor 1.0 User Manual CAPABILITIES OF SUDOKU TUTOR 1.0... 2 INSTALLATION AND START-UP... 3 PURCHASE OF LICENSING AND REGISTRATION... 4 QUICK START MAIN FEATURES... 5 INSERTION AND REMOVAL... 5 AUTO
More informationUNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS International General Certificate of Secondary Education. Paper 1 May/June hours 30 minutes
www.xtremepapers.com UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS International General Certificate of Secondary Education *4670938493* COMPUTER STUDIES 0420/11 Paper 1 May/June 2012 2 hours 30 minutes
More informationUKPA Presents. March 12 13, 2011 INSTRUCTION BOOKLET.
UKPA Presents March 12 13, 2011 INSTRUCTION BOOKLET This contest deals with Sudoku and its variants. The Puzzle types are: No. Puzzle Points 1 ChessDoku 20 2 PanDigital Difference 25 3 Sequence Sudoku
More informationSpring 06 Assignment 2: Constraint Satisfaction Problems
15-381 Spring 06 Assignment 2: Constraint Satisfaction Problems Questions to Vaibhav Mehta(vaibhav@cs.cmu.edu) Out: 2/07/06 Due: 2/21/06 Name: Andrew ID: Please turn in your answers on this assignment
More informationAdverserial Search Chapter 5 minmax algorithm alpha-beta pruning TDDC17. Problems. Why Board Games?
TDDC17 Seminar 4 Adversarial Search Constraint Satisfaction Problems Adverserial Search Chapter 5 minmax algorithm alpha-beta pruning 1 Why Board Games? 2 Problems Board games are one of the oldest branches
More informationCS:4420 Artificial Intelligence
CS:4420 Artificial Intelligence Spring 2018 Introduction Cesare Tinelli The University of Iowa Copyright 2004 18, Cesare Tinelli and Stuart Russell a a These notes were originally developed by Stuart Russell
More informationAI Day on Knowledge Representation and Automated Reasoning
Faculty of Engineering and Natural Sciences AI Day on Knowledge Representation and Automated Reasoning Wednesday, 21 May 2008 13:40 15:30, FENS G035 15:40 17:00, FENS G029 Knowledge Representation and
More informationCombinational Logic Design CH002
Combinational Logic Design CH002 Figure 2.1 Circuit as a black box with inputs, outputs, and specifications Figure 2.2 Elements and nodes Figure 2.3 Combinational logic circuit Figure 2.4 Two OR implementations
More informationTable of Contents. What s Different?... 19
Table of Contents Introduction... 4 Puzzle Hints... 5 6 Picture Puzzles......... 7 28 Shape Find............... 7 Fit It!...7 Solid Gold Game.......... 8 Shape Construction...9 What s Different?..........
More informationSoftware Eng. 2F03: Logic For Software Engineering
Software Eng. 2F03: Logic For Software Engineering Dr. Mark Lawford Dept. of Computing And Software, Faculty of Engineering McMaster University 0-0 Motivation Why study logic? You want to learn some cool
More informationIntroduction to AI. What is Artificial Intelligence?
Introduction to AI Instructor: Dr. Wei Ding Fall 2009 1 What is Artificial Intelligence? Views of AI fall into four categories: Thinking Humanly Thinking Rationally Acting Humanly Acting Rationally The
More informationIntroduction to Artificial Intelligence
Introduction to Artificial Intelligence By Budditha Hettige Sources: Based on An Introduction to Multi-agent Systems by Michael Wooldridge, John Wiley & Sons, 2002 Artificial Intelligence A Modern Approach,
More informationAn efficient algorithm for solving nonograms
Appl Intell (2011) 35:18 31 DOI 10.1007/s10489-009-0200-0 An efficient algorithm for solving nonograms Chiung-Hsueh Yu Hui-Lung Lee Ling-Hwei Chen Published online: 13 November 2009 Springer Science+Business
More informationProblem A. Ancient Keyboard
3th ACM International Collegiate Programming Contest, 5 6 Asia Region, Tehran Site Sharif University of Technology 1 Dec. 5 Sponsored by Problem A. Ancient Keyboard file: Program file: A.IN A.cpp/A.c/A.dpr/A.java
More informationLight Up is NP-complete
Light Up is NP-complete Brandon McPhail February 8, 5 ( ) w a b a b z y Figure : An OR/NOR gate for our encoding of logic circuits as a Light Up puzzle. Abstract Light Up is one of many paper-and-pencil
More informationGenerating College Conference Basketball Schedules by a SAT Solver
Generating College Conference Basketball Schedules by a SAT Solver Hantao Zhang Computer Science Department The University of Iowa Iowa City, IA 52242 hzhang@cs.uiowa.edu February 7, 2002 1 Introduction
More informationI followed the steps to work through four examples. Conjecture: It is 3 times. It worked.
1.6 Reasoning to Solve Problems GOAL Solve problems using inductive or deductive reasoning. INVESTIGATE the Math Emma was given this math trick: Choose a number. Multiply by 6. Add 4. Divide by 2. Subtract
More informationStandard Sudoku point. 1 point. P a g e 1
P a g e 1 Standard 1-2 Place a digit from 1 to 6 in each empty cell so that each digit appears exactly once in each row, column and 2X box. 1 point A 6 2 6 2 1 5 1 point B 5 2 2 4 1 1 6 5 P a g e 2 Standard
More informationPhysical Zero-Knowledge Proof: From Sudoku to Nonogram
Physical Zero-Knowledge Proof: From Sudoku to Nonogram Wing-Kai Hon (a joint work with YF Chien) 2008/12/30 Lab of Algorithm and Data Structure Design (LOADS) 1 Outline Zero-Knowledge Proof (ZKP) 1. Cave
More informationNurikabe puzzle. Zhen Zuo
Nurikabe puzzle Zhen Zuo ABSTRACT Single-player games (often called puzzles) have received considerable attention from the scientific community. Consequently, interesting insights into some puzzles, and
More informationFAU Math Circle 10/3/2015
FAU Math Circle 10/3/2015 Math Warm Up The National Mathematics Salute!!! (Ana) What is the correct way of saying it: 5 and 6 are 12 or 5 and 6 is 12? MCFAU/2015/10/3 2 For the next three questions we
More informationKenKen Strategies 17+
KenKen is a puzzle whose solution requires a combination of logic and simple arithmetic and combinatorial skills. The puzzles range in difficulty from very simple to incredibly difficult. Students who
More informationPart III F F J M. Name
Name 1. Pentaminoes 15 points 2. Pearls (Masyu) 20 points 3. Five Circles 30 points 4. Mastermindoku 35 points 5. Unequal Skyscrapers 40 points 6. Hex Alternate Corners 40 points 7. Easy Islands 45 points
More informationPERMUTATIONS - II JUNIOR CIRCLE 05/01/2011
PERMUTATIONS - II JUNIOR CIRCLE 05/01/2011 (1) Play the following game with your partner several times: Take 5 cards with numbers 1, 2, 3, 4, 5 written on them; Mix the order of the cards and put them
More informationCRACKING THE 15 PUZZLE - PART 4: TYING EVERYTHING TOGETHER BEGINNERS 02/21/2016
CRACKING THE 15 PUZZLE - PART 4: TYING EVERYTHING TOGETHER BEGINNERS 02/21/2016 Review Recall from last time that we proved the following theorem: Theorem 1. The sign of any transposition is 1. Using this
More informationLecture 7: Digital Logic
Lecture 7: Digital Logic Last time we introduced the concept of digital electronics i.e., one identifies a range of voltages with the value, and another range with the value But we didn t specify these
More informationSTRATEGY AND COMPLEXITY OF THE GAME OF SQUARES
STRATEGY AND COMPLEXITY OF THE GAME OF SQUARES FLORIAN BREUER and JOHN MICHAEL ROBSON Abstract We introduce a game called Squares where the single player is presented with a pattern of black and white
More informationCracking the Sudoku: A Deterministic Approach
Cracking the Sudoku: A Deterministic Approach David Martin Erica Cross Matt Alexander Youngstown State University Youngstown, OH Advisor: George T. Yates Summary Cracking the Sodoku 381 We formulate a
More informationWhich Rectangular Chessboards Have a Bishop s Tour?
Which Rectangular Chessboards Have a Bishop s Tour? Gabriela R. Sanchis and Nicole Hundley Department of Mathematical Sciences Elizabethtown College Elizabethtown, PA 17022 November 27, 2004 1 Introduction
More informationGrade 6 Math Circles. Math Jeopardy
Faculty of Mathematics Waterloo, Ontario N2L 3G1 Introduction Grade 6 Math Circles November 28/29, 2017 Math Jeopardy Centre for Education in Mathematics and Computing This lessons covers all of the material
More informationFor Better Brains. SUDOKU ROYALE! INSTRUCTION BOOK
E LVERSON PUZZL E TM For etter rains. SUOKU ROYALE! INSTRUTION OOK TM For or more Players For Ages and Up ONTENTS game mat game chips ( sets of colors) travel bag OJET Players take turns solving a sudoku
More informationThe Three Laws of Artificial Intelligence
The Three Laws of Artificial Intelligence Dispelling Common Myths of AI We ve all heard about it and watched the scary movies. An artificial intelligence somehow develops spontaneously and ferociously
More information