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

Theorem disjprg 4578
Description: A pair collection is disjoint iff the two sets in the family have empty intersection. (Contributed by Mario Carneiro, 14-Nov-2016.)
Hypotheses
Ref Expression
disjprg.1 (𝑥 = 𝐴𝐶 = 𝐷)
disjprg.2 (𝑥 = 𝐵𝐶 = 𝐸)
Assertion
Ref Expression
disjprg ((𝐴𝑉𝐵𝑉𝐴𝐵) → (Disj 𝑥 ∈ {𝐴, 𝐵}𝐶 ↔ (𝐷𝐸) = ∅))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐷   𝑥,𝐸
Allowed substitution hints:   𝐶(𝑥)   𝑉(𝑥)

Proof of Theorem disjprg
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqeq1 2614 . . . . . . 7 (𝑦 = 𝐴 → (𝑦 = 𝑧𝐴 = 𝑧))
2 nfcv 2751 . . . . . . . . . 10 𝑥𝐴
3 nfcv 2751 . . . . . . . . . 10 𝑥𝐷
4 disjprg.1 . . . . . . . . . 10 (𝑥 = 𝐴𝐶 = 𝐷)
52, 3, 4csbhypf 3518 . . . . . . . . 9 (𝑦 = 𝐴𝑦 / 𝑥𝐶 = 𝐷)
65ineq1d 3775 . . . . . . . 8 (𝑦 = 𝐴 → (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = (𝐷𝑧 / 𝑥𝐶))
76eqeq1d 2612 . . . . . . 7 (𝑦 = 𝐴 → ((𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅ ↔ (𝐷𝑧 / 𝑥𝐶) = ∅))
81, 7orbi12d 742 . . . . . 6 (𝑦 = 𝐴 → ((𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅) ↔ (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅)))
98ralbidv 2969 . . . . 5 (𝑦 = 𝐴 → (∀𝑧 ∈ {𝐴, 𝐵} (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅) ↔ ∀𝑧 ∈ {𝐴, 𝐵} (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅)))
10 eqeq1 2614 . . . . . . 7 (𝑦 = 𝐵 → (𝑦 = 𝑧𝐵 = 𝑧))
11 nfcv 2751 . . . . . . . . . 10 𝑥𝐵
12 nfcv 2751 . . . . . . . . . 10 𝑥𝐸
13 disjprg.2 . . . . . . . . . 10 (𝑥 = 𝐵𝐶 = 𝐸)
1411, 12, 13csbhypf 3518 . . . . . . . . 9 (𝑦 = 𝐵𝑦 / 𝑥𝐶 = 𝐸)
1514ineq1d 3775 . . . . . . . 8 (𝑦 = 𝐵 → (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = (𝐸𝑧 / 𝑥𝐶))
1615eqeq1d 2612 . . . . . . 7 (𝑦 = 𝐵 → ((𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅ ↔ (𝐸𝑧 / 𝑥𝐶) = ∅))
1710, 16orbi12d 742 . . . . . 6 (𝑦 = 𝐵 → ((𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅) ↔ (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅)))
1817ralbidv 2969 . . . . 5 (𝑦 = 𝐵 → (∀𝑧 ∈ {𝐴, 𝐵} (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅) ↔ ∀𝑧 ∈ {𝐴, 𝐵} (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅)))
199, 18ralprg 4181 . . . 4 ((𝐴𝑉𝐵𝑉) → (∀𝑦 ∈ {𝐴, 𝐵}∀𝑧 ∈ {𝐴, 𝐵} (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅) ↔ (∀𝑧 ∈ {𝐴, 𝐵} (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅) ∧ ∀𝑧 ∈ {𝐴, 𝐵} (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅))))
20193adant3 1074 . . 3 ((𝐴𝑉𝐵𝑉𝐴𝐵) → (∀𝑦 ∈ {𝐴, 𝐵}∀𝑧 ∈ {𝐴, 𝐵} (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅) ↔ (∀𝑧 ∈ {𝐴, 𝐵} (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅) ∧ ∀𝑧 ∈ {𝐴, 𝐵} (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅))))
21 id 22 . . . . . . . . . 10 (𝑧 = 𝐴𝑧 = 𝐴)
2221eqcomd 2616 . . . . . . . . 9 (𝑧 = 𝐴𝐴 = 𝑧)
2322orcd 406 . . . . . . . 8 (𝑧 = 𝐴 → (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅))
24 a1tru 1491 . . . . . . . 8 (𝑧 = 𝐴 → ⊤)
2523, 242thd 254 . . . . . . 7 (𝑧 = 𝐴 → ((𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅) ↔ ⊤))
26 eqeq2 2621 . . . . . . . 8 (𝑧 = 𝐵 → (𝐴 = 𝑧𝐴 = 𝐵))
2711, 12, 13csbhypf 3518 . . . . . . . . . 10 (𝑧 = 𝐵𝑧 / 𝑥𝐶 = 𝐸)
2827ineq2d 3776 . . . . . . . . 9 (𝑧 = 𝐵 → (𝐷𝑧 / 𝑥𝐶) = (𝐷𝐸))
2928eqeq1d 2612 . . . . . . . 8 (𝑧 = 𝐵 → ((𝐷𝑧 / 𝑥𝐶) = ∅ ↔ (𝐷𝐸) = ∅))
3026, 29orbi12d 742 . . . . . . 7 (𝑧 = 𝐵 → ((𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅) ↔ (𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅)))
3125, 30ralprg 4181 . . . . . 6 ((𝐴𝑉𝐵𝑉) → (∀𝑧 ∈ {𝐴, 𝐵} (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅) ↔ (⊤ ∧ (𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅))))
32313adant3 1074 . . . . 5 ((𝐴𝑉𝐵𝑉𝐴𝐵) → (∀𝑧 ∈ {𝐴, 𝐵} (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅) ↔ (⊤ ∧ (𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅))))
33 simp3 1056 . . . . . . . 8 ((𝐴𝑉𝐵𝑉𝐴𝐵) → 𝐴𝐵)
3433neneqd 2787 . . . . . . 7 ((𝐴𝑉𝐵𝑉𝐴𝐵) → ¬ 𝐴 = 𝐵)
35 biorf 419 . . . . . . 7 𝐴 = 𝐵 → ((𝐷𝐸) = ∅ ↔ (𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅)))
3634, 35syl 17 . . . . . 6 ((𝐴𝑉𝐵𝑉𝐴𝐵) → ((𝐷𝐸) = ∅ ↔ (𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅)))
37 tru 1479 . . . . . . 7
3837biantrur 526 . . . . . 6 ((𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅) ↔ (⊤ ∧ (𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅)))
3936, 38syl6bb 275 . . . . 5 ((𝐴𝑉𝐵𝑉𝐴𝐵) → ((𝐷𝐸) = ∅ ↔ (⊤ ∧ (𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅))))
4032, 39bitr4d 270 . . . 4 ((𝐴𝑉𝐵𝑉𝐴𝐵) → (∀𝑧 ∈ {𝐴, 𝐵} (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅) ↔ (𝐷𝐸) = ∅))
41 eqeq2 2621 . . . . . . . . 9 (𝑧 = 𝐴 → (𝐵 = 𝑧𝐵 = 𝐴))
42 eqcom 2617 . . . . . . . . 9 (𝐵 = 𝐴𝐴 = 𝐵)
4341, 42syl6bb 275 . . . . . . . 8 (𝑧 = 𝐴 → (𝐵 = 𝑧𝐴 = 𝐵))
442, 3, 4csbhypf 3518 . . . . . . . . . . 11 (𝑧 = 𝐴𝑧 / 𝑥𝐶 = 𝐷)
4544ineq2d 3776 . . . . . . . . . 10 (𝑧 = 𝐴 → (𝐸𝑧 / 𝑥𝐶) = (𝐸𝐷))
46 incom 3767 . . . . . . . . . 10 (𝐸𝐷) = (𝐷𝐸)
4745, 46syl6eq 2660 . . . . . . . . 9 (𝑧 = 𝐴 → (𝐸𝑧 / 𝑥𝐶) = (𝐷𝐸))
4847eqeq1d 2612 . . . . . . . 8 (𝑧 = 𝐴 → ((𝐸𝑧 / 𝑥𝐶) = ∅ ↔ (𝐷𝐸) = ∅))
4943, 48orbi12d 742 . . . . . . 7 (𝑧 = 𝐴 → ((𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅) ↔ (𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅)))
50 id 22 . . . . . . . . . 10 (𝑧 = 𝐵𝑧 = 𝐵)
5150eqcomd 2616 . . . . . . . . 9 (𝑧 = 𝐵𝐵 = 𝑧)
5251orcd 406 . . . . . . . 8 (𝑧 = 𝐵 → (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅))
53 a1tru 1491 . . . . . . . 8 (𝑧 = 𝐵 → ⊤)
5452, 532thd 254 . . . . . . 7 (𝑧 = 𝐵 → ((𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅) ↔ ⊤))
5549, 54ralprg 4181 . . . . . 6 ((𝐴𝑉𝐵𝑉) → (∀𝑧 ∈ {𝐴, 𝐵} (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅) ↔ ((𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅) ∧ ⊤)))
56553adant3 1074 . . . . 5 ((𝐴𝑉𝐵𝑉𝐴𝐵) → (∀𝑧 ∈ {𝐴, 𝐵} (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅) ↔ ((𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅) ∧ ⊤)))
5737biantru 525 . . . . . 6 ((𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅) ↔ ((𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅) ∧ ⊤))
5836, 57syl6bb 275 . . . . 5 ((𝐴𝑉𝐵𝑉𝐴𝐵) → ((𝐷𝐸) = ∅ ↔ ((𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅) ∧ ⊤)))
5956, 58bitr4d 270 . . . 4 ((𝐴𝑉𝐵𝑉𝐴𝐵) → (∀𝑧 ∈ {𝐴, 𝐵} (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅) ↔ (𝐷𝐸) = ∅))
6040, 59anbi12d 743 . . 3 ((𝐴𝑉𝐵𝑉𝐴𝐵) → ((∀𝑧 ∈ {𝐴, 𝐵} (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅) ∧ ∀𝑧 ∈ {𝐴, 𝐵} (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅)) ↔ ((𝐷𝐸) = ∅ ∧ (𝐷𝐸) = ∅)))
6120, 60bitrd 267 . 2 ((𝐴𝑉𝐵𝑉𝐴𝐵) → (∀𝑦 ∈ {𝐴, 𝐵}∀𝑧 ∈ {𝐴, 𝐵} (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅) ↔ ((𝐷𝐸) = ∅ ∧ (𝐷𝐸) = ∅)))
62 disjors 4568 . 2 (Disj 𝑥 ∈ {𝐴, 𝐵}𝐶 ↔ ∀𝑦 ∈ {𝐴, 𝐵}∀𝑧 ∈ {𝐴, 𝐵} (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅))
63 pm4.24 673 . 2 ((𝐷𝐸) = ∅ ↔ ((𝐷𝐸) = ∅ ∧ (𝐷𝐸) = ∅))
6461, 62, 633bitr4g 302 1 ((𝐴𝑉𝐵𝑉𝐴𝐵) → (Disj 𝑥 ∈ {𝐴, 𝐵}𝐶 ↔ (𝐷𝐸) = ∅))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wo 382  wa 383  w3a 1031   = wceq 1475  wtru 1476  wcel 1977  wne 2780  wral 2896  csb 3499  cin 3539  c0 3874  {cpr 4127  Disj wdisj 4553
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-nul 3875  df-sn 4126  df-pr 4128  df-disj 4554
This theorem is referenced by:  disjdifprg  28770  unelldsys  29548  pmeasmono  29713  probun  29808  meadjun  39355
  Copyright terms: Public domain W3C validator