SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.15923 · 2026

Runtime Analysis of Cartesian Genetic Programming in Evolving Boolean Functions

Duc-Cuong Dang, Andre Opris, Roman Kalkreuth

arXiv · PDF · Open in the Atlas

Code that ran

7 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 4 honoured the contract we drafted, 3 violated it and 0 have no contract verdict; 0 failures of our instrument; 0 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2606.15923.json · badge: /api/ran/2606.15923.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
GPBench/TinyverseGP canonical (classifier label)
classifier basis: census
7 ran · 0 no recorded run
FunctionStatusWhere it lives
absolute_error Ran
ran, honoured the contract we drafted
GPBench/TinyverseGP/src/gp/loss.py
pointer only (licence: GPL-3.0) · get_code("39289d5ff76a471f")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, GPBench/TinyverseGP, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

b2f Ran
ran, honoured the contract we drafted
GPBench/TinyverseGP/src/gp/functions.py
pointer only (licence: GPL-3.0) · get_code("ecce65dcee081f94")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, GPBench/TinyverseGP, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

f2b Ran
ran, violated the contract we drafted
GPBench/TinyverseGP/src/gp/functions.py
pointer only (licence: GPL-3.0) · get_code("6cfde80175c15ac2")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, GPBench/TinyverseGP, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

mean_absolute_error Ran
ran, violated the contract we drafted
GPBench/TinyverseGP/src/gp/loss.py
pointer only (licence: GPL-3.0) · get_code("3f9b299462201067")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, GPBench/TinyverseGP, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

mean_squared_error Ran
ran, violated the contract we drafted
GPBench/TinyverseGP/src/gp/loss.py
pointer only (licence: GPL-3.0) · get_code("899ed17e7b7dad1b")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, GPBench/TinyverseGP, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

node_size Ran
ran, honoured the contract we drafted
GPBench/TinyverseGP/src/gp/tiny_tgp.py
pointer only (licence: GPL-3.0) · get_code("0cdcc71254f2c01c")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, GPBench/TinyverseGP, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

p2i Ran
ran, honoured the contract we drafted
GPBench/TinyverseGP/src/gp/functions.py
pointer only (licence: GPL-3.0) · get_code("a0bd5d5a8fab8ae0")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, GPBench/TinyverseGP, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 7 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Cartesian Genetic Programming (CGP) is among the practical and popular forms of Genetic Programming as it uses a graph-based representation of programs. This paper presents a first runtime analysis of CGP in evolving Boolean functions using complete training sets. We prove an asymptotic bound O(nD 5 ) for the expected number of fitness evaluations of CGP to construct a conjunction of n inputs using at most D ≥ n-1 binary gates, a minimal function set, and even with a strict survival selection. When the non-strict selection is used, the bound is improved to O(nD 4 ). Our analysis reveals interesting characteristics of CGP induced search, which have been only observed empirically. In particular, enabling the acceptance of equally good solutions, including those with connected gates non-contributing to fitness, can lead to a speedup, and consequently a better asymptotic time bound. In contrast to conjunctions, we also prove a negative result which shows that CGP requires exponential time to evolve an exclusive disjunction. Experiments evolving conjunctions complement our theoretical findings. The use of incomplete training sets is found to further reduce the average number of fitness evaluations while maintaining a good level of generalisation.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2606.15923")
get_code_for_paper("2606.15923")
have("2606.15923")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2606.15923.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2606.15923.svg)](https://syntology.ai/paper/2606.15923)

Connect an agent — have() is free.