diff options
author | Justus Fasse <justus.fasse@etu.univ-grenoble-alpes.fr> | 2020-07-24 15:32:34 +0200 |
---|---|---|
committer | Justus Fasse <justus.fasse@etu.univ-grenoble-alpes.fr> | 2020-07-24 15:32:34 +0200 |
commit | 0a47d9af1403686ef1c87615eb5aeb9b1aad5d25 (patch) | |
tree | e486f407fb7bbcef045d7fee9d870ce6999f0327 /aarch64 | |
parent | cd321d46380dab50d96f4032354a6c009a34eb8e (diff) | |
download | compcert-kvx-0a47d9af1403686ef1c87615eb5aeb9b1aad5d25.tar.gz compcert-kvx-0a47d9af1403686ef1c87615eb5aeb9b1aad5d25.zip |
Remove unnecessary premise
Diffstat (limited to 'aarch64')
-rw-r--r-- | aarch64/Asmgenproof.v | 7 |
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. |