chemart / mgs

View on GitHub

MGS — Rewriting where the neighbourhood relation is part of the data. A collection is not just a bag - it can be a sequence, a grid, a graph, or a group-based field - and a rule matches a *path of neighbouring* elements and su…

chemistry official · built in rewriting fidelity: reconstructed constructive #banzhaf-yamamoto
files / README.md · 421 B · at 5848d2cf6139 Raw

MGS

One of the artificial chemistries of Banzhaf & Yamamoto, Artificial Chemistries (MIT Press, 2015), §9.6; biology 18.3.2; first proposed by Giavitto & Michel, 2001.

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/mgs", seed=0)   # same as "mgs"
print(net.summary())