Skip to content

add safe check for Executor and Tx evaluation#14

Merged
yihuang merged 10 commits intoyihuang:mainfrom
mmsqe:add_check
Mar 24, 2026
Merged

add safe check for Executor and Tx evaluation#14
yihuang merged 10 commits intoyihuang:mainfrom
mmsqe:add_check

Conversation

@mmsqe
Copy link
Copy Markdown
Contributor

@mmsqe mmsqe commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the TLA+ specs to be more robust during evaluation/visualization by adding a guard to avoid problematic ranges in FindMem, and tweaks module instantiation and README visualization links.

Changes:

  • Add an explicit base-case guard in Mem!FindMem for txn <= 1.
  • Update Tx’s INSTANCE Mem substitutions (now explicitly mapping Storage and mem).
  • Update README “live visualization” links to use a different Spectacle host.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
Tx.tla Adjusts INSTANCE Mem substitutions (explicitly maps Storage and mem).
Mem.tla Adds a guard in FindMem to return 0 for txn <= 1.
README.md Updates Spectacle visualization links to a new host.

Comment thread Tx.tla Outdated
Comment thread README.md
@yihuang yihuang enabled auto-merge (squash) March 24, 2026 13:52
@yihuang yihuang merged commit 7c52557 into yihuang:main Mar 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants