Question:
We'll define a function between two sets A and B:
$H: ((A \cup B )\to ${0,1} ) $\to ((A \to ${0,1}) $\times (B \to ${0,1}))
$H= \lambda f \in (A \cup B ) \to ${0,1}$.<\lambda a \in A . f(a),\lambda b \in B.f(b)>$
- If H is invertible, what is the cardinality of $A \cap B$?
- Present the inverse function of H.
What I did: I figured that from the fact that H is invertible I can figure $2^{|A \cup B|}=2^{|A|} \cdot 2^{|B|}= 2^{|A \times B|}$ I also know that$ |A \cap B| $= |A| +|B| -$|A \cup B |$ but from there I don't really have a clue how to proceed..
Thanks a bunch.