Skip to content
Snippets Groups Projects
Verified Commit 7458fa67 authored by Paolo G. Giarrusso's avatar Paolo G. Giarrusso
Browse files

Fix scopes for `plainly` following !456.

parent 288c5ea8
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,8 @@ Section base_logic_tests.
(* Test scopes for bupd *)
Definition use_bupd_uPred (n : nat) : uPred M :=
|==> m : nat , n = 2 ⌝.
Definition use_plainly_uPred (n : nat) : uPred M :=
|==> m : nat , n = 2 ⌝.
Lemma test_random_stuff (P1 P2 P3 : nat uPred M) :
(x y : nat) a b,
......
......@@ -3,6 +3,7 @@ From iris.algebra Require Import monoid.
Import interface.bi derived_laws.bi derived_laws_later.bi.
Class Plainly (A : Type) := plainly : A A.
Arguments plainly {A}%type_scope {_} _%I.
Hint Mode Plainly ! : typeclass_instances.
Instance: Params (@plainly) 2 := {}.
Notation "■ P" := (plainly P) : bi_scope.
......
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