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

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

Proof of Theorem sb9
StepHypRef Expression
1 sbequ12a 2246 . . . . 5 (𝑦 = 𝑥 → ([𝑥 / 𝑦]𝜑 ↔ [𝑦 / 𝑥]𝜑))
21equcoms 2018 . . . 4 (𝑥 = 𝑦 → ([𝑥 / 𝑦]𝜑 ↔ [𝑦 / 𝑥]𝜑))
32sps 2174 . . 3 (∀𝑥 𝑥 = 𝑦 → ([𝑥 / 𝑦]𝜑 ↔ [𝑦 / 𝑥]𝜑))
43dral1 2453 . 2 (∀𝑥 𝑥 = 𝑦 → (∀𝑥[𝑥 / 𝑦]𝜑 ↔ ∀𝑦[𝑦 / 𝑥]𝜑))
5 nfnae 2448 . . 3 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
6 nfnae 2448 . . 3 𝑦 ¬ ∀𝑥 𝑥 = 𝑦
7 nfsb2 2515 . . . 4 (¬ ∀𝑦 𝑦 = 𝑥 → Ⅎ𝑦[𝑥 / 𝑦]𝜑)
87naecoms 2443 . . 3 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑦[𝑥 / 𝑦]𝜑)
9 nfsb2 2515 . . 3 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥[𝑦 / 𝑥]𝜑)
102a1i 11 . . 3 (¬ ∀𝑥 𝑥 = 𝑦 → (𝑥 = 𝑦 → ([𝑥 / 𝑦]𝜑 ↔ [𝑦 / 𝑥]𝜑)))
115, 6, 8, 9, 10cbv2 2414 . 2 (¬ ∀𝑥 𝑥 = 𝑦 → (∀𝑥[𝑥 / 𝑦]𝜑 ↔ ∀𝑦[𝑦 / 𝑥]𝜑))
124, 11pm2.61i 183 1 (∀𝑥[𝑥 / 𝑦]𝜑 ↔ ∀𝑦[𝑦 / 𝑥]𝜑)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 207  wal 1526  wnf 1775  [wsb 2060
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-10 2136  ax-11 2151  ax-12 2167  ax-13 2381
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061
This theorem is referenced by:  sb9i  2555
  Copyright terms: Public domain W3C validator