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

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

Proof of Theorem sb9
StepHypRef Expression
1 sbequ12a 2113 . . . . 5 (𝑦 = 𝑥 → ([𝑥 / 𝑦]𝜑 ↔ [𝑦 / 𝑥]𝜑))
21equcoms 1947 . . . 4 (𝑥 = 𝑦 → ([𝑥 / 𝑦]𝜑 ↔ [𝑦 / 𝑥]𝜑))
32sps 2055 . . 3 (∀𝑥 𝑥 = 𝑦 → ([𝑥 / 𝑦]𝜑 ↔ [𝑦 / 𝑥]𝜑))
43dral1 2325 . 2 (∀𝑥 𝑥 = 𝑦 → (∀𝑥[𝑥 / 𝑦]𝜑 ↔ ∀𝑦[𝑦 / 𝑥]𝜑))
5 nfnae 2318 . . 3 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
6 nfnae 2318 . . 3 𝑦 ¬ ∀𝑥 𝑥 = 𝑦
7 nfsb2 2360 . . . 4 (¬ ∀𝑦 𝑦 = 𝑥 → Ⅎ𝑦[𝑥 / 𝑦]𝜑)
87naecoms 2313 . . 3 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑦[𝑥 / 𝑦]𝜑)
9 nfsb2 2360 . . 3 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥[𝑦 / 𝑥]𝜑)
102a1i 11 . . 3 (¬ ∀𝑥 𝑥 = 𝑦 → (𝑥 = 𝑦 → ([𝑥 / 𝑦]𝜑 ↔ [𝑦 / 𝑥]𝜑)))
115, 6, 8, 9, 10cbv2 2270 . 2 (¬ ∀𝑥 𝑥 = 𝑦 → (∀𝑥[𝑥 / 𝑦]𝜑 ↔ ∀𝑦[𝑦 / 𝑥]𝜑))
124, 11pm2.61i 176 1 (∀𝑥[𝑥 / 𝑦]𝜑 ↔ ∀𝑦[𝑦 / 𝑥]𝜑)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wal 1481  wnf 1708  [wsb 1880
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881
This theorem is referenced by:  sb9i  2427
  Copyright terms: Public domain W3C validator