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

Theorem disjpr2 4642
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 4563 . . . 4 {𝐶, 𝐷} = ({𝐶} ∪ {𝐷})
21ineq2i 4185 . . 3 ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ({𝐴, 𝐵} ∩ ({𝐶} ∪ {𝐷}))
3 indi 4249 . . 3 ({𝐴, 𝐵} ∩ ({𝐶} ∪ {𝐷})) = (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷}))
42, 3eqtri 2844 . 2 ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷}))
5 df-pr 4563 . . . . . . . 8 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
65ineq1i 4184 . . . . . . 7 ({𝐴, 𝐵} ∩ {𝐶}) = (({𝐴} ∪ {𝐵}) ∩ {𝐶})
7 indir 4251 . . . . . . 7 (({𝐴} ∪ {𝐵}) ∩ {𝐶}) = (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶}))
86, 7eqtri 2844 . . . . . 6 ({𝐴, 𝐵} ∩ {𝐶}) = (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶}))
9 disjsn2 4641 . . . . . . . 8 (𝐴𝐶 → ({𝐴} ∩ {𝐶}) = ∅)
10 disjsn2 4641 . . . . . . . 8 (𝐵𝐶 → ({𝐵} ∩ {𝐶}) = ∅)
119, 10anim12i 614 . . . . . . 7 ((𝐴𝐶𝐵𝐶) → (({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅))
12 un00 4393 . . . . . . 7 ((({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅) ↔ (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶})) = ∅)
1311, 12sylib 220 . . . . . 6 ((𝐴𝐶𝐵𝐶) → (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶})) = ∅)
148, 13syl5eq 2868 . . . . 5 ((𝐴𝐶𝐵𝐶) → ({𝐴, 𝐵} ∩ {𝐶}) = ∅)
1514adantr 483 . . . 4 (((𝐴𝐶𝐵𝐶) ∧ (𝐴𝐷𝐵𝐷)) → ({𝐴, 𝐵} ∩ {𝐶}) = ∅)
165ineq1i 4184 . . . . . . 7 ({𝐴, 𝐵} ∩ {𝐷}) = (({𝐴} ∪ {𝐵}) ∩ {𝐷})
17 indir 4251 . . . . . . 7 (({𝐴} ∪ {𝐵}) ∩ {𝐷}) = (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷}))
1816, 17eqtri 2844 . . . . . 6 ({𝐴, 𝐵} ∩ {𝐷}) = (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷}))
19 disjsn2 4641 . . . . . . . 8 (𝐴𝐷 → ({𝐴} ∩ {𝐷}) = ∅)
20 disjsn2 4641 . . . . . . . 8 (𝐵𝐷 → ({𝐵} ∩ {𝐷}) = ∅)
2119, 20anim12i 614 . . . . . . 7 ((𝐴𝐷𝐵𝐷) → (({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅))
22 un00 4393 . . . . . . 7 ((({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅) ↔ (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷})) = ∅)
2321, 22sylib 220 . . . . . 6 ((𝐴𝐷𝐵𝐷) → (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷})) = ∅)
2418, 23syl5eq 2868 . . . . 5 ((𝐴𝐷𝐵𝐷) → ({𝐴, 𝐵} ∩ {𝐷}) = ∅)
2524adantl 484 . . . 4 (((𝐴𝐶𝐵𝐶) ∧ (𝐴𝐷𝐵𝐷)) → ({𝐴, 𝐵} ∩ {𝐷}) = ∅)
2615, 25uneq12d 4139 . . 3 (((𝐴𝐶𝐵𝐶) ∧ (𝐴𝐷𝐵𝐷)) → (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷})) = (∅ ∪ ∅))
27 un0 4343 . . 3 (∅ ∪ ∅) = ∅
2826, 27syl6eq 2872 . 2 (((𝐴𝐶𝐵𝐶) ∧ (𝐴𝐷𝐵𝐷)) → (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷})) = ∅)
294, 28syl5eq 2868 1 (((𝐴𝐶𝐵𝐶) ∧ (𝐴𝐷𝐵𝐷)) → ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ∅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1533  wne 3016  cun 3933  cin 3934  c0 4290  {csn 4560  {cpr 4562
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rab 3147  df-v 3496  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-sn 4561  df-pr 4563
This theorem is referenced by:  disjprsn  4643  disjtp2  4645  funcnvqp  6412
  Copyright terms: Public domain W3C validator