Guldo

Certify

Measure a result. Prove it to anyone.

Not here to compete. You have a solver, an attack, or a benchmark and you want a verifiable measurement that anyone can check independently. No round, no opponent, no deadline.

One command

Run your solver on three secret seeds of your own. The tool measures the cost, checks every answer, and writes a certificate: one file that carries the claim, the rules, the seeds and every raw measurement.

guldo practice my_solver.py --family gm

For exact instruction counts instead of seconds (reproducible on any machine with the same Python version):

guldo practice my_solver.py --family factor --count --dims 38 40 42

Without --yes each command only prints its plan and what it would cost; nothing runs. A lattice run can take hours and needs pip install "guldo-cli[lattice]".

The certificate is a JSON file. It is self-contained: without the operator, a server or this site, anyone can check that its instances come from its seeds and that its numbers follow from its records. What a certificate cannot show by itself is that the timings are true. You took them, so they are your claim; see “What it proves” below.

Anyone can check it

Hand the certificate to a reviewer, a standards body, or a journal. They verify it on their own machine with one command: no account, no server, and no need to take the sender's word for what verification covers (the list below says what it does not).

guldo verify their.cert.json

Checking never runs any code from the certificate. It verifies the log chain, checks that the seed commitments came first, confirms the certificate holds exactly the instances those seeds produce, and re-derives the credit from the raw timing records with the verifier's own copy of the protocol code.

Others can attest

An independent party can go further: re-run a sample of instances on their own hardware and sign the outcome. Their attestation is a separate file anyone can check.

guldo attest sign x.cert.json --key my.key --rerun 5 --execute --out x.my.att.json
guldo attest check x.cert.json a1.att.json a2.att.json

An attestation is worth exactly what the signer's identity is worth: one signed by a university lab you know means more than one signed by an unknown key.The tool separates attestations from keys you chose to trust from ones you did not. --execute runs the certificate's solver on your machine with no protection: do it in a throwaway virtual machine.

Put it on the record

A certificate proves itself to whoever holds the file. To make it findable and permanent, a log operator can verify it and add it to the public certificate log: an append-only, witnessed list you can prove a certificate is in, and from which anyone can recompute claims like “nothing submitted here reaches T bits.” Being in the log is not an official result, and not being in it does not mean a result does not exist.

Compare two solvers

A certificate compares a solver with a baseline, never with another solver. When one party says “mine is faster than theirs,” the two certificates can be compared directly, as long as both measured the same test.

guldo claims compare a.cert.json b.cert.json

Both certificates are checked first. The comparison is refused unless they share the same problem, rules, baseline, sizes and cost cap, and the same kind of measurement: an exact count made the same way, or timings from the same machine. With the same seeds it says whether one solver is ahead on every seed. With different seeds it says whether the two sets of results do not overlap. The result can be saved to a file that anyone can recompute from the two certificates.

What it does not show: how much faster one is, because each credit is a cautious lower bound and the gap between two lower bounds is not a bound on the real gap; and anything about approaches that were not submitted. A comparison involving a provisional certificate is provisional.

Exact counts can say how much. When both solvers were measured in counted operations, as AI inference and training are (see AI workloads), the same instances are compared one by one, and the gap can be given in bits at every size. Where costs vary between instances it comes with an exact sign test and a bootstrap interval, and one side is called cheaper only if the two agree; where a solver always spends the same amount at a size, that size is reported as one exact fact, never as many samples. Every record can be re-executed to confirm it.

guldo tflops-compare compare baseline.jsonl a.jsonl b.jsonl --rerun all --solvers ./the-three-solver-files

With ladders made by guldo tflops-mem, --metric bytes or --metric peak compares the bytes moved or the peak memory instead of the operations.

A re-run needs the three solver files, in the folder named by --solvers; each must match the hash recorded in its ladder, or the re-run is refused. A number instead of all re-executes only a random sample, and the output says so.

Use cases

  • Lattice security. Record a lattice attack's cost across dimensions in a form others can check. What anyone can verify is that the instances are the ones the seeds produce and that the credit follows from the recorded costs. The costs themselves are your measurement until a step-counted run is re-executed, or someone independent re-measures it and signs.
  • Algorithm benchmarks. Compare your solver with a baseline on instances generated from seeds, with every answer checked. With seeds you chose yourself you could have tuned to them; a round's seeds are committed before submissions open, which is what rules that out.
  • Head-to-head claims. Settle “mine is faster than theirs” from two certificates, with a refusal when they did not measure the same test. See Compare two solvers.
  • Reproducible research. Attach a certificate to a paper. A reviewer can check that its numbers follow from its own records without re-running anything, and can re-run a sample to test the timings themselves. How to word it.
  • AI model evaluation. Measure inference quality or operation counts on committed instances. See AI workloads for what each kind of evidence shows.

What it proves and what it does not

A practice certificate uses your own seeds and your own machine. That means:

  • Proven: the instances are the ones the seeds produce; the solver answered them; the credit follows from the recorded costs; the protocol code is identified by hash.
  • Not proven: that the timings are honest (you ran it). Step counting (pure Python, Python 3.12 or newer) makes costs exactly reproducible, but only for someone who actually re-executes them (guldo cert verify X --rerun 5 --execute, in a throwaway virtual machine): verification alone does not, and the counter cannot see work done inside built-in C functions. For timed runs, independent attestations close the gap only as far as you trust the people who signed them.
  • Not proven: that the seeds were committed before you saw them (they are yours). In a competition round, the seeds are committed publicly before the deadline. A practice certificate is weaker on this axis, and says so.

The certificate itself states whether it was produced in a round or standalone, whether costs are seconds or counts, and whether the solver source is included. The verifier reports all of this. Full limits.

How to word it in a paper

The word “verified” should match what was actually checked. Four levels, from weakest to strongest:

What you didWhat the paper can honestly say
A practice run on your own machine and seeds“Measured with Guldo in practice mode on the author's own seeds. The certificate is attached. The timings were not independently checked.”
A practice run with exact step counts, re-run by someone else“Costs are exact instruction counts, reproduced by [who] with the re-run option.” Only for pure-Python solvers; work inside built-in C functions is not counted.
A certificate added to the public log“The certificate is recorded in the public Guldo log.” The log shows the file existed and has not changed. It does not make a practice run official, and it does not show the seeds were chosen before the author saw them.
A competition round with seeds committed in advance, run in the locked test environment“Certified in round [name], log entry [number]; anyone can check it with the verify command.” Only this level should be called certified or verified without a qualifier. No result on this site has reached it yet.

To enter a competition instead, see the Compete page. To define your own problem domain, see the Guide.