As of May 4 2007 the scripts will autodetect your timezone settings. Nothing here has to be changed, but there are a few things

Please follow this blog

Search this blog

Wednesday, January 26, 2011

M381-ML#3

M381-Logic

Worked on the URM-emulator today. I have added function composition.

Example:

The following URM code represents the function f: n->n^2
{
{j, 1, 4, 10},
{c, 1, 4},
{s, 2},
{j, 1, 2, 10},
{z, 3},
{s, 3},
{s, 4},
{j, 1, 3, 3},
{j, 1, 1, 6},
{c, 4, 1}
}

The following URM code represents the function g: n->3n
{
{c, 1, 3},
{j, 2, 3, 10},
{s, 2},
{s, 1},
{s, 1},
{j, 1, 1, 2}
}

The URM then generates ( i.e. my Mathematica code ) for (f*g): n->9n^2
{
{c, 1, 3},
{j, 2, 3, 7},
{s, 2},
{s, 1},
{s, 1},
{j, 1, 1, 2},
{z,2},
{z, 3},
{z, 4},
{j, 1, 4, 19},
{c, 1, 4},
{s, 2},
{j, 1, 2, 19},
{z, 3},
{s, 3},
{s, 4},
{j, 1, 3, 12},
{j, 1, 1, 15},
{c, 4, 1}
}

and for (g*f) n:=n->3n^2
{
{j, 1, 4, 10},
{c, 1, 4},
{s, 2},
{j, 1, 2, 10},
{z, 3},
{s, 3},
{s, 4},
{j, 1, 3, 3},
{j, 1, 1, 6},
{c, 4, 1},
{z, 2},
{z, 3},
{z, 4},
{c, 1, 3},
{j, 2, 3, 23},
{s, 2},
{s, 1},
{s, 1},
{j, 1, 1, 15}
}

Low level hacking indeed.

1 comment:

  1. Wow you really are getting into Computability aren't you. Glad to see you engaging with the subject and making it your own. You do seem to be enjoying your self these days.

    ReplyDelete

Popular Posts

Welcome to The Bridge

Mathematics: is it the fabric of MEST?
This is my voyage
My continuous mission
To uncover hidden structures
To create new theorems and proofs
To boldly go where no man has gone before




(Raumpatrouille – Die phantastischen Abenteuer des Raumschiffes Orion, colloquially aka Raumpatrouille Orion was the first German science fiction television series. Its seven episodes were broadcast by ARD beginning September 17, 1966. The series has since acquired cult status in Germany. Broadcast six years before Star Trek first aired in West Germany (in 1972), it became a huge success.)