Can someone explain to me what function spaces and what functon ev are because I couldn't understand the concepts from my lecture slides? And please help me answer the questions below. Thanks.
Function spaces
Given sets $X$ and $Y$, let $Y^X$ denote the set of all functions from $X$ to $Y$
• if $X$ and $Y$ are finite sets, what is the cardinality of $Y^X$ ?
• There is an important function $\textsf{ev}: X\times Y^X \rightarrow Y$. Can you guess how it is defined?
Question 1:
Write down all the elements of the following function spaces: $2^0$, $2^1$ and $2^2$
Question 2: