aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aarch64/Asmgenproof.v7
1 files changed, 3 insertions, 4 deletions
diff --git a/aarch64/Asmgenproof.v b/aarch64/Asmgenproof.v
index 27b7ed64..dde939ed 100644
--- a/aarch64/Asmgenproof.v
+++ b/aarch64/Asmgenproof.v
@@ -556,14 +556,13 @@ Proof.
+ eapply IHbbs; eauto.
Qed.
-Lemma bblock_in_bblocks b f bb: forall
+Lemma bblock_in_bblocks f bb: forall
tc pos
- (FINDF: Genv.find_funct_ptr ge b = Some (Internal f))
(UNFOLD: unfold (fn_blocks f) = OK tc)
(FINDBB: find_bblock pos (fn_blocks f) = Some bb),
In bb (fn_blocks f).
Proof.
- induction (fn_blocks f).
+ induction (fn_blocks f) as [| b bbs IH].
- intros. inversion FINDBB.
- destruct pos.
+ intros. inversion FINDBB as (EQ). rewrite <- EQ. apply in_eq.
@@ -574,7 +573,7 @@ Proof.
fold unfold in UNFOLD'. destruct UNFOLD'.
unfold find_bblock in FINDBB. simpl in FINDBB.
fold find_bblock in FINDBB.
- apply in_cons. eapply IHb0; eauto.
+ apply in_cons. eapply IH; eauto.
+ intros. inversion FINDBB.
Qed.