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

Theorem prproe 4434
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 4197 . . 3 (𝐶 ∈ {𝐴, 𝐵} → (𝐶 = 𝐴𝐶 = 𝐵))
2 simprrr 805 . . . . . . 7 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵𝑉)
3 necom 2847 . . . . . . . . . 10 (𝐴𝐵𝐵𝐴)
4 neeq2 2857 . . . . . . . . . . . 12 (𝐴 = 𝐶 → (𝐵𝐴𝐵𝐶))
54eqcoms 2630 . . . . . . . . . . 11 (𝐶 = 𝐴 → (𝐵𝐴𝐵𝐶))
65biimpcd 239 . . . . . . . . . 10 (𝐵𝐴 → (𝐶 = 𝐴𝐵𝐶))
73, 6sylbi 207 . . . . . . . . 9 (𝐴𝐵 → (𝐶 = 𝐴𝐵𝐶))
87adantr 481 . . . . . . . 8 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → (𝐶 = 𝐴𝐵𝐶))
98impcom 446 . . . . . . 7 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵𝐶)
10 eldifsn 4317 . . . . . . 7 (𝐵 ∈ (𝑉 ∖ {𝐶}) ↔ (𝐵𝑉𝐵𝐶))
112, 9, 10sylanbrc 698 . . . . . 6 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵 ∈ (𝑉 ∖ {𝐶}))
12 eleq1 2689 . . . . . . 7 (𝑣 = 𝐵 → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐵 ∈ {𝐴, 𝐵}))
1312adantl 482 . . . . . 6 (((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) ∧ 𝑣 = 𝐵) → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐵 ∈ {𝐴, 𝐵}))
14 prid2g 4296 . . . . . . . . 9 (𝐵𝑉𝐵 ∈ {𝐴, 𝐵})
1514adantl 482 . . . . . . . 8 ((𝐴𝑉𝐵𝑉) → 𝐵 ∈ {𝐴, 𝐵})
1615adantl 482 . . . . . . 7 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → 𝐵 ∈ {𝐴, 𝐵})
1716adantl 482 . . . . . 6 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐵 ∈ {𝐴, 𝐵})
1811, 13, 17rspcedvd 3317 . . . . 5 ((𝐶 = 𝐴 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵})
1918ex 450 . . . 4 (𝐶 = 𝐴 → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
20 simprrl 804 . . . . . . 7 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴𝑉)
21 neeq2 2857 . . . . . . . . . . 11 (𝐵 = 𝐶 → (𝐴𝐵𝐴𝐶))
2221eqcoms 2630 . . . . . . . . . 10 (𝐶 = 𝐵 → (𝐴𝐵𝐴𝐶))
2322biimpcd 239 . . . . . . . . 9 (𝐴𝐵 → (𝐶 = 𝐵𝐴𝐶))
2423adantr 481 . . . . . . . 8 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → (𝐶 = 𝐵𝐴𝐶))
2524impcom 446 . . . . . . 7 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴𝐶)
26 eldifsn 4317 . . . . . . 7 (𝐴 ∈ (𝑉 ∖ {𝐶}) ↔ (𝐴𝑉𝐴𝐶))
2720, 25, 26sylanbrc 698 . . . . . 6 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴 ∈ (𝑉 ∖ {𝐶}))
28 eleq1 2689 . . . . . . 7 (𝑣 = 𝐴 → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐴 ∈ {𝐴, 𝐵}))
2928adantl 482 . . . . . 6 (((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) ∧ 𝑣 = 𝐴) → (𝑣 ∈ {𝐴, 𝐵} ↔ 𝐴 ∈ {𝐴, 𝐵}))
30 prid1g 4295 . . . . . . . . 9 (𝐴𝑉𝐴 ∈ {𝐴, 𝐵})
3130adantr 481 . . . . . . . 8 ((𝐴𝑉𝐵𝑉) → 𝐴 ∈ {𝐴, 𝐵})
3231adantl 482 . . . . . . 7 ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → 𝐴 ∈ {𝐴, 𝐵})
3332adantl 482 . . . . . 6 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → 𝐴 ∈ {𝐴, 𝐵})
3427, 29, 33rspcedvd 3317 . . . . 5 ((𝐶 = 𝐵 ∧ (𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉))) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵})
3534ex 450 . . . 4 (𝐶 = 𝐵 → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
3619, 35jaoi 394 . . 3 ((𝐶 = 𝐴𝐶 = 𝐵) → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
371, 36syl 17 . 2 (𝐶 ∈ {𝐴, 𝐵} → ((𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵}))
38373impib 1262 1 ((𝐶 ∈ {𝐴, 𝐵} ∧ 𝐴𝐵 ∧ (𝐴𝑉𝐵𝑉)) → ∃𝑣 ∈ (𝑉 ∖ {𝐶})𝑣 ∈ {𝐴, 𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wo 383  wa 384  w3a 1037   = wceq 1483  wcel 1990  wne 2794  wrex 2913  cdif 3571  {csn 4177  {cpr 4179
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-v 3202  df-dif 3577  df-un 3579  df-sn 4178  df-pr 4180
This theorem is referenced by:  edglnl  26038
  Copyright terms: Public domain W3C validator