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

Theorem sbbib 2397
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 2200 . . 3 Ⅎ𝑥[𝑦 / 𝑥]𝜑
2 sbbib.x . . 3 Ⅎ𝑥𝜓
31, 2nfbi 1940 . 2 Ⅎ𝑥([𝑦 / 𝑥]𝜑 ↔ 𝜓)
4 sbbib.y . . 3 Ⅎ𝑦𝜑
5 nfs1v 2200 . . 3 Ⅎ𝑦[𝑥 / 𝑦]𝜓
64, 5nfbi 1940 . 2 Ⅎ𝑦(𝜑 ↔ [𝑥 / 𝑦]𝜓)
7 sbequ12r 2295 . . 3 (𝑦 = 𝑥 → ([𝑦 / 𝑥]𝜑 ↔ 𝜑))
8 sbequ12 2294 . . 3 (𝑦 = 𝑥 → (𝜓 ↔ [𝑥 / 𝑦]𝜓))
97, 8bibi12d 348 . 2 (𝑦 = 𝑥 → (([𝑦 / 𝑥]𝜑 ↔ 𝜓) ↔ (𝜑 ↔ [𝑥 / 𝑦]𝜓)))
103, 6, 9cbvalv1 2378 1 (∀𝑦([𝑦 / 𝑥]𝜑 ↔ 𝜓) ↔ ∀𝑥(𝜑 ↔ [𝑥 / 𝑦]𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209  ∀wal 1570  Ⅎwnf 1818  [wsb 2104
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-10 2184  ax-11 2201  ax-12 2220
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1815  df-nf 1819  df-sb 2105
This theorem is used by:  sbbibvv  2398  dfich2  48896
  Copyright terms: Public domain W3C validator