Metamath Proof Explorer


Theorem enrelmapr

Description: The set of all possible relations between two sets is equinumerous to the set of all mappings from one set to the powerset of the other. (Contributed by RP, 27-Apr-2021)

Ref Expression
Assertion enrelmapr A V B W 𝒫 A × B 𝒫 A B

Proof

Step Hyp Ref Expression
1 xpcomeng A V B W A × B B × A
2 pwen A × B B × A 𝒫 A × B 𝒫 B × A
3 1 2 syl A V B W 𝒫 A × B 𝒫 B × A
4 enrelmap B W A V 𝒫 B × A 𝒫 A B
5 4 ancoms A V B W 𝒫 B × A 𝒫 A B
6 entr 𝒫 A × B 𝒫 B × A 𝒫 B × A 𝒫 A B 𝒫 A × B 𝒫 A B
7 3 5 6 syl2anc A V B W 𝒫 A × B 𝒫 A B