Skip to content
Snippets Groups Projects
Commit 9943d6b5 authored by Ralf Jung's avatar Ralf Jung
Browse files

fix deprecation warning

parent 26aeece9
No related branches found
No related tags found
1 merge request!67bump to Coq 8.20
Pipeline #108212 passed
......@@ -147,7 +147,7 @@ Proof.
match goal with H : context[_ _ _ : _] |- _ => rename H into IH end.
specialize (IH
(subst (ren (+1)) <$> Γ1) (subst (ren (+1)) <$> Γ2) (subst (ren (+1)) <$> ξ)).
rewrite ?map_length in IH.
rewrite ?length_map in IH.
repeat rewrite fmap_app. apply IH.
by repeat rewrite fmap_app.
- econstructor; eauto.
......@@ -155,7 +155,7 @@ Proof.
match goal with H : context[_ _ _ : TExist ?t] |- _ => rename t into τ end.
specialize (IH
(τ :: (subst (ren (+1)) <$> Γ1)) (subst (ren (+1)) <$> Γ2) (subst (ren (+1)) <$> ξ)).
asimpl in IH. rewrite ?map_length in IH.
asimpl in IH. rewrite ?length_map in IH.
repeat rewrite fmap_app. apply IH.
by repeat rewrite fmap_app.
Qed.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment