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

Theorem disjor 5088
Description: Two ways to say that a collection 𝐵(𝑖) for 𝑖 ∈ 𝐴 is disjoint. (Contributed by Mario Carneiro, 26-Mar-2015.) (Revised by Mario Carneiro, 14-Nov-2016.)
Hypothesis
Ref Expression
disjor.1 (𝑖 = 𝑗 → 𝐵 = 𝐶)
Assertion
Ref Expression
disjor (Disj 𝑖 ∈ 𝐴 𝐵 ↔ ∀𝑖 ∈ 𝐴 ∀𝑗 ∈ 𝐴 (𝑖 = 𝑗 ∨ (𝐵 ∩ 𝐶) = ∅))
Distinct variable groups:   𝑖,𝑗,𝐴   𝐵,𝑗   𝐶,𝑖
Allowed substitution hints:   𝐵(𝑖)   𝐶(𝑗)

Proof of Theorem disjor
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 df-disj 5074 . 2 (Disj 𝑖 ∈ 𝐴 𝐵 ↔ ∀𝑥∃*𝑖 ∈ 𝐴 𝑥 ∈ 𝐵)
2 ralcom4 3292 . . 3 (∀𝑖 ∈ 𝐴 ∀𝑥∀𝑗 ∈ 𝐴 ((𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → 𝑖 = 𝑗) ↔ ∀𝑥∀𝑖 ∈ 𝐴 ∀𝑗 ∈ 𝐴 ((𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → 𝑖 = 𝑗))
3 orcom 884 . . . . . . 7 ((𝑖 = 𝑗 ∨ (𝐵 ∩ 𝐶) = ∅) ↔ ((𝐵 ∩ 𝐶) = ∅ ∨ 𝑖 = 𝑗))
4 df-or 862 . . . . . . 7 (((𝐵 ∩ 𝐶) = ∅ ∨ 𝑖 = 𝑗) ↔ (¬ (𝐵 ∩ 𝐶) = ∅ → 𝑖 = 𝑗))
5 neq0 4302 . . . . . . . . . 10 (¬ (𝐵 ∩ 𝐶) = ∅ ↔ ∃𝑥 𝑥 ∈ (𝐵 ∩ 𝐶))
6 elin 4096 . . . . . . . . . . 11 (𝑥 ∈ (𝐵 ∩ 𝐶) ↔ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶))
76exbii 1881 . . . . . . . . . 10 (∃𝑥 𝑥 ∈ (𝐵 ∩ 𝐶) ↔ ∃𝑥(𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶))
85, 7bitri 278 . . . . . . . . 9 (¬ (𝐵 ∩ 𝐶) = ∅ ↔ ∃𝑥(𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶))
98imbi1i 352 . . . . . . . 8 ((¬ (𝐵 ∩ 𝐶) = ∅ → 𝑖 = 𝑗) ↔ (∃𝑥(𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → 𝑖 = 𝑗))
10 19.23v 1977 . . . . . . . 8 (∀𝑥((𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → 𝑖 = 𝑗) ↔ (∃𝑥(𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → 𝑖 = 𝑗))
119, 10bitr4i 281 . . . . . . 7 ((¬ (𝐵 ∩ 𝐶) = ∅ → 𝑖 = 𝑗) ↔ ∀𝑥((𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → 𝑖 = 𝑗))
123, 4, 113bitri 300 . . . . . 6 ((𝑖 = 𝑗 ∨ (𝐵 ∩ 𝐶) = ∅) ↔ ∀𝑥((𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → 𝑖 = 𝑗))
1312ralbii 3112 . . . . 5 (∀𝑗 ∈ 𝐴 (𝑖 = 𝑗 ∨ (𝐵 ∩ 𝐶) = ∅) ↔ ∀𝑗 ∈ 𝐴 ∀𝑥((𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → 𝑖 = 𝑗))
14 ralcom4 3292 . . . . 5 (∀𝑗 ∈ 𝐴 ∀𝑥((𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → 𝑖 = 𝑗) ↔ ∀𝑥∀𝑗 ∈ 𝐴 ((𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → 𝑖 = 𝑗))
1513, 14bitri 278 . . . 4 (∀𝑗 ∈ 𝐴 (𝑖 = 𝑗 ∨ (𝐵 ∩ 𝐶) = ∅) ↔ ∀𝑥∀𝑗 ∈ 𝐴 ((𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → 𝑖 = 𝑗))
1615ralbii 3112 . . 3 (∀𝑖 ∈ 𝐴 ∀𝑗 ∈ 𝐴 (𝑖 = 𝑗 ∨ (𝐵 ∩ 𝐶) = ∅) ↔ ∀𝑖 ∈ 𝐴 ∀𝑥∀𝑗 ∈ 𝐴 ((𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → 𝑖 = 𝑗))
17 disjor.1 . . . . . 6 (𝑖 = 𝑗 → 𝐵 = 𝐶)
1817eleq2d 2850 . . . . 5 (𝑖 = 𝑗 → (𝑥 ∈ 𝐵 ↔ 𝑥 ∈ 𝐶))
1918rmo4 3691 . . . 4 (∃*𝑖 ∈ 𝐴 𝑥 ∈ 𝐵 ↔ ∀𝑖 ∈ 𝐴 ∀𝑗 ∈ 𝐴 ((𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → 𝑖 = 𝑗))
2019albii 1852 . . 3 (∀𝑥∃*𝑖 ∈ 𝐴 𝑥 ∈ 𝐵 ↔ ∀𝑥∀𝑖 ∈ 𝐴 ∀𝑗 ∈ 𝐴 ((𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → 𝑖 = 𝑗))
212, 16, 203bitr4i 306 . 2 (∀𝑖 ∈ 𝐴 ∀𝑗 ∈ 𝐴 (𝑖 = 𝑗 ∨ (𝐵 ∩ 𝐶) = ∅) ↔ ∀𝑥∃*𝑖 ∈ 𝐴 𝑥 ∈ 𝐵)
221, 21bitr4i 281 1 (Disj 𝑖 ∈ 𝐴 𝐵 ↔ ∀𝑖 ∈ 𝐴 ∀𝑗 ∈ 𝐴 (𝑖 = 𝑗 ∨ (𝐵 ∩ 𝐶) = ∅))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861  ∀wal 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2147  ∀wral 3080  ∃*wrmo 3368   ∩ cin 4092  ∅c0 4281  Disj wdisj 5073
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-11 2197  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-mo 2567  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rmo 3369  df-v 3456  df-dif 4050  df-in 4094  df-nul 4282  df-disj 5074
This theorem is used by:  disjors  5089  disjord  5095  disjiunb  5096  disjxiun  5103  disjxun  5104  otsndisj  5496  qsdisj2  8844  s3sndisj  15149  cshwsdisj  17305  dyadmbl  25951  numedglnl  29752  clwwlknondisj  30732  2wspmdisj  30968  disjnf  33236  disjorsf  33246  poimirlem26  38756  mblfinlem2  38768  grpods  43436  ndisj2  46273  nnfoctbdjlem  47670  iundjiun  47675  otiunsndisjX  48554
  Copyright terms: Public domain W3C validator