Skip to content

Replace continuation-style internal WPgen blocks#1

Open
yawen-guan wants to merge 1 commit into
charguer:masterfrom
yawen-guan:replace-cont
Open

Replace continuation-style internal WPgen blocks#1
yawen-guan wants to merge 1 commit into
charguer:masterfrom
yawen-guan:replace-cont

Conversation

@yawen-guan

Copy link
Copy Markdown
Collaborator

This PR removes the continuation-style internal WPgen blocks Wpgen_let_trm_cont and Wpgen_seq_cont, and reuses the existing Wpgen_let_trm and Wpgen_seq instead.

This aligns the internal WPgen with the representation used by tactics in WPTactics.v and lemmas in WPValid.v. The "standard" blocks expose an intermediate postcondition, which gives automation more flexibility: tactics can either split the computation, or recover the old continuation-style reasoning with xlet_trm_cont (as seen in WPTactics.v).

Context: I was reasoning about programs written in the untyped imperative lambda calculus with Wpgen.

@yawen-guan yawen-guan requested a review from charguer July 6, 2026 14:34
@yawen-guan yawen-guan changed the title Replace continuation-style internal WPgen combinators Replace continuation-style internal WPgen blocks Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant