Skip to content
Snippets Groups Projects
Commit 73b4ee3b authored by Tej Chajed's avatar Tej Chajed Committed by Robbert Krebbers
Browse files

Add a more substantial reduction test

parent 1a98fc89
No related branches found
No related tags found
1 merge request!309Use `SProp` to obtain better definitional equality for `pmap`, `gmap`, `gset`, `Qp`, and `coPset`
This commit is part of merge request !309. Comments created here will be created in the context of that merge request.
......@@ -70,3 +70,11 @@ Failed to progress.
============================
bool_decide (∅ ⊆ {[1; 2; 3]}) = true
1 goal
============================
{[3 := false; 2 := true]} = {[2 := true; 3 := false]}
1 goal
============================
Some true = Some true
From stdpp Require Import gmap.
From stdpp Require Import pmap gmap.
Goal {[1; 2; 3]} =@{gset nat} ∅.
Proof.
......@@ -71,4 +71,15 @@ Qed.
Theorem gmap_insert_comm :
<[3:=false]> {[2:=true]} =@{gmap nat bool} <[2:=true]> {[3:=false]}.
Proof. reflexivity. Qed.
Proof.
simpl. Show.
reflexivity.
Qed.
Transparent gmap_empty.
Arguments map_insert _ _ _ / _ _ _ _ : assert.
Arguments Plookup _ _ _ / : assert.
Theorem gmap_lookup_concrete :
lookup (M:=gmap nat bool) 2 (<[3:=false]> {[2:=true]}) = Some true.
Proof. simpl. Show. reflexivity. Qed.
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