I have following lambda calculus:
(λx. + (- x 1)) 9 3
The right beta reduce is:
+ (- 9 1) 3
I made a mistake and took instead of 9 the number 3:
+ (- 3 1) 9
and I've got the same result.
I wasn't realize that was wrong, until compare it with the solution.
Do I have to take the closest substitution, in this case is 9?