Embedding F with a twist.
Created
December 15, 2017 23:16
-
-
Save Icelandjack/c0576f8eabc3350ef24a7750d454dfc1 to your computer and use it in GitHub Desktop.
Embedding System F
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First we witness membership (I follow Richard's lead here, make sure to check out his dissertation for more info):
And now we can implement standard encoding of a typed lambda calculus
so we can capture functions as
but we lack the polymorphism of System F, we cannot define “
Exp '[] (forall x. x -> x)
.