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 4591 . . . 4 {𝐶, 𝐷} = ({𝐶} ∪ {𝐷})
21ineq2i 4117 . . 3 ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ({𝐴, 𝐵} ∩ ({𝐶} ∪ {𝐷}))
3 indi 4232 . . 3 ({𝐴, 𝐵} ∩ ({𝐶} ∪ {𝐷})) = (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷}))
42, 3eqtri 2786 . 2 ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷}))
5 df-pr 4591 . . . . . . . 8 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
65ineq1i 4116 . . . . . . 7 ({𝐴, 𝐵} ∩ {𝐶}) = (({𝐴} ∪ {𝐵}) ∩ {𝐶})
7 indir 4234 . . . . . . 7 (({𝐴} ∪ {𝐵}) ∩ {𝐶}) = (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶}))
86, 7eqtri 2786 . . . . . 6 ({𝐴, 𝐵} ∩ {𝐶}) = (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶}))
9 disjsn2 4673 . . . . . . . 8 (𝐴 ≠ 𝐶 → ({𝐴} ∩ {𝐶}) = ∅)
10 disjsn2 4673 . . . . . . . 8 (𝐵 ≠ 𝐶 → ({𝐵} ∩ {𝐶}) = ∅)
119, 10anim12i 625 . . . . . . 7 ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → (({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅))
12 un00 4360 . . . . . . 7 ((({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐶}) = ∅) ↔ (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶})) = ∅)
1311, 12sylib 221 . . . . . 6 ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → (({𝐴} ∩ {𝐶}) ∪ ({𝐵} ∩ {𝐶})) = ∅)
148, 13eqtrid 2810 . . . . 5 ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → ({𝐴, 𝐵} ∩ {𝐶}) = ∅)
1514adantr 486 . . . 4 (((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) ∧ (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷)) → ({𝐴, 𝐵} ∩ {𝐶}) = ∅)
165ineq1i 4116 . . . . . . 7 ({𝐴, 𝐵} ∩ {𝐷}) = (({𝐴} ∪ {𝐵}) ∩ {𝐷})
17 indir 4234 . . . . . . 7 (({𝐴} ∪ {𝐵}) ∩ {𝐷}) = (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷}))
1816, 17eqtri 2786 . . . . . 6 ({𝐴, 𝐵} ∩ {𝐷}) = (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷}))
19 disjsn2 4673 . . . . . . . 8 (𝐴 ≠ 𝐷 → ({𝐴} ∩ {𝐷}) = ∅)
20 disjsn2 4673 . . . . . . . 8 (𝐵 ≠ 𝐷 → ({𝐵} ∩ {𝐷}) = ∅)
2119, 20anim12i 625 . . . . . . 7 ((𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷) → (({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅))
22 un00 4360 . . . . . . 7 ((({𝐴} ∩ {𝐷}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅) ↔ (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷})) = ∅)
2321, 22sylib 221 . . . . . 6 ((𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷) → (({𝐴} ∩ {𝐷}) ∪ ({𝐵} ∩ {𝐷})) = ∅)
2418, 23eqtrid 2810 . . . . 5 ((𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷) → ({𝐴, 𝐵} ∩ {𝐷}) = ∅)
2524adantl 487 . . . 4 (((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) ∧ (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷)) → ({𝐴, 𝐵} ∩ {𝐷}) = ∅)
2615, 25uneq12d 4171 . . 3 (((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) ∧ (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷)) → (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷})) = (∅ ∪ ∅))
27 un0 4347 . . 3 (∅ ∪ ∅) = ∅
2826, 27eqtrdi 2814 . 2 (((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) ∧ (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷)) → (({𝐴, 𝐵} ∩ {𝐶}) ∪ ({𝐴, 𝐵} ∩ {𝐷})) = ∅)
294, 28eqtrid 2810 1 (((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) ∧ (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷)) → ({𝐴, 𝐵} ∩ {𝐶, 𝐷}) = ∅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ≠ wne 2959   ∩ cin 4092   ∪ cun 4152  ∅c0 4281  {csn 4588  {cpr 4590
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
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 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-sn 4589  df-pr 4591
This theorem is used by:  disjprsn  4675  disjtp2  4677  funcnvqp  6629  evl1deg3  34193
  Copyright terms: Public domain W3C validator