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

use tc_opaque for a complicated definition

parent 15fd682e
No related branches found
No related tags found
No related merge requests found
...@@ -35,10 +35,10 @@ Section box_defs. ...@@ -35,10 +35,10 @@ Section box_defs.
box_own_prop γ P inv N (slice_inv γ P). box_own_prop γ P inv N (slice_inv γ P).
Definition box (f : gmap slice_name bool) (P : iProp Σ) : iProp Σ := Definition box (f : gmap slice_name bool) (P : iProp Σ) : iProp Σ :=
Φ : slice_name iProp Σ, tc_opaque ( Φ : slice_name iProp Σ,
(P [ map] γ _ f, Φ γ) (P [ map] γ _ f, Φ γ)
[ map] γ b f, box_own_auth γ (E b) box_own_prop γ (Φ γ) [ map] γ b f, box_own_auth γ (E b) box_own_prop γ (Φ γ)
inv N (slice_inv γ (Φ γ)). inv N (slice_inv γ (Φ γ)))%I.
End box_defs. End box_defs.
Global Instance: Params (@box_own_prop) 3 := {}. Global Instance: Params (@box_own_prop) 3 := {}.
......
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