chemart / automata-reaction

View on GitHub

Automata reaction (32-bit binary string chemistry) — The cheapest constructive chemistry that still does something interesting. Molecules are 32-bit words, and a collision treats the first word as a finite automaton that consumes the second and emits a third: s1 + s2 -> s1…

chemistry official · built in automata fidelity: reconstructed constructive #banzhaf-yamamoto
files / README.md · 484 B · at eddb31d93a66 Raw

Automata reaction (32-bit binary string chemistry)

One of the artificial chemistries of Banzhaf & Yamamoto, Artificial Chemistries (MIT Press, 2015), §10.6.1; first proposed by Dittrich & Banzhaf, 1998.

Its generator ships with the chemart library, so loading it runs no code from the hub and needs no trust_remote_code.

import chemart

net = chemart.generate_network("chemart/automata-reaction", seed=0)   # same as "automata-reaction"
print(net.summary())