Skip to content
Snippets Groups Projects
Commit 0c21e4d7 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Merge branch 'plainly-scope' into 'master'

Fix scopes for `plainly` following !456.

See merge request iris/iris!458
parents 288c5ea8 7458fa67
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