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

Theorem sbn 2379
Description: Negation inside and outside of substitution are equivalent. (Contributed by NM, 14-May-1993.) (Proof shortened by Wolf Lammen, 30-Apr-2018.)
Assertion
Ref Expression
sbn ([𝑦 / 𝑥] ¬ 𝜑 ↔ ¬ [𝑦 / 𝑥]𝜑)

Proof of Theorem sbn
StepHypRef Expression
1 df-sb 1868 . . 3 ([𝑦 / 𝑥] ¬ 𝜑 ↔ ((𝑥 = 𝑦 → ¬ 𝜑) ∧ ∃𝑥(𝑥 = 𝑦 ∧ ¬ 𝜑)))
2 exanali 1773 . . . 4 (∃𝑥(𝑥 = 𝑦 ∧ ¬ 𝜑) ↔ ¬ ∀𝑥(𝑥 = 𝑦𝜑))
32anbi2i 726 . . 3 (((𝑥 = 𝑦 → ¬ 𝜑) ∧ ∃𝑥(𝑥 = 𝑦 ∧ ¬ 𝜑)) ↔ ((𝑥 = 𝑦 → ¬ 𝜑) ∧ ¬ ∀𝑥(𝑥 = 𝑦𝜑)))
4 annim 440 . . 3 (((𝑥 = 𝑦 → ¬ 𝜑) ∧ ¬ ∀𝑥(𝑥 = 𝑦𝜑)) ↔ ¬ ((𝑥 = 𝑦 → ¬ 𝜑) → ∀𝑥(𝑥 = 𝑦𝜑)))
51, 3, 43bitri 285 . 2 ([𝑦 / 𝑥] ¬ 𝜑 ↔ ¬ ((𝑥 = 𝑦 → ¬ 𝜑) → ∀𝑥(𝑥 = 𝑦𝜑)))
6 dfsb3 2362 . 2 ([𝑦 / 𝑥]𝜑 ↔ ((𝑥 = 𝑦 → ¬ 𝜑) → ∀𝑥(𝑥 = 𝑦𝜑)))
75, 6xchbinxr 324 1 ([𝑦 / 𝑥] ¬ 𝜑 ↔ ¬ [𝑦 / 𝑥]𝜑)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wa 383  wal 1473  wex 1695  [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-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:  sbi2  2381  sbor  2386  sban  2387  sbex  2451  sbcng  3443  difab  3855  bj-ab0  32094  wl-sb8et  32513  pm13.196a  37637
  Copyright terms: Public domain W3C validator