NFE Home New Foundations Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  NFE Home  >  Th. List  >  sbccomlem GIF version

Theorem sbccomlem 3117
Description: Lemma for sbccom 3118. (Contributed by NM, 14-Nov-2005.) (Revised by Mario Carneiro, 18-Oct-2016.)
Assertion
Ref Expression
sbccomlem ⊢ ([̣A / x]̣[̣B / y]̣φ ↔ [̣B / y]̣[̣A / x]̣φ)
Distinct variable groups:   x,y,A   x,B,y
Allowed substitution hints:   φ(x, y)

Proof of Theorem sbccomlem
StepHypRef Expression
1 excom 1741 . . . 4 ⊢ (∃x∃y(x = A ∧ (y = B ∧ φ)) ↔ ∃y∃x(x = A ∧ (y = B ∧ φ)))
2 exdistr 1906 . . . 4 ⊢ (∃x∃y(x = A ∧ (y = B ∧ φ)) ↔ ∃x(x = A ∧ ∃y(y = B ∧ φ)))
3 an12 772 . . . . . . 7 ⊢ ((x = A ∧ (y = B ∧ φ)) ↔ (y = B ∧ (x = A ∧ φ)))
43exbii 1582 . . . . . 6 ⊢ (∃x(x = A ∧ (y = B ∧ φ)) ↔ ∃x(y = B ∧ (x = A ∧ φ)))
5 19.42v 1905 . . . . . 6 ⊢ (∃x(y = B ∧ (x = A ∧ φ)) ↔ (y = B ∧ ∃x(x = A ∧ φ)))
64, 5bitri 240 . . . . 5 ⊢ (∃x(x = A ∧ (y = B ∧ φ)) ↔ (y = B ∧ ∃x(x = A ∧ φ)))
76exbii 1582 . . . 4 ⊢ (∃y∃x(x = A ∧ (y = B ∧ φ)) ↔ ∃y(y = B ∧ ∃x(x = A ∧ φ)))
81, 2, 73bitr3i 266 . . 3 ⊢ (∃x(x = A ∧ ∃y(y = B ∧ φ)) ↔ ∃y(y = B ∧ ∃x(x = A ∧ φ)))
9 sbc5 3071 . . 3 ⊢ ([̣A / x]̣∃y(y = B ∧ φ) ↔ ∃x(x = A ∧ ∃y(y = B ∧ φ)))
10 sbc5 3071 . . 3 ⊢ ([̣B / y]̣∃x(x = A ∧ φ) ↔ ∃y(y = B ∧ ∃x(x = A ∧ φ)))
118, 9, 103bitr4i 268 . 2 ⊢ ([̣A / x]̣∃y(y = B ∧ φ) ↔ [̣B / y]̣∃x(x = A ∧ φ))
12 sbc5 3071 . . 3 ⊢ ([̣B / y]̣φ ↔ ∃y(y = B ∧ φ))
1312sbcbii 3102 . 2 ⊢ ([̣A / x]̣[̣B / y]̣φ ↔ [̣A / x]̣∃y(y = B ∧ φ))
14 sbc5 3071 . . 3 ⊢ ([̣A / x]̣φ ↔ ∃x(x = A ∧ φ))
1514sbcbii 3102 . 2 ⊢ ([̣B / y]̣[̣A / x]̣φ ↔ [̣B / y]̣∃x(x = A ∧ φ))
1611, 13, 153bitr4i 268 1 ⊢ ([̣A / x]̣[̣B / y]̣φ ↔ [̣B / y]̣[̣A / x]̣φ)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 176   ∧ wa 358  ∃wex 1541   = wceq 1642  [̣wsbc 3047
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1546  ax-5 1557  ax-17 1616  ax-9 1654  ax-8 1675  ax-6 1729  ax-7 1734  ax-11 1746  ax-12 1925  ax-ext 2334
This proof depends on definitions:  df-bi 177  df-or 359  df-an 360  df-tru 1319  df-ex 1542  df-nf 1545  df-sb 1649  df-clab 2340  df-cleq 2346  df-clel 2349  df-nfc 2479  df-v 2862  df-sbc 3048
This theorem is used by:  sbccom  3118
  Copyright terms: Public domain W3C validator