diff options
Diffstat (limited to 'backend')
-rw-r--r-- | backend/Allocproof.v | 10 | ||||
-rw-r--r-- | backend/RTLtyping.v | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/backend/Allocproof.v b/backend/Allocproof.v index bbe9ba38..93038783 100644 --- a/backend/Allocproof.v +++ b/backend/Allocproof.v @@ -1606,16 +1606,6 @@ Proof. red; intros; subst r. rewrite H in H8; discriminate. Qed. -Lemma wt_instr_inv: - forall s f sp pc rs m i, - wt_state (RTL.State s f sp pc rs m) -> - f.(RTL.fn_code)!pc = Some i -> - exists env, wt_instr f env i /\ wt_regset env rs. -Proof. - intros. inv H. exists env; split; auto. - inv WT_FN. eauto. -Qed. - (** The proof of semantic preservation is a simulation argument of the "plus" kind. *) diff --git a/backend/RTLtyping.v b/backend/RTLtyping.v index e27704cb..e8ae7ae0 100644 --- a/backend/RTLtyping.v +++ b/backend/RTLtyping.v @@ -838,6 +838,16 @@ Proof. rewrite H3. constructor. Qed. +Lemma wt_instr_inv: + forall s f sp pc rs m i, + wt_state (State s f sp pc rs m) -> + f.(fn_code)!pc = Some i -> + exists env, wt_instr f env i /\ wt_regset env rs. +Proof. + intros. inv H. exists env; split; auto. + inv WT_FN. eauto. +Qed. + End SUBJECT_REDUCTION. |