PolyLabs Research Contact
Programme · Research loop and Kepler

Can a machine name the law in your data, and say when none fits?

The research loop runs an experiment you describe, fits every candidate law, and chooses further settings where the laws disagree most. It writes each law's predictions for those settings to a hash-chained ledger, makes the measurements, and judges. Kepler is the library underneath: it fits the laws, ranks them and makes their error bars. Both were tested first on data whose answer is known: synthetic laws, real measurements, and a question lattice-lab had already answered. The loop's first new question, how long Life-like soups take to settle on tori of side 1024, found that none of seven laws fits; the logarithm came closest, within 7.8%.

Started
Kepler 14 October 2026; the loop 28 November 2026
A question
How one y depends on one x, from runs of any experiment
Verdicts
Found, fragile, inconclusive, approximate, or none fits
First new question
None of seven laws fits; the logarithm within 7.8%
Source
research-loop and kepler, both public; the records quoted here are their own

How the loop decides

A question names x and y, the settings the fit may see, a pool of settings held back, and how many runs to make at each. The loop measures the fit settings, fits every law on offer, and picks from the pool the settings where the leading laws disagree most. Every law's predictions there, with everything its test will need, go into the ledger before those settings are measured. A law is found only if it passes its test on the held-out settings, no rival as simple comes within 10 BIC points of it on all the data, and the verdict survives leaving out the smallest settings and each setting in turn. When every law is rejected the verdict is none fits, and the loop says how close each law's recorded predictions came to the held-out settings' true values, with a bound that holds for every law at once.

Inconclusive is the common answer on hard cases, and is meant to be. In the loop's latest self-check, on synthetic data from known laws with 20 runs a setting, it named an exponential in all 20 questions and a logarithm in 8, said inconclusive for the other 12, and named no wrong law. The laws come from Kepler's library or are written into the question; nothing proposes a new form. The loop is lattice-lab's law-discovery loop with the lattices taken out: in lattice-lab the question was always how a cellular automaton's settling time grows with the torus.

The error bars underneath

Kepler fits a law's constants with error bars, ranks rival laws, and predicts with a confidence band. Before the loop rested on it, Kepler's benchmark asked whether those error bars can be trusted. Each of its questions draws data from a known law, so the law is true by construction, and a test of it at the 1% level should reject it 1% of the time. For the way lattice-lab and the loop had made error bars, each setting's own scatter taken as exact, the answer was no: with 3 runs a setting a true law failed 16.1% of the time. With the scatter pooled over the settings and judged on its degrees of freedom, it failed 0.92% to 1.07% of the time, at every count from 1 to 20 runs.

The same order of work followed for each kind of data the loop meets: runs that go wild, errors in x, counts and yes-or-no outcomes, runs that do not scatter alike, several groups, and medians. Each was looked at first on streams of its own; then its pass marks were committed; then one registered run on a fresh stream was judged against them. Every run is in the benchmark's history, failures included. Real data came too: NIST's 27 certified problems found three faults in Kepler's fitting, now fixed, and fixing the last exposed a fourth. Kepler's other half, Galileo Trainer, trains specialist transformer models that propose formulas from data; the runs on this page are of the library.

How often a true law failed its test, by runs at each setting

Kepler's calibration · registered run

Data drawn from six known laws at two spreads, 2,000 questions for each law, spread and number of runs. Tested at the 1% level, a true law should fail 1 time in 100: the dashed line. With each setting's own scatter taken as exact it failed most often at 3 runs; with the scatter pooled over the settings it failed 0.92% to 1.07% of the time at every count.

each setting's own scatter, taken as exact, as lattice-lab and the loop had made error bars (dashed) Kepler: the scatter pooled over the settings, judged on its degrees of freedom

Point at a number of runs, or tap it, for its readings.

The numbers in this chart

Each point is the share of questions in which the true law failed its held-out test at the 1% level, averaged over the six laws and both spreads. With one run at each setting the two ways are the same: the scatter about the law, judged with F. The run drew from a stream no earlier run had used and was judged against marks committed before it; it passed all seven. Both axes on a log scale.

A question with a known answer first

Before any new question, the loop was asked one lattice-lab had answered: how the settling time of eight Life-like rules, two drawn at random on each of four lattices, grows with the torus, from lattice-lab's registered runs at L = 8 to 512. lattice-lab's analysis, each rule on its own with the median and a wider error, had passed the logarithm for all eight (see settling time). Asked by the loop with the eight rules pooled, the verdict was none fits. The logarithm was by far the best fit and passed in five rules on their own, but over all eight its predictions for L = 128 to 512 were rejected. Asked again on plain means, a question decided after the first answer, the logarithm was still rejected, with two rules departing from it on both scales; its predictions came within 18.9% of every held-out setting.

