Worlds¶
Each world starts with a chosen set of atoms, or operations computed directly. Explore the examples here, or build your own. Shapes such as ◆₁ name operators but do not reveal their rules (notation).
In each Challenge tab, puzzle 6 shows examples of a hidden rule. Choose the output for a new input, then reveal the rule and its explanation.
Each world lists every atom with its signature, meaning, and a rendered example above the tabs. The Operators tab starts with a curated selection. Use Show all grown operators to inspect the complete, unfiltered output of the seeded generator.
The curation report lists each world's rejection counts and featured rules.
Successor¶
Nonnegative integers have three atoms that add one, subtract one and test for zero. Composition builds larger arithmetic from those atoms, and recursion counts down one step at a time.
Integers¶
Integer atoms cover arithmetic, digit reversal, signed triangle numbers, bit counts and digit sums. Division by zero and results outside the bound give NaN.
Clock¶
Integer atoms act on a dial where each result is taken modulo 12. Definitions shared with the integer world can therefore give different answers.
Bits¶
Nonnegative integers serve as bit patterns with AND, OR, XOR, shifts and a bit count. The lamps show each bit and mark changes after a step.
Strings¶
Strings can be joined, reversed, shortened from the front, or changed to upper or lower case. Other atoms read the first character, measure length and compare strings, while tiles show each character.
Lists¶
Integer lists can be joined, indexed, summed, or extended at the front. Taking the head of an empty list gives NaN, and blocks show the elements.
Logic¶
Truth values use AND, OR, NOT, implication, XOR and equivalence, with integers for recursion counters. A truth table marks the current inputs while a circuit highlights each step.
Permutation cards¶
Five cards are rearranged by swaps, rotations, reversal, composition and inverse. Each value maps cards to positions, and the card row shows how they move.
Relations¶
Twelve people are linked by partial parent, colleague and neighbour relations. Missing links give NaN, and the graph shows how a table edit can change query answers.
Grids¶
Coloured grids use rotation, reflection, shifts, recolouring, overlay, cropping, counting and filling. The view outlines cells that change after each step.
Pitch¶
MIDI notes and timed melodies use transposition, intervals, major and minor triads, reversal, repetition and joining. A piano roll shows the notes and can play them in the browser.
Action world¶
A robot moves through a block map with walls, water, stacks and a crafting bench. Its atoms turn and move it, pick up and place objects, craft bridge kits, and inspect its hand or the cell ahead.
An action reaches only the cell directly in front of the robot. forward cannot enter a wall or open water. pick takes the top block or a tool. place adds a held block to the top of a supported column. This placement implements gravity because a block cannot remain above an empty space. A column cannot exceed max_height. Placing a bridge kit over water makes that cell traversable. A bench with R and B, or Y and G, as its top two blocks can craft a bridge kit when the hand is empty. An illegal action returns NaN, and every enclosing skill returns NaN.
Observations inspect the hand or the cell in front. They are front_wall, front_water, front_colour, holding, held_colour, and front_height. A missing colour and a height outside the map are undefined. These observations do not reveal other cells.
The state value has the encoding {"t":"state","v":{...}}. Its v object contains integer width, height, and max_height; terrain as an array of strings with one character per cell; sparse stacks entries with x, y, and bottom to top blocks; sparse tools entries with x, y, and name; bridges as coordinate pairs; and robot with x, y, facing, and held. Facing is one of N, E, S, or W. The held value is null, a block object with kind and colour, or a tool object with kind and name. Colours use {"t":"colour","v":"R"} when returned by an observation. Undefined uses {"t":"nan"}.
from opulse.worlds.action import initial_state, apply_atom
state = initial_state()
turned = apply_atom("turn_right", state)
next_state = apply_atom("forward", turned)
This example turns the robot south and then moves it onto the floor cell below its start.
generate_skills(seed=36, count=100) grows state to state skills in several layers. A composition executes two actions or skills in order. A branch chooses one from an observation. A bounded recursion repeats a skill until its observation matches or its bound is reached. run_skill returns the exact final value and a derivation containing every intermediate state. Set unfold=False to apply a known skill as one step, or set max_unfold_depth to control how many layers are opened. make_task writes the needed skill rule records and the compact state grid into a prompt. answer_from_prompt parses those records and recomputes the answer without the original library. check_steps compares a proposed derivation with exact replay.
generate_skills accepts action_names and guards to choose its atoms. A custom atom must first be registered with a state input and a matching result type. The action simulator calls that registered atom during replay.
The showcase contains 100 skills with three examples each, and ten examples for each of five featured skills. Derivations live in individual files under docs/assets/data/worlds/action/steps. export_world_showcase("action", path) regenerates the files. The renderer loads Three.js version 0.170.0 as an ES module and uses a top down grid when WebGL is unavailable. z3 does not encode state transitions here. bounded_equivalence checks a finite supplied set of start states. bounded_law_check checks the turn inverse and four turn laws on generated start states. Both report their method and scope.
What the worlds are for¶
Each world grows operators from its atoms through substitution, branches, and bounded recursion. The designs below ask how those operators behave across different value types.
One tree can join strings and drop a character, or join lists and drop an element. A reference interpreter computes each result and checks each step.
Same tree, different material. Train on source world trees, then test those trees in a target world after practising its atoms. Compare with training on unrelated trees and with target world training alone at equal token budgets.
Worlds: strings and lists; clock and permutations; grids and melodies.
Open question: Yuan et al. found that RL on composed string transformations improved Countdown accuracy once the model knew its atomic skills (2509.25123). The tasks differ in both tree and material, so the source of transfer remains unclear.
Which material best prepares for pretraining. Warm up identical models on the same trees in two or three worlds, with a shallow tree control in each. Compare how many training tokens each needs to reach a fixed loss on held out text and code.
Worlds: two or three of strings, permutations and relations.
Open question: Yamaguchi et al. found that synthetic training saved at least 21B pretraining tokens at 3B parameters; gains followed long range retrieval, with no consistent evidence for the proposed grammatical prior (2609.39827). Which property caused the gain remains open.
Variety at a fixed budget. Spend the same token budget on one world or several, then test on held out trees and a new world. Compare with one world containing as many distinct trees and one world shown in several notations.
Worlds: all of them.
Open question: In Guru, RL in one domain helped domains common in pretraining, while Logic, Simulation and Tabular needed their own training data (2506.14965). Its domains also differ in rules, verifiers and format.
State tracking on rules never seen. Build card tasks from swaps, rotations, composition and inversion, varying sequence length and whether each operator appeared in training. Compare equal token budgets with and without checked intermediate card orders.
Worlds: permutations.
Open question: Assuming TC⁰ ≠ NC¹, Merrill et al. prove limits on arbitrary length permutation composition for the transformer and state space model classes they analyse; Mamba style models also struggle in their experiments (2404.08819).
Edits that ripple. Change one relation table entry and compare query answers before and after. Separate errors on the edited entry from errors on paths that use it and matched paths that do not.
Worlds: relations.
Open question: On RippleEdits, tested editing methods failed to update related facts consistently, and a simple in context editing baseline scored best (2307.12976).
A step checker for a new material. Train a process verifier on interpreter checked steps, then compare its judgements with the interpreter in a held out world. Test both fixed solutions and solutions sampled during RL to measure false approvals.
Worlds: all of them, one held out at a time.
Open question: ProcessBench used expert labels for the first wrong step in 3,400 math solutions; its tested process reward models did not generalise beyond GSM8K and MATH to harder problems (2412.06559).
These are proposed experiments, not training results; pictures help readers while models receive text. Pairing trees across worlds uses skeleton export (opulse skeleton) and records how closely the atoms correspond.