Skip to content

Commit 9cbe179

Browse files
committed
better fix for apply -> apply:
1 parent 3d7143a commit 9cbe179

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

erasure/theories/ETransform.v

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ Proof.
5252
intros [etaenv etat]. split;
5353
unfold erase_program, erase_pcuic_program; cbn.
5454
eapply ErasureFunction.expanded_erase_global_fast, etaenv; reflexivity.
55-
refine (ErasureFunction.expanded_erase_fast (X_type:=optimized_abstract_env_impl) (X := (build_wf_env_from_env p.1.1
56-
(map_squash (PCUICTyping.wf_ext_wf p.1) (map_squash fst wtp)))) _ _ p.2 _ _ eq_refl etat).
55+
apply: (ErasureFunction.expanded_erase_fast (X_type:=optimized_abstract_env_impl)).
56+
reflexivity. exact etat.
5757
Qed.
5858

5959
Lemma expanded_eprogram_env_expanded_eprogram_cstrs p :
@@ -83,7 +83,7 @@ Next Obligation.
8383
- unfold erase_program, erase_pcuic_program in e. simpl. cbn in e. injection e. intros <- <-.
8484
split.
8585
eapply ErasureFunction.erase_global_fast_wf_glob.
86-
refine (ErasureFunction.erase_wellformed_fast (X_type:=optimized_abstract_env_impl) _ _ _ ).
86+
apply: (ErasureFunction.erase_wellformed_fast (X_type:=optimized_abstract_env_impl)).
8787
- rewrite -e. cbn.
8888
now eapply expanded_erase_program.
8989
Qed.

0 commit comments

Comments
 (0)