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

Theorem disji2 5052
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 2943 . . 3 (𝑋𝑌 ↔ ¬ 𝑋 = 𝑌)
2 disjors 5051 . . . . . 6 (Disj 𝑥𝐴 𝐵 ↔ ∀𝑦𝐴𝑧𝐴 (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅))
3 eqeq1 2742 . . . . . . . 8 (𝑦 = 𝑋 → (𝑦 = 𝑧𝑋 = 𝑧))
4 nfcv 2906 . . . . . . . . . . 11 𝑥𝑋
5 nfcv 2906 . . . . . . . . . . 11 𝑥𝐶
6 disji.1 . . . . . . . . . . 11 (𝑥 = 𝑋𝐵 = 𝐶)
74, 5, 6csbhypf 3857 . . . . . . . . . 10 (𝑦 = 𝑋𝑦 / 𝑥𝐵 = 𝐶)
87ineq1d 4142 . . . . . . . . 9 (𝑦 = 𝑋 → (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = (𝐶𝑧 / 𝑥𝐵))
98eqeq1d 2740 . . . . . . . 8 (𝑦 = 𝑋 → ((𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅ ↔ (𝐶𝑧 / 𝑥𝐵) = ∅))
103, 9orbi12d 915 . . . . . . 7 (𝑦 = 𝑋 → ((𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅) ↔ (𝑋 = 𝑧 ∨ (𝐶𝑧 / 𝑥𝐵) = ∅)))
11 eqeq2 2750 . . . . . . . 8 (𝑧 = 𝑌 → (𝑋 = 𝑧𝑋 = 𝑌))
12 nfcv 2906 . . . . . . . . . . 11 𝑥𝑌
13 nfcv 2906 . . . . . . . . . . 11 𝑥𝐷
14 disji.2 . . . . . . . . . . 11 (𝑥 = 𝑌𝐵 = 𝐷)
1512, 13, 14csbhypf 3857 . . . . . . . . . 10 (𝑧 = 𝑌𝑧 / 𝑥𝐵 = 𝐷)
1615ineq2d 4143 . . . . . . . . 9 (𝑧 = 𝑌 → (𝐶𝑧 / 𝑥𝐵) = (𝐶𝐷))
1716eqeq1d 2740 . . . . . . . 8 (𝑧 = 𝑌 → ((𝐶𝑧 / 𝑥𝐵) = ∅ ↔ (𝐶𝐷) = ∅))
1811, 17orbi12d 915 . . . . . . 7 (𝑧 = 𝑌 → ((𝑋 = 𝑧 ∨ (𝐶𝑧 / 𝑥𝐵) = ∅) ↔ (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅)))
1910, 18rspc2v 3562 . . . . . 6 ((𝑋𝐴𝑌𝐴) → (∀𝑦𝐴𝑧𝐴 (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅) → (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅)))
202, 19syl5bi 241 . . . . 5 ((𝑋𝐴𝑌𝐴) → (Disj 𝑥𝐴 𝐵 → (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅)))
2120impcom 407 . . . 4 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴)) → (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅))
2221ord 860 . . 3 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴)) → (¬ 𝑋 = 𝑌 → (𝐶𝐷) = ∅))
231, 22syl5bi 241 . 2 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴)) → (𝑋𝑌 → (𝐶𝐷) = ∅))
24233impia 1115 1 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴) ∧ 𝑋𝑌) → (𝐶𝐷) = ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  wo 843  w3a 1085   = wceq 1539  wcel 2108  wne 2942  wral 3063  csb 3828  cin 3882  c0 4253  Disj wdisj 5035
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-in 3890  df-nul 4254  df-disj 5036
This theorem is referenced by:  disji  5053  disjxiun  5067  voliunlem1  24619  symgcntz  31256  tocyccntz  31313  disjf1  42609
  Copyright terms: Public domain W3C validator