Section 2.5 Flashcards
A lambda expression is a ____ object.
syntactic
The purpose of denotational semantics is to assign mathematical ___ to expressions.
values
True or false: A lambda abstraction is a mathematical function.
False. A lambda abstraction can denote a mathematical function, but is not a function in of it self.
The evaluation of a variable is determined by an ____.
environment
True or false: An environment maps variable names to lambda expressions.
False. An environment maps variable names to values.
True or false: A non-terminating computation can be assigned a value.
True.
True or false: A strict function terminates whenever its arguments terminate.
False. A strict function is non-terminating whenever one of its arguments is non-terminating, but the inverse statement is not true. For example, consider the function that squares its argument forever.
True or false: Interconvertible lambda expressions evaluate to the same value.
True
True or false: Lambda expressions that evaluate to the same value are interconvertible.
False
Defining two functions as equal if their results are equal for all arguments is ____ equality.
extensional