2025-01-26 08:52:28 -06:00
|
|
|
compose = \f g x : f (g x)
|
2025-01-23 18:57:59 -06:00
|
|
|
|
2025-01-26 14:50:15 -06:00
|
|
|
succ = y (\self :
|
|
|
|
triage
|
|
|
|
1
|
|
|
|
t
|
|
|
|
(triage
|
|
|
|
(t (t t))
|
|
|
|
(\_ tail : t t (self tail))
|
2025-01-23 18:57:59 -06:00
|
|
|
t))
|
|
|
|
|
2025-01-26 14:50:15 -06:00
|
|
|
size = (\x :
|
|
|
|
(y (\self x :
|
|
|
|
compose succ
|
|
|
|
(triage
|
|
|
|
(\x : x)
|
|
|
|
self
|
|
|
|
(\x y : compose (self x) (self y))
|
2025-01-23 18:57:59 -06:00
|
|
|
x)) x 0))
|
2025-01-25 09:18:13 -06:00
|
|
|
|
|
|
|
size size
|