Hylix publication seed
N9 of the seventh batch now has checked actual context sequencing and local dirty-span effects, plus complementary native execution of actual cache paths. This is a conditional native source checkpoint, not a complete Hylix cache, Arena, Store, ownership or IC rollback theorem.
Current corrected-default qualification: factory
6594b158a9c26e2cc87a7ae2654f6122b2348fc1, SDK
16bbcc1f2f4a312631cad3ce74c6b2f044d09cd3. The complete
hylix_publication.py all run passes: all five positive harnesses, 29 required
semantic assertions, ten reachable covers, four exact negative controls, and the
complementary native execution. All emitted normal safety checks remain enabled.
The corrected pinned CBMC SHA-256 is
19577c12fe9b233a2288519b42b780b2974fd03566e9fd27a1dd98043ca69f85, with patch
fe28fc4c0addca30ebd2fd2cbe4080bbdf7fd869cde183e8bbbdc4ad4e80546f. The ordinary
solver, options, checked loop bounds and 90-second harness budgets are unchanged.
Fresh sealed outputs remain for independent review only in the ignored
verification/tmp/ of
playground/verification-20261105-07/callback-repair; the log is
hylix-corrected-qualification.log and names all seven result directories. This
documentation follow-up does not change the frozen source identity, extend the
checked scope, or qualify the separate cold-cache research case.
Original qualification source: factory b79ea8c0840d003052de18714cb55eb639214c1c, SDK
409a7176096c06c2dd9b7e491e8dc630951e83b4. This checkpoint did not change product
source. The shared optional-manifest API was coordinated with N6: original e7f9046c,
cherry-picked here as a675c434. Hylix passes its own source-bound manifest
explicitly; it does not replace the common global manifest. Documentation-only
follow-ups do not change this historical qualification identity.
Results and exact scope
| Actual source slice | Checked result |
|---|---|
context.rs:119–207, ordinary update |
After the checked callback, both Ok and ordinary returned Err call successful frame_finish; neither takes the discard path |
context.rs:196–242, query |
The checked query cannot obtain mutable Storage, calls read/discard rather than finish, and preserves every queried fixture byte under read-only provider hooks |
context.rs:61–86, reachable guards |
Actual entry constructs/checks/drops one guard, rejects the live scalar loan check, then finalizes with no loans; the next actual entry has a different epoch |
| Guard check/drop, arbitrary scalar state | For nonzero issued epochs, check succeeds exactly when the current epoch matches; Drop decrements a positive matching count once and preserves a nonmatching count |
working_set.rs:218–233, Segment |
Two bounded edits form the exact bounding interval; empty edits preserve it; clear resets it; the arbitrary initialized 512-byte word owner, pointer and dirty-position field are framed |
These five positive Kani harnesses have 29 required semantic assertions and ten reachable covers, alongside all emitted normal safety checks. Four independent controls each fail only their designated false assertion: Err incorrectly discards, query incorrectly finishes, stale guard incorrectly passes, and a later edit incorrectly loses the earlier dirty interval.
The context proofs use one
pre-admitted fixed block and an explicit Storage fixture:
an arbitrary initialized 16-byte image, exact bounded read/write, successful
begin/finish and read-only discard. The result type is usize in the main
clients. Normal and Err byte effects, result propagation, complete queried-byte
frames and final TLS reset are checked. The query callback specifically attempts
the denied mutable API; this is not a proof that arbitrary application callbacks
or arbitrary Storage implementations are pure.
The arbitrary-epoch check is a method-local conditional state, not a producer of an active provider, escaped owning guard or allocation pin. Matching guards require a positive counter. Separate reachable constructor/entry clients and the native abort/restore scenario exercise actual guard production. No arbitrary history, counter-cardinality or full context-ownership induction follows.
The dirty-span proof checks actual
Segment::mark, range and clear_dirty against independent interval arithmetic.
It supplies valid ordered edit bounds within 512 bytes and a real Scoped Vec of
64 arbitrary initialized words. This local component state does not construct a
resident pooled cache segment or the map/dirty-vector representation invariant.
In particular, it does not prove that every dirty resident is flushed once.
Source binding and qualification
The runner copies complete unchanged SDK
WorkingSet and context modules, plus complete platform Memory/error/region/pool
modules. It appends proof children; it does not replace the checked algorithm.
The exact original Block declaration/impl and complete Storage trait are selected
from arena.rs; a fixture-only constructor supplies the fixed admitted block.
Codec and Arena allocation implementations are not replaced by a claimed proof.
No Creusot shadow or unchecked whole-algorithm contract is used: source binding
is the original byte prefix, not an assumed erasure correspondence.
The local inventory pins complete authored proof files and independently names every required assertion/cover. Each run seals complete relevant source/helper inputs, selected source fragments, staged files, original metadata, clean factory/SDK identities and immutable pinned tool contents before and after execution. Native runs also seal compiler and artifact identities. Missing properties, unreachable required assertions, unsatisfied covers, unrelated failures and altered sources/artifacts are refused.
The target is native64 with Kani 0.68.0, CBMC 6.11.0 and its pinned Rust/sysroot/model
closure. The harness budget is 90 seconds; context loops are bounded at 20 and
the dirty-owner construction has a checked bound of 66. No normal safety or
unwinding check is disabled. working-set-profile is disabled. Standard-library,
compiler/verifier, allocation, TLS and raw-pointer semantics remain trusted;
this is not a general Rust alias/provenance or Wasm execution proof.
All 467 verification-tool tests passed at 42ce422e. After adopting the explicit
manifest API, all 43 common Kani tests and eight Hylix runner tests passed on a
clean checkout; the eight Hylix tests passed again at the final proof source.
No runtime checks, metadata, allocations or product algorithms were added.
Complementary actual native paths
The native fixture compiles the same complete actual WorkingSet/context modules with the pinned production compiler. Its one exclusive initialized 1,536-byte provider covers three real 512-byte segments, with one- and two-slot cache configurations. A forwarding Storage adapter has one fixed admitted block and no decoded Arena allocator metadata. Its observer owns event metadata, never another physical byte authority.
The passing finite execution checks:
- Read-your-writes before provider publication; dirty eviction writes before finish; discard drops pending bytes while preserving an already evicted write.
- Normal/Err callback completion followed by final flush, retained clean-cache reuse, query discard with no provider write, zero-length and crossing edits.
- Nested pinned reads using the uncached fallback, and dirty-vector swap removal while a different dirty segment's byte view remains pinned.
- Partial provider-write panic and returned-finalization-error panic. Neither returns a committable result; caught native panic preserves earlier physical writes. The entire failed fixture image is abandoned.
- A genuinely escaped guard aborts completion, quarantines reentry, and remains stale after complete fixture restoration and the native-only host reset. Its later Drop preserves the next frame's live loan counter.
The trace contains caller-supplied retirement/record-publication markers before
finalization, while an earlier eviction is already visible. These markers express
the callback's predecessor contract; they are not actual Store/Arena metadata
operations proved by this suite. Source inspection still places Store orphan
retirement/record flush at store/src/scope.rs:186–196, and Arena slab/allocator
publication before final buffered flush at arena.rs:1007–1019.
Remaining handoff
The cold actual WorkingSet allocation/write/read/finish pilot compiles through
Rc, RefCell, HashMap and SIMD models, but exceeded the 90-second budget at
42ce422e with bound 20. Its research harness
remains separate from the default accepted run and stays unqualified. No SDK
counterexample or defect was demonstrated. Native cache success is not imported
as a formal cache-coherence or ownership law.
The next small source-linked contract should connect resident identities, nonempty dirty intervals, unique dirty-list entries and their positions; then check actual mark/remove/finish consumers. Pool-slot ownership, live Rc pins, word/byte transport and exact provider effects remain necessary. Finally connect actual Arena decoded slab/allocator publication and actual Store retirement/ record publication to the context boundary. The current sequencing result can consume those contracts once their producers exist.
One exclusive coherent physical stable provider remains a premise, shared by Hylix/Minima; Minima additionally needs its live Nyxus metadata ownership. This suite constructs neither that IC-wide authority nor the compiled target/VM/ABI connection. Epochs are not allocation pins. No view, guard or loan crosses await. Ordinary returned Err finalization is distinct from persistent mutation failure: those failures still require trap/IC execution rollback. Discard is invalidation, not undo; native recovery requires whole-image restoration. No local journal, background migration or multi-message upgrade protocol is introduced.
From a clean provisioned isolated checkout:
python3 verification/tools/hylix_publication.py all
python3 -B tests/verification/run.py discover -p test_hylix_publication.py
cold-research is explicit and excluded from all. Generated runs belong only
in ignored worktree-local verification/tmp/; no raw evidence is committed.