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

Theorem disji2 5056
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 2944 . . 3 (𝑋𝑌 ↔ ¬ 𝑋 = 𝑌)
2 disjors 5055 . . . . . 6 (Disj 𝑥𝐴 𝐵 ↔ ∀𝑦𝐴𝑧𝐴 (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅))
3 eqeq1 2742 . . . . . . . 8 (𝑦 = 𝑋 → (𝑦 = 𝑧𝑋 = 𝑧))
4 nfcv 2907 . . . . . . . . . . 11 𝑥𝑋
5 nfcv 2907 . . . . . . . . . . 11 𝑥𝐶
6 disji.1 . . . . . . . . . . 11 (𝑥 = 𝑋𝐵 = 𝐶)
74, 5, 6csbhypf 3861 . . . . . . . . . 10 (𝑦 = 𝑋𝑦 / 𝑥𝐵 = 𝐶)
87ineq1d 4145 . . . . . . . . 9 (𝑦 = 𝑋 → (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = (𝐶𝑧 / 𝑥𝐵))
98eqeq1d 2740 . . . . . . . 8 (𝑦 = 𝑋 → ((𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅ ↔ (𝐶𝑧 / 𝑥𝐵) = ∅))
103, 9orbi12d 916 . . . . . . 7 (𝑦 = 𝑋 → ((𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅) ↔ (𝑋 = 𝑧 ∨ (𝐶𝑧 / 𝑥𝐵) = ∅)))
11 eqeq2 2750 . . . . . . . 8 (𝑧 = 𝑌 → (𝑋 = 𝑧𝑋 = 𝑌))
12 nfcv 2907 . . . . . . . . . . 11 𝑥𝑌
13 nfcv 2907 . . . . . . . . . . 11 𝑥𝐷
14 disji.2 . . . . . . . . . . 11 (𝑥 = 𝑌𝐵 = 𝐷)
1512, 13, 14csbhypf 3861 . . . . . . . . . 10 (𝑧 = 𝑌𝑧 / 𝑥𝐵 = 𝐷)
1615ineq2d 4146 . . . . . . . . 9 (𝑧 = 𝑌 → (𝐶𝑧 / 𝑥𝐵) = (𝐶𝐷))
1716eqeq1d 2740 . . . . . . . 8 (𝑧 = 𝑌 → ((𝐶𝑧 / 𝑥𝐵) = ∅ ↔ (𝐶𝐷) = ∅))
1811, 17orbi12d 916 . . . . . . 7 (𝑧 = 𝑌 → ((𝑋 = 𝑧 ∨ (𝐶𝑧 / 𝑥𝐵) = ∅) ↔ (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅)))
1910, 18rspc2v 3570 . . . . . 6 ((𝑋𝐴𝑌𝐴) → (∀𝑦𝐴𝑧𝐴 (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐵𝑧 / 𝑥𝐵) = ∅) → (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅)))
202, 19syl5bi 241 . . . . 5 ((𝑋𝐴𝑌𝐴) → (Disj 𝑥𝐴 𝐵 → (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅)))
2120impcom 408 . . . 4 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴)) → (𝑋 = 𝑌 ∨ (𝐶𝐷) = ∅))
2221ord 861 . . 3 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴)) → (¬ 𝑋 = 𝑌 → (𝐶𝐷) = ∅))
231, 22syl5bi 241 . 2 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴)) → (𝑋𝑌 → (𝐶𝐷) = ∅))
24233impia 1116 1 ((Disj 𝑥𝐴 𝐵 ∧ (𝑋𝐴𝑌𝐴) ∧ 𝑋𝑌) → (𝐶𝐷) = ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  wo 844  w3a 1086   = wceq 1539  wcel 2106  wne 2943  wral 3064  csb 3832  cin 3886  c0 4256  Disj wdisj 5039
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rmo 3071  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-in 3894  df-nul 4257  df-disj 5040
This theorem is referenced by:  disji  5057  disjxiun  5071  voliunlem1  24714  symgcntz  31354  tocyccntz  31411  disjf1  42720
  Copyright terms: Public domain W3C validator