chemart / synthon

View on GitHub

Synthon artificial chemistry — Chemistry with the electrons drawn in. A molecule is a graph of atoms that also tracks lone pairs and unpaired electrons explicitly, and a reaction is an *isomerisation of a whole ensemble*: both sides carry exactly the …

chemistry official · built in systems-biology fidelity: reconstructed constructive #banzhaf-yamamoto
files / README.md · 442 B · at 58d2ab143268 Raw

Synthon artificial chemistry

One of the artificial chemistries of Banzhaf & Yamamoto, Artificial Chemistries (MIT Press, 2015), §18.3.2; first proposed by Lenaerts & Bersini, 2009.

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