Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  pr2cv Structured version   Visualization version   GIF version

Theorem pr2cv 44507
Description: If an unordered pair is equinumerous to ordinal two, then both parts are sets. (Contributed by RP, 8-Oct-2023.)
Assertion
Ref Expression
pr2cv ({𝐴, 𝐵} ≈ 2o → (𝐴 ∈ V ∧ 𝐵 ∈ V))

Proof of Theorem pr2cv
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 en2 9255 . 2 ({𝐴, 𝐵} ≈ 2o → ∃𝑥∃𝑦{𝐴, 𝐵} = {𝑥, 𝑦})
2 breq1 5106 . . . 4 ({𝐴, 𝐵} = {𝑥, 𝑦} → ({𝐴, 𝐵} ≈ 2o ↔ {𝑥, 𝑦} ≈ 2o))
3 vex 3455 . . . . . . 7 𝑥 ∈ V
4 vex 3455 . . . . . . 7 𝑦 ∈ V
5 pr2ne 10065 . . . . . . . . 9 ((𝑥 ∈ V ∧ 𝑦 ∈ V) → ({𝑥, 𝑦} ≈ 2o ↔ 𝑥 ≠ 𝑦))
65el2v 3458 . . . . . . . 8 ({𝑥, 𝑦} ≈ 2o ↔ 𝑥 ≠ 𝑦)
76biimpi 219 . . . . . . 7 ({𝑥, 𝑦} ≈ 2o → 𝑥 ≠ 𝑦)
8 preq12nebg 4823 . . . . . . . 8 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑥 ≠ 𝑦) → ({𝑥, 𝑦} = {𝐴, 𝐵} ↔ ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) ∨ (𝑥 = 𝐵 ∧ 𝑦 = 𝐴))))
9 eqvisset 3471 . . . . . . . . . 10 (𝑥 = 𝐴 → 𝐴 ∈ V)
10 eqvisset 3471 . . . . . . . . . 10 (𝑦 = 𝐵 → 𝐵 ∈ V)
119, 10anim12i 625 . . . . . . . . 9 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
12 eqvisset 3471 . . . . . . . . . 10 (𝑥 = 𝐵 → 𝐵 ∈ V)
13 eqvisset 3471 . . . . . . . . . 10 (𝑦 = 𝐴 → 𝐴 ∈ V)
1412, 13anim12ci 626 . . . . . . . . 9 ((𝑥 = 𝐵 ∧ 𝑦 = 𝐴) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
1511, 14jaoi 871 . . . . . . . 8 (((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) ∨ (𝑥 = 𝐵 ∧ 𝑦 = 𝐴)) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
168, 15biimtrdi 256 . . . . . . 7 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑥 ≠ 𝑦) → ({𝑥, 𝑦} = {𝐴, 𝐵} → (𝐴 ∈ V ∧ 𝐵 ∈ V)))
173, 4, 7, 16mp3an12i 1494 . . . . . 6 ({𝑥, 𝑦} ≈ 2o → ({𝑥, 𝑦} = {𝐴, 𝐵} → (𝐴 ∈ V ∧ 𝐵 ∈ V)))
1817com12 33 . . . . 5 ({𝑥, 𝑦} = {𝐴, 𝐵} → ({𝑥, 𝑦} ≈ 2o → (𝐴 ∈ V ∧ 𝐵 ∈ V)))
1918eqcoms 2769 . . . 4 ({𝐴, 𝐵} = {𝑥, 𝑦} → ({𝑥, 𝑦} ≈ 2o → (𝐴 ∈ V ∧ 𝐵 ∈ V)))
202, 19sylbid 243 . . 3 ({𝐴, 𝐵} = {𝑥, 𝑦} → ({𝐴, 𝐵} ≈ 2o → (𝐴 ∈ V ∧ 𝐵 ∈ V)))
2120exlimivv 1965 . 2 (∃𝑥∃𝑦{𝐴, 𝐵} = {𝑥, 𝑦} → ({𝐴, 𝐵} ≈ 2o → (𝐴 ∈ V ∧ 𝐵 ∈ V)))
221, 21mpcom 39 1 ({𝐴, 𝐵} ≈ 2o → (𝐴 ∈ V ∧ 𝐵 ∈ V))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   ∧ w3a 1103   = wceq 1570  ∃wex 1812   ∈ wcel 2145   ≠ wne 2956  Vcvv 3451  {cpr 4586   class class class wbr 5103  2oc2o 8454   ≈ cen 8954
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-ord 6358  df-on 6359  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-1o 8460  df-2o 8461  df-en 8958
This theorem is used by:  pr2el1  44508  pr2cv1  44509  pr2el2  44510  pr2cv2  44511  pren2  44512
  Copyright terms: Public domain W3C validator