Proof assurance after batch 7

5 November 2026. Source audit of factory 4e8875c746b7126da51d3e0eb508dddbe4704463, SDK 16bbcc1f2f4a312631cad3ce74c6b2f044d09cd3. This review reads the authored proofs, runners and scope reports. Earlier generated reports were deliberately removed after integration; none were reconsumed here. No compiler, prover, test, installation or runtime execution was performed.

Status

The admitted tool path is substantially stronger than the original version-only checks. The batch-7 repair review closes its two frozen findings; the current source contains those repairs. The remaining work should mainly connect contracts to real consumers and ownership, rather than repeat a broad hardening exercise.

Boundary Current guarantee Remaining limit
Kani source obligations Reviewed source hashes and harness/helper selectors determine required semantic assertions and named covers before results; each required assertion must be reachable and successful. Helper selection is authored, not a proved Rust call graph. Generated safety-obligation completeness remains part of the verifier TCB.
Corrected Kani installation The authenticated archive permits exactly one pinned CBMC replacement; complete release/native-tool/launcher inventories, single-entry proxy home and executable permissions are checked. Artifact identity does not prove the compiler, CBMC, solver, dynamic loader or Rust memory model correct.
Creusot source correspondence Strict erasure compares checked shadows against staged production targets; the original production text is recovered exactly after removing inserted staging attributes. Trusted bridges and unchecked-original calls receive explicit audits. The reviewed frontend patches and erasure implementation remain trusted. Source matching alone does not discharge a primitive's specification.
Creusot reports Why3 prints the entire fresh crate before proof search; checked file/main-goal scope and imported goal identities are inventoried independently of reports. Explicit imports, translations and pinned executables are rechecked. Why3 VC generation, std specifications and SMT/proof-tree interpretation are trusted. The original-derived exclusions remain unproved and isolated.
Verus models Exact theorem inventories, whole-crate result checks, admitted installation bytes and designated negative diagnostics check the mathematical models. The older standalone word/authority runner still needs the receipt/staging alignment below. Model histories are not implementation histories until representation and transition correspondence are proved. Some older negative controls demonstrate rejection rather than positively proving invalidity.
Native witnesses The repaired common helper seals executable bytes before use and rechecks inputs/artifacts after execution. Native executions remain finite witnesses. Production compiler identity pins its selected executable/version, not the complete driver/sysroot closure.
Targets Source-linked native64 proofs, explicit width models and separate Wasm compilation/execution checks exist. No general native-to-Wasm refinement theorem exists. The latest raw Wasm64 provider attempt lacked core; older separate build-std qualification keeps its own identity.

Source anchors are Kani assertion admission (required, lines 179–204; validate, 221–239), Kani tool admission (capture, 121–197), Creusot staging/audit (229–273, 330–412), fresh goal enumeration (319–459), Verus admission (117–198), and native witnesses (37–58, 90–130).

The integration report records the actual qualifications: full core f4c23a0a has 180 reports/657 goals/2,615 leaves; N4 separately closes its 19-report/114-goal scope. At 17887d56, the fresh 215-theory translation matches N4's qualified translation byte-for-byte, while the 18-suite corrected-backend replay and 536 host tests have their separate identities. These overlapping populations must not be summed into a coverage percentage or relabelled as a fresh full-core SMT run.

Two identified standalone runner gaps

These are two concrete source findings, not a claim that every other runner has been exhaustively checked for all admission properties.

target_configs.py is separate from the N1-covered platform_targets.py. Its two entry paths still use their own metadata protocol:

  • run_kani, lines 123–155, checks SDK cleanliness, writes inputs.json, and rechecks selected source/staging/tool inputs; it does not use the common original-receipt or complete checkout/status checks.
  • run_targets, lines 223–307, similarly records factory/SDK IDs without the common receipt, executes the compiled native header at lines 265–270 without a pre-use executable seal, and rewrites metadata at completion.

The existing target-config tests cover source preservation, malformed-config diagnostic classification and the fixture, not these complete execution/provenance boundaries.

The older standalone verus.py::run, lines 231–276, checks the installation initially, writes its own unsealed inputs.json, stages each positive/negative case during the execution loop and rechecks authored source hashes in finally. It does not bind complete checkout/status and original metadata, recheck staged input bytes, or reauthenticate the installation after each proof action. Its recorded scope is explicitly mathematical word/run authority proofs: hashing page_pool.rs does not establish implementation correspondence. This is distinct from the newer allocator-model runners and the actual-source Creusot page-pool path. Creusot establishes its own bit laws; it does not silently import these standalone Verus results as axioms.

These are host-verification provenance gaps, not newly demonstrated SDK defects, proofs of false theorems or evidence that old results were altered. Historical target and mathematical-model qualifications retain their recorded source, scope and trust limits. Selected current-profile consumers require fresh qualification of the producers they actually import.

A1 — Align the two standalone runners

Priority P0; small, independent. Reuse the existing receipt for both target-config paths and verus.py::run, plus the existing native executable helper where an artifact is executed. Check clean entry before tool authentication, prestage the source-known positive/negative cases, seal original inputs, and recheck the receipt and installed tools after each action. Freeze source before actual qualification. Preserve current source checks, exact report/diagnostic populations, normal budgets and each runner's distinct scope; introduce no second registry or general host framework.

Exported guarantee: each admitted result binds one clean factory/SDK pair, original metadata, the listed staged compilation/proof inputs, admitted tools and, where applicable, the artifact actually consumed. Keep phase-specific observations outside the immutable input receipt.

Acceptance: the target path passes a clean native/wasm32 run and all seven exact malformed-config compiler controls; the mathematical runner passes both original positive suites and both designated negative controls with unchanged theorem populations. Independent host checks refuse changes to original metadata, checkout/status, any prestaged case, installed tools and pre/post native/Wasm artifacts. Check refusal before launching on dirty entry. A wasm32 host phase must bind the exact Wasm it consumes. A missing tool/sysroot remains a refusal, not an installation path. Do not relabel these fresh checks as a general Wasm proof or implementation refinement of the separate mathematical models. This work changes host admission only and adds no product checks or Wasm bytes.

A2 — Prove the older model controls invalid

Priority P1; small, parallel. Extend the successful N6 pattern to buddy partition (NEGATIVE, 29–38) and global bins (NEGATIVES, 35–48). The current controls require one exact rejected assertion, but the ordinary model does not also prove the particular reserved-alias, duplicate-membership and wrong-bin objects invalid.

Exported guarantee: each canonical control object positively violates its intended invariant; solver inability to establish a positive assertion is not the only evidence. Define each object once in the authored model, prove its invalidity in the positive population, and have the independent false assertion reuse that object, as slab chain does at lines 377–451. Keep all existing model/history results.

Acceptance: all ordinary obligations plus the three invalidity lemmas close; each opposite assertion has exactly its designated failure while every support lemma closes. Include the appropriate valid, nonempty model witnesses. Do not claim this closes the actual pointer/cell embedding. If a universal statement is expensive, prove the concrete canonical invalidity first under the normal cap.

A3 — Remove one narrow cross-verifier trust leaf

Priority P1; medium, bounded feasibility first. Start with Run::eq, not all eight wrappers. The current equality wrapper (21–27) is trusted, while its model/oracle connection and consumers are checked (47–85). The bridge already restricts the complete compiler-derived Run body to its two field comparisons (63–78).

Try an erasure-checked Creusot shadow of that actual derived body which proves same_fields, without calling the unchecked derive as a callee. Reuse the existing model lemma and a caller that consumes the checked result. This would remove a real assumption while preserving the production derive and runtime.

Acceptance: the actual target erasure closes, the scalar comparison and its consumer close without a replacement trusted leaf, valid unequal/equal cases are reachable, a wrong count-field postcondition fails exactly, and a changed executable body fails erasure. Retain all other bridge qualifications until their leaves are separately discharged. Compiler-generated/default-trait erasure may be a frontend obstacle; if it is unsupported, retain the current explicit, freshly qualified bridge and record that boundary. Do not rewrite production equality merely to obtain a proof.

A4 — Qualify helper selection before enlarging proof registries

Priority P2; narrow pilot, not a global framework. kani_obligations.required verifies the explicitly selected helper macros but does not discover the complete transitive call graph. This is already declared in report inventory. Whole-file hashes make an edit reviewable; they do not prove a reviewer selected every new helper.

Pilot one small existing suite using compiler-expanded, pre-report source/call information from the installed toolchain. Compare authored assertion locations in reachable proof-owned helpers to the explicit selectors; distinguish excluded constant branches and compiler/library safety checks. Never infer expected assertions from a successful verifier report.

Acceptance: the unchanged suite is admitted and a new called helper with an omitted authored assertion is refused before report admission; deliberate exclusions remain explicit and source-pinned. If generic/closure reachability cannot be bounded faithfully, keep the existing manual review obligation rather than introduce an unsound partial-discovery claim. This is optional after A1–A3.

A5 — Establish one current Wasm64 boundary witness

Priority P2; target qualification, not a formal-theorem substitute. target_configs.compile_wasm64 already supports private offline build-std=core (193–220), whereas the separate raw provider runner expects an installed target sysroot. Those are different tool paths; the N1 missing-core result does not refute the older cached-core result. The current target-config runtime fixture selects its IC entry only for wasm32 (98–103), so its Wasm64 const path is not a Wasm64 execution witness.

After A1, add one source-linked Wasm64 header/width or provider observation fixture through the existing pinned compiler/canonical build path and qualified PocketIC binary, paired with native64 and wasm32. Record exact compiler/core, artifact and measured-server identities. Use a valid high-width case and one independent wrong width/projection expectation, without adding product checks. Acceptance means compilation and observed target behavior only. If the prepared compiler/cache/server cannot support it, record that precise limit; do not silently install from a component task or claim a general Wasm refinement proof.

What should remain explicit

The core audit permits eight raw/provider primitive bridges plus six equality and two numeric imports (creusot.py, 343–347). The former still need physical and world-resource refinement; the latter have source-linked producers but no shared Kani/Creusot proof kernel. The current patched backend does not resolve the separate unqualified Kani function-contract instrumentation described in composition. Do not enable stub_verified consumers merely because ordinary representation diagnostics now pass.

The maintained composition guide's final LINK paragraph still describes the old backend as current. Update it to a historical statement and link the separately qualified correction, without withdrawing the remaining generic aliasing/target limits. Root owns that guide correction during synthesis.

Receipt coverage protects recorded inputs, not a hostile host or every extra output file. Full Rust/compiler semantics, verifier/SMT soundness, reviewed raw and std specifications, production driver/sysroot, loader behavior and ambient Cargo configuration remain explicit trust dependencies. No new external verifier or installation is needed for this proposed batch. No runtime defect was confirmed by this source-only research; the existing runtime-fix count is unchanged.

Synthesis disposition

The integrating agent corrected the maintained composition guide separately. The historical backend finding above remains tied to the audited source; the current guide now links the corrected ordinary profile and retains its distinct function-contract and generic memory-model limits. No proof source was changed.