Emmanuel Sapin's Guns

For discussion of other cellular automata.
Post Reply
bprentice
Posts: 920
Joined: September 10th, 2009, 6:20 pm
Location: Coos Bay, Oregon

Emmanuel Sapin's Guns

Post by bprentice » April 18th, 2013, 3:13 pm

Dr Emmanuel Sapin is currently an Associate Research Fellow at Exeter University in the UK. Here is a large collection of guns that he found and ran on the Life32 simulator. There are 15,363 guns from 15,134 unique rules in the collection. I coded a Non Totalistic rule family so that I could run them on my Square Cell simulator.

The gun collection is here:

http://bprentice.webenet.net/Emmanuel%20Sapin/

and my simulator is here:

http://bprentice.webenet.net/Square%20Cell/

To run the guns load the first one, gun0.sqc, and step through the remainder using the Page Down key.

Perhaps a member of this list will code rule specifications so that the gun collection can be run and explored with Golly.

Brian Prentice

EricG
Posts: 199
Joined: August 19th, 2011, 5:41 pm
Location: Chicago-area, USA

Re: Emmanuel Sapin's Guns

Post by EricG » April 18th, 2013, 5:50 pm

To see the guns with Golly, and to generally experiment with non-totalistic rules using Golly, see:

viewtopic.php?f=11&t=936#p6836 (and the rest of my overly wordy posts in that thread)

and

viewtopic.php?f=9&t=933#p6815

The scripts let you enjoy all of Emmanuel Sapin's spaceship guns and more. Below, I'm including the ruletable, for Sapin's Rule R which he proved to be universal by emulating Life (B3/S23).
It is worth taking a moment to scribble in Rule R -- you'll see guns form very readily.

Thanks to the amazing Paul Tooke, here are some "non-natural" ships that work in rule R:
x = 140, y = 21, rule = s2eki3-ek4cvqjz/b3-ekyj4-j5-evqr68
126bo11bo$126bo11bo$90bo34b4o7b4o$88b2o2bo34b2o7b2o$90b3o34b3o5b3o$5bo
2bo76b2o3b3o34b3o5b3o$3bo6bo76bo2b3o35bo7bo$84bo5b2o12b4o21bo5bo$2b3ob
2ob3o72b7o13bo2bo19bobo5bobo$bo2b2o2b2o2bo72bobob2o12b2o2b2o18bobo5bob
o$2b2obo2bob2o74bo3bo13b4o18b4obobob4o$87b3o13b2o2b2o17b3o7b3o$51bo36b
o15bo2bo20bob5obo$6o2b6o36bo2bo8bo$6o2b6o24bo14bo10bo64b3ob3o$bo2bo4bo
2bo25b2obo8bo2bo7bo2bo62bob7obo$2b2o6b2o27b3o9b3o8b3o62b3obobob3o$b4o
4b4o27bo86bob2o3b2obo$2b2o6b2o116b2o5b2o$127b4obob4o$128b2o5b2o!

Dr. Sapin was very surprised when I sent the above to him. :-)

See this discussion to learn how the ships were found:
viewtopic.php?f=9&t=925

Here's Sapin's Rule R:

Code: Select all

neighborhood:Moore
symmetries:rotate4reflect
n_states:2


var a={0,1}
var b={0,1}
var c={0,1}
var d={0,1}
var e={0,1}
var f={0,1}
var g={0,1}
var h={0,1}

1,1,0,1,0,0,0,0,0,1
1,1,0,0,1,0,0,0,0,1
1,1,0,0,0,1,0,0,0,1
1,1,1,0,0,1,0,0,0,1
1,1,0,0,1,0,1,0,0,1
1,1,1,0,0,0,1,0,0,1
1,1,1,0,1,0,0,0,0,1
1,1,1,0,0,0,0,1,0,1
1,1,1,0,0,0,0,0,1,1
1,0,1,0,1,0,1,0,0,1
1,1,1,1,0,0,0,0,0,1
1,0,1,0,1,0,1,0,1,1
1,1,1,0,1,0,0,0,1,1
1,1,1,1,0,0,1,0,0,1
1,1,1,0,0,1,0,1,0,1
1,1,1,0,0,1,1,0,0,1
0,1,0,0,1,0,1,0,0,1
0,1,1,0,0,0,1,0,0,1
0,1,1,0,1,0,0,0,0,1
0,1,1,0,0,0,0,0,1,1
0,0,1,0,1,0,1,0,0,1
0,1,1,1,0,0,0,0,0,1
0,1,1,0,0,1,1,0,0,1
0,1,1,1,0,1,0,0,0,1
0,1,1,0,1,0,0,0,1,1
0,1,1,0,0,0,1,1,0,1
0,1,1,0,0,1,0,0,1,1
0,1,1,0,1,0,1,0,0,1
0,1,1,1,0,0,1,0,0,1
0,1,1,0,1,0,0,1,0,1
0,1,1,0,1,1,0,0,0,1
0,1,0,1,0,1,0,1,0,1
0,0,1,0,1,0,1,0,1,1
0,1,1,1,1,0,0,0,0,1
0,0,0,1,1,0,1,1,1,1
0,0,0,1,1,1,1,1,0,1
0,0,1,0,1,1,0,1,1,1
0,0,0,1,1,1,1,0,1,1
0,0,0,0,1,1,1,1,1,1
0,1,0,1,0,1,0,1,1,1
0,0,0,1,1,1,1,1,1,1
0,1,0,1,0,1,1,1,1,1
0,0,1,0,1,1,1,1,1,1
0,0,1,1,1,0,1,1,1,1
0,0,1,1,0,1,1,1,1,1
0,1,0,1,1,1,0,1,1,1
0,1,1,1,1,1,1,1,1,1
# Death otherwise
1,a,b,c,d,e,f,g,h,0
If anyone constructs a rake in Rule R, please post it! Thanks!

Note to Brian: I've got a backlog of CA work which could be considered a response to several contributions you've made to this forum. I'll try to get it all together and start posting more of it here.

GUYTU6J
Posts: 2200
Joined: August 5th, 2016, 10:27 am
Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
Contact:

Re: Emmanuel Sapin's Guns

Post by GUYTU6J » April 1st, 2021, 9:12 am

As a python apprentice, I spent an hour writing a piece of code —

Code: Select all

a = []
for i in range(0,15363):
    name = 'D:/test/Emmanuel_Sapin_15K_alien_guns/gun' + str(i) + '.rle'
    with open(name,'r') as file_object:
        textlist = file_object.readlines()
        for text in textlist:
            if 'B' in text:
                rulestring = text.split(" ")[-1]
                a.append(rulestring)

for k in range(0,15363): 
    with open('D:/test/Emmanuel_Sapin_15K_alien_guns/census.txt','a') as file_object:
        file_object.write(str(a[k]))
— that goes through the RLEs in this gun collection and records the rulestrings. The result:
census.txt
(805.26 KiB) Downloaded 77 times
In the process I noticed that there are at least two duplicates, as listed below.
Gun11842.rle:

Code: Select all

x = 9, y = 9, rule = B2cn3ary4acijrtz5iknqr7c/S2aci3aejqr4-cintw5cy6-e8
obo$6bo$5b3o$5b3o$4b2ob2o$4bobobo$5bobo$5b3o$5bobo!
Gun11846.rle:

Code: Select all

x = 10, y = 9, rule = B2cn3ary4acijrtz5iknqr7c/S2aci3aejqr4-cintw5cy6-e8
8b2o$2bo5bo$b3o$b3o$2ob2o$obobo$bobo$b3o$bobo!
Gun5404.rle:

Code: Select all

x = 4, y = 3, rule = B2c3aejy4ijnqry5-ekqr6ack7c/S2ai3cejnq4ajkrtwy5knqy6-ik
4o$3o$4o!
Gun5407.rle:

Code: Select all

x = 3, y = 8, rule = B2c3aejy4ijnqry5-ekqr6ack7c/S2ai3cejnq4ajkrtwy5knqy6-ik
o2$o3$2o$b2o$2o!
There may be more duplicates that are less trivial, for instance same evolutionary sequence with different rulestrings. Should we clean it up?

Post Reply