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

Theorem sbbib 2391
Description: Reversal of substitution. (Contributed by AV, 6-Aug-2023.) (Proof shortened by Wolf Lammen, 4-Sep-2023.)
Hypotheses
Ref Expression
sbbib.y Ⅎ𝑦𝜑
sbbib.x Ⅎ𝑥𝜓
Assertion
Ref Expression
sbbib (∀𝑦([𝑦 / 𝑥]𝜑 ↔ 𝜓) ↔ ∀𝑥(𝜑 ↔ [𝑥 / 𝑦]𝜓))
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥, 𝑦)   𝜓(𝑥, 𝑦)

Proof of Theorem sbbib
StepHypRef Expression
1 nfs1v 2193 . . 3 Ⅎ𝑥[𝑦 / 𝑥]𝜑
2 sbbib.x . . 3 Ⅎ𝑥𝜓
31, 2nfbi 1936 . 2 Ⅎ𝑥([𝑦 / 𝑥]𝜑 ↔ 𝜓)
4 sbbib.y . . 3 Ⅎ𝑦𝜑
5 nfs1v 2193 . . 3 Ⅎ𝑦[𝑥 / 𝑦]𝜓
64, 5nfbi 1936 . 2 Ⅎ𝑦(𝜑 ↔ [𝑥 / 𝑦]𝜓)
7 sbequ12r 2288 . . 3 (𝑦 = 𝑥 → ([𝑦 / 𝑥]𝜑 ↔ 𝜑))
8 sbequ12 2287 . . 3 (𝑦 = 𝑥 → (𝜓 ↔ [𝑥 / 𝑦]𝜓))
97, 8bibi12d 348 . 2 (𝑦 = 𝑥 → (([𝑦 / 𝑥]𝜑 ↔ 𝜓) ↔ (𝜑 ↔ [𝑥 / 𝑦]𝜓)))
103, 6, 9cbvalv1 2371 1 (∀𝑦([𝑦 / 𝑥]𝜑 ↔ 𝜓) ↔ ∀𝑥(𝜑 ↔ [𝑥 / 𝑦]𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209  ∀wal 1568  Ⅎwnf 1816  [wsb 2099
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-10 2178  ax-11 2194  ax-12 2213
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2100
This theorem is used by:  sbbibvv  2392  dfich2  48484
  Copyright terms: Public domain W3C validator