Created
September 29, 2015 03:49
-
-
Save mbrcknl/2aeafb4551bed49a862d to your computer and use it in GitHub Desktop.
Extending saturated sets to product types, alternative version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixpoint R (T:ty) (t:tm) {struct T} : Prop := | |
has_type empty t T /\ halts t /\ | |
match T with | |
| TBool => True | |
| TArrow T1 T2 => (forall s, R T1 s -> R T2 (tapp t s)) | |
| TProd T1 T2 => exists t1, exists t2, t ==>* tpair t1 t2 /\ R T1 t1 /\ R T2 t2 | |
end. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment