aboutsummaryrefslogtreecommitdiffstats
path: root/src/translation/HTLgenproof.v
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-07-24 10:22:13 +0100
committerYann Herklotz <git@yannherklotz.com>2020-07-24 10:22:13 +0100
commit5cf10a4c70763cbb95747b19ac35b57a9dee4dd5 (patch)
treeeeb5a90e4d651093ac27058d4e83775a37ae1348 /src/translation/HTLgenproof.v
parent1cc5a458f28ad44919c9bfafbd5191c253e453e2 (diff)
downloadvericert-kvx-5cf10a4c70763cbb95747b19ac35b57a9dee4dd5.tar.gz
vericert-kvx-5cf10a4c70763cbb95747b19ac35b57a9dee4dd5.zip
More renames to get it to compile
Diffstat (limited to 'src/translation/HTLgenproof.v')
-rw-r--r--src/translation/HTLgenproof.v5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/translation/HTLgenproof.v b/src/translation/HTLgenproof.v
index ddf8c3a..b1cf958 100644
--- a/src/translation/HTLgenproof.v
+++ b/src/translation/HTLgenproof.v
@@ -577,7 +577,7 @@ Section CORRECTNESS.
- pose proof Integers.Ptrofs.agree32_sub as AGR; unfold Integers.Ptrofs.agree32 in AGR.
assert (ARCH: Archi.ptr64 = false) by auto. eapply AGR in ARCH.
apply int_inj. unfold Ptrofs.to_int. rewrite Int.unsigned_repr.
- apply ARCH. Search Ptrofs.unsigned. pose proof Ptrofs.unsigned_range_2.
+ apply ARCH. pose proof Ptrofs.unsigned_range_2.
replace Ptrofs.max_unsigned with Int.max_unsigned; auto.
pose proof Ptrofs.agree32_of_int. unfold Ptrofs.agree32 in H2.
eapply H2 in ARCH. apply ARCH.
@@ -708,12 +708,13 @@ Section CORRECTNESS.
Admitted.
Lemma eval_cond_correct :
+ forall e asa asr f' m args rs cond,
exists v' : value,
Verilog.expr_runp f' asr asa e v' /\
val_value_lessdef
(Values.Val.of_optbool
(Op.eval_condition cond
- (map (fun r : positive => Registers.Regmap.get r rs) args) m)) v'
+ (map (fun r : positive => Registers.Regmap.get r rs) args) m)) v'.
Admitted.
(** The proof of semantic preservation for the translation of instructions