Conversation
…d WasmOp enum — 279 rows, 141 modeled:false, absence is a row (schema v2) The v1 universe was the Rocq model's own constructor set (138), so every op the model does NOT have — exactly gale's measured 180-instance frontier (End 64, Block 38, Call 31, byte-memory 34, Br 7, Unreachable 6) — got NO ROW AT ALL rather than an explicit "unmodeled" row. In a manifest whose purpose is that absence should be legible, a missing row is the one thing it must not do. schema synth-proof-inventory-v2: - universe: the 279 WasmOp variants of crates/synth-core/src/wasm_op.rs, PARSED (same tokenization as the tested no-wildcard scanner), never hand-listed; row key is "op" - "constructor" remains on every row (Rocq constructor when modeled, null otherwise) so a v1 consumer keyed on entries[].constructor reads v2 unchanged for every modeled op — the modeled half is byte-for-byte the same 138 ops, 138 qed, 63 result-correspondence - 141 rows carry modeled:false / status "unmodeled": no constructor means no obligation is even statable — the honest tier below existence-only - the model join is exact-name over two parsed shipped artifacts (nothing CamelCase-mangled, binding/strength stay semantic); a constructor naming no variant makes the generator REFUSE rather than drop a row - scope stated in _meta.honesty: WasmOp is every op an ACCEPTED module can carry, not every op wasm 3.0 defines (no-variant operators loud-skip at the decoder's `_ => None`); MultiMemory is decoder-synthesized New gates so neither half of the universe can silently vanish (the #1113 floor class): >=250 variants, duplicate-refuse, constructor-subset refuse, modeled==constructor-count; SYNTH-PROOF-INVENTORY-UNIVERSE-1057 pins the artifact's wasm_op_total fields-equal to the independently hand-pinned WASM_OP_VARIANT_COUNT of selector_stack_effect_no_wildcard_946.rs, plus a count-eq on the 141 modeled:false rows. Red-first, each restored green: hand-edited row, planted variant without regeneration, rocq_qed 630->629, wasm_op_total 279->278, one modeled:false flipped, constructor rename (generator refuses) — every mutation turns its gate red. Refs #1057 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L
…six frontier ops all carry modeled:false rows Status flip with verified-by evidence: schema v2 manifest regenerated (279 = 138 modeled + 141 modeled:false; End, Block, Call, Br, Unreachable, I32Load8U, I32Store8 all present), and every gate proven still red-capable before pushing. Refs #1057 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RQ-61-WASMOP (#1057): the proof-inventory universe is now the shipped
WasmOpenum — absence is a row, never a missing rowRefs #1057. Implements
artifacts/release-v0.61/RQ-61-WASMOP.yaml(flipped toimplementedin this PR).What changed
artifacts/proof-inventory.jsonschemasynth-proof-inventory-v1→synth-proof-inventory-v2:WasmOpvariants ofcrates/synth-core/src/wasm_op.rs(parsed, declaration order — same tokenization as the tested scanner inselector_stack_effect_no_wildcard_946.rs), replacing the 138wasm_instrconstructors. Every op an accepted module can carry now has a row."op";"constructor"remains on every row (the Rocq constructor when modeled,nullotherwise) so gale's constructor-keyed matcher reads v2 unchanged for every modeled op. New"modeled": bool; new status value"unmodeled".wasm_instrconstructor that names noWasmOpvariant makes the generator REFUSE (loud red, never a silently dropped row) — verified: all 138 constructors name variants.The universe numbers (the deliverable)
gale's six named frontier ops all carry rows now:
End,Block,Call,Br,Unreachable,I32Load8U,I32Store8—"modeled": false, "status": "unmodeled".Is
WasmOpthe right universe? (measured, honest scope)WasmOpis "every op an ACCEPTED module can carry", not "every op wasm 3.0 defines": an operator with no variant (reference types, table ops,memory.init/data.drop, atomics, most SIMD) falls throughconvert_operator's_ => Noneand loud-skips its function at decode, so it can produce no instance for a consumer to meet. This scope is stated in_meta.honesty.MultiMemoryis decoder-synthesized (wraps a non-zero-memory-index access). It keeps its row, labeled in_meta.honesty.synth verifyover accepted modules)WasmOpis exactly the right denominator surface.Gates — all still bite (red-first, each restored green after)
Endmodeled:false→true)proof_inventory.py --checkbyte-compareWasmOpvariant without regenerating--checkbyte-compare (planted op visible in re-derivation)rocq_qed_total630→629SYNTH-PROOF-INVENTORY-CROSSCHECK-1057fields-equal AND--checkwasm_op_total279→278SYNTH-PROOF-INVENTORY-UNIVERSE-1057fields-equal vs the tripwire test's hand-pinnedWASM_OP_VARIANT_COUNT"modeled": falseBrIf→BrIff)New floors (the #1113 class — neither half of the universe can silently vanish): ≥250 variants parsed, duplicate-refuse, every constructor must name a variant,
modeled == constructor count, plus the existing ≥100/≥50/≥40/≥1 floors.Local gates
cargo fmt --check/cargo clippy --workspace --all-targets -- -D warnings/cargo test --workspace --features riscv/claim_check.py(55 ok) /status_evidence_check.py/oracle_wiring_check.py/proof_inventory.py --check— all green on exit codes.🤖 Generated with Claude Code
https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L