Skip to content

Commit

Permalink
Fix PASS PROOF
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongjoo-Kim committed Jul 9, 2019
1 parent 8fdb8d9 commit 9c556da
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion backend/CSEproofC.v
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Proof.
exploit make_match_genvs; eauto. { apply SIMSKENV. } intro SIMGE.
exploit (Genv.find_funct_match_genv SIMGE); eauto. i; des. ss. unfold bind in *. folder. des_ifs.
inv TYP. unfold transf_function in *. des_ifs.
esplits; eauto. econs; eauto.
esplits; eauto. econs; swap 1 2; eauto; ss.
+ econs; eauto.
erewrite <- lessdef_list_length; eauto.
+ erewrite <- lessdef_list_length; eauto.
Expand Down
2 changes: 1 addition & 1 deletion backend/ConstpropproofC.v
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Proof.
des. inv SAFESRC. inv SIMARGS; ss. inv FPTR; ss.
exploit make_match_genvs; eauto. { apply SIMSKENV. } intro SIMGE.
exploit (Genv.find_funct_match_genv SIMGE); eauto. i; des. ss. des_ifs.
inv TYP. esplits; eauto. econs; eauto.
inv TYP. esplits; eauto. econs; swap 1 2; eauto.
+ econs; eauto with congruence.
erewrite <- lessdef_list_length; eauto.
+ erewrite <- lessdef_list_length; eauto.
Expand Down
2 changes: 1 addition & 1 deletion backend/DeadcodeproofC.v
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Proof.
exploit make_match_genvs; eauto. { apply SIMSKENV. } intro SIMGE.
exploit (Genv.find_funct_match_genv SIMGE); eauto. i; des. ss. unfold bind in *. folder. des_ifs.
inv TYP. unfold transf_function in *. des_ifs.
esplits; eauto. econs; eauto.
esplits; eauto. econs; swap 1 2; eauto.
+ econs; eauto. erewrite <- lessdef_list_length; eauto.
+ erewrite <- lessdef_list_length; eauto.
- (* call wf *)
Expand Down
2 changes: 1 addition & 1 deletion backend/InliningproofC.v
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Proof.
exploit (Genv.find_funct_match_genv SIMGE); eauto. i; des. ss. clarify. folder.
hexploit (@fsim_external_inject_eq); try apply FINDF; eauto. clear FPTR. intro FPTR.
unfold Errors.bind in *. unfold transf_function in *. des_ifs. inv TYP.
esplits; eauto. econs; eauto.
esplits; eauto. econs; swap 1 2; eauto.
+ econs; eauto. erewrite <- inject_list_length; eauto.
+ erewrite <- inject_list_length; eauto.
- (* call wf *)
Expand Down

0 comments on commit 9c556da

Please sign in to comment.