Re:The Most Common Errors in Undergraduate Mathematics (2009)
by konjin on Thursday November 19, 2020 @05:20PM
(#25155069)
The point is that 2 and (λ (x) 2) are vastly different objects, yet in standard math are treated the same.
Also you don't need a symbol type to deal with variables, you just need to allow type variables to be used in standard expressions. (define x R) (^ x 2) is just as easy to manipulate as (λ (x) (^ x 2)), the only issue is that your rewrite rules how aren't just looking at syntax, but semantics too.
With how the notation is typically used, it’s at least closer to my mental model.
Treating the expression as a function under substitution is one way to look at it, but not the only way.