chemart / arms

View on GitHub

ARMS (Abstract Rewriting System on Multisets) — The simplest possible rewriting chemistry: a bag of symbols and a list of rules like 'aaa -> c' or 'a -> abba'. Everything interesting comes from how the rules are applied. Rules that enlarge a molecule are called heatin…

chemistry official · built in rewriting fidelity: reconstructed #banzhaf-yamamoto
files / preview.json · 1.6 KB · at 790bd755173d Raw
{"species": [{"id": "a", "structure": null}, {"id": "b", "structure": null}, {"id": "c", "structure": null}, {"id": "d", "structure": null}, {"id": "e", "structure": null}, {"id": "f", "structure": null}, {"id": "h", "structure": null}], "reactions": [{"reactants": {"a": 3}, "products": {"c": 1}, "rate": null, "count": null}, {"reactants": {"b": 1}, "products": {"d": 1}, "rate": null, "count": null}, {"reactants": {"c": 1}, "products": {"e": 1}, "rate": null, "count": null}, {"reactants": {"d": 1}, "products": {"f": 2}, "rate": null, "count": null}, {"reactants": {"a": 1}, "products": {"a": 2, "b": 2}, "rate": null, "count": null}, {"reactants": {"f": 1}, "products": {"h": 1}, "rate": null, "count": null}], "status": "complete", "initial_state": {"a": 3.0, "b": 1.0}, "inflow": null, "outflow": null, "extras": {"system": "book-example", "rules": ["r1: 3 a -> c", "r2: b -> d", "r3: c -> e", "r4: d -> 2 f", "r5: a -> 2 a + 2 b", "r6: f -> h"], "rule_kinds": ["cooling", "neutral", "neutral", "heating", "heating", "neutral"], "reaction_rules": ["r1", "r2", "r3", "r4", "r5", "r6"], "inputs": [], "max_size": null, "analysis": {"selection": "order", "steps": 3, "class": "halting", "halted": true, "period": null, "final_state": {"e": 1, "h": 2}, "final_size": 3, "rule_uses": [1, 1, 1, 1, 0, 2], "inputs": 0, "heating_uses": 1, "cooling_uses": 1, "lambda_e": 1.0, "revisits": 0, "kinds_of_periods": 0, "periods": []}}, "chemistry": "arms", "params": {"system": "book-example", "selection": "published", "p": 0.5, "input_probability": 1.0, "steps": 1000, "max_size": 0, "rule_count": 0, "rules": [], "initial": {}, "inputs": []}, "seed": 1}