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

Theorem iuneqconst 4970
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 4963 . . 3 (𝑦 𝑥𝐴 𝐵 ↔ ∃𝑥𝐴 𝑦𝐵)
2 iuneqconst.p . . . . . . . 8 (𝑥 = 𝑋𝐵 = 𝐶)
32eleq2d 2818 . . . . . . 7 (𝑥 = 𝑋 → (𝑦𝐵𝑦𝐶))
43rspcev 3582 . . . . . 6 ((𝑋𝐴𝑦𝐶) → ∃𝑥𝐴 𝑦𝐵)
54adantlr 713 . . . . 5 (((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) ∧ 𝑦𝐶) → ∃𝑥𝐴 𝑦𝐵)
65ex 413 . . . 4 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → (𝑦𝐶 → ∃𝑥𝐴 𝑦𝐵))
7 nfv 1917 . . . . . 6 𝑥 𝑋𝐴
8 nfra1 3265 . . . . . 6 𝑥𝑥𝐴 𝐵 = 𝐶
97, 8nfan 1902 . . . . 5 𝑥(𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶)
10 nfv 1917 . . . . 5 𝑥 𝑦𝐶
11 rsp 3228 . . . . . . 7 (∀𝑥𝐴 𝐵 = 𝐶 → (𝑥𝐴𝐵 = 𝐶))
12 eleq2 2821 . . . . . . . 8 (𝐵 = 𝐶 → (𝑦𝐵𝑦𝐶))
1312biimpd 228 . . . . . . 7 (𝐵 = 𝐶 → (𝑦𝐵𝑦𝐶))
1411, 13syl6 35 . . . . . 6 (∀𝑥𝐴 𝐵 = 𝐶 → (𝑥𝐴 → (𝑦𝐵𝑦𝐶)))
1514adantl 482 . . . . 5 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → (𝑥𝐴 → (𝑦𝐵𝑦𝐶)))
169, 10, 15rexlimd 3247 . . . 4 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → (∃𝑥𝐴 𝑦𝐵𝑦𝐶))
176, 16impbid 211 . . 3 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → (𝑦𝐶 ↔ ∃𝑥𝐴 𝑦𝐵))
181, 17bitr4id 289 . 2 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → (𝑦 𝑥𝐴 𝐵𝑦𝐶))
1918eqrdv 2729 1 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → 𝑥𝐴 𝐵 = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1541  wcel 2106  wral 3060  wrex 3069   ciun 4959
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-12 2171  ax-ext 2702
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-tru 1544  df-ex 1782  df-nf 1786  df-sb 2068  df-clab 2709  df-cleq 2723  df-clel 2809  df-ral 3061  df-rex 3070  df-v 3448  df-iun 4961
This theorem is referenced by:  uniimafveqt  45693  imasetpreimafvbijlemfv  45714
  Copyright terms: Public domain W3C validator