diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-03-27 13:47:42 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-03-27 13:47:42 +0000 |
commit | 8609fca0129cb64a77e9a6e3670b5b5d3f8209e6 (patch) | |
tree | 5203950d109fce81cd163923194dbcb8fbe90da2 /backend/RTLtyping.v | |
parent | 57f18784d1fac0123cdb51ed67ae761100509c1f (diff) | |
download | compcert-kvx-8609fca0129cb64a77e9a6e3670b5b5d3f8209e6.tar.gz compcert-kvx-8609fca0129cb64a77e9a6e3670b5b5d3f8209e6.zip |
Move wt_instr_inv where it belongs.
Update Makefile and dependencies.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2436 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'backend/RTLtyping.v')
-rw-r--r-- | backend/RTLtyping.v | 10 |
1 files changed, 10 insertions, 0 deletions
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. |