runtimeverification / runtimeverification/mir-semantics

Refactor value handling to make example proofs easier

Open
#506 0 comments 0 reactions 1 assignee View on GitHub

@jberthold is already working on this.

Since Mar 24, 2025.

Dominant language
Python
Stars
52
Forks
5
PR merge metrics
No merged PRs in 30d

Description

There are a number of problems with the current K code related to computing and handling values:

  • Heating and cooling provided by K should be used instead of the current manual version of it
  • The #arithmeticInt function should be removed (replaced by rewriting) to avoid excessive branching on the potential KItem results
  • The TypedLocal sort should have subsorts to distinguish Moved and uninitialised values from usable values. A number of internal functions should only operate on the usable values

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.