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

Theorem prproe 4834
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 4580 . . 3 (𝐶 ∈ {𝐴, 𝐵} → (𝐶 = 𝐴𝐶 = 𝐵))
2 simprrr 778 . . . . . . 7 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵𝑉)
3 necom 2996 . . . . . . . . . 10 (𝐴𝐵𝐵𝐴)
4 neeq2 3006 . . . . . . . . . . . 12 (𝐴 = 𝐶 → (𝐵𝐴𝐵𝐶))
54eqcoms 2746 . . . . . . . . . . 11 (𝐶 = 𝐴 → (𝐵𝐴𝐵𝐶))
65biimpcd 248 . . . . . . . . . 10 (𝐵𝐴 → (𝐶 = 𝐴𝐵𝐶))
73, 6sylbi 216 . . . . . . . . 9 (𝐴𝐵 → (𝐶 = 𝐴𝐵𝐶))
87adantr 480 . . . . . . . 8 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → (𝐶 = 𝐴𝐵𝐶))
98impcom 407 . . . . . . 7 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵𝐶)
10 eldifsn 4717 . . . . . . 7 (𝐵 ∈ (𝑉 ∖ {𝐶}) ↔ (𝐵𝑉𝐵𝐶))
112, 9, 10sylanbrc 582 . . . . . 6 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵 ∈ (𝑉 ∖ {𝐶}))
12 eleq1 2826 . . . . . . 7 (𝑣 = 𝐵 → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐵 ∈ {𝐴, 𝐵}))
1312adantl 481 . . . . . 6 (((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) ∧ 𝑣 = 𝐵) → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐵 ∈ {𝐴, 𝐵}))
14 prid2g 4694 . . . . . . . . 9 (𝐵𝑉𝐵 ∈ {𝐴, 𝐵})
1514adantl 481 . . . . . . . 8 ((𝐴𝑉𝐵𝑉) → 𝐵 ∈ {𝐴, 𝐵})
1615adantl 481 . . . . . . 7 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → 𝐵 ∈ {𝐴, 𝐵})
1716adantl 481 . . . . . 6 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵 ∈ {𝐴, 𝐵})
1811, 13, 17rspcedvd 3555 . . . . 5 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵})
1918ex 412 . . . 4 (𝐶 = 𝐴 → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
20 simprrl 777 . . . . . . 7 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴𝑉)
21 neeq2 3006 . . . . . . . . . . 11 (𝐵 = 𝐶 → (𝐴𝐵𝐴𝐶))
2221eqcoms 2746 . . . . . . . . . 10 (𝐶 = 𝐵 → (𝐴𝐵𝐴𝐶))
2322biimpcd 248 . . . . . . . . 9 (𝐴𝐵 → (𝐶 = 𝐵𝐴𝐶))
2423adantr 480 . . . . . . . 8 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → (𝐶 = 𝐵𝐴𝐶))
2524impcom 407 . . . . . . 7 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴𝐶)
26 eldifsn 4717 . . . . . . 7 (𝐴 ∈ (𝑉 ∖ {𝐶}) ↔ (𝐴𝑉𝐴𝐶))
2720, 25, 26sylanbrc 582 . . . . . 6 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴 ∈ (𝑉 ∖ {𝐶}))
28 eleq1 2826 . . . . . . 7 (𝑣 = 𝐴 → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐴 ∈ {𝐴, 𝐵}))
2928adantl 481 . . . . . 6 (((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) ∧ 𝑣 = 𝐴) → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐴 ∈ {𝐴, 𝐵}))
30 prid1g 4693 . . . . . . . . 9 (𝐴𝑉𝐴 ∈ {𝐴, 𝐵})
3130adantr 480 . . . . . . . 8 ((𝐴𝑉𝐵𝑉) → 𝐴 ∈ {𝐴, 𝐵})
3231adantl 481 . . . . . . 7 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → 𝐴 ∈ {𝐴, 𝐵})
3332adantl 481 . . . . . 6 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴 ∈ {𝐴, 𝐵})
3427, 29, 33rspcedvd 3555 . . . . 5 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵})
3534ex 412 . . . 4 (𝐶 = 𝐵 → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
3619, 35jaoi 853 . . 3 ((𝐶 = 𝐴𝐶 = 𝐵) → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
371, 36syl 17 . 2 (𝐶 ∈ {𝐴, 𝐵} → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
38373impib 1114 1 ((𝐶 ∈ {𝐴, 𝐵} ∧ 𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843  w3a 1085   = wceq 1539  wcel 2108  wne 2942  wrex 3064  cdif 3880  {csn 4558  {cpr 4560
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
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ne 2943  df-ral 3068  df-rex 3069  df-v 3424  df-dif 3886  df-un 3888  df-sn 4559  df-pr 4561
This theorem is referenced by:  edglnl  27416
  Copyright terms: Public domain W3C validator