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

Theorem cbviota 5999
 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 1995 . . . . . 6 𝑧(𝜑𝑥 = 𝑤)
2 nfs1v 2274 . . . . . . 7 𝑥[𝑧 / 𝑥]𝜑
3 nfv 1995 . . . . . . 7 𝑥 𝑧 = 𝑤
42, 3nfbi 1985 . . . . . 6 𝑥([𝑧 / 𝑥]𝜑𝑧 = 𝑤)
5 sbequ12 2267 . . . . . . 7 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
6 equequ1 2110 . . . . . . 7 (𝑥 = 𝑧 → (𝑥 = 𝑤𝑧 = 𝑤))
75, 6bibi12d 334 . . . . . 6 (𝑥 = 𝑧 → ((𝜑𝑥 = 𝑤) ↔ ([𝑧 / 𝑥]𝜑𝑧 = 𝑤)))
81, 4, 7cbval 2432 . . . . 5 (∀𝑥(𝜑𝑥 = 𝑤) ↔ ∀𝑧([𝑧 / 𝑥]𝜑𝑧 = 𝑤))
9 cbviota.2 . . . . . . . 8 𝑦𝜑
109nfsb 2590 . . . . . . 7 𝑦[𝑧 / 𝑥]𝜑
11 nfv 1995 . . . . . . 7 𝑦 𝑧 = 𝑤
1210, 11nfbi 1985 . . . . . 6 𝑦([𝑧 / 𝑥]𝜑𝑧 = 𝑤)
13 nfv 1995 . . . . . 6 𝑧(𝜓𝑦 = 𝑤)
14 sbequ 2523 . . . . . . . 8 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
15 cbviota.3 . . . . . . . . 9 𝑥𝜓
16 cbviota.1 . . . . . . . . 9 (𝑥 = 𝑦 → (𝜑𝜓))
1715, 16sbie 2555 . . . . . . . 8 ([𝑦 / 𝑥]𝜑𝜓)
1814, 17syl6bb 276 . . . . . . 7 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑𝜓))
19 equequ1 2110 . . . . . . 7 (𝑧 = 𝑦 → (𝑧 = 𝑤𝑦 = 𝑤))
2018, 19bibi12d 334 . . . . . 6 (𝑧 = 𝑦 → (([𝑧 / 𝑥]𝜑𝑧 = 𝑤) ↔ (𝜓𝑦 = 𝑤)))
2112, 13, 20cbval 2432 . . . . 5 (∀𝑧([𝑧 / 𝑥]𝜑𝑧 = 𝑤) ↔ ∀𝑦(𝜓𝑦 = 𝑤))
228, 21bitri 264 . . . 4 (∀𝑥(𝜑𝑥 = 𝑤) ↔ ∀𝑦(𝜓𝑦 = 𝑤))
2322abbii 2888 . . 3 {𝑤 ∣ ∀𝑥(𝜑𝑥 = 𝑤)} = {𝑤 ∣ ∀𝑦(𝜓𝑦 = 𝑤)}
2423unieqi 4583 . 2 {𝑤 ∣ ∀𝑥(𝜑𝑥 = 𝑤)} = {𝑤 ∣ ∀𝑦(𝜓𝑦 = 𝑤)}
25 dfiota2 5995 . 2 (℩𝑥𝜑) = {𝑤 ∣ ∀𝑥(𝜑𝑥 = 𝑤)}
26 dfiota2 5995 . 2 (℩𝑦𝜓) = {𝑤 ∣ ∀𝑦(𝜓𝑦 = 𝑤)}
2724, 25, 263eqtr4i 2803 1 (℩𝑥𝜑) = (℩𝑦𝜓)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 196  ∀wal 1629   = wceq 1631  Ⅎwnf 1856  [wsb 2049  {cab 2757  ∪ cuni 4574  ℩cio 5992 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751 This theorem depends on definitions:  df-bi 197  df-an 383  df-or 835  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-rex 3067  df-sn 4317  df-uni 4575  df-iota 5994 This theorem is referenced by:  cbviotav  6000  fvopab5  6452  cbvriota  6764
 Copyright terms: Public domain W3C validator