Manuscript Offprint
arXiv:2610.06304Teaching a Minimalist Machine to Discover Recursive Programs for Arithmetic
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.
Dominik Magiera [0009-0002-0643-9973], Christiane Wiebel-Herboth [0000-0002-6574-3820], and Frank Jäkel [0000-0002-1355-7663]
Centre for Cognitive Science & Institute of Psychology, Technische Universität Darmstadt, Germany
Honda Research Institute Europe GmbH, Offenbach am Main, Germany
Abstract. Humans can often acquire and synthesize complex, recursive concepts from minimal experience. Leveraging cognitive insights, we propose the Minimalist Machine, a framework for inductive program synthesis designed to model such conceptual learning. The system uses a compact relational subset of Prolog: Programs are searched within a fixed schema of body-free facts and two-body conjunctive Horn clauses. Recursion is not defined by a dedicated metarule. Instead, it emerges when a target predicate is reused inside the body of a learned clause. Inspired by a primary school curriculum, the model is taught through a human-curated, sequential introduction of new concepts in arithmetic. Starting from initially empty knowledge base, it first acquires simple structural predicates, then successor-based state transformations, and finally recursive programs for addition, subtraction, multiplication, and division. Ultimately, this approach yields the fully transparent, inductive reasoning trace necessary for human-like conceptual learning.
The full code and curriculum are available online at github.com/cognitive-modeling/minimalist-machine.
Keywords: Inductive Program Synthesis · Curriculum Learning · Recursive Programs
1 Introduction
Human learning is open-ended. Humans continually revise and extend their internal models through observation, interaction, and exploration rather than optimizing a fixed objective over a fixed dataset [1]. This remains difficult for current AI systems, which are typically trained on fixed datasets and often require human-guided retraining or fine-tuning to adapt to new environments [2]. Large language models also continue to struggle with structural reasoning tasks that require systematic abstraction, such as Bongard visual puzzles [3,4,5]. This raises a central question: how can a machine acquire new structured concepts in a cumulative, reusable, and open-ended way?
A natural formal setting for this problem is Inductive Programming (IP), which studies methods for learning computer programs from incomplete specifications, such as input-output examples [6]. This perspective is attractive because
D. Magiera et al.
programs can represent procedures, abstractions, and reusable forms of reasoning. A central mechanism for making such learning cumulative is predicate invention. By inventing new predicates, a learner can extend its own knowledge base with reusable abstractions, allowing later programs to build on concepts learned in earlier tasks [7,8]. This makes program induction more than the search for a single task-specific solution; it becomes a process of constructing a growing library of concepts. A core target for such cumulative program induction is recursion. Many cognitive abilities, including language, planning, and arithmetic, depend on applying the same operation repeatedly while maintaining a structured representation of intermediate states. In arithmetic, for example, children do not memorize every possible sum or product. They learn procedures such as counting, incrementing, repeated addition, and grouping. Previous work has shown that recursive equations can be induced from examples by detecting structural regularities [9]. The harder problem is to discover recursive structure in a way that supports reuse across tasks, rather than solving each task in isolation.
Existing approaches to Inductive Programming and Inductive Logic Programming make this problem tractable by imposing strong assumptions about the hypothesis space. Systems such as Metagol and Igor2 show that programs can be inferred from examples and can generalize compositionally [10,9]. However, these systems typically rely on predefined languages, metarules, functional schemes, mode declarations, type declarations, predicate declarations, or other structural restrictions that depend on the target concepts and determine in advance which kinds of programs can be found [11]. These forms of language bias are necessary to control the search space, but they also limit what the learner can invent. The open question is therefore what is a minimal structure that must be built into the learner before it can discover reusable recursive programs.
Novelty and Contributions. We ask whether a machine can learn arithmetic in a child-like way, starting from simple relational tasks and progressing through a curriculum toward recursive arithmetic. Our main contributions are:
-
Discovery of recursive programs with a minimal language bias. We show that recursive symbolic programs can be discovered using a small set of schemas for relational instances and two-body Horn clauses with only three unique variables. The system is not given dedicated templates for recursion, arithmetic operations, accumulation, or inverse relations.
-
Teaching arithmetic from an initially empty knowledge base. We show that a machine starting from an empty program can acquire arithmetic through a human-inspired curriculum. It first learns simple relational concepts such as projection, equality, permutation, and successor-based state transformation. These concepts are then used as primitives in recursive programs for addition, subtraction, multiplication, and division.
Program induction is therefore not treated as the solution of isolated tasks. It is treated as the construction of a growing library of concepts. Each learned term becomes a reusable cognitive primitive that can be recombined and extended. Learning is cumulative: projection predicates support equality predicates, equality predicates support permutations, permutations support state transformations, and these transformations support recursive arithmetic programs.
2.1 Minimal Language Bias
Most inductive logic programming systems control learning through a predefined language bias. Systems such as Popper, Aleph, and Metagol allow the user to specify which predicates may be used, how clauses may be shaped, and which forms of recursion or invention are permitted [11]. Such restrictions are necessary because the unrestricted space of possible logic programs is too large to search effectively. The Minimalist Machine uses only a fixed relational schema as its language bias. Candidate programs are generated from two kinds of clauses: body-free facts and two-body Horn rules. Instances introduce symbols, pair-structured terms, and projection-like relations. Rules compose two known predicates by wiring their arguments through a small set of template variables. The target predicate itself may appear in the body, allowing recursion to arise as an ordinary case of relational composition rather than through a dedicated recursive meta rule.
The machine searches over a restricted Horn-clause hypothesis space. Each learned target predicate p is represented as an unary predicate over pair-structured terms. This encoding allows binary relations to be represented as unary predicates whose single argument is a pair. For example, a relation between X and Y is represented as . Here, is syntactic shorthand
D. Magiera et al.
| Type | Schema |
|---|---|
| Fact | p. |
| Rule |
Table 1. Minimal set of candidate clause schemas. For facts, and may remain variables or be replaced by known symbols from . For rules, denote body-argument positions, each ranging over . The body predicates satisfy , where is the current set of known unary predicates available as background knowledge.
for the pair term and , reflecting the system's use of the conjunction operator to construct structured terms.
Let be the set of template variables and be the current background knowledge, including a set of known symbols. These symbols are not separated into distinct sets for constants and predicates. In fact templates, a symbol from may be inserted as an argument-free constant. In rule templates, a symbol from may be selected as a predicate. Thus, the same learned symbol can participate both as a value in structured terms and as a predicate available for later relational composition.
The fact language contains one nullary fact and three unary fact schemas:
In the unary fact schemas, and may either remain variables or be replaced by known symbols from , where those symbols are used as argument-free constants. The first form introduces a nullary fact when the target has arity 0. The remaining forms introduce pair facts and projection-like relations over pair-structured terms. The rule language has the fixed form
where . The symbols denote body-argument positions, not additional variables. Each is instantiated by one of the three template variables , or :
Each body predicate receives an ordered pair of variables drawn from . Thus, body predicates may use repeated-variable patterns, such as , or cross-variable patterns, such as . These wirings allow the schema to express
In Prolog, this is commonly implemented using the comma functor, written as ', ' (X,Y) or, in infix notation, (X,Y).
shared-value joins, relational composition, and variable reordering while using only three unique variables. The full hypothesis space for a target predicate is
where is the set of candidate facts and is the set of candidate rules. Allowing p itself as a possible body predicate makes recursion a special case of the same rule schema. For example, a repeated-step relation can be represented as
In this way, recursive programs are discovered as ordinary members of the same relational search space, rather than being introduced through a special recursive rule template. This yields a compact hypothesis language. Learning is constrained to a small set of clause types: facts, projections, relational intersections, shared-value joins, variable rewirings, and relational composition. Recursive chaining is handled as a special case of composition when the target predicate appears in the body.
The Minimalist Machine learns a new target predicate from a finite set of examples E. Positive examples are written as ground atoms, while negative examples are written using not. For a target predicate such as add, which relates a pair of numbers to their sum, the example set may be written as
The machine searches the all candidate clauses from H and tests each candidate against E. A candidate hypothesis h is accepted if it returns the correct result for every query in E. Learning a predicate is therefore a constrained search problem: the schemas define the possible clauses, and the labelled examples constrain the search toward clauses that solve the intended relation.
2.2 Programs as Concept Libraries
The Minimalist Machine treats learned programs as a growing library of learned predicates. Once a predicate has been learned, its symbol becomes available in the background knowledge B for later tasks. This allows the machine to construct increasingly complex programs from previously induced structure. For example, if the machine has already learned predicates such as parent and male, it can later define father by composing them: a father is someone who is both a parent and male. This cumulative structure is also important for interpretability. Each learned program is expressed in terms of previously learned predicates, so the resulting definitions provide an explicit inductive trace. Rather than producing a single opaque solution for each task, the system builds a sequence of reusable abstractions. This connects program induction with the broader goal of constructing generalizable and interpretable knowledge [12].
D. Magiera et al.
3 Teaching Arithmetic
The assumptions of the Minimalist Machine are intentionally small, as described in the previous chapter. The machine generates only simple facts and two-body Horn rules over pair-structured terms. This compact language bias makes the search space finite, but it does not by itself make open-ended learning possible. Even a finite hypothesis space can be too large to search effectively. Especially when the learner is asked to discover a complex mathematical concept before the necessary intermediate predicates have been learned.

