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

Merge branch 'ralf/smart-apply' into 'master'

document wp_smart_apply

See merge request iris/iris!811
parents 297fa447 1c105c7d
No related branches found
No related tags found
No related merge requests found
...@@ -104,6 +104,11 @@ Further tactics: ...@@ -104,6 +104,11 @@ Further tactics:
- `wp_apply pm_trm`: Apply a lemma whose conclusion is a `WP`, automatically - `wp_apply pm_trm`: Apply a lemma whose conclusion is a `WP`, automatically
applying `wp_bind` as needed. See the [ProofMode docs](./proof_mode.md) for an applying `wp_bind` as needed. See the [ProofMode docs](./proof_mode.md) for an
explanation of `pm_trm`. explanation of `pm_trm`.
- `wp_smart_apply pm_trm`: like `wp_apply`, but also performs pure reduction
steps to reveal a redex that matches `pm_trm`. Precisely, if applying the
lemma fails, `wp_smart_apply` will perform a step of pure reduction (via
`wp_pure`), and repeat. (This means that `wp_smart_apply` is not the same
as `wp_pures; wp_apply`.)
There is no tactic for `Fork`, just do `wp_apply wp_fork`. There is no tactic for `Fork`, just do `wp_apply wp_fork`.
......
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