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

Theorem disjpr2 4651
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 4572 . . . 4 {𝐶, 𝐷} = ({𝐶} ∪ {𝐷})
21ineq2i 4188 . . 3 ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ({𝐴, 𝐵} ∩ ({𝐶} ∪ {𝐷}))
3 indi 4252 . . 3 ({𝐴, 𝐵} ∩ ({𝐶} ∪ {𝐷})) = (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷}))
42, 3eqtri 2846 . 2 ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷}))
5 df-pr 4572 . . . . . . . 8 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
65ineq1i 4187 . . . . . . 7 ({𝐴, 𝐵} ∩ {𝐶}) = (({𝐴} ∪ {𝐵}) ∩ {𝐶})
7 indir 4254 . . . . . . 7 (({𝐴} ∪ {𝐵}) ∩ {𝐶}) = (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶}))
86, 7eqtri 2846 . . . . . 6 ({𝐴, 𝐵} ∩ {𝐶}) = (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶}))
9 disjsn2 4650 . . . . . . . 8 (𝐴𝐶 → ({𝐴} ∩ {𝐶}) = ∅)
10 disjsn2 4650 . . . . . . . 8 (𝐵𝐶 → ({𝐵} ∩ {𝐶}) = ∅)
119, 10anim12i 614 . . . . . . 7 ((𝐴𝐶𝐵𝐶) → (({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅))
12 un00 4396 . . . . . . 7 ((({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅) ↔ (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶})) = ∅)
1311, 12sylib 220 . . . . . 6 ((𝐴𝐶𝐵𝐶) → (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶})) = ∅)
148, 13syl5eq 2870 . . . . 5 ((𝐴𝐶𝐵𝐶) → ({𝐴, 𝐵} ∩ {𝐶}) = ∅)
1514adantr 483 . . . 4 (((𝐴𝐶𝐵𝐶) ∧ (𝐴𝐷𝐵𝐷)) → ({𝐴, 𝐵} ∩ {𝐶}) = ∅)
165ineq1i 4187 . . . . . . 7 ({𝐴, 𝐵} ∩ {𝐷}) = (({𝐴} ∪ {𝐵}) ∩ {𝐷})
17 indir 4254 . . . . . . 7 (({𝐴} ∪ {𝐵}) ∩ {𝐷}) = (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷}))
1816, 17eqtri 2846 . . . . . 6 ({𝐴, 𝐵} ∩ {𝐷}) = (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷}))
19 disjsn2 4650 . . . . . . . 8 (𝐴𝐷 → ({𝐴} ∩ {𝐷}) = ∅)
20 disjsn2 4650 . . . . . . . 8 (𝐵𝐷 → ({𝐵} ∩ {𝐷}) = ∅)
2119, 20anim12i 614 . . . . . . 7 ((𝐴𝐷𝐵𝐷) → (({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅))
22 un00 4396 . . . . . . 7 ((({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅) ↔ (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷})) = ∅)
2321, 22sylib 220 . . . . . 6 ((𝐴𝐷𝐵𝐷) → (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷})) = ∅)
2418, 23syl5eq 2870 . . . . 5 ((𝐴𝐷𝐵𝐷) → ({𝐴, 𝐵} ∩ {𝐷}) = ∅)
2524adantl 484 . . . 4 (((𝐴𝐶𝐵𝐶) ∧ (𝐴𝐷𝐵𝐷)) → ({𝐴, 𝐵} ∩ {𝐷}) = ∅)
2615, 25uneq12d 4142 . . 3 (((𝐴𝐶𝐵𝐶) ∧ (𝐴𝐷𝐵𝐷)) → (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷})) = (∅ ∪ ∅))
27 un0 4346 . . 3 (∅ ∪ ∅) = ∅
2826, 27syl6eq 2874 . 2 (((𝐴𝐶𝐵𝐶) ∧ (𝐴𝐷𝐵𝐷)) → (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷})) = ∅)
294, 28syl5eq 2870 1 (((𝐴𝐶𝐵𝐶) ∧ (𝐴𝐷𝐵𝐷)) → ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ∅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wne 3018  cun 3936  cin 3937  c0 4293  {csn 4569  {cpr 4571
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rab 3149  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-sn 4570  df-pr 4572
This theorem is referenced by:  disjprsn  4652  disjtp2  4654  funcnvqp  6420
  Copyright terms: Public domain W3C validator