Fig. 1. (a) Possible rectangle-game scenarios from the teaching game [13]. (b) Order of learned concepts for counting. (c) Examples for learning addition.
A second constraint is therefore needed: teaching. This is illustrated by pedagogical learning tasks such as the rectangle game [13]. In the rectangle game, a teacher tries to communicate a rectangle concept by selecting informative positive and negative examples. Importantly, in this game the examples are not random. Teachers tend to choose examples that are useful for the learner, such as positive examples near corners and negative examples near boundaries. As the students know that the examples are not random and assume the teacher is helpful, they can learn the intended rectangle more quickly than from randomly sampled data (see Fig. 1). In realistic teaching scenarios, e.g. in schools, learning depends not only on which examples are shown, but also on why those examples are shown and in what order. Positive and negative examples teach important cases of a target relation, while the curriculum determines which target relation is learned next. A teacher therefore constrains learning in two ways: by selecting examples that distinguish the intended predicate, and by ordering tasks so that simpler predicates become available before more complex ones are introduced. This view also changes the role of examples. Examples are not only evidence for a single target predicate. They also act as teaching signals that decide which predicate is added next to the background knowledge . Once a predicate has been learned, its symbol becomes available for later facts and rules. The curriculum therefore turns program induction into a cumulative process: earlier predicates reduce the search space for later predicates by providing reusable structure.
3.1 Human-Inspired Curriculum
In this paper, we want to teach the Minimalist Machine basic arithmetic. In order to do so, we structure the learning process along the lines of primary school curricula. Fig. 2 shows an overview of our curriculum. It is organized as a sequence of increasingly complex relational tasks. The learning machine first acquires symbols for numbers. It then learns successor relations, which define the order of the number sequence. These relations support state-transition predicates such as transferring one unit from one part of a state to another. Finally, these state transitions are combined with base cases to form recursive arithmetic programs. This approach is related to pedagogical models of learning, where examples are selected by a teacher to guide the learner toward a concept [13,14]. It is also related to work on modular concept discovery and conceptual bootstrapping, where previously learned concepts make later learning problems tractable [15,16,17]. In the Minimalist Machine, this idea is implemented directly: the learned predicates form a growing knowledge base, and the curriculum determines the order in which this background knowledge is constructed.
Fundamentals: Looking, Comparing, and Relational Attention. Before the machine can learn arithmetic, it first has to learn how to inspect and reorganize pair-structured structures. These early predicates form the structural foundation of the curriculum. They do not perform arithmetic themselves. Instead, they make later arithmetic predicates possible by giving the learner ways to look at parts of a state, compare parts across structures, and move attention between positions. Therefore, the first step is looking. Since the system represents structured data using binary pair terms, the learner must acquire predicates that access positions inside such terms. The machine first learns the predicates first part and second part, which select the two immediate components of a pair. Nested projections such as first_of_first and second_of_first then access positions inside the first component. For example, if an argument has the form ((a,b),c), then first_of_first refers to a and second_of_first refers to b. The second step is comparing. After the learner can attend to positions, it can learn predicates that test whether two structures share a part. For example, equal_first can test whether (a,b) and (a,c) share the same first component, while equal_second can test whether (b,a) and (c,a) share the same second component. Cross-position predicates such as equal_first_first_to_first_second compare different positions across two terms. For example, this predicate can test whether ((a,b),c) and ((d,a),e) share the value a in different nested positions. These predicates allow the machine to express sameness without encoding a whole nested pattern directly.
D. Magiera et al.

