Skip to content
Snippets Groups Projects
Commit 549e25cb authored by gabrielhdt's avatar gabrielhdt
Browse files

rule for cast transitivity

parent 48c6425a
No related branches found
No related tags found
No related merge requests found
......@@ -19,3 +19,7 @@ symbol sub {T S: Term uType}
(psubt: Term (T ⊑ S)): // Proof of eT ⊑ eS
Term (forall (λx, imp (P x) (Q (↑ S psubt x)))) ⇒
Term (Psub T P ⊑ Psub S Q)
// Transitivity of the cast
rule ↑ {&U} &V &pruv (↑ {&T} &U &prtu &x) →
↑ {&T} &V (trans &T &U &V &prtu &pruv) &x
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