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

Theorem disji2 5013
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 2936 . . 3 (𝑋𝑌 ↔ ¬ 𝑋 = 𝑌)
2 disjors 5012 . . . . . 6 (Disj 𝑥𝐴 𝐵 ↔ ∀𝑦𝐴𝑧𝐴 (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅))
3 eqeq1 2743 . . . . . . . 8 (𝑦 = 𝑋 → (𝑦 = 𝑧𝑋 = 𝑧))
4 nfcv 2900 . . . . . . . . . . 11 𝑥𝑋
5 nfcv 2900 . . . . . . . . . . 11 𝑥𝐶
6 disji.1 . . . . . . . . . . 11 (𝑥 = 𝑋𝐵 = 𝐶)
74, 5, 6csbhypf 3819 . . . . . . . . . 10 (𝑦 = 𝑋𝑦 / 𝑥𝐵 = 𝐶)
87ineq1d 4103 . . . . . . . . 9 (𝑦 = 𝑋 → (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = (𝐶𝑧 / 𝑥𝐵))
98eqeq1d 2741 . . . . . . . 8 (𝑦 = 𝑋 → ((𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅ ↔ (𝐶𝑧 / 𝑥𝐵) = ∅))
103, 9orbi12d 918 . . . . . . 7 (𝑦 = 𝑋 → ((𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅) ↔ (𝑋 = 𝑧 ∨ (𝐶𝑧 / 𝑥𝐵) = ∅)))
11 eqeq2 2751 . . . . . . . 8 (𝑧 = 𝑌 → (𝑋 = 𝑧𝑋 = 𝑌))
12 nfcv 2900 . . . . . . . . . . 11 𝑥𝑌
13 nfcv 2900 . . . . . . . . . . 11 𝑥𝐷
14 disji.2 . . . . . . . . . . 11 (𝑥 = 𝑌𝐵 = 𝐷)
1512, 13, 14csbhypf 3819 . . . . . . . . . 10 (𝑧 = 𝑌𝑧 / 𝑥𝐵 = 𝐷)
1615ineq2d 4104 . . . . . . . . 9 (𝑧 = 𝑌 → (𝐶𝑧 / 𝑥𝐵) = (𝐶𝐷))
1716eqeq1d 2741 . . . . . . . 8 (𝑧 = 𝑌 → ((𝐶𝑧 / 𝑥𝐵) = ∅ ↔ (𝐶𝐷) = ∅))
1811, 17orbi12d 918 . . . . . . 7 (𝑧 = 𝑌 → ((𝑋 = 𝑧 ∨ (𝐶𝑧 / 𝑥𝐵) = ∅) ↔ (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅)))
1910, 18rspc2v 3537 . . . . . 6 ((𝑋𝐴𝑌𝐴) → (∀𝑦𝐴𝑧𝐴 (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅) → (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅)))
202, 19syl5bi 245 . . . . 5 ((𝑋𝐴𝑌𝐴) → (Disj 𝑥𝐴 𝐵 → (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅)))
2120impcom 411 . . . 4 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴)) → (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅))
2221ord 863 . . 3 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴)) → (¬ 𝑋 = 𝑌 → (𝐶𝐷) = ∅))
231, 22syl5bi 245 . 2 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴)) → (𝑋𝑌 → (𝐶𝐷) = ∅))
24233impia 1118 1 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴) ∧ 𝑋𝑌) → (𝐶𝐷) = ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399  wo 846  w3a 1088   = wceq 1542  wcel 2114  wne 2935  wral 3054  csb 3791  cin 3843  c0 4212  Disj wdisj 4996
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2711
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2541  df-clab 2718  df-cleq 2731  df-clel 2812  df-nfc 2882  df-ne 2936  df-ral 3059  df-rmo 3062  df-rab 3063  df-v 3401  df-sbc 3682  df-csb 3792  df-dif 3847  df-in 3851  df-nul 4213  df-disj 4997
This theorem is referenced by:  disji  5014  disjxiun  5028  voliunlem1  24305  symgcntz  30934  tocyccntz  30991  disjf1  42281
  Copyright terms: Public domain W3C validator