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 44004
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 3752 . 2 ([𝐴 / 𝑎][𝐵 / 𝑏]𝜑 → 𝐴 ∈ V)
2 spesbc 3833 . . 3 ([𝐶 / 𝑏][𝐴 / 𝑎]𝜑 → ∃𝑏[𝐴 / 𝑎]𝜑)
3 sbcex 3752 . . . 4 ([𝐴 / 𝑎]𝜑 → 𝐴 ∈ V)
43exlimiv 1965 . . 3 (∃𝑏[𝐴 / 𝑎]𝜑 → 𝐴 ∈ V)
52, 4syl 18 . 2 ([𝐶 / 𝑏][𝐴 / 𝑎]𝜑 → 𝐴 ∈ V)
6 nfcv 2926 . . . 4 Ⅎ𝑎𝐶
7 nfsbc1v 3762 . . . 4 Ⅎ𝑎[𝐴 / 𝑎]𝜑
86, 7nfsbcw 3764 . . 3 Ⅎ𝑎[𝐶 / 𝑏][𝐴 / 𝑎]𝜑
9 sbccomieg.1 . . . 4 (𝑎 = 𝐴 → 𝐵 = 𝐶)
10 sbceq1a 3753 . . . 4 (𝑎 = 𝐴 → (𝜑 ↔ [𝐴 / 𝑎]𝜑))
119, 10sbceqbid 3749 . . 3 (𝑎 = 𝐴 → ([𝐵 / 𝑏]𝜑 ↔ [𝐶 / 𝑏][𝐴 / 𝑎]𝜑))
128, 11sbciegf 3780 . 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 1570  ∃wex 1812   ∈ wcel 2147  Vcvv 3454  [wsbc 3742
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ral 3081  df-rex 3091  df-v 3456  df-sbc 3743
This theorem is used by:  2rexfrabdioph  44007  3rexfrabdioph  44008  4rexfrabdioph  44009  6rexfrabdioph  44010  7rexfrabdioph  44011
  Copyright terms: Public domain W3C validator