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

Theorem cbviota 6495
Description: Change bound variables in a description binder. Usage of this theorem is discouraged because it depends on ax-13 2363. Use the weaker cbviotaw 6492 when possible. (Contributed by Andrew Salmon, 1-Aug-2011.) (New usage is discouraged.)
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 1909 . . . . . 6 𝑧(𝜑𝑥 = 𝑤)
2 nfs1v 2145 . . . . . . 7 𝑥[𝑧 / 𝑥]𝜑
3 nfv 1909 . . . . . . 7 𝑥 𝑧 = 𝑤
42, 3nfbi 1898 . . . . . 6 𝑥([𝑧 / 𝑥]𝜑𝑧 = 𝑤)
5 sbequ12 2235 . . . . . . 7 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
6 equequ1 2020 . . . . . . 7 (𝑥 = 𝑧 → (𝑥 = 𝑤𝑧 = 𝑤))
75, 6bibi12d 345 . . . . . 6 (𝑥 = 𝑧 → ((𝜑𝑥 = 𝑤) ↔ ([𝑧 / 𝑥]𝜑𝑧 = 𝑤)))
81, 4, 7cbvalv1 2329 . . . . 5 (∀𝑥(𝜑𝑥 = 𝑤) ↔ ∀𝑧([𝑧 / 𝑥]𝜑𝑧 = 𝑤))
9 cbviota.2 . . . . . . . 8 𝑦𝜑
109nfsb 2514 . . . . . . 7 𝑦[𝑧 / 𝑥]𝜑
11 nfv 1909 . . . . . . 7 𝑦 𝑧 = 𝑤
1210, 11nfbi 1898 . . . . . 6 𝑦([𝑧 / 𝑥]𝜑𝑧 = 𝑤)
13 nfv 1909 . . . . . 6 𝑧(𝜓𝑦 = 𝑤)
14 sbequ 2078 . . . . . . . 8 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
15 cbviota.3 . . . . . . . . 9 𝑥𝜓
16 cbviota.1 . . . . . . . . 9 (𝑥 = 𝑦 → (𝜑𝜓))
1715, 16sbie 2493 . . . . . . . 8 ([𝑦 / 𝑥]𝜑𝜓)
1814, 17bitrdi 287 . . . . . . 7 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑𝜓))
19 equequ1 2020 . . . . . . 7 (𝑧 = 𝑦 → (𝑧 = 𝑤𝑦 = 𝑤))
2018, 19bibi12d 345 . . . . . 6 (𝑧 = 𝑦 → (([𝑧 / 𝑥]𝜑𝑧 = 𝑤) ↔ (𝜓𝑦 = 𝑤)))
2112, 13, 20cbvalv1 2329 . . . . 5 (∀𝑧([𝑧 / 𝑥]𝜑𝑧 = 𝑤) ↔ ∀𝑦(𝜓𝑦 = 𝑤))
228, 21bitri 275 . . . 4 (∀𝑥(𝜑𝑥 = 𝑤) ↔ ∀𝑦(𝜓𝑦 = 𝑤))
2322abbii 2794 . . 3 {𝑤 ∣ ∀𝑥(𝜑𝑥 = 𝑤)} = {𝑤 ∣ ∀𝑦(𝜓𝑦 = 𝑤)}
2423unieqi 4911 . 2 {𝑤 ∣ ∀𝑥(𝜑𝑥 = 𝑤)} = {𝑤 ∣ ∀𝑦(𝜓𝑦 = 𝑤)}
25 dfiota2 6486 . 2 (℩𝑥𝜑) = {𝑤 ∣ ∀𝑥(𝜑𝑥 = 𝑤)}
26 dfiota2 6486 . 2 (℩𝑦𝜓) = {𝑤 ∣ ∀𝑦(𝜓𝑦 = 𝑤)}
2724, 25, 263eqtr4i 2762 1 (℩𝑥𝜑) = (℩𝑦𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wal 1531   = wceq 1533  wnf 1777  [wsb 2059  {cab 2701   cuni 4899  cio 6483
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2163  ax-13 2363  ax-ext 2695
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 845  df-tru 1536  df-ex 1774  df-nf 1778  df-sb 2060  df-clab 2702  df-cleq 2716  df-clel 2802  df-v 3468  df-in 3947  df-ss 3957  df-sn 4621  df-uni 4900  df-iota 6485
This theorem is referenced by:  cbviotav  6496  cbvriota  7371
  Copyright terms: Public domain W3C validator