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

Theorem disjpr2 4674
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 4587 . . . 4 {𝐶, 𝐷} = ({𝐶} ∪ {𝐷})
21ineq2i 4163 . . 3 ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ({𝐴, 𝐵} ∩ ({𝐶} ∪ {𝐷}))
3 indi 4230 . . 3 ({𝐴, 𝐵} ∩ ({𝐶} ∪ {𝐷})) = (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷}))
42, 3eqtri 2784 . 2 ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷}))
5 df-pr 4587 . . . . . . . 8 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
65ineq1i 4162 . . . . . . 7 ({𝐴, 𝐵} ∩ {𝐶}) = (({𝐴} ∪ {𝐵}) ∩ {𝐶})
7 indir 4232 . . . . . . 7 (({𝐴} ∪ {𝐵}) ∩ {𝐶}) = (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶}))
86, 7eqtri 2784 . . . . . 6 ({𝐴, 𝐵} ∩ {𝐶}) = (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶}))
9 disjsn2 4673 . . . . . . . 8 (𝐴 ≠ 𝐶 → ({𝐴} ∩ {𝐶}) = ∅)
10 disjsn2 4673 . . . . . . . 8 (𝐵 ≠ 𝐶 → ({𝐵} ∩ {𝐶}) = ∅)
119, 10anim12i 625 . . . . . . 7 ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → (({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅))
12 un00 4357 . . . . . . 7 ((({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅) ↔ (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶})) = ∅)
1311, 12sylib 221 . . . . . 6 ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶})) = ∅)
148, 13eqtrid 2808 . . . . 5 ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → ({𝐴, 𝐵} ∩ {𝐶}) = ∅)
1514adantr 486 . . . 4 (((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) ∧ (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷)) → ({𝐴, 𝐵} ∩ {𝐶}) = ∅)
165ineq1i 4162 . . . . . . 7 ({𝐴, 𝐵} ∩ {𝐷}) = (({𝐴} ∪ {𝐵}) ∩ {𝐷})
17 indir 4232 . . . . . . 7 (({𝐴} ∪ {𝐵}) ∩ {𝐷}) = (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷}))
1816, 17eqtri 2784 . . . . . 6 ({𝐴, 𝐵} ∩ {𝐷}) = (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷}))
19 disjsn2 4673 . . . . . . . 8 (𝐴 ≠ 𝐷 → ({𝐴} ∩ {𝐷}) = ∅)
20 disjsn2 4673 . . . . . . . 8 (𝐵 ≠ 𝐷 → ({𝐵} ∩ {𝐷}) = ∅)
2119, 20anim12i 625 . . . . . . 7 ((𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷) → (({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅))
22 un00 4357 . . . . . . 7 ((({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅) ↔ (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷})) = ∅)
2321, 22sylib 221 . . . . . 6 ((𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷) → (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷})) = ∅)
2418, 23eqtrid 2808 . . . . 5 ((𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷) → ({𝐴, 𝐵} ∩ {𝐷}) = ∅)
2524adantl 487 . . . 4 (((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) ∧ (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷)) → ({𝐴, 𝐵} ∩ {𝐷}) = ∅)
2615, 25uneq12d 4116 . . 3 (((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) ∧ (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷)) → (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷})) = (∅ ∪ ∅))
27 un0 4344 . . 3 (∅ ∪ ∅) = ∅
2826, 27eqtrdi 2812 . 2 (((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) ∧ (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷)) → (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷})) = ∅)
294, 28eqtrid 2808 1 (((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) ∧ (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷)) → ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ∅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ≠ wne 2956   ∪ cun 3897   ∩ cin 3898  ∅c0 4279  {csn 4584  {cpr 4586
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3078  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-sn 4585  df-pr 4587
This theorem is used by:  disjprsn  4675  disjtp2  4677  funcnvqp  6596  evl1deg3  34092
  Copyright terms: Public domain W3C validator