The table was on the disk throughout and the answer was known: the example was for testing the loop, and what it says about the rules is, in the record's words, "one table read two ways after the fact, not a registered finding". The record drew two lessons for the loop: "none fits" needs a second sentence, and the loop had no median. It now says how close each law came, and since 1 December it can summarise a setting by the median of its runs.

The first new question: each law's prediction for L = 1024, against the soups

eight rules · 100 fresh soups each

The same eight rules, with every size run before as the fit (L = 8 to 512, 100 soups each), and L = 1024 held out with 100 soups never run before. Beside the library's six laws the question offered one of its own, a logarithm whose slope eases: T = a ln L + c ln ln L + b. Every law's prediction for L = 1024 was in the ledger before the first soup of that size was run.

the logarithm, T = a ln L + b the eased logarithm hollow: fails its test on that rule alone; filled: passes

Point at a rule, or tap it, for its readings.

The numbers in this chart

How far the mean settling time at L = 1024 lies from each law's recorded prediction, as a share of the prediction: (measured − predicted) / predicted, worked out here from the values in the record. Left of zero, the soups settled sooner than the law said. A law passes on one rule alone when its test there gives p of at least 0.01; the verdict was the test over the rules at once, where both laws, and every other, were rejected. In three rules some soups had not repeated within the cap of 8,000 generations, so the registered run left those rules out; their soups were run again after the verdict with a longer cap, and they are drawn below the line.

How close each of the seven laws came at L = 1024

every law rejected · all eight rules

When every law is rejected, the loop says how far each law's recorded predictions can be from the true mean settling times: its largest miss, plus how far a true value may lie from the measured mean. The bounds hold for every law and every rule at once, at 95%. The plain logarithm comes closest.

Point at a law, or tap it, for its readings.

The numbers in this chart

Each law's bound over all eight rules at L = 1024, as a share of the true value, once the three rules were completed after the verdict. The verdict itself came from the five rules tested in the registered run, where the bounds were 7.6%, 14.4%, 19.1%, 51.2%, 66.0%, 133.0% and 719.0%, in the order drawn; both are in the table, with each law's largest miss, its prediction against the measured mean. The completion's values are rounded here to one decimal, as the loop's report rounds. Log scale.

None fits. Over the rules at once, every law's predictions for L = 1024 were rejected (p below 0.00025 for each). The closest is the plain logarithm: its recorded predictions came within 7.6% of every tested setting's true value (95%), and within 7.8% once all eight rules were measured. The eased law came within 14.6%, the power law within 19.2%.

The easing goes on, at the bar. In six of the eight rules the soups at L = 1024 settled sooner than the logarithm fitted to 8 to 512 said, by 3.1% to 5.5%; in two they settled later, by 5% and 1.9%. The expectation written first (P1) asked for six of eight. In the registered run only five rules could be measured, so it could not be judged as written; it holds exactly at its bar once the other three were completed, after the verdict.

The eased law fits some rules, not all. It passes on its own in five rules: both hexagon rules and three triangle rules. For triangle-edge B123/S012 it was nearer than the logarithm, as P2 predicted: 88.8 measured, 87.8 from the eased law, 92.5 from the logarithm. It overshoots both square rules and one triangle rule, so over the rules together it was rejected, and P3, that it would pass there, failed. No single form of the seven covers every rule. In the record's words, the question "says what the next one should ask, not what the law is."

Three rules nearly went untested. In the registered run 2, 11 and 24 of the 100 soups of three rules did not repeat within 8,000 generations, and the loop leaves out any setting where a run gave no number. lattice-lab's records at L = 512 had already shown such soups; the record says the cap was set without looking at them. Run again from their seeds with a cap of 256,000 generations, all 37 entered their final cycle at generation 37 to 66, like the soups that had settled; their cycles are 9,240 to 65,520 generations long. Nothing was settling late: the cap was too short to see the cycles close. The rerun used a faster stepper, checked against LatticeLife cell for cell on 22 soups, and did not change the ledger.

Every run against what was written first, in order

