Heuristic:2akouwu Reverify Zero False Accept Guarantee
| Knowledge Sources | |
|---|---|
| Domains | Verification, Security, Reverse_Engineering |
| Last Updated | 2026-10-24 12:00 GMT |
Overview
Design rule: the verifier never produces a false VERIFIED verdict — when the tools cannot decide, they return INCONCLUSIVE rather than guessing, making the system safe as an oracle.
Description
The zero-false-accept guarantee is the foundational safety property of reverify. A claim is only ever marked `VERIFIED` when the binary's bytes directly back it up through deterministic tools. When the tools lack an engine (no Unicorn, no Z3), encounter a malformed claim, or hit a format they cannot parse, they return `INCONCLUSIVE` — never a positive verdict. This means the verifier can be trusted as an oracle: a `VERIFIED` verdict is always correct; the only risk is a missed positive (false negative), never a false positive.
Usage
Apply this heuristic when reasoning about trust in the verifier output. Any system that uses reverify as a judge (the reconstruction loop, the MCP server, benchmarks) can rely on the invariant: 0 false VERIFIED is guaranteed by construction, not by tuning. When a new claim kind or engine is added, it must fail closed (INCONCLUSIVE) rather than guess.
The Insight (Rule of Thumb)
- Action: Every verification path must fail closed — return `INCONCLUSIVE` when the tools cannot decide, never `VERIFIED`.
- Value: Missing engines, malformed claims, bad offsets, and unsupported formats all yield `INCONCLUSIVE`. A `VERIFIED` verdict requires deterministic tool backing.
- Trade-off: This produces false negatives (claims that are true but cannot be verified) but never false positives. The system is biased toward caution.
- Compatibility: Applies to all claim kinds — bytes, instructions, emulation, behavioral equivalence, and Z3 proofs.
Reasoning
The verifier's role is to be a trustworthy oracle for AI-generated claims. If it ever produced a false `VERIFIED`, the entire reconstruction loop would build on false ground. The fail-closed design makes this impossible: `INCONCLUSIVE` means "I don't know," which is always safe. The benchmark suite explicitly checks `--fail-on-false-verified` to enforce this invariant in CI. The `false_verified.md` issue template is marked as "highest priority" — a false VERIFIED is treated as a critical bug.
Code Evidence
Behavioral equivalence fail-closed from `behavior.py:226-227`:
if not HAS_UNICORN:
return {"status": "inconclusive", "detail": "unicorn not installed", "tested": 0}
Z3 proof fail-closed from `behavior.py:337-338`:
if not HAS_Z3:
return {"status": "inconclusive", "detail": "z3 not installed (pip install z3-solver)"}
Native execution fail-closed from `exebench.py:266-267`:
if not native_exec_allowed():
return _inconclusive(0, NATIVE_EXEC_HINT)
CI enforcing zero false-verified from `.github/workflows/ci.yml:70`:
python benchmarks/prologue_prior.py --per-dir 40 --json "bench-${{ matrix.os }}.json" --fail-on-false-verified