Skip to content
Snippets Groups Projects
Commit 2b04cb3b authored by Dan Frumin's avatar Dan Frumin
Browse files

Generalize `refines_typed`.

parent 3ed3f403
No related branches found
No related tags found
No related merge requests found
...@@ -503,12 +503,12 @@ Section fundamental. ...@@ -503,12 +503,12 @@ Section fundamental.
- by iApply (bin_log_related_CmpXchg with "[] []"). - by iApply (bin_log_related_CmpXchg with "[] []").
Qed. Qed.
Theorem refines_typed e τ : Theorem refines_typed τ Δ e :
e : τ e : τ
REL e << e : (interp τ []). REL e << e : (interp τ Δ ).
Proof. Proof.
move=> /binary_fundamental Hty. move=> /binary_fundamental Hty.
iPoseProof (Hty [] with "[]") as "H". iPoseProof (Hty Δ with "[]") as "H".
{ rewrite fmap_empty. iApply env_ltyped2_empty. } { rewrite fmap_empty. iApply env_ltyped2_empty. }
by rewrite !fmap_empty !subst_map_empty. by rewrite !fmap_empty !subst_map_empty.
Qed. 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