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

Theorem iuneqconst 4935
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 4928 . . 3 (𝑦 𝑥𝐴 𝐵 ↔ ∃𝑥𝐴 𝑦𝐵)
2 iuneqconst.p . . . . . . . 8 (𝑥 = 𝑋𝐵 = 𝐶)
32eleq2d 2824 . . . . . . 7 (𝑥 = 𝑋 → (𝑦𝐵𝑦𝐶))
43rspcev 3561 . . . . . 6 ((𝑋𝐴𝑦𝐶) → ∃𝑥𝐴 𝑦𝐵)
54adantlr 712 . . . . 5 (((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) ∧ 𝑦𝐶) → ∃𝑥𝐴 𝑦𝐵)
65ex 413 . . . 4 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → (𝑦𝐶 → ∃𝑥𝐴 𝑦𝐵))
7 nfv 1917 . . . . . 6 𝑥 𝑋𝐴
8 nfra1 3144 . . . . . 6 𝑥𝑥𝐴 𝐵 = 𝐶
97, 8nfan 1902 . . . . 5 𝑥(𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶)
10 nfv 1917 . . . . 5 𝑥 𝑦𝐶
11 rsp 3131 . . . . . . 7 (∀𝑥𝐴 𝐵 = 𝐶 → (𝑥𝐴𝐵 = 𝐶))
12 eleq2 2827 . . . . . . . 8 (𝐵 = 𝐶 → (𝑦𝐵𝑦𝐶))
1312biimpd 228 . . . . . . 7 (𝐵 = 𝐶 → (𝑦𝐵𝑦𝐶))
1411, 13syl6 35 . . . . . 6 (∀𝑥𝐴 𝐵 = 𝐶 → (𝑥𝐴 → (𝑦𝐵𝑦𝐶)))
1514adantl 482 . . . . 5 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → (𝑥𝐴 → (𝑦𝐵𝑦𝐶)))
169, 10, 15rexlimd 3250 . . . 4 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → (∃𝑥𝐴 𝑦𝐵𝑦𝐶))
176, 16impbid 211 . . 3 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → (𝑦𝐶 ↔ ∃𝑥𝐴 𝑦𝐵))
181, 17bitr4id 290 . 2 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → (𝑦 𝑥𝐴 𝐵𝑦𝐶))
1918eqrdv 2736 1 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → 𝑥𝐴 𝐵 = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wcel 2106  wral 3064  wrex 3065   ciun 4924
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-12 2171  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-v 3434  df-iun 4926
This theorem is referenced by:  uniimafveqt  44833  imasetpreimafvbijlemfv  44854
  Copyright terms: Public domain W3C validator