aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorDavid Monniaux <David.Monniaux@univ-grenoble-alpes.fr>2021-12-14 11:49:59 +0100
committerDavid Monniaux <David.Monniaux@univ-grenoble-alpes.fr>2021-12-14 11:49:59 +0100
commit861e4ab15847c33704ed1bafc1dce65ae590f925 (patch)
treead0696b1b0d1ca68158ed47b57b4eb267f1bb33c /common
parent9007714f50a8ba49e2e6188cddada22a9fceed11 (diff)
parent89562c917e61c56a167ba13b86021b286cb7e257 (diff)
downloadcompcert-kvx-861e4ab15847c33704ed1bafc1dce65ae590f925.tar.gz
compcert-kvx-861e4ab15847c33704ed1bafc1dce65ae590f925.zip
Merge remote-tracking branch 'origin/kvx-work' into kvx_fp_division
Diffstat (limited to 'common')
-rw-r--r--common/Globalenvs.v9
-rw-r--r--common/Memory.v11
2 files changed, 1 insertions, 19 deletions
diff --git a/common/Globalenvs.v b/common/Globalenvs.v
index 4c9e7889..f424a69d 100644
--- a/common/Globalenvs.v
+++ b/common/Globalenvs.v
@@ -265,15 +265,6 @@ Qed.
Program Definition empty_genv (pub: list ident): t :=
@mkgenv pub (PTree.empty _) (PTree.empty _) 1%positive _ _ _.
-Next Obligation.
- rewrite PTree.gempty in H. discriminate.
-Qed.
-Next Obligation.
- rewrite PTree.gempty in H. discriminate.
-Qed.
-Next Obligation.
- rewrite PTree.gempty in H. discriminate.
-Qed.
Definition globalenv (p: program F V) :=
add_globals (empty_genv p.(prog_public)) p.(prog_defs).
diff --git a/common/Memory.v b/common/Memory.v
index ff17efb0..e243d475 100644
--- a/common/Memory.v
+++ b/common/Memory.v
@@ -348,15 +348,6 @@ Program Definition empty: mem :=
mkmem (PMap.init (ZMap.init Undef))
(PMap.init (fun ofs k => None))
1%positive _ _ _.
-Next Obligation.
- repeat rewrite PMap.gi. red; auto.
-Qed.
-Next Obligation.
- rewrite PMap.gi. auto.
-Qed.
-Next Obligation.
- rewrite PMap.gi. auto.
-Qed.
(** Allocation of a fresh block with the given bounds. Return an updated
memory state and the address of the fresh block, which initially contains
@@ -675,7 +666,7 @@ Proof. reflexivity. Qed.
Theorem perm_empty: forall b ofs k p, ~perm empty b ofs k p.
Proof.
- intros. unfold perm, empty; simpl. rewrite PMap.gi. simpl. tauto.
+ intros. unfold perm, empty; simpl. tauto.
Qed.
Theorem valid_access_empty: forall chunk b ofs p, ~valid_access empty chunk b ofs p.