Skip to content
Snippets Groups Projects
Commit 672f4a53 authored by Ralf Jung's avatar Ralf Jung
Browse files

changelog, TWP test

parent 51057db0
No related branches found
No related tags found
No related merge requests found
...@@ -138,6 +138,8 @@ With this release, we dropped support for Coq 8.9. ...@@ -138,6 +138,8 @@ With this release, we dropped support for Coq 8.9.
**Changes in `heap_lang`:** **Changes in `heap_lang`:**
* `wp_pures` now turns goals of the form `WP v {{ Φ }}` into `Φ v`. * `wp_pures` now turns goals of the form `WP v {{ Φ }}` into `Φ v`.
* Fix `wp_bind` in case of a NOP (i.e., when the given expression pattern is
already at the top level).
The following `sed` script helps adjust your code to the renaming (on macOS, The following `sed` script helps adjust your code to the renaming (on macOS,
replace `sed` by `gsed`, installed via e.g. `brew install gnu-sed`). replace `sed` by `gsed`, installed via e.g. `brew install gnu-sed`).
......
...@@ -142,6 +142,9 @@ Section tests. ...@@ -142,6 +142,9 @@ Section tests.
Lemma wp_bind_nop (e : expr) : Lemma wp_bind_nop (e : expr) :
WP e + #0 {{ _, True }}. WP e + #0 {{ _, True }}.
Proof. wp_bind (e + #0)%E. Abort. Proof. wp_bind (e + #0)%E. Abort.
Lemma wp_bind_nop (e : expr) :
WP e + #0 [{ _, True }].
Proof. wp_bind (e + #0)%E. Abort.
Lemma wp_apply_evar e P : Lemma wp_apply_evar e P :
P -∗ ( Q Φ, Q -∗ WP e {{ Φ }}) -∗ WP e {{ _, True }}. P -∗ ( Q Φ, Q -∗ WP e {{ Φ }}) -∗ WP e {{ _, True }}.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment