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

Theorem prproe 4798
Description: For an element of a proper unordered pair of elements of a class 𝑉, there is another (different) element of the class 𝑉 which is an element of the proper pair. (Contributed by AV, 18-Dec-2021.)
Assertion
Ref Expression
prproe ((𝐶 ∈ {𝐴, 𝐵} ∧ 𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵})
Distinct variable groups:   𝑣,𝐴   𝑣,𝐵   𝑣,𝐶   𝑣,𝑉

Proof of Theorem prproe
StepHypRef Expression
1 elpri 4547 . . 3 (𝐶 ∈ {𝐴, 𝐵} → (𝐶 = 𝐴𝐶 = 𝐵))
2 simprrr 781 . . . . . . 7 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵𝑉)
3 necom 3040 . . . . . . . . . 10 (𝐴𝐵𝐵𝐴)
4 neeq2 3050 . . . . . . . . . . . 12 (𝐴 = 𝐶 → (𝐵𝐴𝐵𝐶))
54eqcoms 2806 . . . . . . . . . . 11 (𝐶 = 𝐴 → (𝐵𝐴𝐵𝐶))
65biimpcd 252 . . . . . . . . . 10 (𝐵𝐴 → (𝐶 = 𝐴𝐵𝐶))
73, 6sylbi 220 . . . . . . . . 9 (𝐴𝐵 → (𝐶 = 𝐴𝐵𝐶))
87adantr 484 . . . . . . . 8 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → (𝐶 = 𝐴𝐵𝐶))
98impcom 411 . . . . . . 7 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵𝐶)
10 eldifsn 4680 . . . . . . 7 (𝐵 ∈ (𝑉 ∖ {𝐶}) ↔ (𝐵𝑉𝐵𝐶))
112, 9, 10sylanbrc 586 . . . . . 6 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵 ∈ (𝑉 ∖ {𝐶}))
12 eleq1 2877 . . . . . . 7 (𝑣 = 𝐵 → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐵 ∈ {𝐴, 𝐵}))
1312adantl 485 . . . . . 6 (((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) ∧ 𝑣 = 𝐵) → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐵 ∈ {𝐴, 𝐵}))
14 prid2g 4657 . . . . . . . . 9 (𝐵𝑉𝐵 ∈ {𝐴, 𝐵})
1514adantl 485 . . . . . . . 8 ((𝐴𝑉𝐵𝑉) → 𝐵 ∈ {𝐴, 𝐵})
1615adantl 485 . . . . . . 7 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → 𝐵 ∈ {𝐴, 𝐵})
1716adantl 485 . . . . . 6 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵 ∈ {𝐴, 𝐵})
1811, 13, 17rspcedvd 3574 . . . . 5 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵})
1918ex 416 . . . 4 (𝐶 = 𝐴 → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
20 simprrl 780 . . . . . . 7 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴𝑉)
21 neeq2 3050 . . . . . . . . . . 11 (𝐵 = 𝐶 → (𝐴𝐵𝐴𝐶))
2221eqcoms 2806 . . . . . . . . . 10 (𝐶 = 𝐵 → (𝐴𝐵𝐴𝐶))
2322biimpcd 252 . . . . . . . . 9 (𝐴𝐵 → (𝐶 = 𝐵𝐴𝐶))
2423adantr 484 . . . . . . . 8 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → (𝐶 = 𝐵𝐴𝐶))
2524impcom 411 . . . . . . 7 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴𝐶)
26 eldifsn 4680 . . . . . . 7 (𝐴 ∈ (𝑉 ∖ {𝐶}) ↔ (𝐴𝑉𝐴𝐶))
2720, 25, 26sylanbrc 586 . . . . . 6 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴 ∈ (𝑉 ∖ {𝐶}))
28 eleq1 2877 . . . . . . 7 (𝑣 = 𝐴 → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐴 ∈ {𝐴, 𝐵}))
2928adantl 485 . . . . . 6 (((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) ∧ 𝑣 = 𝐴) → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐴 ∈ {𝐴, 𝐵}))
30 prid1g 4656 . . . . . . . . 9 (𝐴𝑉𝐴 ∈ {𝐴, 𝐵})
3130adantr 484 . . . . . . . 8 ((𝐴𝑉𝐵𝑉) → 𝐴 ∈ {𝐴, 𝐵})
3231adantl 485 . . . . . . 7 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → 𝐴 ∈ {𝐴, 𝐵})
3332adantl 485 . . . . . 6 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴 ∈ {𝐴, 𝐵})
3427, 29, 33rspcedvd 3574 . . . . 5 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵})
3534ex 416 . . . 4 (𝐶 = 𝐵 → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
3619, 35jaoi 854 . . 3 ((𝐶 = 𝐴𝐶 = 𝐵) → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
371, 36syl 17 . 2 (𝐶 ∈ {𝐴, 𝐵} → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
38373impib 1113 1 ((𝐶 ∈ {𝐴, 𝐵} ∧ 𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wo 844  w3a 1084   = wceq 1538  wcel 2111  wne 2987  wrex 3107  cdif 3878  {csn 4525  {cpr 4527
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-ne 2988  df-ral 3111  df-rex 3112  df-v 3443  df-dif 3884  df-un 3886  df-sn 4526  df-pr 4528
This theorem is referenced by:  edglnl  26936
  Copyright terms: Public domain W3C validator