aboutsummaryrefslogtreecommitdiffstats
path: root/backend/Duplicateproof.v
diff options
context:
space:
mode:
Diffstat (limited to 'backend/Duplicateproof.v')
-rw-r--r--backend/Duplicateproof.v5
1 files changed, 3 insertions, 2 deletions
diff --git a/backend/Duplicateproof.v b/backend/Duplicateproof.v
index ebb17774..67d16580 100644
--- a/backend/Duplicateproof.v
+++ b/backend/Duplicateproof.v
@@ -76,7 +76,8 @@ Theorem transf_function_preserves:
transf_function f = OK f' ->
fn_sig f = fn_sig f' /\ fn_params f = fn_params f' /\ fn_stacksize f = fn_stacksize f'.
Proof.
- intros. unfold transf_function in H. destruct (duplicate_aux _) as (tcte & mp). destruct tcte as (tc & te). monadInv H.
+ intros. unfold transf_function in H. destruct (duplicate_aux _) as (tctemp & invl). destruct tctemp as (tcte & mp). destruct tcte as (tc & te).
+ monadInv H.
repeat (split; try reflexivity).
Qed.
@@ -227,7 +228,7 @@ Theorem transf_function_correct f f':
Proof.
unfold transf_function.
intros TRANSF.
- destruct (duplicate_aux _) as (tcte & mp). destruct tcte as (tc & te).
+ destruct (duplicate_aux _) as (tctemp & invl). destruct tctemp as (tcte & mp). destruct tcte as (tc & te).
monadInv TRANSF.
unfold verify_mapping in EQ. monadInv EQ.
exists mp; constructor 1; simpl; auto.