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 44088
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 3754 . 2 ([𝐴 / 𝑎][𝐵 / 𝑏]𝜑 → 𝐴 ∈ V)
2 spesbc 3835 . . 3 ([𝐶 / 𝑏][𝐴 / 𝑎]𝜑 → ∃𝑏[𝐴 / 𝑎]𝜑)
3 sbcex 3754 . . . 4 ([𝐴 / 𝑎]𝜑 → 𝐴 ∈ V)
43exlimiv 1967 . . 3 (∃𝑏[𝐴 / 𝑎]𝜑 → 𝐴 ∈ V)
52, 4syl 18 . 2 ([𝐶 / 𝑏][𝐴 / 𝑎]𝜑 → 𝐴 ∈ V)
6 nfcv 2932 . . . 4 Ⅎ𝑎𝐶
7 nfsbc1v 3764 . . . 4 Ⅎ𝑎[𝐴 / 𝑎]𝜑
86, 7nfsbcw 3766 . . 3 Ⅎ𝑎[𝐶 / 𝑏][𝐴 / 𝑎]𝜑
9 sbccomieg.1 . . . 4 (𝑎 = 𝐴 → 𝐵 = 𝐶)
10 sbceq1a 3755 . . . 4 (𝑎 = 𝐴 → (𝜑 ↔ [𝐴 / 𝑎]𝜑))
119, 10sbceqbid 3751 . . 3 (𝑎 = 𝐴 → ([𝐵 / 𝑏]𝜑 ↔ [𝐶 / 𝑏][𝐴 / 𝑎]𝜑))
128, 11sbciegf 3782 . 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 1572  ∃wex 1814   ∈ wcel 2151  Vcvv 3456  [wsbc 3744
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-ex 1815  df-nf 1819  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ral 3087  df-rex 3097  df-v 3458  df-sbc 3745
This theorem is used by:  2rexfrabdioph  44091  3rexfrabdioph  44092  4rexfrabdioph  44093  6rexfrabdioph  44094  7rexfrabdioph  44095
  Copyright terms: Public domain W3C validator