Users' Mathboxes Mathbox for Stefan O'Rear < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  sbccomieg Structured version   Visualization version   GIF version

Theorem sbccomieg 43893
Description: Commute two explicit substitutions, using an implicit substitution to rewrite the exiting substitution. (Contributed by Stefan O'Rear, 11-Oct-2014.) (Revised by Mario Carneiro, 11-Dec-2016.)
Hypothesis
Ref Expression
sbccomieg.1 (𝑎 = 𝐴 → 𝐵 = 𝐶)
Assertion
Ref Expression
sbccomieg ([𝐴 / 𝑎][𝐵 / 𝑏]𝜑 ↔ [𝐶 / 𝑏][𝐴 / 𝑎]𝜑)
Distinct variable groups:   𝐴,𝑎,𝑏   𝐶,𝑎
Allowed substitution hints:   𝜑(𝑎, 𝑏)   𝐵(𝑎, 𝑏)   𝐶(𝑏)

Proof of Theorem sbccomieg
StepHypRef Expression
1 sbcex 3748 . 2 ([𝐴 / 𝑎][𝐵 / 𝑏]𝜑 → 𝐴 ∈ V)
2 spesbc 3828 . . 3 ([𝐶 / 𝑏][𝐴 / 𝑎]𝜑 → ∃𝑏[𝐴 / 𝑎]𝜑)
3 sbcex 3748 . . . 4 ([𝐴 / 𝑎]𝜑 → 𝐴 ∈ V)
43exlimiv 1962 . . 3 (∃𝑏[𝐴 / 𝑎]𝜑 → 𝐴 ∈ V)
52, 4syl 18 . 2 ([𝐶 / 𝑏][𝐴 / 𝑎]𝜑 → 𝐴 ∈ V)
6 nfcv 2922 . . . 4 Ⅎ𝑎𝐶
7 nfsbc1v 3758 . . . 4 Ⅎ𝑎[𝐴 / 𝑎]𝜑
86, 7nfsbcw 3760 . . 3 Ⅎ𝑎[𝐶 / 𝑏][𝐴 / 𝑎]𝜑
9 sbccomieg.1 . . . 4 (𝑎 = 𝐴 → 𝐵 = 𝐶)
10 sbceq1a 3749 . . . 4 (𝑎 = 𝐴 → (𝜑 ↔ [𝐴 / 𝑎]𝜑))
119, 10sbceqbid 3745 . . 3 (𝑎 = 𝐴 → ([𝐵 / 𝑏]𝜑 ↔ [𝐶 / 𝑏][𝐴 / 𝑎]𝜑))
128, 11sbciegf 3776 . 2 (𝐴 ∈ V → ([𝐴 / 𝑎][𝐵 / 𝑏]𝜑 ↔ [𝐶 / 𝑏][𝐴 / 𝑎]𝜑))
131, 5, 12pm5.21nii 381 1 ([𝐴 / 𝑎][𝐵 / 𝑏]𝜑 ↔ [𝐶 / 𝑏][𝐴 / 𝑎]𝜑)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1569  ∃wex 1811   ∈ wcel 2144  Vcvv 3450  [wsbc 3738
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-v 3452  df-sbc 3739
This theorem is used by:  2rexfrabdioph  43896  3rexfrabdioph  43897  4rexfrabdioph  43898  6rexfrabdioph  43899  7rexfrabdioph  43900
  Copyright terms: Public domain W3C validator