MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  relop Structured version   Visualization version   GIF version

Theorem relop 5748
Description: A necessary and sufficient condition for a Kuratowski ordered pair to be a relation. (Contributed by NM, 3-Jun-2008.) A relation is a class of ordered pairs, so the fact that an ordered pair may sometimes be itself a relation is an "accident" depending on the specific encoding of ordered pairs as classes (in set.mm, the Kuratowski encoding). A more meaningful statement is relsnopg 5702, as funsng 6469 is to funop 7003. (New usage is discouraged.)
Hypotheses
Ref Expression
relop.1 𝐴 ∈ V
relop.2 𝐵 ∈ V
Assertion
Ref Expression
relop (Rel ⟨𝐴, 𝐵⟩ ↔ ∃𝑥𝑦(𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦

Proof of Theorem relop
Dummy variables 𝑤 𝑣 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-rel 5587 . 2 (Rel ⟨𝐴, 𝐵⟩ ↔ ⟨𝐴, 𝐵⟩ ⊆ (V × V))
2 dfss2 3903 . . . . 5 (⟨𝐴, 𝐵⟩ ⊆ (V × V) ↔ ∀𝑧(𝑧 ∈ ⟨𝐴, 𝐵⟩ → 𝑧 ∈ (V × V)))
3 relop.1 . . . . . . . . . 10 𝐴 ∈ V
4 relop.2 . . . . . . . . . 10 𝐵 ∈ V
53, 4elop 5376 . . . . . . . . 9 (𝑧 ∈ ⟨𝐴, 𝐵⟩ ↔ (𝑧 = {𝐴} ∨ 𝑧 = {𝐴, 𝐵}))
6 elvv 5652 . . . . . . . . 9 (𝑧 ∈ (V × V) ↔ ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩)
75, 6imbi12i 350 . . . . . . . 8 ((𝑧 ∈ ⟨𝐴, 𝐵⟩ → 𝑧 ∈ (V × V)) ↔ ((𝑧 = {𝐴} ∨ 𝑧 = {𝐴, 𝐵}) → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩))
8 jaob 958 . . . . . . . 8 (((𝑧 = {𝐴} ∨ 𝑧 = {𝐴, 𝐵}) → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩) ↔ ((𝑧 = {𝐴} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩) ∧ (𝑧 = {𝐴, 𝐵} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩)))
97, 8bitri 274 . . . . . . 7 ((𝑧 ∈ ⟨𝐴, 𝐵⟩ → 𝑧 ∈ (V × V)) ↔ ((𝑧 = {𝐴} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩) ∧ (𝑧 = {𝐴, 𝐵} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩)))
109albii 1823 . . . . . 6 (∀𝑧(𝑧 ∈ ⟨𝐴, 𝐵⟩ → 𝑧 ∈ (V × V)) ↔ ∀𝑧((𝑧 = {𝐴} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩) ∧ (𝑧 = {𝐴, 𝐵} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩)))
11 19.26 1874 . . . . . 6 (∀𝑧((𝑧 = {𝐴} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩) ∧ (𝑧 = {𝐴, 𝐵} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩)) ↔ (∀𝑧(𝑧 = {𝐴} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩) ∧ ∀𝑧(𝑧 = {𝐴, 𝐵} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩)))
1210, 11bitri 274 . . . . 5 (∀𝑧(𝑧 ∈ ⟨𝐴, 𝐵⟩ → 𝑧 ∈ (V × V)) ↔ (∀𝑧(𝑧 = {𝐴} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩) ∧ ∀𝑧(𝑧 = {𝐴, 𝐵} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩)))
132, 12bitri 274 . . . 4 (⟨𝐴, 𝐵⟩ ⊆ (V × V) ↔ (∀𝑧(𝑧 = {𝐴} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩) ∧ ∀𝑧(𝑧 = {𝐴, 𝐵} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩)))
14 snex 5349 . . . . . . 7 {𝐴} ∈ V
15 eqeq1 2742 . . . . . . . 8 (𝑧 = {𝐴} → (𝑧 = {𝐴} ↔ {𝐴} = {𝐴}))
16 eqeq1 2742 . . . . . . . . . 10 (𝑧 = {𝐴} → (𝑧 = ⟨𝑥, 𝑦⟩ ↔ {𝐴} = ⟨𝑥, 𝑦⟩))
17 eqcom 2745 . . . . . . . . . . 11 ({𝐴} = ⟨𝑥, 𝑦⟩ ↔ ⟨𝑥, 𝑦⟩ = {𝐴})
18 vex 3426 . . . . . . . . . . . 12 𝑥 ∈ V
19 vex 3426 . . . . . . . . . . . 12 𝑦 ∈ V
2018, 19opeqsn 5412 . . . . . . . . . . 11 (⟨𝑥, 𝑦⟩ = {𝐴} ↔ (𝑥 = 𝑦𝐴 = {𝑥}))
2117, 20bitri 274 . . . . . . . . . 10 ({𝐴} = ⟨𝑥, 𝑦⟩ ↔ (𝑥 = 𝑦𝐴 = {𝑥}))
2216, 21bitrdi 286 . . . . . . . . 9 (𝑧 = {𝐴} → (𝑧 = ⟨𝑥, 𝑦⟩ ↔ (𝑥 = 𝑦𝐴 = {𝑥})))
23222exbidv 1928 . . . . . . . 8 (𝑧 = {𝐴} → (∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩ ↔ ∃𝑥𝑦(𝑥 = 𝑦𝐴 = {𝑥})))
2415, 23imbi12d 344 . . . . . . 7 (𝑧 = {𝐴} → ((𝑧 = {𝐴} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩) ↔ ({𝐴} = {𝐴} → ∃𝑥𝑦(𝑥 = 𝑦𝐴 = {𝑥}))))
2514, 24spcv 3534 . . . . . 6 (∀𝑧(𝑧 = {𝐴} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩) → ({𝐴} = {𝐴} → ∃𝑥𝑦(𝑥 = 𝑦𝐴 = {𝑥})))
26 sneq 4568 . . . . . . . . 9 (𝑤 = 𝑥 → {𝑤} = {𝑥})
2726eqeq2d 2749 . . . . . . . 8 (𝑤 = 𝑥 → (𝐴 = {𝑤} ↔ 𝐴 = {𝑥}))
2827cbvexvw 2041 . . . . . . 7 (∃𝑤 𝐴 = {𝑤} ↔ ∃𝑥 𝐴 = {𝑥})
29 ax6evr 2019 . . . . . . . . 9 𝑦 𝑥 = 𝑦
30 19.41v 1954 . . . . . . . . 9 (∃𝑦(𝑥 = 𝑦𝐴 = {𝑥}) ↔ (∃𝑦 𝑥 = 𝑦𝐴 = {𝑥}))
3129, 30mpbiran 705 . . . . . . . 8 (∃𝑦(𝑥 = 𝑦𝐴 = {𝑥}) ↔ 𝐴 = {𝑥})
3231exbii 1851 . . . . . . 7 (∃𝑥𝑦(𝑥 = 𝑦𝐴 = {𝑥}) ↔ ∃𝑥 𝐴 = {𝑥})
33 eqid 2738 . . . . . . . 8 {𝐴} = {𝐴}
3433a1bi 362 . . . . . . 7 (∃𝑥𝑦(𝑥 = 𝑦𝐴 = {𝑥}) ↔ ({𝐴} = {𝐴} → ∃𝑥𝑦(𝑥 = 𝑦𝐴 = {𝑥})))
3528, 32, 343bitr2ri 299 . . . . . 6 (({𝐴} = {𝐴} → ∃𝑥𝑦(𝑥 = 𝑦𝐴 = {𝑥})) ↔ ∃𝑤 𝐴 = {𝑤})
3625, 35sylib 217 . . . . 5 (∀𝑧(𝑧 = {𝐴} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩) → ∃𝑤 𝐴 = {𝑤})
37 eqid 2738 . . . . . 6 {𝐴, 𝐵} = {𝐴, 𝐵}
38 prex 5350 . . . . . . 7 {𝐴, 𝐵} ∈ V
39 eqeq1 2742 . . . . . . . 8 (𝑧 = {𝐴, 𝐵} → (𝑧 = {𝐴, 𝐵} ↔ {𝐴, 𝐵} = {𝐴, 𝐵}))
40 eqeq1 2742 . . . . . . . . 9 (𝑧 = {𝐴, 𝐵} → (𝑧 = ⟨𝑥, 𝑦⟩ ↔ {𝐴, 𝐵} = ⟨𝑥, 𝑦⟩))
41402exbidv 1928 . . . . . . . 8 (𝑧 = {𝐴, 𝐵} → (∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩ ↔ ∃𝑥𝑦{𝐴, 𝐵} = ⟨𝑥, 𝑦⟩))
4239, 41imbi12d 344 . . . . . . 7 (𝑧 = {𝐴, 𝐵} → ((𝑧 = {𝐴, 𝐵} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩) ↔ ({𝐴, 𝐵} = {𝐴, 𝐵} → ∃𝑥𝑦{𝐴, 𝐵} = ⟨𝑥, 𝑦⟩)))
4338, 42spcv 3534 . . . . . 6 (∀𝑧(𝑧 = {𝐴, 𝐵} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩) → ({𝐴, 𝐵} = {𝐴, 𝐵} → ∃𝑥𝑦{𝐴, 𝐵} = ⟨𝑥, 𝑦⟩))
4437, 43mpi 20 . . . . 5 (∀𝑧(𝑧 = {𝐴, 𝐵} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩) → ∃𝑥𝑦{𝐴, 𝐵} = ⟨𝑥, 𝑦⟩)
45 eqcom 2745 . . . . . . . . . 10 ({𝐴, 𝐵} = ⟨𝑥, 𝑦⟩ ↔ ⟨𝑥, 𝑦⟩ = {𝐴, 𝐵})
4618, 19, 3, 4opeqpr 5413 . . . . . . . . . 10 (⟨𝑥, 𝑦⟩ = {𝐴, 𝐵} ↔ ((𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}) ∨ (𝐴 = {𝑥, 𝑦} ∧ 𝐵 = {𝑥})))
4745, 46bitri 274 . . . . . . . . 9 ({𝐴, 𝐵} = ⟨𝑥, 𝑦⟩ ↔ ((𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}) ∨ (𝐴 = {𝑥, 𝑦} ∧ 𝐵 = {𝑥})))
48 idd 24 . . . . . . . . . 10 (𝐴 = {𝑤} → ((𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}) → (𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦})))
49 eqtr2 2762 . . . . . . . . . . . . . 14 ((𝐴 = {𝑥, 𝑦} ∧ 𝐴 = {𝑤}) → {𝑥, 𝑦} = {𝑤})
5018, 19preqsn 4789 . . . . . . . . . . . . . . 15 ({𝑥, 𝑦} = {𝑤} ↔ (𝑥 = 𝑦𝑦 = 𝑤))
5150simplbi 497 . . . . . . . . . . . . . 14 ({𝑥, 𝑦} = {𝑤} → 𝑥 = 𝑦)
5249, 51syl 17 . . . . . . . . . . . . 13 ((𝐴 = {𝑥, 𝑦} ∧ 𝐴 = {𝑤}) → 𝑥 = 𝑦)
53 dfsn2 4571 . . . . . . . . . . . . . . . . . . . 20 {𝑥} = {𝑥, 𝑥}
54 preq2 4667 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = 𝑦 → {𝑥, 𝑥} = {𝑥, 𝑦})
5553, 54eqtr2id 2792 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑦 → {𝑥, 𝑦} = {𝑥})
5655eqeq2d 2749 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑦 → (𝐴 = {𝑥, 𝑦} ↔ 𝐴 = {𝑥}))
5753, 54eqtrid 2790 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑦 → {𝑥} = {𝑥, 𝑦})
5857eqeq2d 2749 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑦 → (𝐵 = {𝑥} ↔ 𝐵 = {𝑥, 𝑦}))
5956, 58anbi12d 630 . . . . . . . . . . . . . . . . 17 (𝑥 = 𝑦 → ((𝐴 = {𝑥, 𝑦} ∧ 𝐵 = {𝑥}) ↔ (𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦})))
6059biimpd 228 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑦 → ((𝐴 = {𝑥, 𝑦} ∧ 𝐵 = {𝑥}) → (𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦})))
6160expd 415 . . . . . . . . . . . . . . 15 (𝑥 = 𝑦 → (𝐴 = {𝑥, 𝑦} → (𝐵 = {𝑥} → (𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}))))
6261com12 32 . . . . . . . . . . . . . 14 (𝐴 = {𝑥, 𝑦} → (𝑥 = 𝑦 → (𝐵 = {𝑥} → (𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}))))
6362adantr 480 . . . . . . . . . . . . 13 ((𝐴 = {𝑥, 𝑦} ∧ 𝐴 = {𝑤}) → (𝑥 = 𝑦 → (𝐵 = {𝑥} → (𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}))))
6452, 63mpd 15 . . . . . . . . . . . 12 ((𝐴 = {𝑥, 𝑦} ∧ 𝐴 = {𝑤}) → (𝐵 = {𝑥} → (𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦})))
6564expcom 413 . . . . . . . . . . 11 (𝐴 = {𝑤} → (𝐴 = {𝑥, 𝑦} → (𝐵 = {𝑥} → (𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}))))
6665impd 410 . . . . . . . . . 10 (𝐴 = {𝑤} → ((𝐴 = {𝑥, 𝑦} ∧ 𝐵 = {𝑥}) → (𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦})))
6748, 66jaod 855 . . . . . . . . 9 (𝐴 = {𝑤} → (((𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}) ∨ (𝐴 = {𝑥, 𝑦} ∧ 𝐵 = {𝑥})) → (𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦})))
6847, 67syl5bi 241 . . . . . . . 8 (𝐴 = {𝑤} → ({𝐴, 𝐵} = ⟨𝑥, 𝑦⟩ → (𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦})))
69682eximdv 1923 . . . . . . 7 (𝐴 = {𝑤} → (∃𝑥𝑦{𝐴, 𝐵} = ⟨𝑥, 𝑦⟩ → ∃𝑥𝑦(𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦})))
7069exlimiv 1934 . . . . . 6 (∃𝑤 𝐴 = {𝑤} → (∃𝑥𝑦{𝐴, 𝐵} = ⟨𝑥, 𝑦⟩ → ∃𝑥𝑦(𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦})))
7170imp 406 . . . . 5 ((∃𝑤 𝐴 = {𝑤} ∧ ∃𝑥𝑦{𝐴, 𝐵} = ⟨𝑥, 𝑦⟩) → ∃𝑥𝑦(𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}))
7236, 44, 71syl2an 595 . . . 4 ((∀𝑧(𝑧 = {𝐴} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩) ∧ ∀𝑧(𝑧 = {𝐴, 𝐵} → ∃𝑥𝑦 𝑧 = ⟨𝑥, 𝑦⟩)) → ∃𝑥𝑦(𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}))
7313, 72sylbi 216 . . 3 (⟨𝐴, 𝐵⟩ ⊆ (V × V) → ∃𝑥𝑦(𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}))
74 simpr 484 . . . . . . . . . . 11 ((𝐴 = {𝑥} ∧ 𝑧 = {𝐴}) → 𝑧 = {𝐴})
75 equid 2016 . . . . . . . . . . . . . 14 𝑥 = 𝑥
7675jctl 523 . . . . . . . . . . . . 13 (𝐴 = {𝑥} → (𝑥 = 𝑥𝐴 = {𝑥}))
7718, 18opeqsn 5412 . . . . . . . . . . . . 13 (⟨𝑥, 𝑥⟩ = {𝐴} ↔ (𝑥 = 𝑥𝐴 = {𝑥}))
7876, 77sylibr 233 . . . . . . . . . . . 12 (𝐴 = {𝑥} → ⟨𝑥, 𝑥⟩ = {𝐴})
7978adantr 480 . . . . . . . . . . 11 ((𝐴 = {𝑥} ∧ 𝑧 = {𝐴}) → ⟨𝑥, 𝑥⟩ = {𝐴})
8074, 79eqtr4d 2781 . . . . . . . . . 10 ((𝐴 = {𝑥} ∧ 𝑧 = {𝐴}) → 𝑧 = ⟨𝑥, 𝑥⟩)
81 opeq12 4803 . . . . . . . . . . . 12 ((𝑤 = 𝑥𝑣 = 𝑥) → ⟨𝑤, 𝑣⟩ = ⟨𝑥, 𝑥⟩)
8281eqeq2d 2749 . . . . . . . . . . 11 ((𝑤 = 𝑥𝑣 = 𝑥) → (𝑧 = ⟨𝑤, 𝑣⟩ ↔ 𝑧 = ⟨𝑥, 𝑥⟩))
8318, 18, 82spc2ev 3536 . . . . . . . . . 10 (𝑧 = ⟨𝑥, 𝑥⟩ → ∃𝑤𝑣 𝑧 = ⟨𝑤, 𝑣⟩)
8480, 83syl 17 . . . . . . . . 9 ((𝐴 = {𝑥} ∧ 𝑧 = {𝐴}) → ∃𝑤𝑣 𝑧 = ⟨𝑤, 𝑣⟩)
8584adantlr 711 . . . . . . . 8 (((𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}) ∧ 𝑧 = {𝐴}) → ∃𝑤𝑣 𝑧 = ⟨𝑤, 𝑣⟩)
86 preq12 4668 . . . . . . . . . . . 12 ((𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}) → {𝐴, 𝐵} = {{𝑥}, {𝑥, 𝑦}})
8786eqeq2d 2749 . . . . . . . . . . 11 ((𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}) → (𝑧 = {𝐴, 𝐵} ↔ 𝑧 = {{𝑥}, {𝑥, 𝑦}}))
8887biimpa 476 . . . . . . . . . 10 (((𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}) ∧ 𝑧 = {𝐴, 𝐵}) → 𝑧 = {{𝑥}, {𝑥, 𝑦}})
8918, 19dfop 4800 . . . . . . . . . 10 𝑥, 𝑦⟩ = {{𝑥}, {𝑥, 𝑦}}
9088, 89eqtr4di 2797 . . . . . . . . 9 (((𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}) ∧ 𝑧 = {𝐴, 𝐵}) → 𝑧 = ⟨𝑥, 𝑦⟩)
91 opeq12 4803 . . . . . . . . . . 11 ((𝑤 = 𝑥𝑣 = 𝑦) → ⟨𝑤, 𝑣⟩ = ⟨𝑥, 𝑦⟩)
9291eqeq2d 2749 . . . . . . . . . 10 ((𝑤 = 𝑥𝑣 = 𝑦) → (𝑧 = ⟨𝑤, 𝑣⟩ ↔ 𝑧 = ⟨𝑥, 𝑦⟩))
9318, 19, 92spc2ev 3536 . . . . . . . . 9 (𝑧 = ⟨𝑥, 𝑦⟩ → ∃𝑤𝑣 𝑧 = ⟨𝑤, 𝑣⟩)
9490, 93syl 17 . . . . . . . 8 (((𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}) ∧ 𝑧 = {𝐴, 𝐵}) → ∃𝑤𝑣 𝑧 = ⟨𝑤, 𝑣⟩)
9585, 94jaodan 954 . . . . . . 7 (((𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}) ∧ (𝑧 = {𝐴} ∨ 𝑧 = {𝐴, 𝐵})) → ∃𝑤𝑣 𝑧 = ⟨𝑤, 𝑣⟩)
9695ex 412 . . . . . 6 ((𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}) → ((𝑧 = {𝐴} ∨ 𝑧 = {𝐴, 𝐵}) → ∃𝑤𝑣 𝑧 = ⟨𝑤, 𝑣⟩))
97 elvv 5652 . . . . . 6 (𝑧 ∈ (V × V) ↔ ∃𝑤𝑣 𝑧 = ⟨𝑤, 𝑣⟩)
9896, 5, 973imtr4g 295 . . . . 5 ((𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}) → (𝑧 ∈ ⟨𝐴, 𝐵⟩ → 𝑧 ∈ (V × V)))
9998ssrdv 3923 . . . 4 ((𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}) → ⟨𝐴, 𝐵⟩ ⊆ (V × V))
10099exlimivv 1936 . . 3 (∃𝑥𝑦(𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}) → ⟨𝐴, 𝐵⟩ ⊆ (V × V))
10173, 100impbii 208 . 2 (⟨𝐴, 𝐵⟩ ⊆ (V × V) ↔ ∃𝑥𝑦(𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}))
1021, 101bitri 274 1 (Rel ⟨𝐴, 𝐵⟩ ↔ ∃𝑥𝑦(𝐴 = {𝑥} ∧ 𝐵 = {𝑥, 𝑦}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843  wal 1537   = wceq 1539  wex 1783  wcel 2108  Vcvv 3422  wss 3883  {csn 4558  {cpr 4560  cop 4564   × cxp 5578  Rel wrel 5585
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ne 2943  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-opab 5133  df-xp 5586  df-rel 5587
This theorem is referenced by:  funopg  6452
  Copyright terms: Public domain W3C validator