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

Theorem prproe 4837
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 779 . . . . . . 7 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵𝑉)
3 necom 2997 . . . . . . . . . 10 (𝐴𝐵𝐵𝐴)
4 neeq2 3007 . . . . . . . . . . . 12 (𝐴 = 𝐶 → (𝐵𝐴𝐵𝐶))
54eqcoms 2746 . . . . . . . . . . 11 (𝐶 = 𝐴 → (𝐵𝐴𝐵𝐶))
65biimpcd 248 . . . . . . . . . 10 (𝐵𝐴 → (𝐶 = 𝐴𝐵𝐶))
73, 6sylbi 216 . . . . . . . . 9 (𝐴𝐵 → (𝐶 = 𝐴𝐵𝐶))
87adantr 481 . . . . . . . 8 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → (𝐶 = 𝐴𝐵𝐶))
98impcom 408 . . . . . . 7 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵𝐶)
10 eldifsn 4720 . . . . . . 7 (𝐵 ∈ (𝑉 ∖ {𝐶}) ↔ (𝐵𝑉𝐵𝐶))
112, 9, 10sylanbrc 583 . . . . . 6 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵 ∈ (𝑉 ∖ {𝐶}))
12 eleq1 2826 . . . . . . 7 (𝑣 = 𝐵 → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐵 ∈ {𝐴, 𝐵}))
1312adantl 482 . . . . . 6 (((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) ∧ 𝑣 = 𝐵) → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐵 ∈ {𝐴, 𝐵}))
14 prid2g 4697 . . . . . . . . 9 (𝐵𝑉𝐵 ∈ {𝐴, 𝐵})
1514adantl 482 . . . . . . . 8 ((𝐴𝑉𝐵𝑉) → 𝐵 ∈ {𝐴, 𝐵})
1615adantl 482 . . . . . . 7 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → 𝐵 ∈ {𝐴, 𝐵})
1716adantl 482 . . . . . 6 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵 ∈ {𝐴, 𝐵})
1811, 13, 17rspcedvd 3563 . . . . 5 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵})
1918ex 413 . . . 4 (𝐶 = 𝐴 → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
20 simprrl 778 . . . . . . 7 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴𝑉)
21 neeq2 3007 . . . . . . . . . . 11 (𝐵 = 𝐶 → (𝐴𝐵𝐴𝐶))
2221eqcoms 2746 . . . . . . . . . 10 (𝐶 = 𝐵 → (𝐴𝐵𝐴𝐶))
2322biimpcd 248 . . . . . . . . 9 (𝐴𝐵 → (𝐶 = 𝐵𝐴𝐶))
2423adantr 481 . . . . . . . 8 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → (𝐶 = 𝐵𝐴𝐶))
2524impcom 408 . . . . . . 7 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴𝐶)
26 eldifsn 4720 . . . . . . 7 (𝐴 ∈ (𝑉 ∖ {𝐶}) ↔ (𝐴𝑉𝐴𝐶))
2720, 25, 26sylanbrc 583 . . . . . 6 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴 ∈ (𝑉 ∖ {𝐶}))
28 eleq1 2826 . . . . . . 7 (𝑣 = 𝐴 → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐴 ∈ {𝐴, 𝐵}))
2928adantl 482 . . . . . 6 (((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) ∧ 𝑣 = 𝐴) → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐴 ∈ {𝐴, 𝐵}))
30 prid1g 4696 . . . . . . . . 9 (𝐴𝑉𝐴 ∈ {𝐴, 𝐵})
3130adantr 481 . . . . . . . 8 ((𝐴𝑉𝐵𝑉) → 𝐴 ∈ {𝐴, 𝐵})
3231adantl 482 . . . . . . 7 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → 𝐴 ∈ {𝐴, 𝐵})
3332adantl 482 . . . . . 6 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴 ∈ {𝐴, 𝐵})
3427, 29, 33rspcedvd 3563 . . . . 5 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵})
3534ex 413 . . . 4 (𝐶 = 𝐵 → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
3619, 35jaoi 854 . . 3 ((𝐶 = 𝐴𝐶 = 𝐵) → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
371, 36syl 17 . 2 (𝐶 ∈ {𝐴, 𝐵} → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
38373impib 1115 1 ((𝐶 ∈ {𝐴, 𝐵} ∧ 𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wo 844  w3a 1086   = wceq 1539  wcel 2106  wne 2943  wrex 3065  cdif 3884  {csn 4561  {cpr 4563
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ne 2944  df-ral 3069  df-rex 3070  df-v 3434  df-dif 3890  df-un 3892  df-sn 4562  df-pr 4564
This theorem is referenced by:  edglnl  27513
  Copyright terms: Public domain W3C validator