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

Theorem iuneqconst 4932
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 4925 . . 3 (𝑦 𝑥𝐴 𝐵 ↔ ∃𝑥𝐴 𝑦𝐵)
2 iuneqconst.p . . . . . . . 8 (𝑥 = 𝑋𝐵 = 𝐶)
32eleq2d 2824 . . . . . . 7 (𝑥 = 𝑋 → (𝑦𝐵𝑦𝐶))
43rspcev 3552 . . . . . 6 ((𝑋𝐴𝑦𝐶) → ∃𝑥𝐴 𝑦𝐵)
54adantlr 711 . . . . 5 (((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) ∧ 𝑦𝐶) → ∃𝑥𝐴 𝑦𝐵)
65ex 412 . . . 4 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → (𝑦𝐶 → ∃𝑥𝐴 𝑦𝐵))
7 nfv 1918 . . . . . 6 𝑥 𝑋𝐴
8 nfra1 3142 . . . . . 6 𝑥𝑥𝐴 𝐵 = 𝐶
97, 8nfan 1903 . . . . 5 𝑥(𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶)
10 nfv 1918 . . . . 5 𝑥 𝑦𝐶
11 rsp 3129 . . . . . . 7 (∀𝑥𝐴 𝐵 = 𝐶 → (𝑥𝐴𝐵 = 𝐶))
12 eleq2 2827 . . . . . . . 8 (𝐵 = 𝐶 → (𝑦𝐵𝑦𝐶))
1312biimpd 228 . . . . . . 7 (𝐵 = 𝐶 → (𝑦𝐵𝑦𝐶))
1411, 13syl6 35 . . . . . 6 (∀𝑥𝐴 𝐵 = 𝐶 → (𝑥𝐴 → (𝑦𝐵𝑦𝐶)))
1514adantl 481 . . . . 5 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → (𝑥𝐴 → (𝑦𝐵𝑦𝐶)))
169, 10, 15rexlimd 3245 . . . 4 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → (∃𝑥𝐴 𝑦𝐵𝑦𝐶))
176, 16impbid 211 . . 3 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → (𝑦𝐶 ↔ ∃𝑥𝐴 𝑦𝐵))
181, 17bitr4id 289 . 2 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → (𝑦 𝑥𝐴 𝐵𝑦𝐶))
1918eqrdv 2736 1 ((𝑋𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → 𝑥𝐴 𝐵 = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  wral 3063  wrex 3064   ciun 4921
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-v 3424  df-iun 4923
This theorem is referenced by:  uniimafveqt  44721  imasetpreimafvbijlemfv  44742
  Copyright terms: Public domain W3C validator