28 November to 1 December 2026
StageQuestionOutcome
Kepler, real data, run 1On NIST's 27 certified nonlinear problems, does Kepler get the constants and their errors to the marked digits, with no fit called a success that is not one?failed all three marks constants right to 3.06 digits at worst, where 4 were needed; errors to 2.46, where 3 were; and 5 fits reported as successes that were not. The other 24 problems were right to 4.4 to 10.6 digits
Kepler, real data, runs 2 to 6The same marks, after each fault found was fixed, one at a timepassed from run 3, after fixes the faults: tolerances too loose for flat valleys, residuals clipped at an absolute 10⁶, and the optimiser's status never checked; run 2, with the first fix alone, failed one mark. Fixing the last exposed a fourth fault, a guess helper that threw away right but small starting values, and showed that run 1's reading of Jupiter's irregular moons came from a fit that had not converged
Loop, self-check, run 1Given synthetic data from six known laws, 20 questions each, does the loop name the right law often and a wrong one rarely, by marks fixed before it ran?failed one of four marks on thin data, 4 runs a setting, it named a wrong law for 3 of 20 straight lines, where the mark allows 2. It named no wrong law on normal or single-run data. The marks were not changed
Loop, self-check, run 2The same stream and marks, with error bars made by Kepler from the runspassed, at the mark on normal data the worst law was named wrongly once in 20, a power law named logarithmic: 0.050, the mark itself. On thin data no wrong law, where run 1 had 0.150
Kepler, calibrationData drawn from a known law at 1 to 20 runs a setting: does its held-out test reject it at the stated rate, and do the constants' intervals hold the truth?all seven marks passed at the 1% level a true law failed 0.92% to 1.07% of the time with Kepler's pooled errors, at every count of runs; with each setting's own scatter taken as exact, 16.1% at 3 runs
Kepler, robust summariesWith 5% of runs wild, do robust summaries keep the held-out test honest?all seven marks passed a true law failed at the 1% level 1.2% to 2.4% of the time with robust summaries, against 5.8% to 11.1% with plain means. On clean runs they ran a little hot at 3 to 5 runs a setting
Loop, self-check, run 3The same stream and marks, after a study on other streams, against a rule fixed before it ran, raised the margin a law must win by from 6 BIC points to 10passed, no wrong answers all four marks, with no wrong law named. The cost, from the study: with 20 runs a setting a logarithm is named 60 times in 240 instead of 119
Loop, real dataSeven real tables whose law is known from elsewhere, scored by a rule written before the first run4 right, none wrong, 3 no answer the power law for the planets and for Jupiter's regular and irregular moons, and Newton's cooling for a mug of water. No answer for a discharging capacitor, whose voltage levels off above zero, which no library law extrapolates, nor for an enzyme whose law is not in the library
Kepler, the robust error's degrees of freedomCounting Huber's scale at its efficiency, 0.658 of the degrees of freedom: is the excess at 3 to 5 runs gone?all seven marks passed on clean runs a true law failed at the 1% level 0.6% to 1.1% of the time with robust summaries, and 1.1% to 1.9% with wild runs. The price: robust intervals 3% to 5% wider than plain ones on clean runs
Kepler, errors in xWhen x is measured with error too, does carrying it into y keep the tests honest and the constants unbiased?failed one mark of five the tests and intervals passed, but the slope of a line with the largest x errors had a mean error of +0.57%, against a mark of 0.5%. Its median error is +0.07%: a long right tail pulls the mean up. The mark stays as written, and the run stays failed
Kepler, counts and successesFitted as tallies, by binomial or Poisson likelihood with the test's p by simulation, do counts and yes-or-no outcomes get honest held-out tests?all five marks passed as tallies a true law failed at the 1% level 0.3% to 1.35% of the time; taken as plain values, counts made it fail 12% to 18% of the time, and proportions never let it fail. Counts whose variance grows with the square of the mean were not modelled, and failed it 7.3% to 11.5% of the time
Kepler, scatter that changes with xWhere runs do not scatter alike at every setting, does a variance that follows the setting's mean keep the test honest?all six marks passed a true law failed at the 1% level 0.6% to 1.8% of the time; with one pooled variance, 43% to 78% where the scatter grew towards the new settings. Where the runs scatter alike it cost nothing. In one situation the honest test has little power at these numbers of runs
Kepler, counts whose dispersion growsCounts whose variance grows with the square of the mean: does a dispersion that grows with the count fix them?all seven marks passed a true law failed at the 1% level 1.1% to 1.9% of the time, against 7.0% to 11.0% with one dispersion. Poisson counts pay a little for it. Three runs of such counts could not tell the true law from a line that overshoots by a tenth
Loop, self-check, run 4The same stream and marks, with a variance that follows the mean as the defaultpassed all four marks, with one wrong answer on thin data, a logarithm named for a straight line, where the mark allows two in 20. On 1,440 thin questions from other streams the new default named a wrong law twice, the old one once
Kepler, groupsAsked which constants three groups share, with errors made from a few runs, is a difference claimed only when there is one?all 14 marks passed with each setting's own error from 3 runs taken as exact, groups that share an exponent were said to differ 32% to 36% of the time at the 1% level; with errors made from the runs, 0.6% to 1.35%. Where a shared exponent comes with an amplitude for each group, the verdict was undecided 88% to 95% of the time
Loop, group self-check, run 1Three groups following one law, pooled: is the law named more often than group by group, and no wrong law, by marks written after a look on other streams?all six marks passed pooled, the right law was named in 78% of questions against 49% group by group; a logarithm 18 times in 20, never by a group alone. No wrong law in 360 questions. On thin data pooling did not rescue the slow laws: the logarithm, the line and the power law were named 0 times in 60
Kepler, groups compared inside the dataWith the law written about the middle of the settings, can the verdict say which constant the groups differ in?all eight marks passed where groups share an exponent and have an amplitude each, the verdict names that 90%, 98% and 99% of the time at 3, 5 and 10 runs (2%, 4% and 10% before), and is undecided at most 0.5% of the time. What it gets wrong, it gets wrong by saying too little
Loop, group self-check, run 2The same, with the groups' level compared inside the dataall six marks passed finding the law is unchanged. On normal data the verdict on the constants is right in 93 of the 94 questions that named the right law, where run 1 had 91, with 3 undecided
Loop, settling times, eight ruleslattice-lab's registered runs of eight Life-like rules to L = 512, a known answer. With the rules pooled, does the loop name the logarithm (P1), and reject the power law (P2)?P1 failed, P2 held none fits: every law's predictions were rejected over the eight rules (p below 0.00025 for each). The logarithm was the best fit by far and passed in five rules alone, failing in three; the observed times lay below its predictions on average by 1.0% at L = 128, 3.7% at 256 and 5.1% at 512
Loop, settling times, plain meansThe same, with each setting's value the plain mean of its runs: is the power law still rejected (F1), and does the logarithm overshoot less (F2)? Decided after the first answerboth held, asked after the first answer the one-sided miss was gone: the times at 128 to 512 lay above the logarithm's predictions by 3.3%, 2.4% and 2.4% on average. None fits still: the logarithm is rejected over the eight rules, and two rules depart from it on both scales. Read once the loop could say, its predictions came within 18.9% of every held-out setting
Loop, the closeness checkWhen no law fits exactly, do the loop's bounds on how close each law came hold, on synthetic questions with a known truth?all five marks passed every law's bound held at every held-out setting in 98.5% of 2,640 questions; of the 46 laws named approximate, none was in truth more than 10% off
Loop, settling times to L = 1024The same eight rules on fresh soups at L = 1024, with an eased logarithm added. P1: the easing goes on, in at least 6 of 8 rules. P2: for triangle-edge B123/S012 the time is nearer the eased law's prediction than the logarithm's. P3: the eased law passes over the rules at once, and the plain logarithm failsP3 failed none fits: every law rejected (p below 0.00025); the closest, the logarithm, came within 7.6% of every tested setting. P2 held. P1 could not be judged as written: in three rules some soups did not repeat within the cap of 8,000 generations, and the loop left those rules out
Kepler, mediansSummarised by their runs' medians, do settings get honest held-out tests?all five marks passed from 10 runs a setting a true law failed at the 1% level 0% to 0.8% of the time, a little cold, once the medians' errors were pooled over the settings; in the first look, with each median's own error taken as known, they had run hot. With normal scatter the median rejects a wrong law less often than the mean: 29% against 68% at 100 runs
Loop, L = 1024, the three rules completedAfter the verdict: the 37 soups that had not repeated, run again from their seeds with a cap of 256,000 generations, and judged on the predictions recorded beforeP1 held at its bar, after the verdict all 37 entered their final cycle at generation 37 to 66; their cycles are 9,240 to 65,520 generations long. Over all eight rules none fits still, the logarithm within 7.8%; the time at 1024 lies below its prediction in 6 of 8 rules, P1's bar. P2 unchanged, P3 still fails. The ledger's verdict stands

Where it stands

The loop has been through self-checks on synthetic laws, real tables with known answers, a question whose answer lattice-lab had, and one new registered question, whose verdict is none fits, with the logarithm closest. Each kind of data it handles has had a registered run in Kepler's benchmark; the run for errors in x failed a mark and stays failed. Medians came into the loop on 1 December, once Kepler's registered run of them had passed. Grid paths, the first real project through the loop, needed laws the library could not express, and a question can now write its own.

What it does not do yet, by its own account: it asks about one x and one y; it tries only the laws it is given; it does not use times that are only bounds; and its report has no plot. The settling question added a lesson: a run that times out should be run again with a longer cap, as lattice-lab does, and the loop has no way to ask for that. A cap set without looking at earlier records cost three of eight rules their test until the completion.