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

Theorem sb9 2414
Description: Commutation of quantification and substitution variables. (Contributed by NM, 5-Aug-1993.) Allow a shortening of sb9i 2415. (Revised by Wolf Lammen, 15-Jun-2019.)
Assertion
Ref Expression
sb9 (∀𝑥[𝑥 / 𝑦]𝜑 ↔ ∀𝑦[𝑦 / 𝑥]𝜑)

Proof of Theorem sb9
StepHypRef Expression
1 sbequ12a 2099 . . . . 5 (𝑦 = 𝑥 → ([𝑥 / 𝑦]𝜑 ↔ [𝑦 / 𝑥]𝜑))
21equcoms 1934 . . . 4 (𝑥 = 𝑦 → ([𝑥 / 𝑦]𝜑 ↔ [𝑦 / 𝑥]𝜑))
32sps 2043 . . 3 (∀𝑥 𝑥 = 𝑦 → ([𝑥 / 𝑦]𝜑 ↔ [𝑦 / 𝑥]𝜑))
43dral1 2313 . 2 (∀𝑥 𝑥 = 𝑦 → (∀𝑥[𝑥 / 𝑦]𝜑 ↔ ∀𝑦[𝑦 / 𝑥]𝜑))
5 nfnae 2306 . . 3 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
6 nfnae 2306 . . 3 𝑦 ¬ ∀𝑥 𝑥 = 𝑦
7 nfsb2 2348 . . . 4 (¬ ∀𝑦 𝑦 = 𝑥 → Ⅎ𝑦[𝑥 / 𝑦]𝜑)
87naecoms 2301 . . 3 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑦[𝑥 / 𝑦]𝜑)
9 nfsb2 2348 . . 3 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥[𝑦 / 𝑥]𝜑)
102a1i 11 . . 3 (¬ ∀𝑥 𝑥 = 𝑦 → (𝑥 = 𝑦 → ([𝑥 / 𝑦]𝜑 ↔ [𝑦 / 𝑥]𝜑)))
115, 6, 8, 9, 10cbv2 2258 . 2 (¬ ∀𝑥 𝑥 = 𝑦 → (∀𝑥[𝑥 / 𝑦]𝜑 ↔ ∀𝑦[𝑦 / 𝑥]𝜑))
124, 11pm2.61i 175 1 (∀𝑥[𝑥 / 𝑦]𝜑 ↔ ∀𝑦[𝑦 / 𝑥]𝜑)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wal 1473  wnf 1699  [wsb 1867
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868
This theorem is referenced by:  sb9i  2415
  Copyright terms: Public domain W3C validator