Skip to main content

Lab Notebook · QUANTA

Proving our own gate can fail — the tamper control, reproduced on a compiler six versions away

The QUANTA compiler bootstraps to a byte-identical fixpoint: 75,815 bytes, 39 functions, entry 74128, on two independent compilations. That result was reproduced exactly on gcc 15.2.0 against a record made on gcc 9.4.0. So was the negative control — flip one bit of the compiler's own output and the check reports MISMATCH at exactly that byte. Nobody publishes proof that their gate is able to fail. This is ours, with the command, the output, and the exit-code hazard that comes with it.

JR
Jon RossFounder, vocabotics — 15 years building safety-critical systemsLab report · dated 25 August 2026
Verified by a human. Drafted with AI, verified by a human. Jon Ross, 25 Aug 2026
Living document. Reviewed 25 Aug 2026
Entry date
25 August 2026
Category
Tooling
Lead over the world
the rung almost nobody climbs — a published negative control
Access
🔓 Public
Shipped & measuredProven

Any lab can show you its gate passing. Here is the command that makes ours fail, the byte it fails at, and the value it found there instead.

75,815 bytes
byte-identical fixpoint — stage 1 and stage 2 agree exactly, 39 functions, entry=74128
gcc 15.2.0 vs 9.4.0
six major compiler versions between the reproduction and the original record — every field matched
1 bit
the tamper: bit 0 of stage-3 byte 40000, flipped on purpose
16
control files that must each return rc=1 — 15 deliberately broken chapters plus one PTX truncation control
exit 0
what the binary returns whether the fixpoint passes or fails — the hazard, published

Honest evaluation

Proven

Both the positive result and its negative control were reproduced field-for-field on an independent toolchain. This is one of exactly two independently reproduced technical results this lab owns.

There are two things you can say about a check. The first is it passed. The second, much harder one, is and here is what it looks like when it fails.

Almost every lab publishes the first. This entry is the second, for the check that the whole QUANTA compiler rests on.

The positive result — the compiler compiles itself, byte for byte

Shipped & measured

The compiler compiles its own source, then the binary that produced compiles the same source again. If the language and the compiler are self-consistent, those two outputs are identical — not equivalent, identical.

$ ./qc2
   [fixpoint-stage1] qcc15(QCC15_SRC): 75815 bytes, 39 fns, entry=74128
   [fixpoint-stage2] binary_A(QCC15_SRC): 75815 bytes, 39 fns, entry=74128
   [FIXPOINT] BYTE-IDENTICAL ✓  75815 bytes match exactly
   [build_demo] ELF exit code: 55 (want 55, fib(10)) ✓
 QCC16: 2/2 ✓ PASS

The interesting part is not the ✓. It is that this output was reproduced field for field on gcc 15.2.0, against a record made on gcc 9.4.0 — six major compiler versions and a different host apart. Same 75,815 bytes. Same 39 functions. Same entry offset. Same demo exit code.

The negative control — the same check, made to fail on command

Shipped & measured

A check that always passes and a check that cannot fail produce the same screenshot. So the compiler carries an environment variable whose only job is to corrupt its own intermediate output by one bit, and prove the comparison bites.

$ QCC16_TAMPER=40000 ./qc2
   [FIXPOINT] NEGATIVE CONTROL: flipped bit 0 of stage-3 byte 40000
   [FIXPOINT] MISMATCH ✗  bytes_A=75815 bytes_B=75815 entry_A=74128 entry_B=74128
   First mismatch at byte 40000: A=0xff B=0xfe
 QCC16: 1/2 ✗ FAIL

Read what it reports. The two outputs are still the same length — 75,815 bytes each — and still have the same entry offset. Nothing structural changed. The check found the difference anyway, at exactly the byte we corrupted, and it names the value it expected and the value it got: A=0xff B=0xfe.

That run was also reproduced exactly, on the same six-versions-away compiler: every byte and every count.

Alongside it sits a suite of sixteen control files — fifteen deliberately broken copies of real chapters plus one PTX truncation control — each of which must return rc=1. When they all do, the suite prints the only line in this codebase we would put on a poster:

 ✅ THE GATE CAN FAIL

What this claim is, and what it is not

Research

It is worth being precise about the boundary, because there is a neighbouring claim that would be false.

The binary's sha256 is not reproducible. The recorded hash was produced on gcc 9.4.0; a gcc 15.2.0 build of the same source produces a different one. That is ordinary — binaries are toolchain-bound — but it means the hash of qc2 must never be published as a reproducibility claim, and it is not one here.

What reproduces is the compiler's own output identity: 75,815 bytes, 39 functions, entry 74128, on two independent compilations, on two independent toolchains, plus the tamper control that proves the comparison is real. That is the claim, it is narrower than "reproducible build", and it is the one we can defend line by line.

And it does not prove the gate is sound. That the gate is tested rather than proven sound is the named core gap on the QUANTA research lane, and nothing on this page closes it.

Why we lead with the failure

The question a technical buyer actually asks is not how fast is it. It is how would you know if it were broken. A gate you cannot demonstrate failing is a decoration. This is the command that makes ours fail, the byte it fails at, and the exit code that will fool you if you let it.

What is still open — kept visible

The honest edges, next to the wins. This is what turns 🔬 into 🟢 — honestly.

  • The shipped binary's sha256 is toolchain-bound and is NOT reproducible: the recorded hash was produced on gcc 9.4.0 and a gcc 15.2.0 build of the same source hashes differently. What reproduces is the compiler's own output identity — 75,815 bytes, 39 functions, entry 74128 — not the binary that produces it. We will never publish the binary hash as a reproducibility claim.
  • qc2 exits 0 in both the clean run and the tampered run. Every harness that consumes it must grep the output rather than trust the return code, and any CI that checks only the exit status of this binary is checking nothing.
  • This proves the fixpoint check is able to fail on a tampered input. It does not prove the gate is sound — that the gate is tested rather than proven sound remains the named core gap on the research lane, and this entry does not close it.
  • Timings here are not comparable between the two runs: different compiler, different host. Only the byte counts, the function count, the entry offset and the mismatch position are the reproduced result.

Where this connects

Sources

  1. QUANTA VERIFICATION record — fixpoint stages, tamper control and release gatevocabotics internal record · as of July 2026
  2. Independent validation pass — every command re-run on gcc 15.2.0 / Ubuntu, outputs recordedvocabotics evidence pass · as of 25 August 2026

    We use cookies.