I asked phind.com “artificial chemistry and lambda calculus”.
It answered this:
“
Answer | gpt-4 Model
Artificial chemistry and lambda calculus are intertwined through a concept known as chemlambda, which is a graph rewriting system that can model lambda calculus computations.
Chemlambda is a variant of the graphic lambda calculus, a universal model of computation based on graph rewrites, that was proposed by Marius Buliga. It is designed to work with a specific class of graphs, called chemlambda graphs, which can represent lambda terms Source 0, Source 5, Source 7.
An interesting concept in the context of chemlambda and lambda calculus is the idea of a quine graph. A quine graph is a graph that, given a graph rewrite system, has a non-void maximal collection of non-conflicting matches of left patterns of graph rewrites. After the parallel application of the rewrites, we obtain a graph isomorphic with the original graph Source 0. Such graphs exhibit a metabolism, meaning they can multiply or die when reduced by a random rewriting algorithm Source 0, Source 9, Source 12.
Marius Buliga developed a library of programs and a database that contain hundreds of graphs. These are used in artificial chemistry experiments with chemlambda, lambda calculus, and interaction combinators. The experiments are bundled into pages and can be accessed from the entry page https://chemlambda.github.io/index.html. There are also versions of these programs in Python, Haskell, Awk, and JavaScript Source 0, Source 7, Source 9.
The chemlambda project took an open turn, based on programs and demonstrations which could be validated by reproduction or by porting of the programs into other languages Source 7.
In the context of lambda calculus, the paper “A Neural Lambda Calculus: Neurosymbolic AI meets the foundations of computing and functional programming” discusses the use of integrated neural learning and lambda calculus formalization. The paper indicates that it is enough to learn how to perform reductions in lambda calculus so that we can execute any program Source 14.
To summarize, chemlambda is an interesting approach for combining artificial chemistry and lambda calculus to create a graph rewriting system that can model lambda calculus computations. The concept of quine graphs and the corresponding library of programs and database developed by Marius Buliga provide a rich resource for further exploration and experimentation.”
UPDATE: archived. Notice that the very interesting Source 14 is from 2023. I wonder if it can be trained to perform graph rewrites in mol notation, by using the chemlambda collection of molecules or by generating random ones, like is done in some quinegraph pages.