runtimeverification / runtimeverification/haskell-backend

Collect Ceil conditions from rewriting with rules that do not preserve definedness

Open
#3,779 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

runtimeverification/hs-backend-booster
Dominant language
Haskell
Stars
224
Forks
43
PR merge metrics
No merged PRs in 30d

Description

Instead of aborting when an applicable rewrite rule does not preserve definedness, add a #Ceil(rewritten-config) to the constraints.

Better than this whole-sale solution would be to collect the #Ceil(partial-function-call-in-rhs) to avoid bloating the state.

Optimally, we also want to simplify these ceil conditions, either straight-away or before returning the result.
Immediate simplification would allow for early pruning , but might introduce considerable overhead.

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.

Research direction

No files, tests, or entry points are named. Start by locating the rewriting logic that aborts when a rule does not preserve definedness, then clarify which Ceil conditions should be collected and when simplification should occur. Done means applicable rules no longer abort and the resulting constraints are handled as agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.