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

Theorem prproe 4830
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 4583 . . 3 (𝐶 ∈ {𝐴, 𝐵} → (𝐶 = 𝐴𝐶 = 𝐵))
2 simprrr 780 . . . . . . 7 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵𝑉)
3 necom 3069 . . . . . . . . . 10 (𝐴𝐵𝐵𝐴)
4 neeq2 3079 . . . . . . . . . . . 12 (𝐴 = 𝐶 → (𝐵𝐴𝐵𝐶))
54eqcoms 2829 . . . . . . . . . . 11 (𝐶 = 𝐴 → (𝐵𝐴𝐵𝐶))
65biimpcd 251 . . . . . . . . . 10 (𝐵𝐴 → (𝐶 = 𝐴𝐵𝐶))
73, 6sylbi 219 . . . . . . . . 9 (𝐴𝐵 → (𝐶 = 𝐴𝐵𝐶))
87adantr 483 . . . . . . . 8 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → (𝐶 = 𝐴𝐵𝐶))
98impcom 410 . . . . . . 7 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵𝐶)
10 eldifsn 4713 . . . . . . 7 (𝐵 ∈ (𝑉 ∖ {𝐶}) ↔ (𝐵𝑉𝐵𝐶))
112, 9, 10sylanbrc 585 . . . . . 6 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵 ∈ (𝑉 ∖ {𝐶}))
12 eleq1 2900 . . . . . . 7 (𝑣 = 𝐵 → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐵 ∈ {𝐴, 𝐵}))
1312adantl 484 . . . . . 6 (((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) ∧ 𝑣 = 𝐵) → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐵 ∈ {𝐴, 𝐵}))
14 prid2g 4691 . . . . . . . . 9 (𝐵𝑉𝐵 ∈ {𝐴, 𝐵})
1514adantl 484 . . . . . . . 8 ((𝐴𝑉𝐵𝑉) → 𝐵 ∈ {𝐴, 𝐵})
1615adantl 484 . . . . . . 7 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → 𝐵 ∈ {𝐴, 𝐵})
1716adantl 484 . . . . . 6 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵 ∈ {𝐴, 𝐵})
1811, 13, 17rspcedvd 3626 . . . . 5 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵})
1918ex 415 . . . 4 (𝐶 = 𝐴 → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
20 simprrl 779 . . . . . . 7 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴𝑉)
21 neeq2 3079 . . . . . . . . . . 11 (𝐵 = 𝐶 → (𝐴𝐵𝐴𝐶))
2221eqcoms 2829 . . . . . . . . . 10 (𝐶 = 𝐵 → (𝐴𝐵𝐴𝐶))
2322biimpcd 251 . . . . . . . . 9 (𝐴𝐵 → (𝐶 = 𝐵𝐴𝐶))
2423adantr 483 . . . . . . . 8 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → (𝐶 = 𝐵𝐴𝐶))
2524impcom 410 . . . . . . 7 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴𝐶)
26 eldifsn 4713 . . . . . . 7 (𝐴 ∈ (𝑉 ∖ {𝐶}) ↔ (𝐴𝑉𝐴𝐶))
2720, 25, 26sylanbrc 585 . . . . . 6 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴 ∈ (𝑉 ∖ {𝐶}))
28 eleq1 2900 . . . . . . 7 (𝑣 = 𝐴 → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐴 ∈ {𝐴, 𝐵}))
2928adantl 484 . . . . . 6 (((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) ∧ 𝑣 = 𝐴) → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐴 ∈ {𝐴, 𝐵}))
30 prid1g 4690 . . . . . . . . 9 (𝐴𝑉𝐴 ∈ {𝐴, 𝐵})
3130adantr 483 . . . . . . . 8 ((𝐴𝑉𝐵𝑉) → 𝐴 ∈ {𝐴, 𝐵})
3231adantl 484 . . . . . . 7 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → 𝐴 ∈ {𝐴, 𝐵})
3332adantl 484 . . . . . 6 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴 ∈ {𝐴, 𝐵})
3427, 29, 33rspcedvd 3626 . . . . 5 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵})
3534ex 415 . . . 4 (𝐶 = 𝐵 → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
3619, 35jaoi 853 . . 3 ((𝐶 = 𝐴𝐶 = 𝐵) → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
371, 36syl 17 . 2 (𝐶 ∈ {𝐴, 𝐵} → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
38373impib 1112 1 ((𝐶 ∈ {𝐴, 𝐵} ∧ 𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wo 843  w3a 1083   = wceq 1533  wcel 2110  wne 3016  wrex 3139  cdif 3933  {csn 4561  {cpr 4563
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-v 3497  df-dif 3939  df-un 3941  df-sn 4562  df-pr 4564
This theorem is referenced by:  edglnl  26922
  Copyright terms: Public domain W3C validator