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

Theorem iuneqconst 4962
Description: Indexed union of identical classes. (Contributed by AV, 5-Mar-2024.)
Hypothesis
Ref Expression
iuneqconst.p (𝑥 = 𝑋 → 𝐵 = 𝐶)
Assertion
Ref Expression
iuneqconst ((𝑋 ∈ 𝐴 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐶) → ∪ 𝑥 ∈ 𝐴 𝐵 = 𝐶)
Distinct variable groups:   𝑥,𝐴   𝑥,𝐶   𝑥,𝑋
Allowed substitution hint:   𝐵(𝑥)

Proof of Theorem iuneqconst
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 eliun 4954 . . 3 (𝑦 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵)
2 iuneqconst.p . . . . . . . 8 (𝑥 = 𝑋 → 𝐵 = 𝐶)
32eleq2d 2846 . . . . . . 7 (𝑥 = 𝑋 → (𝑦 ∈ 𝐵 ↔ 𝑦 ∈ 𝐶))
43rspcev 3576 . . . . . 6 ((𝑋 ∈ 𝐴 ∧ 𝑦 ∈ 𝐶) → ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵)
54adantlr 728 . . . . 5 (((𝑋 ∈ 𝐴 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐶) ∧ 𝑦 ∈ 𝐶) → ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵)
65ex 418 . . . 4 ((𝑋 ∈ 𝐴 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐶) → (𝑦 ∈ 𝐶 → ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵))
7 nfv 1947 . . . . . 6 Ⅎ𝑥 𝑋 ∈ 𝐴
8 nfra1 3286 . . . . . 6 Ⅎ𝑥∀𝑥 ∈ 𝐴 𝐵 = 𝐶
97, 8nfan 1932 . . . . 5 Ⅎ𝑥(𝑋 ∈ 𝐴 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐶)
10 nfv 1947 . . . . 5 Ⅎ𝑥 𝑦 ∈ 𝐶
11 rsp 3250 . . . . . . 7 (∀𝑥 ∈ 𝐴 𝐵 = 𝐶 → (𝑥 ∈ 𝐴 → 𝐵 = 𝐶))
12 eleq2 2849 . . . . . . . 8 (𝐵 = 𝐶 → (𝑦 ∈ 𝐵 ↔ 𝑦 ∈ 𝐶))
1312biimpd 232 . . . . . . 7 (𝐵 = 𝐶 → (𝑦 ∈ 𝐵 → 𝑦 ∈ 𝐶))
1411, 13syl6 36 . . . . . 6 (∀𝑥 ∈ 𝐴 𝐵 = 𝐶 → (𝑥 ∈ 𝐴 → (𝑦 ∈ 𝐵 → 𝑦 ∈ 𝐶)))
1514adantl 487 . . . . 5 ((𝑋 ∈ 𝐴 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐶) → (𝑥 ∈ 𝐴 → (𝑦 ∈ 𝐵 → 𝑦 ∈ 𝐶)))
169, 10, 15rexlimd 3269 . . . 4 ((𝑋 ∈ 𝐴 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐶) → (∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵 → 𝑦 ∈ 𝐶))
176, 16impbid 215 . . 3 ((𝑋 ∈ 𝐴 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐶) → (𝑦 ∈ 𝐶 ↔ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵))
181, 17bitr4id 293 . 2 ((𝑋 ∈ 𝐴 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐶) → (𝑦 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ↔ 𝑦 ∈ 𝐶))
1918eqrdv 2758 1 ((𝑋 ∈ 𝐴 ∧ ∀𝑥 ∈ 𝐴 𝐵 = 𝐶) → ∪ 𝑥 ∈ 𝐴 𝐵 = 𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ∀wral 3076  ∃wrex 3086  ∪ ciun 4950
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-12 2213  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-v 3452  df-iun 4952
This theorem is used by:  uniimafveqt  48385  imasetpreimafvbijlemfv  48406
  Copyright terms: Public domain W3C validator