Conversation
…cation (#50) HashMap determinism (REQ-14): - Replace 5 iteration-order-sensitive HashMaps with BTreeMap in lib.rs: coloring, local_info, last_sets/block_sets/loop_sets/then_sets, color_types, old_idx_to_type, global_constants - Ensures identical inputs always produce identical outputs Safety-case GSN artifacts: - 6 safety goals (SG-1 to SG-6) covering all 20 hazards - 2 safety strategies (SS-1, SS-2) - 5 safety solutions (SOL-1 to SOL-5) as evidence - 1 safety context (SC-CTXT-1) - stpa-hazards-have-safety-goals: 0% → 100% ISLE rule verification groundwork (#50): - Z3-based verification of constant folding rules - Proves i32/i64 add/sub/mul rules correct for all 2^N inputs - 8 new tests: per-rule verification + integration suite Trace: REQ-14, REQ-6, SG-1, SG-2 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
lib.rs—coloring,local_info,last_sets/block_sets/loop_sets/then_sets,color_types,old_idx_to_type,global_constants. Ensures identical inputs always produce identical outputs.stpa-hazards-have-safety-goalsgoes from 0% to 100%.Depends on
Test plan
cargo build --release— passescargo test --release— 395 tests pass, 0 failures (8 new rule verification tests)rivet list --type safety-goal— 6 goals detected🤖 Generated with Claude Code