Created
April 9, 2017 21:42
-
-
Save DmytroMitin/5bf51a16d8c2b94cc3020c2fe8fad3e5 to your computer and use it in GitHub Desktop.
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
@ val Circle = "S" :: Type | |
Circle: Typ[Term] with Subs[Typ[Term]] = S : π° _0 | |
@ val base = "base" :: Circle | |
base: Term with Subs[Term] = base : (S : π° _0) | |
@ val loop = "loop" :: (base =:= base) | |
loop: Term with Subs[Term] = loop : (base : (S : π° _0) = base : (S : π° _0)) | |
@ val X = "X" :: Type | |
X: Typ[Term] with Subs[Typ[Term]] = X : π° _0 | |
@ val a = "a" :: X | |
a: Term with Subs[Term] = a : (X : π° _0) | |
@ val l = "l" :: (a =:= a) | |
l: Term with Subs[Term] = l : (a : (X : π° _0) = a : (X : π° _0)) | |
@ val recS = "rec_S" :: X ~>: (a ~>: (l ~>: (Circle ->: X))) | |
recS: FuncLike[Typ[Term] with Subs[Typ[Term]], FuncLike[Term with Subs[Term], FuncLike[Term with Subs[Term], Func[Term, Term]]]] with Subs[FuncLike[Typ[Term] with Subs[Typ[Term]], FuncLike[Term with Subs[Term], FuncLike[Term with Subs[Term], Func[Term, Term]]]]] = rec_S : (X : π° _0 ~> a : (X : π° _0) ~> l : (a : (X : π° _0) = a : (X : π° _0)) ~> (S : π° _0) β (X : π° _0)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment