A physics engine, and a verification tool enforced on top of it. PhysWall inverts a closed, published, non-linear physical law at a single measurement point — and refuses when the inverse is not unique. Seven laws, one engine, and the same refusal in all of them.
A scaling rule in nanophotonics, the audit that nearly broke it, and the verdict engine that came out of both.
Law key
d7 · anapole disc radius
Status in engine
grey only · never refuses
A dielectric disc of the right size for the wavelength can be driven hard and still scatter almost nothing. The electric dipole and the toroidal dipole cancel in the far field. The disc is lit, it stores energy, and it is close to invisible. That is an anapole, and it is useful: low-scatter coatings, nanophotonic sensors, metamaterial elements.
The design question underneath it is much smaller than the physics. Given a material and a target wavelength, what radius do you cut?
The correct answer in the literature is to run a full-wave solver. That answer is right and it takes hours, which means nobody runs it while sketching, and claims about disc geometry circulate without anything cheap to check them against.
Form
round-trip phase
= 2π + c·(H/R)
Shipped c
2.01
Full expression is in ext/laws.js inside the extension.
An anapole condition is a resonance condition, and resonance conditions have a standard shape: a round trip closes on a whole number of phases. The useful observation is that in a disc the round trip is not set by the radius alone. A thin disc and a thick disc of the same radius do not have the same anapole, because the thickness loads the loop.
So the condition is not a constant. It is a closed loop plus a correction that is linear in the disc's aspect ratio H/R: one term for the round trip, one term for how much the thickness changes it. Fit the correction's coefficient against published anapole measurements and it lands near 2.0.
That gives a radius in one line of arithmetic instead of an afternoon of meshing. It is not a replacement for the solver. It is something to check a number against before you believe it.
Declared envelope
H/R 0.25 – 0.75
n 2.4 – 4.2
Inside
≈5%, as declared
Outside
"this is extrapolation"
The rule carries a stated range of validity: aspect ratio between 0.25 and 0.75, refractive index between 2.4 and 4.2. Inside that box it predicts to the error it declares. Outside it, it does not return a worse number. It returns no number, and says the input is an extrapolation.
There is a second reason the envelope matters, and it turned out to matter more than the physics. A rule without a declared boundary can only be tested where somebody thought to test it. A rule with one can be tested at its edge: hand it a value just outside and it has to decline. That changes the question from did it get the right answer to did it also decline the right questions, and the second question is about behaviour rather than implementation. Section 10 is about who that makes it possible to build.
Date
27 September 2026
Asked
is the coefficient a known constant?
Answered
not known, and not decidable from the data we hold
In September we ran an internal audit on the coefficient, expecting to confirm it. It did not confirm it. Three findings, in the order they matter.
The fit used seven published anapoles described as independent. Two of them are the same silicon disc: R = 155 nm, H = 50 nm, λ = 640 nm, n = 3.87. One had been entered under its arXiv number and one under its first author's name, and they are the same measurement from the same paper — Miroshnichenko et al., Nonradiating anapole modes in dielectric nanoparticles, Nature Communications 6:8069 (2015). Radius 155 is diameter 310. A third point came from that same paper as well.
Seven anapoles from seven sources were six anapoles from five sources.
Deleting the duplicate moved the coefficient from 2.012 to 2.088, which is a small change. It widened the 95% interval from ±0.386 to ±0.427, which is not, because it means the precision we had reported was better than our data earned. A point counted twice carries double weight and narrows an interval without adding information.
Each measurement implies, on its own, the coefficient it would require. Those implied values run from 0.51 to 4.62, and they rise monotonically with aspect ratio. Noise does not usually do that. A power-law fit gives an exponent of 1.75 ± 0.48; the linear form we use sits inside that interval and so is not refuted, but it is not where the data points either.
This finding partly dissolves the original question. If the functional form is wrong, asking whether the slope of a straight line fitted to a curve equals a famous constant is not a well-posed question.
The shipped value is 2.01. The interval the data supports is roughly 2.0 to 2.4. Fixing the intercept at 2π on physical grounds is a defensible modelling choice and it is documented, but releasing it moves the central value by 35% — more on its own than any argument about what the number "is". Several simple constants sit inside the resulting interval, including ones that are mutually exclusive. An interval that admits π and e equally is not evidence for either.
Separating candidates 0.24 apart needs a standard error below 0.06. Ours is 0.167. That is about eight times the data, which means roughly 24 discs rather than three more papers, and preferably at aspect ratios above 0.6, where the candidate forms separate. That is a measurement someone can run, and it is the honest end of the story: an open question with an experiment attached.
What the audit did not touch is the rule. Inside its envelope it still predicts to the error it declares. Outside it, it still declines.
Affected
d7 provenance line
In store now
"seven famous discs"
Correct
six measurements, five sources
The provenance line attached to d7 in the shipped extension still reads that the coefficient was derived from seven famous discs. That is the pre-audit count, and it is wrong. It becomes six measurements from five sources in the next release.
We are stating it in the paper rather than fixing it quietly. A reader who opens the arXiv paper finds the duplicate in about a minute, and a tool whose whole purpose is catching overstated numbers cannot afford one of its own.
This is the smallest section in the paper and it is the one we would most want a sceptical reader to weigh. Everything else here is a claim about our work. This is the work being done on itself, with a cost attached.
Measured fromext/laws.jsext/vocab.js
version 1.3.0
Never from memory. A gate recounts it on every run.
What the d7 work produced was not mainly a number. It was a shape that a law has to have before it can be trusted to answer anything:
a bound what it forbids an envelope where it applies a source who established it
A law carrying all three can be asked a question and can also decline one. We wrote 28 more in that shape, all of them published laws established by other people. The counts below are read out of the code, not typed from memory, and a test recounts them on every run so that a page cannot claim a figure the shipped package does not hold.
29 subjects 28 published laws 27 distinct formulas 150 domain mentions 147 of them distinct 5.2 domains per law 17 laws can refuse "no, and it is not possible — here is the bound" 9 return no verdict "the bound exists, but not for this device" 12 compute only they report, and block nothing today 542 sentences decide identically in Chromium and in Node · 0 divergent 148 gates
The part of that table nobody expects is the second line. 147 of the 150 domains are distinct, so the laws are not crowding into the same few markets. One equation covers battery ageing, accelerated life testing, drug stability, food shelf life, polymer coatings, reliability engineering and warranty modelling. Battery degradation, drug stability and the shelf life of yoghurt are the same equation, which is why 29 subjects reach as far as they do.
What that count does not say is that the engine has been validated in those markets. The column records which market a law is relevant to. It is not a reference, and we do not present it as one. What is actually validated is in section 09.
Our own law
d7 is one of three subjects that can only return no verdict.
The founding result is the most cautious row in the system.
The engine reads a numerical claim in the page and reaches one of six states. Only the first is agreement.
| Verdict | What it means |
|---|---|
| CHECKED | the figure sits under the bound, and here is how much room is left |
| NOT ACHIEVABLE | above the bound. There is nothing to discuss |
| NO VERDICT | the bound exists, but not for this device |
| the form | something is missing, and this is what |
| vague | the sentence carries no number to check |
| silence | no law here applies, and it says nothing |
Worked examples, run and copied from the engine rather than written out here:
"a wind turbine reaches a power coefficient of 70%"
→ NOT ACHIEVABLE. 70% is above the 59.3% limit. No turbine can take
more than 59.3% of the kinetic energy in the air passing its rotor.
The air has to keep moving to get out of the way.
"a wind turbine reaches 70% including the gearbox"
→ NO VERDICT. The Betz limit is a rotor bound. This sentence is
about a drivetrain.
"a heat pump reaches a COP of 12 at A7/W35"
→ NOT ACHIEVABLE. A COP of 12 is above the reversible cap of 11.01
between 7 and 35 °C.
And the row that started all of this never gets to say the first or the second. d7 is one of three subjects that can only return no verdict, because what the audit established is precisely where its authority ends. That is not an unfinished feature. It is the finding, encoded as behaviour.
Claim
numerical claims against published physical bounds
Not claimed
history · attribution · citations · anything without a number and a law
A hallucination is an answer produced outside the envelope of what the answerer knows, delivered in the register of an answer from inside it. Sycophancy is the same failure pointed at a person instead of a fact: the answer that is wanted rather than the answer that is supported.
Both are failures of refusal rather than failures of knowledge. That is the useful part, because refusal is something you can build.
Ask a language model whether a heat pump can reach a COP of 12 between 7 °C and 35 °C and you will usually get fluent, agreeable prose. The reversible cap there is 11.01. That is not a matter of opinion and not a matter of retrieval. It is two temperatures and a division.
So what the engine adds is not more knowledge. It is a layer that holds a bound, an envelope and a source for each of 28 laws, that marks a claim in the page against them, in English or in Hebrew, and that is willing to say nothing about everything else. The first stage is exactly that: a verdict layer, in the browser, that reduces the number of unsupported numbers a reader accepts because they arrived in a confident sentence.
The limit is the same sentence read the other way. Where the engine has no law, it is silent. That silence is the design, and it is also the boundary of what this can do for you.
Rule of the house
no figure in a document unless it was read from the product
Every number in this paper was.
Blind case corpus 44 / 45 applicable cases marked
45 / 45 non-applicable cases left alone
zero false ceilings
Cross-engine 542 sentences · identical verdicts in
Chromium and in Node · 0 divergent
Hebrew parity 29 of 29 subjects decide from real Hebrew prose
no verdict English reaches that Hebrew does not
Package zero network · zero storage · no account,
no server. A gate checks it, so it is a
property of the build and not a promise
And the other column, which belongs in the same table:
No laboratory measurement, in any domain. The bounds are published laws. That is not device validation and we do not describe it as such. The explanations are still English even where the verdicts are Hebrew. 12 of 29 subjects cannot refuse anything today. They compute and report. In commercial terms that means those rows are a calculator, not yet a decision.
Written by hand
148 gates, each one a sentence of the form
input → required verdict
That shape is a professional habit, not a programming one.
I am a criminal defence lawyer. I had no background in programming when this started, and the engine was built conversationally, in what is now called vibe coding. That is only possible because of something specific about the subject: in bounded physics, the specification writes itself.
In most software, asking whether an output is correct needs a human with taste. You write a specification, and the specification is an opinion that can be wrong in ways no test will catch. In bounded physics there is no opinion available. Betz is 59.3%. Carnot is one minus the temperature ratio. The acceptance test for a law is arithmetic against a textbook, and I can read that without being able to write the function that computes it.
The envelope is what makes the test complete rather than merely possible. A rule with a declared boundary can be probed at its edge, and the required behaviour there is refusal. So the thing I wrote, 148 times, was never code. It was a sentence of this shape:
input required verdict ─────────────────────────────────────────── ────────────────── "wind turbine at a 70% power coefficient" NOT ACHIEVABLE "wind turbine at 70% including the gearbox" NO VERDICT "this product has many degrees" silence
That is a burden of proof. I did not borrow it as a metaphor — it is how I read a case, and it turned out to be the right architecture for a tool whose main job is withholding an answer. The gates are the standard of proof, written in the only language I was already fluent in.
What this does not mean is that the code wrote itself or that the gates caught everything. Three of the four defects fixed on a single day in October were born together with the capability they damaged. The gates caught them for the same reason the envelope works: each gate is a claim about behaviour that is allowed to fail.
Four things are unfinished, in the order we think they matter.
| Open | Why it is first, or not |
|---|---|
| 12 of 29 cannot refuse | Making existing laws name their bound is worth more than adding laws. This is ahead of new physics |
| "so what is possible" | The engine says no well. It says what the achievable figure would be only partly |
| d7's own question | About 24 discs at aspect ratio above 0.6 settles whether the coefficient is constant at all |
| Hebrew explanations | Verdicts decide in Hebrew. The reasons are still printed in English |
The engine develops from here, and the direction is not more laws. It is more rows that can say no, and then the fourth verdict that none of this reaches yet: the number that is available, with its own envelope and its own refusal.
START HERE
It runs inside ChatGPT, Claude, Gemini, Mistral and Meta AI and underlines the numbers nothing has checked. No account, and the conversation never leaves your browser.
Install it — one click from the Chrome Web Store
Free, on the Chrome Web Store.
I built the engine described here. It is a Chrome extension — it runs in the page, with no server, no account and no sign-up, and a build gate checks that rather than a sentence promising it. Chrome Web Store · physwall.com