I think I have found new intersting CA-like formula

For discussion of other cellular automata.
Post Reply
Diagoras
Posts: 9
Joined: June 22nd, 2010, 8:11 am

I think I have found new intersting CA-like formula

Post by Diagoras » June 22nd, 2010, 8:43 am

Hello, all.

I need your help in understanding if I have found something new or it is allready known thing. Generic formula for this 2d-something is pretty simple:

s(2t,x,y) = δ( s(2t-1,x,y) , s(2t,x-1,y) , s(2t,x,y-1) )
s(2t+1,x,y) = δ( s(2t,x,y) , s(2t+1,x+1,y) , s(2t+1,x,y+1) )


where s(t,x,y) is state of cell at (x,y)-coordinates in t moment of time and δ(S0,Sx,Sy)->S1 is some state-transition function. With carefully designed state-transition function this formula produces very interesting regular and fractal patterns even for only 3 possible states. Please tell me if you have seen something like this before. If no, I can post some screenshots of its evolution and even java-driven alpha implementation for your enjoyment.

Thank you in advance.

ebcube
Posts: 124
Joined: February 27th, 2010, 2:11 pm

Re: I think I have found new intersting CA-like formula

Post by ebcube » June 22nd, 2010, 11:46 am

Sounds interesting. Post the screenshots and the implementation ^^

Diagoras
Posts: 9
Joined: June 22nd, 2010, 8:11 am

Re: I think I have found new intersting CA-like formula

Post by Diagoras » June 22nd, 2010, 12:56 pm

This is selected screenshots of one evolution in 400x400 field starting from random pattern (3 states - Red, Green and Blue):

Image
Image
Image
Image

Implementation will follow tomorrow.

User avatar
calcyman
Moderator
Posts: 2964
Joined: June 1st, 2009, 4:32 pm

Re: I think I have found new intersting CA-like formula

Post by calcyman » June 22nd, 2010, 2:31 pm

s(2t,x,y) = δ( s(2t-1,x,y) , s(2t,x-1,y) , s(2t,x,y-1) )
s(2t+1,x,y) = δ( s(2t,x,y) , s(2t+1,x+1,y) , s(2t+1,x,y+1) )
Unfortunately, that's not a cellular automaton, as each generation should depend only on previous generations, not on other cells in the current generation. In fact, on an infinite grid, your system cannot be simulated by a Turing machine, as it can be made to solve the Halting Problem in two generations.


As a matter of interest, why did you use delta as the transition function? At first glance, it tricked me into thinking that I was looking at a partial differential equation.
What do you do with ill crystallographers? Take them to the mono-clinic!

Keiji
Posts: 58
Joined: May 11th, 2010, 5:32 pm

Re: I think I have found new intersting CA-like formula

Post by Keiji » June 23rd, 2010, 7:46 pm

calcyman wrote:In fact, on an infinite grid, your system cannot be simulated by a Turing machine, as it can be made to solve the Halting Problem in two generations.
How did you figure that out?
Image
This is why signature character limits are pointless.

User avatar
calcyman
Moderator
Posts: 2964
Joined: June 1st, 2009, 4:32 pm

Re: I think I have found new intersting CA-like formula

Post by calcyman » June 24th, 2010, 3:23 am

How did you figure that out?
If you look at the recurrence relation, in even generations, a cell is affected by its previous state, and the current states of the cell above and to the left of it:

Code: Select all

......
......
...o..
..o*..
......
......
Since the cell marked * is affected by both cells marked o, it simulates a two-neighbour one-dimensional cellular automaton -- in just one generation.

A two-neighbour one-dimensional cellular automaton can be made to emulate any one-dimensional cellular automaton, including a cellular automaton corresponding to a Turing machine on a tape.

The CA can be engineered so that the Turing machine, when halting, turns that cell to a specific state.

In the next generation, the neighbourhood is reversed:

Code: Select all

......
......
..*o..
..o...
......
......
Now, information can propagate at infinite speed in the opposite direction, and the fact that the Turing machine has halted can be relayed back to the initial cell.

So, you won't be able to make a program to simulate (an arbitrary transition rule) on infinite grids, since I could engineer it to determine whether there are any Fermat primes above 65537 in just two generations.
What do you do with ill crystallographers? Take them to the mono-clinic!

Diagoras
Posts: 9
Joined: June 22nd, 2010, 8:11 am

Re: I think I have found new intersting CA-like formula

Post by Diagoras » June 24th, 2010, 3:52 am

Unfortunately, that's not a cellular automaton, as each generation should depend only on previous generations, not on other cells in the current generation. In fact, on an infinite grid, your system cannot be simulated by a Turing machine
Yes, I do know, because of this I'm not calling it "cellular automaton", but "CA-like something" :-)
As a matter of interest, why did you use delta as the transition function? At first glance, it tricked me into thinking that I was looking at a partial differential equation.
Sorry, no meaning behind that - just random letter. May be it came from my days of playing with state machines or something.

Here I posted java version from which I get earlier screenshots:
https://docs.google.com/leaf?id=0B6YgyK ... y=CJDuoJ8K

It is extremly simple. It just fills 400x400 field with random pattern and you can press "Space" for one step. Sources will follow a little later.

ebcube
Posts: 124
Joined: February 27th, 2010, 2:11 pm

Re: I think I have found new intersting CA-like formula

Post by ebcube » June 24th, 2010, 8:09 am

I can't open nor download it. 404 :(

Diagoras
Posts: 9
Joined: June 22nd, 2010, 8:11 am

Re: I think I have found new intersting CA-like formula

Post by Diagoras » June 24th, 2010, 9:01 am

Damn google. Looks like it is paranoid about trojans. Anyone knows, where can I host small archive with ".jar" inside without registration? I see no attach file function on this board :-(

Diagoras
Posts: 9
Joined: June 22nd, 2010, 8:11 am

Re: I think I have found new intersting CA-like formula

Post by Diagoras » June 24th, 2010, 9:01 am

Damn google. Looks like it is paranoid about trojans. Anyone knows, where can I host small archive with ".jar" inside without registration? I see no attach file function on this board :-(

ebcube
Posts: 124
Joined: February 27th, 2010, 2:11 pm

Re: I think I have found new intersting CA-like formula

Post by ebcube » June 24th, 2010, 11:32 am

Use Mediafire: http://mediafire.com

User avatar
calcyman
Moderator
Posts: 2964
Joined: June 1st, 2009, 4:32 pm

Re: I think I have found new intersting CA-like formula

Post by calcyman » June 24th, 2010, 12:57 pm

I see no attach file function on this board
You can attach any ZIP to this board using the 'Upload attachment' tab.
What do you do with ill crystallographers? Take them to the mono-clinic!

Diagoras
Posts: 9
Joined: June 22nd, 2010, 8:11 am

Re: I think I have found new intersting CA-like formula

Post by Diagoras » June 25th, 2010, 4:29 am

You can attach any ZIP to this board using the 'Upload attachment' tab.
My fault, sorry. Attaching now.
Attachments
CA.zip
(149.97 KiB) Downloaded 286 times

Keiji
Posts: 58
Joined: May 11th, 2010, 5:32 pm

Re: I think I have found new intersting CA-like formula

Post by Keiji » June 25th, 2010, 5:26 am

Could not find the main class: cellauto.CellAutoApp. Program will exit.
Image
This is why signature character limits are pointless.

User avatar
Wojowu
Posts: 210
Joined: October 1st, 2011, 1:24 pm

Re: I think I have found new intersting CA-like formula

Post by Wojowu » October 3rd, 2011, 10:35 am

I have the same thing

EDIT:
To make it work, you must un-zip files
First question ever. Often referred to as The Question. When this question is asked in right place in right time, no one can lie. No one can abstain. But when The Question is asked, silence will fall. Silence must fall. The Question is: Doctor Who?

Post Reply