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

Theorem disji2 4569
Description: Property of a disjoint collection: if 𝐵(𝑋) = 𝐶 and 𝐵(𝑌) = 𝐷, and 𝑋𝑌, then 𝐶 and 𝐷 are disjoint. (Contributed by Mario Carneiro, 14-Nov-2016.)
Hypotheses
Ref Expression
disji.1 (𝑥 = 𝑋𝐵 = 𝐶)
disji.2 (𝑥 = 𝑌𝐵 = 𝐷)
Assertion
Ref Expression
disji2 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴) ∧ 𝑋𝑌) → (𝐶𝐷) = ∅)
Distinct variable groups:   𝑥,𝐴   𝑥,𝐶   𝑥,𝐷   𝑥,𝑋   𝑥,𝑌
Allowed substitution hint:   𝐵(𝑥)

Proof of Theorem disji2
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-ne 2782 . . 3 (𝑋𝑌 ↔ ¬ 𝑋 = 𝑌)
2 disjors 4568 . . . . . 6 (Disj 𝑥𝐴 𝐵 ↔ ∀𝑦𝐴𝑧𝐴 (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅))
3 eqeq1 2614 . . . . . . . 8 (𝑦 = 𝑋 → (𝑦 = 𝑧𝑋 = 𝑧))
4 nfcv 2751 . . . . . . . . . . 11 𝑥𝑋
5 nfcv 2751 . . . . . . . . . . 11 𝑥𝐶
6 disji.1 . . . . . . . . . . 11 (𝑥 = 𝑋𝐵 = 𝐶)
74, 5, 6csbhypf 3518 . . . . . . . . . 10 (𝑦 = 𝑋𝑦 / 𝑥𝐵 = 𝐶)
87ineq1d 3775 . . . . . . . . 9 (𝑦 = 𝑋 → (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = (𝐶𝑧 / 𝑥𝐵))
98eqeq1d 2612 . . . . . . . 8 (𝑦 = 𝑋 → ((𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅ ↔ (𝐶𝑧 / 𝑥𝐵) = ∅))
103, 9orbi12d 742 . . . . . . 7 (𝑦 = 𝑋 → ((𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅) ↔ (𝑋 = 𝑧 ∨ (𝐶𝑧 / 𝑥𝐵) = ∅)))
11 eqeq2 2621 . . . . . . . 8 (𝑧 = 𝑌 → (𝑋 = 𝑧𝑋 = 𝑌))
12 nfcv 2751 . . . . . . . . . . 11 𝑥𝑌
13 nfcv 2751 . . . . . . . . . . 11 𝑥𝐷
14 disji.2 . . . . . . . . . . 11 (𝑥 = 𝑌𝐵 = 𝐷)
1512, 13, 14csbhypf 3518 . . . . . . . . . 10 (𝑧 = 𝑌𝑧 / 𝑥𝐵 = 𝐷)
1615ineq2d 3776 . . . . . . . . 9 (𝑧 = 𝑌 → (𝐶𝑧 / 𝑥𝐵) = (𝐶𝐷))
1716eqeq1d 2612 . . . . . . . 8 (𝑧 = 𝑌 → ((𝐶𝑧 / 𝑥𝐵) = ∅ ↔ (𝐶𝐷) = ∅))
1811, 17orbi12d 742 . . . . . . 7 (𝑧 = 𝑌 → ((𝑋 = 𝑧 ∨ (𝐶𝑧 / 𝑥𝐵) = ∅) ↔ (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅)))
1910, 18rspc2v 3293 . . . . . 6 ((𝑋𝐴𝑌𝐴) → (∀𝑦𝐴𝑧𝐴 (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅) → (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅)))
202, 19syl5bi 231 . . . . 5 ((𝑋𝐴𝑌𝐴) → (Disj 𝑥𝐴 𝐵 → (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅)))
2120impcom 445 . . . 4 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴)) → (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅))
2221ord 391 . . 3 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴)) → (¬ 𝑋 = 𝑌 → (𝐶𝐷) = ∅))
231, 22syl5bi 231 . 2 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴)) → (𝑋𝑌 → (𝐶𝐷) = ∅))
24233impia 1253 1 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴) ∧ 𝑋𝑌) → (𝐶𝐷) = ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wo 382  wa 383  w3a 1031   = wceq 1475  wcel 1977  wne 2780  wral 2896  csb 3499  cin 3539  c0 3874  Disj wdisj 4553
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-in 3547  df-nul 3875  df-disj 4554
This theorem is referenced by:  disji  4570  disjxiun  4579  disjxiunOLD  4580  voliunlem1  23125  disjf1  38364
  Copyright terms: Public domain W3C validator