Gravital

Discovery, demonstrated.

Run a real, bounded discovery mechanism in your browser, and replay recorded results from our experiments. Nothing here is simulated, and every replay is labeled as one.

Live demonstrationRuns locally, in your browser

Infer a rule from examples

Live mechanismBrowser port of the engine's plain search

Give a few input and output examples. The search builds programs from small operators, smallest first, and keeps a program only if it behaves differently from every program kept before on your examples (observational equivalence). The first program that reproduces every example is returned, then checked on held-out cases it never saw. This is the typed bottom-up enumeration Genesis runs first in its protected portfolio, ported faithfully to JavaScript with the same operator semantics, without the learned library.

Observations

Input and output pairs, one per line, written as JSON. The search sees only these.

Budget: programs of up to 5 operators or 4 seconds, whichever comes first. Runs on your device; nothing is sent anywhere.

Search

OperatorsPrograms triedDistinct behaviors kept

Result

Choose an example or write your own, then run the search.

The operators

The search may use only these, plus the input itself. There are no constants and no arbitrary code.

OperatorTypeWhat it does
reverse, sort, uniquelist → listReverse; sort by serialized form, as in the engine; drop repeats keeping first occurrences.
delta, adjacent, flattenlist → listDifferences of neighbors; neighbor pairs; flatten one level.
sum, lengthlist → numberSum of a numeric list; number of items.
absnumber → numberAbsolute value.
add, subtractnumber, number → numberArithmetic on two computed numbers.
concat, intersect, zip, pairtwo values → listJoin lists; keep shared items; pair items; pair two values.
equalany, any → boolWhether two computed values are identical.

Limits

  • Bounded: small programs over a handful of operators. Many simple-sounding rules are not expressible here, and the search will say so rather than guess.
  • Matching every example is not understanding. Several programs can fit the same examples; the search returns the smallest it meets first, which is why held-out checks matter.
  • Plain enumeration like this is a strong method on small problems. Our research is about what has to be added to it, such as knowledge learned from experience, to reach further.
  • This page runs the plain search only. Genesis's learned library and grammar are not included, so this is not a demonstration of the CA2 learning result.

Replay: exploration by affordances

Replay of recorded resultsRS1, development pilot, 1 December 2026

In generated crafting worlds, explorers had to reach four deep, hidden tools that nothing told them about. Each arm ran to the same wall-clock budget. Representing a state by what can be done in it (observable affordances), and keeping the action sequences that crossed into new affordance cells (selected macros), reached far more hidden targets than random play, breadth-first search, state novelty, a Go-Explore cell or empowerment lookahead.

Loading the recorded results.

  • Development evidence on worlds we generated ourselves, 12 worlds per family, 3 repetitions per stochastic arm. Independently authored worlds are still missing.
  • At 3 seconds many affordance arms reach the ceiling, which compresses the comparisons.
  • The mechanisms build on prior art (Go-Explore cells, affordance and empowerment motivation, options from bottlenecks); the contribution is the controlled measurement.

Replay: learning from experience

Replay of recorded resultsCA2 confirmation, sealed and preregistered

Genesis learned a library from 40 training problems, then faced 150 sealed problems written by an independent author, at 10 seconds per problem. Choose a category to see how each version did.

  • One independent family whose problems share eight concepts, so the interval overstates precision.
  • On misleading problems that only look related, unprotected knowledge was misled (3 solved without it, 0 with it).
  • No version solved any partial problem; these remain out of reach.
  • The mechanism (library learning by compression) is established research; the contribution is the controlled demonstration in this system.

Have a problem with a measurable objective?

The design-partner program is how we test these methods on real problems.