diff options
Diffstat (limited to 'aarch64/Asmgenproof.v')
-rw-r--r-- | aarch64/Asmgenproof.v | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/aarch64/Asmgenproof.v b/aarch64/Asmgenproof.v index 76f18079..a9f88991 100644 --- a/aarch64/Asmgenproof.v +++ b/aarch64/Asmgenproof.v @@ -639,7 +639,7 @@ Lemma find_instr_bblock: (SIZE: 0 <= n < size bb), exists i, is_nth_inst bb n i /\ Asm.find_instr (pos+n) tlb = Some i. Proof. - induction lb. + induction lb as [| b lb IHlb]. - intros. inversion FINDBB. - intros pos bb tlb FINDBB UNFOLD SIZE. destruct pos. @@ -654,9 +654,9 @@ Proof. destruct IH as (? & (IH_is_nth & IH_find_instr)); eauto. eexists; split. * apply IH_is_nth. - * replace (Z.pos p + n) with (Z.pos p + n - size a + size a) by omega. + * replace (Z.pos p + n) with (Z.pos p + n - size b + size b) by omega. eapply find_instr_bblock_tail; try assumption. - replace (Z.pos p + n - size a) with (Z.pos p - size a + n) by omega. + replace (Z.pos p + n - size b) with (Z.pos p - size b + n) by omega. apply IH_find_instr. Admitted. |