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

Theorem disji2 5040
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 3017 . . 3 (𝑋𝑌 ↔ ¬ 𝑋 = 𝑌)
2 disjors 5039 . . . . . 6 (Disj 𝑥𝐴 𝐵 ↔ ∀𝑦𝐴𝑧𝐴 (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅))
3 eqeq1 2825 . . . . . . . 8 (𝑦 = 𝑋 → (𝑦 = 𝑧𝑋 = 𝑧))
4 nfcv 2977 . . . . . . . . . . 11 𝑥𝑋
5 nfcv 2977 . . . . . . . . . . 11 𝑥𝐶
6 disji.1 . . . . . . . . . . 11 (𝑥 = 𝑋𝐵 = 𝐶)
74, 5, 6csbhypf 3910 . . . . . . . . . 10 (𝑦 = 𝑋𝑦 / 𝑥𝐵 = 𝐶)
87ineq1d 4187 . . . . . . . . 9 (𝑦 = 𝑋 → (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = (𝐶𝑧 / 𝑥𝐵))
98eqeq1d 2823 . . . . . . . 8 (𝑦 = 𝑋 → ((𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅ ↔ (𝐶𝑧 / 𝑥𝐵) = ∅))
103, 9orbi12d 915 . . . . . . 7 (𝑦 = 𝑋 → ((𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅) ↔ (𝑋 = 𝑧 ∨ (𝐶𝑧 / 𝑥𝐵) = ∅)))
11 eqeq2 2833 . . . . . . . 8 (𝑧 = 𝑌 → (𝑋 = 𝑧𝑋 = 𝑌))
12 nfcv 2977 . . . . . . . . . . 11 𝑥𝑌
13 nfcv 2977 . . . . . . . . . . 11 𝑥𝐷
14 disji.2 . . . . . . . . . . 11 (𝑥 = 𝑌𝐵 = 𝐷)
1512, 13, 14csbhypf 3910 . . . . . . . . . 10 (𝑧 = 𝑌𝑧 / 𝑥𝐵 = 𝐷)
1615ineq2d 4188 . . . . . . . . 9 (𝑧 = 𝑌 → (𝐶𝑧 / 𝑥𝐵) = (𝐶𝐷))
1716eqeq1d 2823 . . . . . . . 8 (𝑧 = 𝑌 → ((𝐶𝑧 / 𝑥𝐵) = ∅ ↔ (𝐶𝐷) = ∅))
1811, 17orbi12d 915 . . . . . . 7 (𝑧 = 𝑌 → ((𝑋 = 𝑧 ∨ (𝐶𝑧 / 𝑥𝐵) = ∅) ↔ (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅)))
1910, 18rspc2v 3632 . . . . . 6 ((𝑋𝐴𝑌𝐴) → (∀𝑦𝐴𝑧𝐴 (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅) → (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅)))
202, 19syl5bi 244 . . . . 5 ((𝑋𝐴𝑌𝐴) → (Disj 𝑥𝐴 𝐵 → (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅)))
2120impcom 410 . . . 4 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴)) → (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅))
2221ord 860 . . 3 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴)) → (¬ 𝑋 = 𝑌 → (𝐶𝐷) = ∅))
231, 22syl5bi 244 . 2 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴)) → (𝑋𝑌 → (𝐶𝐷) = ∅))
24233impia 1113 1 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴) ∧ 𝑋𝑌) → (𝐶𝐷) = ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398  wo 843  w3a 1083   = wceq 1533  wcel 2110  wne 3016  wral 3138  csb 3882  cin 3934  c0 4290  Disj wdisj 5023
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-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3772  df-csb 3883  df-dif 3938  df-in 3942  df-nul 4291  df-disj 5024
This theorem is referenced by:  disji  5041  disjxiun  5055  voliunlem1  24145  symgcntz  30724  tocyccntz  30781  disjf1  41436
  Copyright terms: Public domain W3C validator