Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  pr1eqbg Structured version   Visualization version   GIF version

Theorem pr1eqbg 40313
Description: A (proper) pair is equal to another (maybe inproper) pair containing one element of the first pair if and only if the other element of the first pair is contained in the second pair. (Contributed by Alexander van der Vekens, 26-Jan-2018.)
Assertion
Ref Expression
pr1eqbg (((𝐴𝑈𝐵𝑉𝐶𝑋) ∧ 𝐴𝐵) → (𝐴 = 𝐶 ↔ {𝐴, 𝐵} = {𝐵, 𝐶}))

Proof of Theorem pr1eqbg
StepHypRef Expression
1 eqid 2610 . . . . 5 𝐵 = 𝐵
21biantru 525 . . . 4 (𝐴 = 𝐶 ↔ (𝐴 = 𝐶𝐵 = 𝐵))
32orbi2i 540 . . 3 (((𝐴 = 𝐵𝐵 = 𝐶) ∨ 𝐴 = 𝐶) ↔ ((𝐴 = 𝐵𝐵 = 𝐶) ∨ (𝐴 = 𝐶𝐵 = 𝐵)))
43a1i 11 . 2 (((𝐴𝑈𝐵𝑉𝐶𝑋) ∧ 𝐴𝐵) → (((𝐴 = 𝐵𝐵 = 𝐶) ∨ 𝐴 = 𝐶) ↔ ((𝐴 = 𝐵𝐵 = 𝐶) ∨ (𝐴 = 𝐶𝐵 = 𝐵))))
5 df-ne 2782 . . . . . 6 (𝐴𝐵 ↔ ¬ 𝐴 = 𝐵)
65biimpi 205 . . . . 5 (𝐴𝐵 → ¬ 𝐴 = 𝐵)
76adantl 481 . . . 4 (((𝐴𝑈𝐵𝑉𝐶𝑋) ∧ 𝐴𝐵) → ¬ 𝐴 = 𝐵)
87intnanrd 954 . . 3 (((𝐴𝑈𝐵𝑉𝐶𝑋) ∧ 𝐴𝐵) → ¬ (𝐴 = 𝐵𝐵 = 𝐶))
9 biorf 419 . . 3 (¬ (𝐴 = 𝐵𝐵 = 𝐶) → (𝐴 = 𝐶 ↔ ((𝐴 = 𝐵𝐵 = 𝐶) ∨ 𝐴 = 𝐶)))
108, 9syl 17 . 2 (((𝐴𝑈𝐵𝑉𝐶𝑋) ∧ 𝐴𝐵) → (𝐴 = 𝐶 ↔ ((𝐴 = 𝐵𝐵 = 𝐶) ∨ 𝐴 = 𝐶)))
11 3simpa 1051 . . . . 5 ((𝐴𝑈𝐵𝑉𝐶𝑋) → (𝐴𝑈𝐵𝑉))
12 3simpc 1053 . . . . 5 ((𝐴𝑈𝐵𝑉𝐶𝑋) → (𝐵𝑉𝐶𝑋))
1311, 12jca 553 . . . 4 ((𝐴𝑈𝐵𝑉𝐶𝑋) → ((𝐴𝑈𝐵𝑉) ∧ (𝐵𝑉𝐶𝑋)))
1413adantr 480 . . 3 (((𝐴𝑈𝐵𝑉𝐶𝑋) ∧ 𝐴𝐵) → ((𝐴𝑈𝐵𝑉) ∧ (𝐵𝑉𝐶𝑋)))
15 preq12bg 4326 . . 3 (((𝐴𝑈𝐵𝑉) ∧ (𝐵𝑉𝐶𝑋)) → ({𝐴, 𝐵} = {𝐵, 𝐶} ↔ ((𝐴 = 𝐵𝐵 = 𝐶) ∨ (𝐴 = 𝐶𝐵 = 𝐵))))
1614, 15syl 17 . 2 (((𝐴𝑈𝐵𝑉𝐶𝑋) ∧ 𝐴𝐵) → ({𝐴, 𝐵} = {𝐵, 𝐶} ↔ ((𝐴 = 𝐵𝐵 = 𝐶) ∨ (𝐴 = 𝐶𝐵 = 𝐵))))
174, 10, 163bitr4d 299 1 (((𝐴𝑈𝐵𝑉𝐶𝑋) ∧ 𝐴𝐵) → (𝐴 = 𝐶 ↔ {𝐴, 𝐵} = {𝐵, 𝐶}))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wo 382  wa 383  w3a 1031   = wceq 1475  wcel 1977  wne 2780  {cpr 4127
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-v 3175  df-un 3545  df-sn 4126  df-pr 4128
This theorem is referenced by:  pr1nebg  40314
  Copyright terms: Public domain W3C validator