Skip to content

Track program-logic reads precisely in proc-change rewrites#948

Open
strub wants to merge 1 commit intomainfrom
proc-change-with-exn
Open

Track program-logic reads precisely in proc-change rewrites#948
strub wants to merge 1 commit intomainfrom
proc-change-with-exn

Conversation

@strub
Copy link
Member

@strub strub commented Mar 23, 2026

Add generic fold helpers for formulas and exception postconditions, then use them to expose reduced-form program-logic formulas and a form_read analysis in EcPV.

Use that read analysis in ecPhlRewrite to compute the preserved pre/post equalities for proc-change goals from the goal's actual logic formula rather than from the previous coarse write-based approximation.

Also factor statement-logic accessors in EcLowPhlGoal to support the new read computation.

Add generic fold helpers for formulas and exception
postconditions, then use them to expose reduced-form
program-logic formulas and a form_read analysis in EcPV.

Use that read analysis in ecPhlRewrite to compute the
preserved pre/post equalities for proc-change goals from the
goal's actual logic formula rather than from the previous
coarse write-based approximation.

Also factor statement-logic accessors in EcLowPhlGoal to
support the new read computation.
@strub strub requested a review from Gustavo2622 March 23, 2026 11:17
@strub strub self-assigned this Mar 23, 2026
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