Skip to content

Improve readability of Spec lifted domains - #2118

Open
sim642 wants to merge 3 commits into
masterfrom
printable-expand2
Open

Improve readability of Spec lifted domains#2118
sim642 wants to merge 3 commits into
masterfrom
printable-expand2

Conversation

@sim642

@sim642 sim642 commented Aug 26, 2026

Copy link
Copy Markdown
Member

I did something like this in #1294 but various Spec lifters have been added since and they should also be adapted.
There are examples of the improvements in cram tests.

As an another example, consider ./regtest.sh 04 01 --trace sol --trace sol2.
From local states, this removes the following unwieldy prefix:

HConsed lifted PathSensitive (ProjectiveSet (MCP.D * map)):PathSensitive (ProjectiveSet (MCP.D * map)):

From global states, this removes prefixes like:

lifted lifted deadbranch and HConsed lifted PathSensitive (ProjectiveSet (MCP.D * map)) and contexts:lifted deadbranch and HConsed lifted PathSensitive (ProjectiveSet (MCP.D * map)):deadbranch:MCP.G:

This makes tracing a lot more readable by removing redundant information and some massive indentations.

Additionally it adds names to some domains, so they're more descriptive than map or chain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant