Finality4.rule:

Code: Select all

```
@RULE Finality4
improved inserl rule with same small-scale behavior
made april 23 2014
updated may 6
updated may 25
updated/published december 10 2016
0 empty
1 back
2 forward
3 signal
@TABLE
n_states:4
neighborhood:Moore
symmetries:rotate4
var a1={0,1,2,3}
var a2=a1
var a3=a1
var a4=a1
var a5=a1
var a6=a1
var a7=a1
var a8=a1
var b1={0,2,3}
var b2=b1
var b3=b1
#emergency override
3 ,1 ,0 ,0 ,0 ,1 ,1 ,b1,b2, 3
#0 ,0 ,1 ,1 ,3 ,b1,b2,0 ,0 ,b1
#does this break stuff
0 ,0 ,3 ,3 ,1 ,0 ,0 ,0 ,0 , 0
3 ,3 ,1 ,0 ,3 ,1 ,0 ,0 ,0 , 1
0 ,1 ,2 ,0 ,2 ,2 ,2 ,0 ,0 , 1
1 ,3 ,1 ,2 ,0 ,1 ,0 ,0 ,0 , 2
0 ,3 ,1 ,0 ,1 ,1 ,1 ,0 ,0 , 2
#construction complete
1 ,2 ,1 ,0 ,1 ,0 ,0 ,0 ,0 , 0
0 ,1 ,0 ,1 ,2 ,1 ,1 ,0 ,0 , 3
#protect from extraneous
3 ,1 ,1 ,0 ,0 ,1 ,2 ,0 ,0 , 3
3 ,1 ,1 ,0 ,0 ,1 ,0 ,2 ,0 , 3
#this is messy
0 ,0 ,1 ,1 ,3 ,2 ,0 ,0 ,0 , 0
#construction close (this is it)
##construction done
#start
2 ,1 ,2 ,2 ,1 ,1 ,1 ,2 ,2 , 1
#prime
1 ,1 ,2 ,1 ,0 ,0 ,0 ,1 ,0 , 2
#work
0 ,1 ,0 ,0 ,2 ,2 ,0 ,0 ,0 , 3
0 ,3 ,0 ,2 ,1 ,1 ,1 ,0 ,0 , 1
0 ,0 ,1 ,1 ,3 ,2 ,0 ,0 ,0 , 0
0 ,2 ,3 ,1 ,2, 2 ,1 ,0 ,0 , 0
3 ,1 ,0 ,2 ,0, 1 ,0 ,0 ,0 , 1
1 ,1 ,0 ,1 ,0 ,1 ,0 ,0 ,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