Skip to content

Commit

Permalink
Use rasimpl more widely
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoWinterhalter committed Aug 5, 2024
1 parent a3ab7c8 commit 66cd741
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions theories/Erasure.v
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ Proof.
2:{ eapply rscoping_upren. eassumption. }
2:{ eapply rscoping_comp_upren. assumption. }
destruct_ifs. all: try solve [ eauto ].
2:{ unfold close. ssimpl. cbn. unfold cty_lift. rasimpl. reflexivity. }
2:{ unfold close. rasimpl. cbn. unfold cty_lift. rasimpl. reflexivity. }
rasimpl. unfold nones. rasimpl. reflexivity.
- cbn.
erewrite IHt1. 2,3: eassumption.
Expand All @@ -325,7 +325,7 @@ Proof.
2:{ eapply rscoping_upren. eassumption. }
2:{ eapply rscoping_comp_upren. assumption. }
destruct_ifs. all: eauto.
unfold close. rasimpl. asimpl. reflexivity.
unfold close. rasimpl. reflexivity.
- cbn.
erewrite IHt1. 2,3: eassumption.
erewrite IHt2. 2,3: eassumption.
Expand Down
4 changes: 2 additions & 2 deletions theories/FreeTheorem.v
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Proof.
2:{
eapply ccmeta_conv.
- ertype. eapply ccmeta_conv. 1: ertype.
cbn. lhs_ssimpl. reflexivity.
cbn. rasimpl. unfold funcomp, shift. cbn. reflexivity.
- cbn. reflexivity.
}
eapply ccmeta_conv.
Expand All @@ -230,7 +230,7 @@ Proof.
2:{
eapply ccmeta_conv.
- ertype. eapply ccmeta_conv. 1: ertype.
cbn. lhs_ssimpl. reflexivity.
cbn. rasimpl. unfold shift, funcomp. cbn. reflexivity.
- cbn. reflexivity.
}
eapply ccmeta_conv.
Expand Down
6 changes: 3 additions & 3 deletions theories/Model.v
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ Proof.
- cbn. f_equal. 1: eauto.
rewrite IHt2. apply ext_term.
intros []. 1: reflexivity.
cbn. ssimpl. rewrite urm_ren. reflexivity.
cbn. unfold_funcomp. rewrite urm_ren. reflexivity.
- cbn. f_equal. 1:eauto.
rewrite IHt2. apply ext_term.
intros []. 1: reflexivity.
cbn. ssimpl. rewrite urm_ren. reflexivity.
cbn. unfold_funcomp. rewrite urm_ren. reflexivity.
Qed.

Lemma urm_scoping :
Expand Down Expand Up @@ -256,7 +256,7 @@ Proof.
- constructor.
- constructor.
+ assumption.
+ ssimpl. eapply urm_scoping. assumption.
+ rasimpl. eapply urm_scoping. assumption.
Qed.

(* Conversion only requires the scope not the full context *)
Expand Down

0 comments on commit 66cd741

Please sign in to comment.