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

Theorem sbbib 2353
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 2146 . . 3 𝑥[𝑦 / 𝑥]𝜑
2 sbbib.x . . 3 𝑥𝜓
31, 2nfbi 1899 . 2 𝑥([𝑦 / 𝑥]𝜑𝜓)
4 sbbib.y . . 3 𝑦𝜑
5 nfs1v 2146 . . 3 𝑦[𝑥 / 𝑦]𝜓
64, 5nfbi 1899 . 2 𝑦(𝜑 ↔ [𝑥 / 𝑦]𝜓)
7 sbequ12r 2240 . . 3 (𝑦 = 𝑥 → ([𝑦 / 𝑥]𝜑𝜑))
8 sbequ12 2239 . . 3 (𝑦 = 𝑥 → (𝜓 ↔ [𝑥 / 𝑦]𝜓))
97, 8bibi12d 345 . 2 (𝑦 = 𝑥 → (([𝑦 / 𝑥]𝜑𝜓) ↔ (𝜑 ↔ [𝑥 / 𝑦]𝜓)))
103, 6, 9cbvalv1 2333 1 (∀𝑦([𝑦 / 𝑥]𝜑𝜓) ↔ ∀𝑥(𝜑 ↔ [𝑥 / 𝑦]𝜓))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wal 1532  wnf 1778  [wsb 2060
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-10 2130  ax-11 2147  ax-12 2167
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 847  df-tru 1537  df-ex 1775  df-nf 1779  df-sb 2061
This theorem is referenced by:  sbbibvv  2354  dfich2  46798
  Copyright terms: Public domain W3C validator