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

Theorem disjprg 5062
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 2825 . . . . . . 7 (𝑦 = 𝐴 → (𝑦 = 𝑧𝐴 = 𝑧))
2 nfcv 2977 . . . . . . . . . 10 𝑥𝐴
3 nfcv 2977 . . . . . . . . . 10 𝑥𝐷
4 disjprg.1 . . . . . . . . . 10 (𝑥 = 𝐴𝐶 = 𝐷)
52, 3, 4csbhypf 3911 . . . . . . . . 9 (𝑦 = 𝐴𝑦 / 𝑥𝐶 = 𝐷)
65ineq1d 4188 . . . . . . . 8 (𝑦 = 𝐴 → (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = (𝐷𝑧 / 𝑥𝐶))
76eqeq1d 2823 . . . . . . 7 (𝑦 = 𝐴 → ((𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅ ↔ (𝐷𝑧 / 𝑥𝐶) = ∅))
81, 7orbi12d 915 . . . . . 6 (𝑦 = 𝐴 → ((𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅) ↔ (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅)))
98ralbidv 3197 . . . . 5 (𝑦 = 𝐴 → (∀𝑧 ∈ {𝐴, 𝐵} (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅) ↔ ∀𝑧 ∈ {𝐴, 𝐵} (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅)))
10 eqeq1 2825 . . . . . . 7 (𝑦 = 𝐵 → (𝑦 = 𝑧𝐵 = 𝑧))
11 nfcv 2977 . . . . . . . . . 10 𝑥𝐵
12 nfcv 2977 . . . . . . . . . 10 𝑥𝐸
13 disjprg.2 . . . . . . . . . 10 (𝑥 = 𝐵𝐶 = 𝐸)
1411, 12, 13csbhypf 3911 . . . . . . . . 9 (𝑦 = 𝐵𝑦 / 𝑥𝐶 = 𝐸)
1514ineq1d 4188 . . . . . . . 8 (𝑦 = 𝐵 → (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = (𝐸𝑧 / 𝑥𝐶))
1615eqeq1d 2823 . . . . . . 7 (𝑦 = 𝐵 → ((𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅ ↔ (𝐸𝑧 / 𝑥𝐶) = ∅))
1710, 16orbi12d 915 . . . . . 6 (𝑦 = 𝐵 → ((𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅) ↔ (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅)))
1817ralbidv 3197 . . . . 5 (𝑦 = 𝐵 → (∀𝑧 ∈ {𝐴, 𝐵} (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅) ↔ ∀𝑧 ∈ {𝐴, 𝐵} (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅)))
199, 18ralprg 4632 . . . 4 ((𝐴𝑉𝐵𝑉) → (∀𝑦 ∈ {𝐴, 𝐵}∀𝑧 ∈ {𝐴, 𝐵} (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅) ↔ (∀𝑧 ∈ {𝐴, 𝐵} (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅) ∧ ∀𝑧 ∈ {𝐴, 𝐵} (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅))))
20193adant3 1128 . . 3 ((𝐴𝑉𝐵𝑉𝐴𝐵) → (∀𝑦 ∈ {𝐴, 𝐵}∀𝑧 ∈ {𝐴, 𝐵} (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅) ↔ (∀𝑧 ∈ {𝐴, 𝐵} (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅) ∧ ∀𝑧 ∈ {𝐴, 𝐵} (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅))))
21 id 22 . . . . . . . . . 10 (𝑧 = 𝐴𝑧 = 𝐴)
2221eqcomd 2827 . . . . . . . . 9 (𝑧 = 𝐴𝐴 = 𝑧)
2322orcd 869 . . . . . . . 8 (𝑧 = 𝐴 → (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅))
24 trud 1547 . . . . . . . 8 (𝑧 = 𝐴 → ⊤)
2523, 242thd 267 . . . . . . 7 (𝑧 = 𝐴 → ((𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅) ↔ ⊤))
26 eqeq2 2833 . . . . . . . 8 (𝑧 = 𝐵 → (𝐴 = 𝑧𝐴 = 𝐵))
2711, 12, 13csbhypf 3911 . . . . . . . . . 10 (𝑧 = 𝐵𝑧 / 𝑥𝐶 = 𝐸)
2827ineq2d 4189 . . . . . . . . 9 (𝑧 = 𝐵 → (𝐷𝑧 / 𝑥𝐶) = (𝐷𝐸))
2928eqeq1d 2823 . . . . . . . 8 (𝑧 = 𝐵 → ((𝐷𝑧 / 𝑥𝐶) = ∅ ↔ (𝐷𝐸) = ∅))
3026, 29orbi12d 915 . . . . . . 7 (𝑧 = 𝐵 → ((𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅) ↔ (𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅)))
3125, 30ralprg 4632 . . . . . 6 ((𝐴𝑉𝐵𝑉) → (∀𝑧 ∈ {𝐴, 𝐵} (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅) ↔ (⊤ ∧ (𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅))))
32313adant3 1128 . . . . 5 ((𝐴𝑉𝐵𝑉𝐴𝐵) → (∀𝑧 ∈ {𝐴, 𝐵} (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅) ↔ (⊤ ∧ (𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅))))
33 simp3 1134 . . . . . . . 8 ((𝐴𝑉𝐵𝑉𝐴𝐵) → 𝐴𝐵)
3433neneqd 3021 . . . . . . 7 ((𝐴𝑉𝐵𝑉𝐴𝐵) → ¬ 𝐴 = 𝐵)
35 biorf 933 . . . . . . 7 𝐴 = 𝐵 → ((𝐷𝐸) = ∅ ↔ (𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅)))
3634, 35syl 17 . . . . . 6 ((𝐴𝑉𝐵𝑉𝐴𝐵) → ((𝐷𝐸) = ∅ ↔ (𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅)))
37 tru 1541 . . . . . . 7
3837biantrur 533 . . . . . 6 ((𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅) ↔ (⊤ ∧ (𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅)))
3936, 38syl6bb 289 . . . . 5 ((𝐴𝑉𝐵𝑉𝐴𝐵) → ((𝐷𝐸) = ∅ ↔ (⊤ ∧ (𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅))))
4032, 39bitr4d 284 . . . 4 ((𝐴𝑉𝐵𝑉𝐴𝐵) → (∀𝑧 ∈ {𝐴, 𝐵} (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅) ↔ (𝐷𝐸) = ∅))
41 eqeq2 2833 . . . . . . . . 9 (𝑧 = 𝐴 → (𝐵 = 𝑧𝐵 = 𝐴))
42 eqcom 2828 . . . . . . . . 9 (𝐵 = 𝐴𝐴 = 𝐵)
4341, 42syl6bb 289 . . . . . . . 8 (𝑧 = 𝐴 → (𝐵 = 𝑧𝐴 = 𝐵))
442, 3, 4csbhypf 3911 . . . . . . . . . . 11 (𝑧 = 𝐴𝑧 / 𝑥𝐶 = 𝐷)
4544ineq2d 4189 . . . . . . . . . 10 (𝑧 = 𝐴 → (𝐸𝑧 / 𝑥𝐶) = (𝐸𝐷))
46 incom 4178 . . . . . . . . . 10 (𝐸𝐷) = (𝐷𝐸)
4745, 46syl6eq 2872 . . . . . . . . 9 (𝑧 = 𝐴 → (𝐸𝑧 / 𝑥𝐶) = (𝐷𝐸))
4847eqeq1d 2823 . . . . . . . 8 (𝑧 = 𝐴 → ((𝐸𝑧 / 𝑥𝐶) = ∅ ↔ (𝐷𝐸) = ∅))
4943, 48orbi12d 915 . . . . . . 7 (𝑧 = 𝐴 → ((𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅) ↔ (𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅)))
50 id 22 . . . . . . . . . 10 (𝑧 = 𝐵𝑧 = 𝐵)
5150eqcomd 2827 . . . . . . . . 9 (𝑧 = 𝐵𝐵 = 𝑧)
5251orcd 869 . . . . . . . 8 (𝑧 = 𝐵 → (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅))
53 trud 1547 . . . . . . . 8 (𝑧 = 𝐵 → ⊤)
5452, 532thd 267 . . . . . . 7 (𝑧 = 𝐵 → ((𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅) ↔ ⊤))
5549, 54ralprg 4632 . . . . . 6 ((𝐴𝑉𝐵𝑉) → (∀𝑧 ∈ {𝐴, 𝐵} (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅) ↔ ((𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅) ∧ ⊤)))
56553adant3 1128 . . . . 5 ((𝐴𝑉𝐵𝑉𝐴𝐵) → (∀𝑧 ∈ {𝐴, 𝐵} (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅) ↔ ((𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅) ∧ ⊤)))
5737biantru 532 . . . . . 6 ((𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅) ↔ ((𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅) ∧ ⊤))
5836, 57syl6bb 289 . . . . 5 ((𝐴𝑉𝐵𝑉𝐴𝐵) → ((𝐷𝐸) = ∅ ↔ ((𝐴 = 𝐵 ∨ (𝐷𝐸) = ∅) ∧ ⊤)))
5956, 58bitr4d 284 . . . 4 ((𝐴𝑉𝐵𝑉𝐴𝐵) → (∀𝑧 ∈ {𝐴, 𝐵} (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅) ↔ (𝐷𝐸) = ∅))
6040, 59anbi12d 632 . . 3 ((𝐴𝑉𝐵𝑉𝐴𝐵) → ((∀𝑧 ∈ {𝐴, 𝐵} (𝐴 = 𝑧 ∨ (𝐷𝑧 / 𝑥𝐶) = ∅) ∧ ∀𝑧 ∈ {𝐴, 𝐵} (𝐵 = 𝑧 ∨ (𝐸𝑧 / 𝑥𝐶) = ∅)) ↔ ((𝐷𝐸) = ∅ ∧ (𝐷𝐸) = ∅)))
6120, 60bitrd 281 . 2 ((𝐴𝑉𝐵𝑉𝐴𝐵) → (∀𝑦 ∈ {𝐴, 𝐵}∀𝑧 ∈ {𝐴, 𝐵} (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅) ↔ ((𝐷𝐸) = ∅ ∧ (𝐷𝐸) = ∅)))
62 disjors 5047 . 2 (Disj 𝑥 ∈ {𝐴, 𝐵}𝐶 ↔ ∀𝑦 ∈ {𝐴, 𝐵}∀𝑧 ∈ {𝐴, 𝐵} (𝑦 = 𝑧 ∨ (𝑦 / 𝑥𝐶𝑧 / 𝑥𝐶) = ∅))
63 pm4.24 566 . 2 ((𝐷𝐸) = ∅ ↔ ((𝐷𝐸) = ∅ ∧ (𝐷𝐸) = ∅))
6461, 62, 633bitr4g 316 1 ((𝐴𝑉𝐵𝑉𝐴𝐵) → (Disj 𝑥 ∈ {𝐴, 𝐵}𝐶 ↔ (𝐷𝐸) = ∅))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wo 843  w3a 1083   = wceq 1537  wtru 1538  wcel 2114  wne 3016  wral 3138  csb 3883  cin 3935  c0 4291  {cpr 4569  Disj wdisj 5031
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  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 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-nul 4292  df-sn 4568  df-pr 4570  df-disj 5032
This theorem is referenced by:  disjdifprg  30325  pmeasmono  31582  probun  31677  meadjun  42764
  Copyright terms: Public domain W3C validator