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

Theorem disjpr2 4609
Description: Two completely distinct unordered pairs are disjoint. (Contributed by Alexander van der Vekens, 11-Nov-2017.) (Proof shortened by JJ, 23-Jul-2021.)
Assertion
Ref Expression
disjpr2 (((𝐴𝐶𝐵𝐶) ∧ (𝐴𝐷𝐵𝐷)) → ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ∅)

Proof of Theorem disjpr2
StepHypRef Expression
1 df-pr 4528 . . . 4 {𝐶, 𝐷} = ({𝐶} ∪ {𝐷})
21ineq2i 4136 . . 3 ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ({𝐴, 𝐵} ∩ ({𝐶} ∪ {𝐷}))
3 indi 4200 . . 3 ({𝐴, 𝐵} ∩ ({𝐶} ∪ {𝐷})) = (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷}))
42, 3eqtri 2821 . 2 ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷}))
5 df-pr 4528 . . . . . . . 8 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
65ineq1i 4135 . . . . . . 7 ({𝐴, 𝐵} ∩ {𝐶}) = (({𝐴} ∪ {𝐵}) ∩ {𝐶})
7 indir 4202 . . . . . . 7 (({𝐴} ∪ {𝐵}) ∩ {𝐶}) = (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶}))
86, 7eqtri 2821 . . . . . 6 ({𝐴, 𝐵} ∩ {𝐶}) = (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶}))
9 disjsn2 4608 . . . . . . . 8 (𝐴𝐶 → ({𝐴} ∩ {𝐶}) = ∅)
10 disjsn2 4608 . . . . . . . 8 (𝐵𝐶 → ({𝐵} ∩ {𝐶}) = ∅)
119, 10anim12i 615 . . . . . . 7 ((𝐴𝐶𝐵𝐶) → (({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅))
12 un00 4350 . . . . . . 7 ((({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅) ↔ (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶})) = ∅)
1311, 12sylib 221 . . . . . 6 ((𝐴𝐶𝐵𝐶) → (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶})) = ∅)
148, 13syl5eq 2845 . . . . 5 ((𝐴𝐶𝐵𝐶) → ({𝐴, 𝐵} ∩ {𝐶}) = ∅)
1514adantr 484 . . . 4 (((𝐴𝐶𝐵𝐶) ∧ (𝐴𝐷𝐵𝐷)) → ({𝐴, 𝐵} ∩ {𝐶}) = ∅)
165ineq1i 4135 . . . . . . 7 ({𝐴, 𝐵} ∩ {𝐷}) = (({𝐴} ∪ {𝐵}) ∩ {𝐷})
17 indir 4202 . . . . . . 7 (({𝐴} ∪ {𝐵}) ∩ {𝐷}) = (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷}))
1816, 17eqtri 2821 . . . . . 6 ({𝐴, 𝐵} ∩ {𝐷}) = (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷}))
19 disjsn2 4608 . . . . . . . 8 (𝐴𝐷 → ({𝐴} ∩ {𝐷}) = ∅)
20 disjsn2 4608 . . . . . . . 8 (𝐵𝐷 → ({𝐵} ∩ {𝐷}) = ∅)
2119, 20anim12i 615 . . . . . . 7 ((𝐴𝐷𝐵𝐷) → (({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅))
22 un00 4350 . . . . . . 7 ((({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅) ↔ (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷})) = ∅)
2321, 22sylib 221 . . . . . 6 ((𝐴𝐷𝐵𝐷) → (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷})) = ∅)
2418, 23syl5eq 2845 . . . . 5 ((𝐴𝐷𝐵𝐷) → ({𝐴, 𝐵} ∩ {𝐷}) = ∅)
2524adantl 485 . . . 4 (((𝐴𝐶𝐵𝐶) ∧ (𝐴𝐷𝐵𝐷)) → ({𝐴, 𝐵} ∩ {𝐷}) = ∅)
2615, 25uneq12d 4091 . . 3 (((𝐴𝐶𝐵𝐶) ∧ (𝐴𝐷𝐵𝐷)) → (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷})) = (∅ ∪ ∅))
27 un0 4298 . . 3 (∅ ∪ ∅) = ∅
2826, 27eqtrdi 2849 . 2 (((𝐴𝐶𝐵𝐶) ∧ (𝐴𝐷𝐵𝐷)) → (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷})) = ∅)
294, 28syl5eq 2845 1 (((𝐴𝐶𝐵𝐶) ∧ (𝐴𝐷𝐵𝐷)) → ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ∅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1538  wne 2987  cun 3879  cin 3880  c0 4243  {csn 4525  {cpr 4527
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-tru 1541  df-ex 1782  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-ne 2988  df-ral 3111  df-rab 3115  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-sn 4526  df-pr 4528
This theorem is referenced by:  disjprsn  4610  disjtp2  4612  funcnvqp  6388
  Copyright terms: Public domain W3C validator