Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wp is exec #362

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft

Wp is exec #362

wants to merge 8 commits into from

Conversation

andres-erbsen
Copy link
Contributor

Based on abandoned branch mentioned in #361

samuelgruetter and others added 8 commits July 31, 2023 23:17
and rules for cmd' whose premises are copied from WP.cmd.
This one is "fs everywhere" (ie list of functions everywhere).
The wp_call rule requires a NoDup, which would be cumbersome to
carry around.
In an "env everywhere" setting, where program_logic_goal_for!
adds a (map.get fs fname = Some fimpl) hypothesis.
Surprise mit-plv#1: There's no case in straightline that handles if-then-else
Surprise mit-plv#2: unfold1_... tactics are not the only place that depend
on conversion: There also exists a letexists in SPI that turns a
(WP (cmd.cond e _ _) ...) into an (exists v, eval e v /\ ...), and
probably more elsewhere.
sneaking an `apply_rules_until_propositional` call into
`letexists`, `eexists`, `esplit`, and inserting `unfold1_cmd_goal`
where still needed.
Gave up on memmove because it seems too hard to simulate a `cbn`
that happens under exists and ands by applying wp rules under
these exists and ands.
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.

2 participants