Fig. 2. A human-inspired curriculum for basic arithmetic. The curriculum begins with structural fundamentals (1–3), then introduces counting and state-based addition and subtraction (4–7), and finally extends the same relational structure to container-and-remainder reasoning for multiplication and division (8–11). Child images created with GPT-5.5.
in the clause head. The third step is relational attention. Once positions can be accessed and compared, the learner can construct predicates that rearrange attention over a state without changing the underlying values. Mapping and permutation predicates, such as map_inner_first_and_second_to_first or swap_inner_first_and_second, describe how selected parts of one structured term correspond to selected parts of another. Swap_inner_first_and_second can relate ((a,b),c) to ((c,b),a) by swapping the inner first position with the outer second position. This makes it possible to express transformations through local positional relations, which can later be reused to define inverse mappings between arithmetic operations.
These three steps prepare the learner for arithmetic. Looking provides access to structured input, comparing identifies which parts are preserved and relational attention describes how parts are rearranged or carried forward.
Counting, Addition, and Subtraction. Counting is the first arithmetic level of the curriculum. The learner first acquires number symbols such as zero, one, and two. These symbols are then taught by the successor predicate next num, which relates each number to its next number in the counting sequence. This gives the machine an ordered number line without giving it arithmetic operations directly. Additional helper predicates, such as next_first and next_second, apply this successor relation to selected positions inside a pair-structured state. Counting is therefore learned as a relational structure over symbols: the machine learns which symbol follows which other symbol, and later predicates can reuse this ordering to express numerical change.
After that, addition is introduced through the state-transition predicate transfer_one. A state such as (two, three) represents two numbers. The predicate transfer_one relates this pair to (three, two), transferring one unit from the second number to the first while preserving the total. In Prolog notation, this is defined by composing two learned successor-based mappings:
Here, map_next_first increases the first number using the learned successor relation, while map_next_second is used in reverse to decrease the second number. For example, ?- transfer_one(((two, three), Result)). can return Result = (three, two). Addition is then learned by combining this repeated transition with a base case. The base case states that when the second quantity is zero, the first quantity is the result. The recursive case repeatedly applies transfer_one until this base case is reached. Thus, addition is not learned as a table of sums, but as a recursive relation over state changes.
Subtraction is similarly learned through the related transition predicate reduce_both. Instead of moving one unit from one quantity to another, reduce_both decrements both the minuend and the amount to be subtracted. A state such as (five, three) is related to (four, two), then to (three,
D. Magiera et al.
one), and finally to (two, zero). As in addition, the base case is reached when the second quantity is zero. The first quantity is then the result. Subtraction is therefore learned as recursive countdown over a pair-structured state. The relation reuses the same successor-based knowledge as addition, but applies it to a different state transformation. The inverse relation between addition and subtraction is then taught by showing that the same structured positions can be mapped differently: an addition state ((a,b),c) corresponds to a subtraction state ((c,b),a).
Container and Remainder. The next arithmetic level introduces a container-and-remainder representation. A number can be represented as a structured state consisting of a number of equal-sized containers and a remainder amount. For example, the state ((three, two), zero) represents three containers of size two with zero remainder. This representation prepares the learner for multiplication and division. Instead of treating multiplication as a primitive operation, the machine first learns how to represent a total amount as containers plus a remainder. The predicate start_with_zero_remainder introduces this representation by pairing an input container state with a zero remainder.
Regrouping a container into the remainder amount is the state transition used for multiplication. In a state such as ((one, ten), two), there is one container of size ten and a remainder of two. Opening the container removes one container and adds its size to the remainder, producing a state with zero containers and twelve as the remainder. The predicate add_container_size_to_remainder captures the part of this transformation that adds the container size to the remainder while preserving the container structure. This allows multiplication to be learned as repeated opening of containers: each recursive step moves one container-size amount into the remainder.
Making a container from the remainder amount is the inverse state transition used for division. Here, the state is represented as ((Remainder, ContainerSize), Count), where the first component stores the remaining amount The second stores the container size, and the outer second component counts how many containers have been made. For example, ((six, two), zero) can transition to ((four, two), one), then to ((two, two), two), and finally to ((zero, two), three). The predicate take_container_size_from_remainder captures the step that subtracts one container-size amount from the remainder while preserving the container size. Together with a counter update, this lets division be learned as repeatedly making equal-sized containers until no remainder is left.
Multiplication and Division. Multiplication is taught as repeated regrouping from containers into a remainder amount as shown in Fig. 3. A multiplication problem such as mult(((three, two), Result)) is first converted into the state ((three, two), zero), meaning three containers of size two and zero remainder. Each recursive step opens one container: the container count is reduced by one, while the container size is added to the remainder. Thus, the internal state sequence for is ((three, two), zero), ((two, two), two), ((one,
-
Step for Multiplication container_to_remainder((X, Y)) :- increment_container_count((Z, X)), add_container_size_to_remainder((Z, Y)).
-
Repeated step until (Base Case) repeat_container_to_remainder((X, Y)) :- second_part((X, Y)), first_inner_is_zero((X, X)).
-
Repeated step (Recursion Case) repeat_container_to_remainder((X, Y)) :- container_to_remainder((X, Z)), repeat_container_to_remainder((Z, Y)).
-
Multiplication without explicit remainder mult((X, Y)) :- start_with_zero_remainder((X, Z)), repeat_container_to_remainder((Z, Y)).
(Container, (Container-1, ① ContainerSize), ≡ ContainerSize), Remainder Remainder+ContainerSize ② ((two, two), one) ≡ ((one, two), three)
(Container=zero, ContainerSize), ≡ Remainder Remainder ((zero, two), six) ≡ six
((three, two), zero) ≡ zero ((two, two), two) ≡ two ((one, two), four) ≡ four ((zero, two), six) ≡ six
(three, two) ≡ zero (two, two) ≡ two (one, two) ≡ four (zero, two) ≡ six
3 × 2 = X (3 × 2) + 0 (2 × 2) + 2 (1 × 2) + 4 (0 × 2) + 6 = X
Fig. 3. Learning multiplication as recursive container regrouping. The learned program opens one container at a time, adds its size to the remainder, and stops when the container count reaches zero. The advance predicate mult hides the explicit remainder state while preserving the learned recursive structure.
two), four), and ((zero, two), six). The base case is reached when the container count is zero; the remainder is then returned as the result. Multiplication is therefore not introduced as a dedicated arithmetic template. It is discovered as recursive state change over a container-and-remainder representation.
Division is learned as the inverse process: repeatedly making containers from a remainder amount. A division problem such as div(((six, two), Result)) is converted into the state ((six, two), zero), meaning six units of remainder, container size two, and zero containers made. Each recursive step removes one container-size amount from the remainder and increases the count of made containers by one. The internal state sequence is ((six, two), zero), ((four, two), one), ((two, two), two), and ((zero, two), three). The base case is reached when the remainder is zero and the number of made containers is then returned as the result. This version models exact division at the level of early elementary arithmetic.
4 Results
We evaluated the Minimalist Machine by teaching the full arithmetic curriculum from examples (positive and negative). The learner was initialized with an empty knowledge base B, and tasks were presented sequentially in the curriculum order. After each task, the first candidate clause that correctly solved the examples was asserted into long-term memory and became part of the background knowledge B for all later tasks. For each target predicate, the machine searched the same fixed candidate space described earlier. Candidate clauses were generated in a deterministic order: facts were tried first, followed by two-body Horn rules. Each
D. Magiera et al.
candidate was tested against the labelled examples for the current task. Positive examples had to succeed, and examples marked with not had to fail. Search stopped when a candidate solved all examples or when the task-specific iteration limit was reached. We used a custom Warren Abstract Machine [18] compiler implemented in Python. The learned Horn clauses should behave similarly in standard Prolog systems such as SWI-Prolog.

Fig. 4. Iterations required for discovering the correct rule. The number of candidate clauses tested before the machine finds a rule consistent with the examples at each curriculum step.
Fig. 4 shows that search effort increases with the complexity of the learned predicates. Early tasks such as learning the number symbols are solved almost immediately, because they are represented by simple facts. The structural fundamentals require more iterations, because the learner must discover projection, comparison, mapping, and permutation rules. Successor and number predicates remain comparatively cheap, mostly in the range of tens to hundreds of iterations. The largest increases appear once the curriculum reaches recursive arithmetic: the first recursive rule is discovered after 73 terms, where the learner finds the recursive case for addition after learning its base case. Subtraction, multiplication, and division then require longer searches, with several later tasks reaching around iterations. Overall, later arithmetic predicates remain reachable, but they are harder to discover because the growing number of learned symbols in B increases the hypothesis space for every new predicate.
After normalization, the most frequent rules correspond to a small set of dyadic clause patterns familiar from meta-interpretive learning [19] as shown in Figure 5. Many learned clauses instantiate a chain pattern, such as , where an intermediate variable links two relations. Other clauses express shared-variable joins, such as , where two arguments are constrained to share the same value. Recursive
Normalized rule pattern distribution
p0((X,Y)) :- p1((X,Z)), p2((Y,Z)). p0((X,Y)) :- p1((X,Y)), p2((X,Y)). p0((X,Y)) :- p1((X,Z)), p2((Z,Y)). p0((X,Y)) :- p1((X,X)), p2((X,Y)). p0((X,Y)) :- p1((X,Y)), p2((Y,X)). p0((X,Y)) :- p1((X,Z)), p0((Z,Y)). p0((X,Y)) :- p1((X,Z)), p1((Y,Z)). p0((X,Y)) :- p1((X,Z)), p2((Z,X)). p0((X,Y)) :- p1((X,X)), p2((Y,X)). p0((X,Y)) :- p1((X,Z)), p2((Z,Z)). p0((X,Y)) :- p1((Y,X)), p2((Y,X)). p0((X,Y)) :- p1((X,Y)), p1((Y,X)). p0((X,Y)) :- p1((X,Y)), p2((Y,Y)). p0((X,Y)) :- p1((X,Z)), p1((Z,Y)).

Fig. 5. Learned normalized rule patterns. The learned rule predicates are shown in a shared relational format, illustrating how the same two-body Horn-clause schema expresses projections, state transitions, recursion, and inverse mappings.
arithmetic clauses instantiate a tail-recursive pattern, such as : - , , where the target predicate reappears in the body.
Bidirectional Extrapolation. Because the learned arithmetic predicates are relational, they can be queried in more than one direction – as they should be in Prolog. For example, multiplication can be used not only to compute a result from two given factors, but also to search for factor pairs that produce a given result. To ask which factors multiply to six, the factors can be left as variables: ?- mult(((X, Y), six)). and is answered with:
X = one, Y = six ; X = two, Y = three ; X = three, Y = two ; X = six, Y = one.
The exact set of answers depends on the available number symbols and successor relations in the current background knowledge .
5 Discussion
The results show that recursive arithmetic programs can be discovered from a compact relational search space when learning is organized as a curriculum. The Minimalist Machine is not given dedicated templates. Instead, these programs are assembled from a small set of reusable relational forms. The curriculum is essential for making this possible. Without previously learned predicates, the search space for later arithmetic tasks would be too large and poorly structured. The results show that later predicates become harder to discover as the background knowledge B grows, because more learned symbols increase the candidate
D. Magiera et al.
space. At the same time, this growing background knowledge is what makes later concepts expressible. The curriculum therefore plays a dual role: it increases the space of possible clauses, but also supplies the intermediate abstractions needed to solve more complex tasks. This tradeoff is central to cumulative program induction. Designing an effective curriculum is, of course, non-trivial and shifts a lot of the hard work from the learner to the teacher. It may well be that the reason why children can learn arithmetic at all is that their teachers provide a lot of scaffolding.
The teacher also has to provide positive and negative examples for each predicate in the curriculum. Future work should investigate how the learner can ask diagnostic questions to generate examples more efficiently in interaction with a teacher.
The work also relates to lifelong and continual learning. Continual learning is often difficult for current machine-learning systems because new tasks can interfere with previously learned knowledge, producing catastrophic forgetting . The Minimalist Machine uses a different mechanism. Learned predicates are not overwritten by gradient updates; they are added to an explicit background knowledge base. This makes reuse direct and avoids forgetting in the narrow sense that earlier learned rules remain available. However, this also creates a different problem: the background knowledge grows, and the search space grows with it. Future work must therefore study how a learner can organize and revise its learned predicates as the concept library expands.
Overall, the results suggest that recursive arithmetic can emerge from composing two known predicates, given a curriculum that introduces useful intermediate predicates in a teachable order. The Minimalist Machine therefore shows how simple symbolic relations can be organized into recursive arithmetic programs.
Acknowledgments. This work was supported by the Honda Research Institute Europe (HRI-EU).
Disclosure of Interests. The authors have no competing interests to declare that are relevant to the content of this article.
References
-
Dupoux, E., LeCun, Y., Malik, J.: Why AI systems don't learn and what to do about it: Lessons on autonomous learning from cognitive science (2026). https://doi.org/10.48550/ARXIV.2603.15381
-
Hadsell, R., Rao, D., Rusu, A.A., Pascanu, R.: Embracing change: Continual learning in deep neural networks. Trends in Cognitive Sciences 24(12), 1028–1040 (dec 2020). https://doi.org/10.1016/j.tics.2020.09.004
-
Bongard, M.M.: Pattern Recognition. Spartan Books, New York (1970)
-
Depeweg, S., Rothkopf, C.A., Jäkel, F.: Solving Bongard Problems With a Visual Language and Pragmatic Constraints. Cognitive Science 48(5), e13432 (may 2024). https://doi.org/https://10.1111/cogs.13432, https://onlinelibrary.wiley.com/doi/10.1111/cogs.13432
-
Wüst, A., Woydt, T., Helff, L., Ibs, I., Stammer, W., Dhami, D.S., Rothkopf, C.A., Kersting, K.: Bongard in wonderland: Visual puzzles that still make AI go mad? In: Proceedings of the 42nd international conference on machine learning (ICML) (2025)
-
Flener, P., Schmid, U.: An introduction to inductive programming. Artificial Intelligence Review 29(1), 45–62 (mar 2008). https://doi.org/10.1007/s10462-009-9108-7, http://link.springer.com/10.1007/s10462-009-9108-7
-
Muggleton, S.H., Schmid, U., Zeller, C., Tamaddoni-Nezhad, A., Besold, T.: Ultra-strong machine learning: Comprehensibility of programs learned with ILP. Machine Learning 107(7), 1119–1140 (may 2018). https://doi.org/10.1007/s10994-018-5707-3
-
Rios, R., Matwin, S.: Predicate Invention from a Few Examples, pp. 455–466. Springer Berlin Heidelberg (1998). https://doi.org/10.1007/3-540-64575-6_70
-
Kitzelmann, E.: Analytical Inductive Functional Programming, pp. 87–102. Springer Berlin Heidelberg (2009). https://doi.org/10.1007/978-3-642-00515-2_7
-
Cropper, A., Muggleton, S.H.: Metagol system (2016)
-
Cropper, A., Dumančić, S.: Inductive logic programming at 30: A new introduction (2020). https://doi.org/10.48550/ARXIV.2008.07912
-
Rule, J.S., Tenenbaum, J.B., Piantadosi, S.T.: The child as hacker. Trends in Cognitive Sciences 24(11), 900–915 (nov 2020). https://doi.org/10.1016/j.tics.2020.07.005
-
Shafto, P., Goodman, N.: Teaching games: Statistical sampling assumptions for learning in pedagogical situations. In: Proceedings of the 30th annual conference of the cognitive science society. pp. 1632–1637. Cognitive Science Society Austin, TX (2008)
-
Shafto, P., Goodman, N.D., Griffiths, T.L.: A rational account of pedagogical reasoning: Teaching by, and learning from, examples. Cognitive Psychology 71, 55–89 (jun 2014). https://doi.org/10.1016/j.cogpsych.2013.12.004, http://dx.doi.org/10.1016/j.cogpsych.2013.12.004
-
Dechter, E., Malmaud, J., Adams, R.P., Tenenbaum, J.B.: Bootstrap learning via modular concept discovery. In: Proceedings of the 23rd international joint conference on artificial intelligence. pp. 1302–1309 (2013)
-
Hocquette, C., Langer, J., Cropper, A., Schmid, U.: Can humans teach machines to code? (2024). https://doi.org/10.48550/ARXIV.2404.19397
-
Zhao, B., Lucas, C.G., Bramley, N.R.: A model of conceptual bootstrapping in human cognition. Nature Human Behaviour 8(1), 125–136 (oct 2023). https://doi.org/10.1038/s41562-023-01719-1
-
Warren, D.H.D.: An abstract prolog instruction set. Tech. rep., Menlo Park, CA, USA (oct 1983), archived PDF, original published October 1983
-
Muggleton, S.H., Lin, D., Tamaddoni-Nezhad, A.: Meta-interpretive learning of higher-order dyadic datalog: Predicate invention revisited. Machine Learning 100(1), 49–73 (mar 2015). https://doi.org/10.1007/s10994-014-5471-y
-
Ratcliff, R.: Connectionist models of recognition memory: Constraints imposed by learning and forgetting functions. Psychological Review 97(2), 285–308 (1990). https://doi.org/10.1037/0033-295X.97.2.285
-
Mundt, M., Hong, Y., Pliushch, I., Ramesh, V.: A wholistic view of continual learning with deep neural networks: Forgotten lessons and the bridge to active and open world learning (2020). https://doi.org/10.48550/ARXIV.2009.01797
-
Ven, G.M.v.d., Soures, N., Kudithipudi, D.: Continual Learning and Catastrophic Forgetting, pp. 153–168. Elsevier (2025). https://doi.org/10.1016/b978-0-443-15754-7.00073-0