aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@college-de-france.fr>2021-11-16 10:23:56 +0100
committerXavier Leroy <xavier.leroy@college-de-france.fr>2021-11-16 10:23:56 +0100
commita29b0c1bc26a6e2a37fa431e9347ed25c1bd1c2b (patch)
tree0c9491b868e83337aaec604c07edd354b9c67ca0 /lib
parentb9dfe18fb99d9fd0e8918c160ee297755c5fca59 (diff)
downloadcompcert-kvx-a29b0c1bc26a6e2a37fa431e9347ed25c1bd1c2b.tar.gz
compcert-kvx-a29b0c1bc26a6e2a37fa431e9347ed25c1bd1c2b.zip
Maps.v: transparency of Node
Add one more `Local Transparent Node` to ensure compatibility with Coq < 8.12
Diffstat (limited to 'lib')
-rw-r--r--lib/Maps.v4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Maps.v b/lib/Maps.v
index f3330776..0d83aa98 100644
--- a/lib/Maps.v
+++ b/lib/Maps.v
@@ -692,7 +692,7 @@ Module PTree <: TREE.
forall m1 m2,
beq m1 m2 = true <-> (forall x, beq_optA (get x m1) (get x m2) = true).
Proof.
-Local Transparent Node.
+ Local Transparent Node.
assert (beq_NN: forall l1 o1 r1 l2 o2 r2,
not_trivially_empty l1 o1 r1 ->
not_trivially_empty l2 o2 r2 ->
@@ -836,6 +836,8 @@ Local Transparent Node.
(fun l lrec o r rrec => Node lrec (match o with None => None | Some a => f a end) rrec)
m.
+ Local Transparent Node.
+
Definition map_filter1 :=
Eval cbv [map_filter1_nonopt tree_rec tree_rec' Node] in @map_filter1_nonopt.