cas-sos-energy-barrier-unreachability-artifact-recheck
- Kind
- witness-replay
- Status
- checked
Supports: the committed barrier certificate re-checks from disk: 6 named obligations discharged in exact rational arithmetic, including the non-emptiness of both sets and the orientation of the separation
cargo run --release -q -p axeyum-cas --example sos_certify -- artifacts/sos-certificates/energy-barrier-reachability.json --expect-kind barrier --expect-id energy-barrier-reachability --expect-checks 6 Evidence notes
WHY THIS COMMAND CANNOT PASS ON A BROKEN RUN. The `--expect-checks 6` pin makes the exit status depend on what the run found rather than on the build succeeding; the shape was verified on the sibling Motzkin certificate the same day (a wrong count against an UNCHANGED honest artifact exits 1 with `expected N obligations, discharged M`), and the tampered-fixture direction was verified there too. Six committed tampered fixtures target this certificate specifically -- barrier-dropped-multiplier, barrier-tampered-barrier, barrier-tampered-field, barrier-zero-margin, barrier-initial-witness-outside, barrier-unsafe-witness-outside -- and scripts/check-sos-negative-controls.sh asserts every one is REJECTED and the honest artifact still ACCEPTED. ON THE DISTINCTION QUESTION, and this is the interesting one for this certificate kind: barrier-zero-margin.json is the control for the distinction that would otherwise be lost. The obligations are stated with an explicit numeric MARGIN of 1 (B <= -1 on the initial set, B >= 1 on the unsafe set) rather than as B < 0 and B > 0. That is how this format expresses strictness at all -- it has no strictness flag, as the sibling Lyapunov fact records. A zero-margin certificate is therefore a different FILE, rejected, rather than the same file read two ways. The design is right; it is worth stating explicitly because the failure this repository has shipped before is exactly a certificate that could not record a strict versus non-strict distinction its producer made, and here the distinction is carried as data.