Suppose that you want to find a λ-calculus program, T
, that satisfies the following equations:
(T (λ f x . x)) = (λ a t . a)
(T (λ f x . (f x))) = (λ a t . (t a))
(T (λ f x . (f (f x)))) = (λ a b t . (t a b))
(T (λ f x . (f (f (f x)))) = (λ a b c t . (t a b c))
On this case, I've manually found this solution:
T = (λ t . (t (λ b c d . (b (λ e . (c e d)))) (λ b . b) (λ b . b)))
Is there any strategy for solving such λ-calculus equations automatically? What is the state of art on that subject?
a = b
asa
beta reduces tob
, in strong normal form. – Abduction