Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  prpair Structured version   Visualization version   GIF version

Theorem prpair 48291
Description: Characterization of a proper pair: A class is a proper pair iff it consists of exactly two different sets. (Contributed by AV, 11-Mar-2023.)
Hypothesis
Ref Expression
prpair.p 𝑃 = {𝑥 ∈ 𝒫 𝑉 ∣ (♯‘𝑥) = 2}
Assertion
Ref Expression
prpair (𝑋𝑃 ↔ ∃𝑎𝑉𝑏𝑉 (𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏))
Distinct variable groups:   𝑥,𝑉   𝑉,𝑎,𝑏   𝑥,𝑋   𝑋,𝑎,𝑏
Allowed substitution hints:   𝑃(𝑥, 𝑎, 𝑏)

Proof of Theorem prpair
StepHypRef Expression
1 prpair.p . . 3 𝑃 = {𝑥 ∈ 𝒫 𝑉 ∣ (♯‘𝑥) = 2}
21eleq2i 2858 . 2 (𝑋𝑃𝑋 ∈ {𝑥 ∈ 𝒫 𝑉 ∣ (♯‘𝑥) = 2})
3 fveqeq2 6897 . . 3 (𝑥 = 𝑋 → ((♯‘𝑥) = 2 ↔ (♯‘𝑋) = 2))
43elrab 3653 . 2 (𝑋 ∈ {𝑥 ∈ 𝒫 𝑉 ∣ (♯‘𝑥) = 2} ↔ (𝑋 ∈ 𝒫 𝑉 ∧ (♯‘𝑋) = 2))
5 hash2prb 14529 . . . . 5 (𝑋 ∈ 𝒫 𝑉 → ((♯‘𝑋) = 2 ↔ ∃𝑎𝑋𝑏𝑋 (𝑎𝑏𝑋 = {𝑎, 𝑏})))
6 elpwi 4574 . . . . . 6 (𝑋 ∈ 𝒫 𝑉𝑋𝑉)
7 ancom 466 . . . . . . . 8 ((𝑎𝑏𝑋 = {𝑎, 𝑏}) ↔ (𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏))
872rexbii 3144 . . . . . . 7 (∃𝑎𝑋𝑏𝑋 (𝑎𝑏𝑋 = {𝑎, 𝑏}) ↔ ∃𝑎𝑋𝑏𝑋 (𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏))
98biimpi 219 . . . . . 6 (∃𝑎𝑋𝑏𝑋 (𝑎𝑏𝑋 = {𝑎, 𝑏}) → ∃𝑎𝑋𝑏𝑋 (𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏))
10 ss2rexv 4012 . . . . . 6 (𝑋𝑉 → (∃𝑎𝑋𝑏𝑋 (𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏) → ∃𝑎𝑉𝑏𝑉 (𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏)))
116, 9, 10syl2im 41 . . . . 5 (𝑋 ∈ 𝒫 𝑉 → (∃𝑎𝑋𝑏𝑋 (𝑎𝑏𝑋 = {𝑎, 𝑏}) → ∃𝑎𝑉𝑏𝑉 (𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏)))
125, 11sylbid 243 . . . 4 (𝑋 ∈ 𝒫 𝑉 → ((♯‘𝑋) = 2 → ∃𝑎𝑉𝑏𝑉 (𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏)))
1312imp 412 . . 3 ((𝑋 ∈ 𝒫 𝑉 ∧ (♯‘𝑋) = 2) → ∃𝑎𝑉𝑏𝑉 (𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏))
14 prelpwi 5433 . . . . . . 7 ((𝑎𝑉𝑏𝑉) → {𝑎, 𝑏} ∈ 𝒫 𝑉)
1514adantr 486 . . . . . 6 (((𝑎𝑉𝑏𝑉) ∧ (𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏)) → {𝑎, 𝑏} ∈ 𝒫 𝑉)
16 hashprg 14451 . . . . . . . . 9 ((𝑎𝑉𝑏𝑉) → (𝑎𝑏 ↔ (♯‘{𝑎, 𝑏}) = 2))
1716biimpd 232 . . . . . . . 8 ((𝑎𝑉𝑏𝑉) → (𝑎𝑏 → (♯‘{𝑎, 𝑏}) = 2))
1817adantld 496 . . . . . . 7 ((𝑎𝑉𝑏𝑉) → ((𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏) → (♯‘{𝑎, 𝑏}) = 2))
1918imp 412 . . . . . 6 (((𝑎𝑉𝑏𝑉) ∧ (𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏)) → (♯‘{𝑎, 𝑏}) = 2)
20 eleq1 2854 . . . . . . . . 9 (𝑋 = {𝑎, 𝑏} → (𝑋 ∈ 𝒫 𝑉 ↔ {𝑎, 𝑏} ∈ 𝒫 𝑉))
21 fveqeq2 6897 . . . . . . . . 9 (𝑋 = {𝑎, 𝑏} → ((♯‘𝑋) = 2 ↔ (♯‘{𝑎, 𝑏}) = 2))
2220, 21anbi12d 644 . . . . . . . 8 (𝑋 = {𝑎, 𝑏} → ((𝑋 ∈ 𝒫 𝑉 ∧ (♯‘𝑋) = 2) ↔ ({𝑎, 𝑏} ∈ 𝒫 𝑉 ∧ (♯‘{𝑎, 𝑏}) = 2)))
2322adantr 486 . . . . . . 7 ((𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏) → ((𝑋 ∈ 𝒫 𝑉 ∧ (♯‘𝑋) = 2) ↔ ({𝑎, 𝑏} ∈ 𝒫 𝑉 ∧ (♯‘{𝑎, 𝑏}) = 2)))
2423adantl 487 . . . . . 6 (((𝑎𝑉𝑏𝑉) ∧ (𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏)) → ((𝑋 ∈ 𝒫 𝑉 ∧ (♯‘𝑋) = 2) ↔ ({𝑎, 𝑏} ∈ 𝒫 𝑉 ∧ (♯‘{𝑎, 𝑏}) = 2)))
2515, 19, 24mpbir2and 726 . . . . 5 (((𝑎𝑉𝑏𝑉) ∧ (𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏)) → (𝑋 ∈ 𝒫 𝑉 ∧ (♯‘𝑋) = 2))
2625ex 418 . . . 4 ((𝑎𝑉𝑏𝑉) → ((𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏) → (𝑋 ∈ 𝒫 𝑉 ∧ (♯‘𝑋) = 2)))
2726rexlimivv 3210 . . 3 (∃𝑎𝑉𝑏𝑉 (𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏) → (𝑋 ∈ 𝒫 𝑉 ∧ (♯‘𝑋) = 2))
2813, 27impbii 212 . 2 ((𝑋 ∈ 𝒫 𝑉 ∧ (♯‘𝑋) = 2) ↔ ∃𝑎𝑉𝑏𝑉 (𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏))
292, 4, 283bitri 300 1 (𝑋𝑃 ↔ ∃𝑎𝑉𝑏𝑉 (𝑋 = {𝑎, 𝑏} ∧ 𝑎𝑏))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wb 209  wa 401   = wceq 1570  wcel 2146  wne 2961  wrex 3092  {crab 3419  wss 3908  𝒫 cpw 4567  {cpr 4596  cfv 6543  2c2 12313  chash 14386
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 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738  ax-sep 5262  ax-nul 5274  ax-pow 5341  ax-pr 5409  ax-un 7745  ax-cnex 11174  ax-resscn 11175  ax-1cn 11176  ax-icn 11177  ax-addcl 11178  ax-addrcl 11179  ax-mulcl 11180  ax-mulrcl 11181  ax-mulcom 11182  ax-addass 11183  ax-mulass 11184  ax-distr 11185  ax-i2m1 11186  ax-1ne0 11187  ax-1rid 11188  ax-rnegex 11189  ax-rrecex 11190  ax-cnre 11191  ax-pre-lttri 11192  ax-pre-lttrn 11193  ax-pre-ltadd 11194  ax-pre-mulgt0 11195
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 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2841  df-nfc 2915  df-ne 2962  df-nel 3068  df-ral 3083  df-rex 3093  df-reu 3373  df-rab 3420  df-v 3460  df-sbc 3748  df-csb 3857  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-pss 3928  df-nul 4290  df-if 4493  df-pw 4569  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4878  df-int 4918  df-iun 4963  df-br 5115  df-opab 5179  df-mpt 5198  df-tr 5224  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6309  df-ord 6370  df-on 6371  df-lim 6372  df-suc 6373  df-iota 6499  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7380  df-ov 7426  df-oprab 7427  df-mpo 7428  df-om 7872  df-1st 7995  df-2nd 7996  df-frecs 8287  df-wrecs 8318  df-recs 8367  df-rdg 8406  df-1o 8462  df-2o 8463  df-oadd 8466  df-er 8703  df-en 8953  df-dom 8954  df-sdom 8955  df-fin 8956  df-dju 9906  df-card 9944  df-pnf 11263  df-mnf 11264  df-xr 11265  df-ltxr 11266  df-le 11267  df-sub 11461  df-neg 11462  df-nn 12252  df-2 12321  df-n0 12523  df-z 12610  df-uz 12881  df-fz 13554  df-hash 14387
This theorem is used by:  prproropf1olem2  48294  prproropf1olem4  48296
  Copyright terms: Public domain W3C validator