+ The Oktave Forum » Technical » Science and Mathematics » Discrete Mathematics (Moderator: sanket)
|-+ The MU Puzzle
Username:
Password:

Pages: [1]
Topic Tools  
Read October 07, 2008, 06:12:55 pm #0
sids

The MU Puzzle

In the very first chapter of Gödel, Escher, Bach, Douglas Hofstadter poses a very interesting puzzle that he calls the MU Puzzle. Trying to solve this puzzle is a very interesting exercise. The puzzle, as well as the solution is available on Wikipedia. I'm reproducing just the puzzle statement here so that you can attempt to solve it without accidentally glancing at the solution Wink.

The puzzle

Let's suppose to have the symbols M, I, and U which can be combined to produce strings of symbols or "words". The MU puzzle asks to start with a the "axiomatic" word MI and transform it into the word MU using in each step one of the following transformation rules:

   1. At the end of any string ending in I, you can add a U, such as changing MI to MIU.
   2. You can double any string after the M (that is, change Mx, to Mxx), such as changing MIU to MIUIU.
   3. You can replace any III with a U, such as changing MUIIIU to MUUU.
   4. You can remove any UU, such as changing MUUU to MU.

Using these 4 rules is it possible to change MI into MU in a finite number of steps?


We can write the production rules in a more schematic way. Suppose x and y behave as variables (standing for a string of symbols) then the production rules can be written as:
Code:
   
   1. xI → xIU
   2. Mx → Mxx
   3. xIIIy → xUy
   4. xUUy → xy
can we obtain the word MU, using these rules?


http://www.grok.in/
"Ignorance killed the cat, curiosity was framed."
Offline  
Read October 16, 2008, 05:19:49 am #1
Satish

Re: The MU Puzzle

Cosidering x=M, y=U and by applying rules 1, 3 and 4 in the order, transforms the word MI to MU.

After applying rule 1:
 MI -> MIU
After applying rule 3:
 MIIIU -> MUU

After applying rule 4:
 MUUU -> MU

-Satish
Offline  
Read October 16, 2008, 06:56:52 am #2
sids

Re: The MU Puzzle

Cosidering x=M, y=U and by applying rules 1, 3 and 4 in the order, transforms the word MI to MU.

After applying rule 1:
 MI -> MIU
After applying rule 3:
 MIIIU -> MUU

After applying rule 4:
 MUUU -> MU

-Satish

But how did you get from MIU to MIIIU and then from MUU to MUUU?


http://www.grok.in/
"Ignorance killed the cat, curiosity was framed."
Offline  
Read October 16, 2008, 07:04:23 am #3
Satish

Re: The MU Puzzle

Oh I am sorry.. I think i missed something.
Offline  
Pages: [1]
Jump to: