Commit 7d66e02
committed
feat(formal): add checked Go-trace-to-TLC action replay
A snapshot-only abstraction projects captured RawNode scenarios onto
twelve EPaxosRawNodeRefinement variables; EPaxosTraceCheck replays
every consecutive pair against the model's own action predicates,
dispatched by the audited raw (action,kind) pair, with stutter requiring
exact equality over all twelve mapped variables. Five negative controls
(label swap, paper-value, stutter-value, recovery-evidence, and
choose-execute midpoint corruption) each fail TLC. PaperChooseAndExecute
is the TLC-evaluated relational composition of PaperChoose and
PaperExecute for the atomic commit+execute step Go performs; PaperNext
and RefinementProperty are unchanged. The dispatch inventory extends to
internal mutation sites with an AST-checked 96-pair permission table
mirrored between Go and TLA. tests/trace_refinement_check.sh joins
tests/ci.sh after the fast gate.1 parent 7478246 commit 7d66e02
8 files changed
Lines changed: 2312 additions & 18 deletions
File tree
- tests
- refinementtrace
- cmd/tracetla
- tla
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments