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

Theorem cbviota 5844
Description: Change bound variables in a description binder. (Contributed by Andrew Salmon, 1-Aug-2011.)
Hypotheses
Ref Expression
cbviota.1 (𝑥 = 𝑦 → (𝜑𝜓))
cbviota.2 𝑦𝜑
cbviota.3 𝑥𝜓
Assertion
Ref Expression
cbviota (℩𝑥𝜑) = (℩𝑦𝜓)

Proof of Theorem cbviota
Dummy variables 𝑧 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfv 1841 . . . . . 6 𝑧(𝜑𝑥 = 𝑤)
2 nfs1v 2435 . . . . . . 7 𝑥[𝑧 / 𝑥]𝜑
3 nfv 1841 . . . . . . 7 𝑥 𝑧 = 𝑤
42, 3nfbi 1831 . . . . . 6 𝑥([𝑧 / 𝑥]𝜑𝑧 = 𝑤)
5 sbequ12 2109 . . . . . . 7 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
6 equequ1 1950 . . . . . . 7 (𝑥 = 𝑧 → (𝑥 = 𝑤𝑧 = 𝑤))
75, 6bibi12d 335 . . . . . 6 (𝑥 = 𝑧 → ((𝜑𝑥 = 𝑤) ↔ ([𝑧 / 𝑥]𝜑𝑧 = 𝑤)))
81, 4, 7cbval 2269 . . . . 5 (∀𝑥(𝜑𝑥 = 𝑤) ↔ ∀𝑧([𝑧 / 𝑥]𝜑𝑧 = 𝑤))
9 cbviota.2 . . . . . . . 8 𝑦𝜑
109nfsb 2438 . . . . . . 7 𝑦[𝑧 / 𝑥]𝜑
11 nfv 1841 . . . . . . 7 𝑦 𝑧 = 𝑤
1210, 11nfbi 1831 . . . . . 6 𝑦([𝑧 / 𝑥]𝜑𝑧 = 𝑤)
13 nfv 1841 . . . . . 6 𝑧(𝜓𝑦 = 𝑤)
14 sbequ 2374 . . . . . . . 8 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
15 cbviota.3 . . . . . . . . 9 𝑥𝜓
16 cbviota.1 . . . . . . . . 9 (𝑥 = 𝑦 → (𝜑𝜓))
1715, 16sbie 2406 . . . . . . . 8 ([𝑦 / 𝑥]𝜑𝜓)
1814, 17syl6bb 276 . . . . . . 7 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑𝜓))
19 equequ1 1950 . . . . . . 7 (𝑧 = 𝑦 → (𝑧 = 𝑤𝑦 = 𝑤))
2018, 19bibi12d 335 . . . . . 6 (𝑧 = 𝑦 → (([𝑧 / 𝑥]𝜑𝑧 = 𝑤) ↔ (𝜓𝑦 = 𝑤)))
2112, 13, 20cbval 2269 . . . . 5 (∀𝑧([𝑧 / 𝑥]𝜑𝑧 = 𝑤) ↔ ∀𝑦(𝜓𝑦 = 𝑤))
228, 21bitri 264 . . . 4 (∀𝑥(𝜑𝑥 = 𝑤) ↔ ∀𝑦(𝜓𝑦 = 𝑤))
2322abbii 2737 . . 3 {𝑤 ∣ ∀𝑥(𝜑𝑥 = 𝑤)} = {𝑤 ∣ ∀𝑦(𝜓𝑦 = 𝑤)}
2423unieqi 4436 . 2 {𝑤 ∣ ∀𝑥(𝜑𝑥 = 𝑤)} = {𝑤 ∣ ∀𝑦(𝜓𝑦 = 𝑤)}
25 dfiota2 5840 . 2 (℩𝑥𝜑) = {𝑤 ∣ ∀𝑥(𝜑𝑥 = 𝑤)}
26 dfiota2 5840 . 2 (℩𝑦𝜓) = {𝑤 ∣ ∀𝑦(𝜓𝑦 = 𝑤)}
2724, 25, 263eqtr4i 2652 1 (℩𝑥𝜑) = (℩𝑦𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wal 1479   = wceq 1481  wnf 1706  [wsb 1878  {cab 2606   cuni 4427  cio 5837
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1720  ax-4 1735  ax-5 1837  ax-6 1886  ax-7 1933  ax-9 1997  ax-10 2017  ax-11 2032  ax-12 2045  ax-13 2244  ax-ext 2600
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1484  df-ex 1703  df-nf 1708  df-sb 1879  df-clab 2607  df-cleq 2613  df-clel 2616  df-nfc 2751  df-rex 2915  df-sn 4169  df-uni 4428  df-iota 5839
This theorem is referenced by:  cbviotav  5845  fvopab5  6295  cbvriota  6606
  Copyright terms: Public domain W3C validator