C LAUS B RABRAND & J ACOB A NDERSEN © S EMANTICS (Q1,’07) Aug 30, 2007 Adapted version for dSem 2007 Original story by: C LAUS B RABRAND © 2005–2006, University.

Slides:



Advertisements
Similar presentations
Keystone Illustrations Keystone Illustrations next Set 10 © 2007 Herbert I. Gross.
Advertisements

CALCULATOR MANIPULATION. Due to the differences in calculators you will have to be able to use your own effectively.
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Copyright © Cengage Learning. All rights reserved.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Semantics Q S EMANTICS (Q1,’07) Week 1 Jacob Andersen PhD student
Section 7.4: Closures of Relations Let R be a relation on a set A. We have talked about 6 properties that a relation on a set may or may not possess: reflexive,
Copyright © Cengage Learning. All rights reserved.
Algebra Problems… Solutions Algebra Problems… Solutions © 2007 Herbert I. Gross Set 22 By Herbert I. Gross and Richard A. Medeiros next.
C LAUS B RABRAND S EMANTICS (Q1,’05) S EP 8, 2005 C LAUS B RABRAND © 2005, University of Aarhus [ ] [
C LAUS B RABRAND © S EMANTICS (Q1,’06) S EP 3, 2006 C LAUS B RABRAND © 2005–2006, University of Aarhus [ ] [
C LAUS B RABRAND © S EMANTICS (Q1,’06) A UG 31, 2006 C LAUS B RABRAND © 2005–2006, University of Aarhus [ ] [
Copyright © Cengage Learning. All rights reserved.
C LAUS B RABRAND © S EMANTICS (Q1,’05) S EP 1, 2005 C LAUS B RABRAND © 2005, University of Aarhus [ ] [
Gateway Quiz Reminders: The next Gateway will be given in class next week or the week after )check your course calendar.) Before then, each student who.
Properties refer to rules that indicate a standard procedure or method to be followed. A proof is a demonstration of the truth of a statement in mathematics.
Identity and Equality Properties. Properties refer to rules that indicate a standard procedure or method to be followed. A proof is a demonstration of.
Identity and Equality Properties. © William James Calhoun To recognize and use the properties of identity and equality, and to determine the multiplicative.
Psy B07 Chapter 1Slide 1 ANALYSIS OF VARIANCE. Psy B07 Chapter 1Slide 2 t-test refresher  In chapter 7 we talked about analyses that could be conducted.
Copyright © Cengage Learning. All rights reserved. CHAPTER 11 ANALYSIS OF ALGORITHM EFFICIENCY ANALYSIS OF ALGORITHM EFFICIENCY.
Generating Number Sequences
Sequences and Series A sequence is an ordered list of numbers where each term is obtained according to a fixed rule. A series, or progression, is a sum.
MATH 224 – Discrete Mathematics
Towers of Hanoi. Introduction This problem is discussed in many maths texts, And in computer science an AI as an illustration of recursion and problem.
Chapter P Prerequisites: Fundamental Concepts of Algebra
IN THE CHEMISTRY SECTION OF YOUR NOTEBOOK, TAKE CORNELL STYLE NOTES OVER THE INFORMATION PRESENTED IN THE FOLLOWING SLIDES. Measurements in Chemistry Aug.
Section 1.1 Inductive and Deductive Reasoning
The importance of sequences and infinite series in calculus stems from Newton’s idea of representing functions as sums of infinite series.  For instance,
MATHEMATICS Mental Subtraction. The aim of this powerpoint is to teach you techniques for subtracting numbers mentally. EITHER Take notes as you go along,
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 Extending the Number System.
ARITHMETIC SEQUENCES These are sequences where the difference between successive terms of a sequence is always the same number. This number is called the.
Algebra Form and Function by McCallum Connally Hughes-Hallett et al. Copyright 2010 by John Wiley & Sons. All rights reserved. 3.1 Solving Equations Section.
Click mouse. EQUATIONS The important thing to remember about equations is that both sides must balance (both sides must equal each other). This means.
Identity and Equality Properties. Properties refer to rules that indicate a standard procedure or method to be followed. A proof is a demonstration of.
Algebra Problems… Solutions Algebra Problems… Solutions © 2007 Herbert I. Gross Set 10 By Herbert I. Gross and Richard A. Medeiros next.
Measurements in Chemistry Aug 6, 2014 In the chemistry section of your notebook, Take Cornell style notes over the information presented in the following.
Number Line Sequences LESSON 4POWER UP A PAGE 26.
Sampling Design and Analysis MTH 494 Lecture-22 Ossam Chohan Assistant Professor CIIT Abbottabad.
B121 Chapter 5 Working with Numbers. Number representation ThousandHundredsTensUnits Natural numbers: 1,2,3,4,5……… Integers: Natural numbers.
????????? x x x x x What do the numbers to the left have in common? They all start with a number.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 8.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.
4 examples with counters 4 examples with number lines
Divisibility Tests How can you tell quickly whether a number can be divided exactly by another?
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
Gateway Quiz Reminders: The next Gateway will be given in class next week (check your course calendar.) Before then, each student who did not score 8/8.
1 2/21/2016 MATH 224 – Discrete Mathematics Sequences and Sums A sequence of the form ar 0, ar 1, ar 2, ar 3, ar 4, …, ar n, is called a geometric sequence.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
Identity and Equality Properties. Properties refer to rules that indicate a standard procedure or method to be followed. A proof is a demonstration of.
Welcome to our Maths Meeting Tuesday 1 st March 2016 Year 2.
By: Megan Funk. I will: 1. Explain the binary number system How to: -Generate binary from a number -Add binary 2. Explain the base-b number system 3.
Complex Numbers and Equation Solving 1. Simple Equations 2. Compound Equations 3. Systems of Equations 4. Quadratic Equations 5. Determining Quadratic.
Chapter 1 Problem Solving Section 1-1 The Nature of Mathematical Reasoning Objectives: Identify and explain differences between types of reasoning Use.
Significant Figures Why significant figures are important
Significant Figures Why significant figures are important
Thinking Mathematically
Measurement in Experiments
Factor the following completely:
Identity and Equality Properties
Scientific Notation.
A Level Computing Component 2
Gateway Quiz Reminders:
Factor the following completely:
Significant Figures General Chemistry.
Fundamentals of Data Representation
Equations 1 Click mouse.
SECTIONS 9-2 and 9-3 : ARITHMETIC &
Sequence.
Implementation of Learning Systems
Presentation transcript:

C LAUS B RABRAND & J ACOB A NDERSEN © S EMANTICS (Q1,’07) Aug 30, 2007 Adapted version for dSem 2007 Original story by: C LAUS B RABRAND © 2005–2006, University of Aarhus [ ] [ ] S EMANTICS (Q1,’07) Hand-in Exercise 1

C LAUS B RABRAND & J ACOB A NDERSEN S EMANTICS (Q1,’07) [ 2 ] Aug 30, 2007 Purpose Purpose: to describe structure inductively (and recursively) via inference systems to describe relations formally via inference systems and transition systems On: relations inference systems transition systems

C LAUS B RABRAND & J ACOB A NDERSEN S EMANTICS (Q1,’07) [ 3 ] Aug 30, BC It is the year 11,000 BC. The ice age is over and the homo sapiens are rapidly multiplying across the plains of Europe.

C LAUS B RABRAND & J ACOB A NDERSEN S EMANTICS (Q1,’07) [ 4 ] Aug 30, 2007 The Situation However, over-hunting and intense inter-tribal resource competition has left your tribe starving. You have to find new hunting grounds... The island in the horizon off the main land presents itself with a possibility: Scouts from your tribe went there a few seasons ago, but deemed it unfit to sustain a human population. The scouts did however release two rabbits; one old, one young (one male, one female).

C LAUS B RABRAND & J ACOB A NDERSEN S EMANTICS (Q1,’07) [ 5 ] Aug 30, 2007 The Problem Your problem is to figure out whether by now there are enough rabbits on the island to sustain your tribe(?) Being dependent on local wildlife, you have the following knowledge on the reproductive cycle of rabbits: A) a population of rabbits a given season may be divided into two categories: the old and the young B) each passing of a season: kills off the old; ages the young to old; and makes a number of new young ones equal to that of the total size of the population (i.e. the sum of the old and young).

C LAUS B RABRAND & J ACOB A NDERSEN S EMANTICS (Q1,’07) [ 6 ] Aug 30, 2007 The Problem (cont'd) Hence, a population of rabbits may be described by a pair of "numbers":...and the evolution of a rabbit population over time may be described by a sequence of pairs of "numbers": ,   r ,   r ,   r... ,  number of old rabbits number of young rabbits

C LAUS B RABRAND & J ACOB A NDERSEN S EMANTICS (Q1,’07) [ 7 ] Aug 30, 2007 Restrictions However, being the year 11,000 BC, you do not yet have any mathematics at your disposal beyond the capacity to follow simple procedures. i.e. those that can be written down by an inference system or a transition system Also, the tribe will not understand anything beyond stone-age numbers (a structural unary representation of numbers) in which: '0' (zero) is represented as " zero " '1' (one) is represented as " (succ zero) " "...the successor of zero". '2' (two) is repr. as " (succ (succ zero)) " "...the successor of the successor of zero".... () ( ()) ( ( ())) +–  /

C LAUS B RABRAND & J ACOB A NDERSEN S EMANTICS (Q1,’07) [ 8 ] Aug 30, 2007 Your Tasks Thus, you have three tasks: define... "|- san "...stone-age numbers define... "|- add "...addition on stone-age numbers define... "  r "...evolution of rabbits in a season You may do this either: INDUCTIVELY: first, "|- san "; then "|- add "; and finally "  r "...or...: DEDUCTIVELY: first "  r "; then "|- add "; and finally "|- san " (your choice)

C LAUS B RABRAND & J ACOB A NDERSEN S EMANTICS (Q1,’07) [ 9 ] Aug 30, 2007 Task "|- san " Represent stone-age numbers: i.e., define an inference system "|- san " that describes all legal stone-age numbers, such that e.g.: Let the relation "|- san " induce the set of all stone-age numbes, S: S := { n | | _ san n } | _ san  { " ( ", " ) ", " succ ", " zero " }* | _ san zero | _ san (succ zero) | _ san succ zero | _ san wgjkewkl | _ san (succ (succ zero))...

C LAUS B RABRAND & J ACOB A NDERSEN S EMANTICS (Q1,’07) [ 10 ] Aug 30, 2007 Task "|- add " Define stone-age number addition: i.e., define a relation "|- add " adding stone-age numbers: that describes stone-age number addition, such that e.g.: | _ add  S  S  S | _ add  zero, zero, zero  | _ add  (succ zero), (succ zero), (succ (succ zero))  | _ add  zero, (succ zero), (succ (succ zero)) 

C LAUS B RABRAND & J ACOB A NDERSEN S EMANTICS (Q1,’07) [ 11 ] Aug 30, 2007 Task "  r " Define the evolution of the rabbit population: i.e., a transition system  r,  r  describing the evolution of rabbits: such that, e.g.: Using only your newly invented “stone-age arithmetic” calculate how many rabbits are on the island after two seasons. The answer should be a single stone-age number providing the total of young and old rabbits.  (succ zero), (succ zero)   (succ zero), (succ (succ zero))  rr   r,  r 

C LAUS B RABRAND & J ACOB A NDERSEN S EMANTICS (Q1,’07) [ 12 ] Aug 30, 2007 Final Rules You have to define and prove everything formally, including: all arities, signatures, configurations,... without using any abbreviations (cf. [slide #14])...and include a reference to either a presentation slide number or a page in the [SOS] note every time you use something introduced in the course. Of course, these strict rules are only for the first-week... Finally, be sure to explain everything you do carefully. Note: This is an “exam training exercise” – use this chance to train (and demonstrate) your skills according to the Aim & Goal section on the webpage !