runtimeverification / runtimeverification/mir-semantics

Sort error in symbolic execution involving enums (unknown variant)

Open
#621 1 comment 0 reactions 1 assignee View on GitHub

@jberthold is already working on this.

Since Jun 25, 2025.

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

Description

Symbolic execution can fail (in python client code) with a sort error that TypedLocal is not subsort of TypedValue when running on functions that take an enum as an argument.
The sort error appears to come from side conditions introduced by the legacy backend for branches that we would expect to get pruned (pending further investigation), and involves the traverseProjection rewrite symbol.

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.