

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Due in class Tuesday 23rd, May 23rd
1. The formal system D 4
Definition 1. We’ll define a formal system called D 4 by specifying the following symbols, axioms, and production rules (sometimes called relations ):
Symbols: e, s, t Axioms: e Rules: for any (nonempty) strings x and y, we have the following rules: I x 7 → xs and x 7 → xt II xe 7 → x and xey 7 → xy III ss 7 → e and tttt 7 → e IV st 7 → ttts and where you can perform rules III and IV anywhere in a string.
We’ll call theorems of the formal system D 4 simply elements of D 4.
Answer the following questions about D 4 :
a. Can you determine a decision procedure for a string to be an element of D 4? b. Show that, starting from any element of D 4 , and using only rules II-IV repeatedly, you can derive one and only one of the following elements:
e, et, ett, ettt, es, ets, etts, ettts,
and call this the reduced form of the element. For example the element ests is not one of the reduced forms, but we can make the derivation:
ests 7 → etttss (IV) 7 → ettte (III) 7 → ettt (II)
and so the reduced form of ests is ettt. c. You can “multiply” strings by concatenating them. For example, et times es is just etes, which has reduced form ets. What about es times et? Is this multiplication commutative , i.e. does it depend on the order of the two elements being multiplied? d. Fill in the following “multiplication table” for the elements in reduced form of D 4 , i.e. pick an elements in reduced form from the left hand column and multiply it by an element in reduced form in the top row, then write the reduced form of the product in the corresponding box of the table. For your convenience, the example from part c. is already included on the table. You don’t need to write out all of your derivations, 1
perhaps just three of your favorite.
D 4 e et ett ettt es ets etts ettts
e
et ets
ett
ettt
es
ets
etts
ettts
Do you have any general observations about the above multiplication table?
2. Symmetries of a square
Consider the square with all its corners numbered:
A symmetry of the numbered square is any symmetry of the square by rotation or flips, only allowing the numbers on the corners to change “along with” the symmetry. For example you can rotate clockwise by 90◦^ or flip the square about the (upper left to lower right) diagonal:
1 — 2 | | 4 — 3
rotate −→
, or
−→^ flip
respectively. The following is NOT a symmetry of the numbered square:
1 — 3 | | 4 — 2
Answer the following questions: