Users' Mathboxes Mathbox for Alan Sare < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  sbcim2gVD Structured version   Unicode version

Theorem sbcim2gVD 33161
Description: Distribution of class substitution over a left-nested implication. Similar to sbcimg 3378. The following User's Proof is a Virtual Deduction proof completed automatically by the tools program completeusersproof.cmd, which invokes Mel L. O'Cat's mmj2 and Norm Megill's Metamath Proof Assistant. sbcim2g 32795 is sbcim2gVD 33161 without virtual deductions and was automatically derived from sbcim2gVD 33161.
1::  |-  (. A  e.  B  ->.  A  e.  B ).
2::  |-  (. A  e.  B ,. [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  ->.  [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) ) ).
3:1,2:  |-  (. A  e.  B ,. [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  ->.  ( [. A  /  x ]. ph  ->  [. A  /  x ]. ( ps  ->  ch ) ) ).
4:1:  |-  (. A  e.  B  ->.  ( [. A  /  x ]. ( ps  ->  ch )  <->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) ).
5:3,4:  |-  (. A  e.  B ,. [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  ->.  ( [. A  /  x ]. ph  ->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) ).
6:5:  |-  (. A  e.  B  ->.  ( [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  ->  ( [. A  /  x ]. ph  ->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) ) ).
7::  |-  (. A  e.  B ,. ( [. A  /  x ]. ph  ->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) )  ->.  ( [. A  /  x ]. ph  ->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) ).
8:4,7:  |-  (. A  e.  B ,. ( [. A  /  x ]. ph  ->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) )  ->.  ( [. A  /  x ]. ph  ->  [. A  /  x ]. ( ps  ->  ch ) ) ).
9:1:  |-  (. A  e.  B  ->.  ( [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  <->  ( [. A  /  x ]. ph  ->  [. A  /  x ]. ( ps  ->  ch ) ) ) ).
10:8,9:  |-  (. A  e.  B ,. ( [. A  /  x ]. ph  ->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) )  ->.  [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) ) ).
11:10:  |-  (. A  e.  B  ->.  ( ( [. A  /  x ]. ph  ->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) )  ->  [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) ) ) ).
12:6,11:  |-  (. A  e.  B  ->.  ( [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  <->  ( [. A  /  x ]. ph  ->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) ) ).
qed:12:  |-  ( A  e.  B  ->  ( [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  <->  ( [. A  /  x ]. ph  ->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) ) )
(Contributed by Alan Sare, 18-Mar-2012.) (Proof modification is discouraged.) (New usage is discouraged.)
Assertion
Ref Expression
sbcim2gVD  |-  ( A  e.  B  ->  ( [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  <-> 
( [. A  /  x ]. ph  ->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) ) )

Proof of Theorem sbcim2gVD
StepHypRef Expression
1 idn1 32837 . . . . . 6  |-  (. A  e.  B  ->.  A  e.  B ).
2 idn2 32885 . . . . . 6  |-  (. A  e.  B ,. [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  ->.  [. A  /  x ]. ( ph  ->  ( ps  ->  ch )
) ).
3 sbcimg 3378 . . . . . . 7  |-  ( A  e.  B  ->  ( [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  <-> 
( [. A  /  x ]. ph  ->  [. A  /  x ]. ( ps  ->  ch ) ) ) )
43biimpd 207 . . . . . 6  |-  ( A  e.  B  ->  ( [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  ->  ( [. A  /  x ]. ph  ->  [. A  /  x ]. ( ps  ->  ch )
) ) )
51, 2, 4e12 33007 . . . . 5  |-  (. A  e.  B ,. [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  ->.  ( [. A  /  x ]. ph  ->  [. A  /  x ]. ( ps  ->  ch )
) ).
6 sbcimg 3378 . . . . . 6  |-  ( A  e.  B  ->  ( [. A  /  x ]. ( ps  ->  ch ) 
<->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch )
) )
71, 6e1a 32899 . . . . 5  |-  (. A  e.  B  ->.  ( [. A  /  x ]. ( ps 
->  ch )  <->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) ).
8 imbi2 324 . . . . . 6  |-  ( (
[. A  /  x ]. ( ps  ->  ch ) 
<->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch )
)  ->  ( ( [. A  /  x ]. ph  ->  [. A  /  x ]. ( ps  ->  ch ) )  <->  ( [. A  /  x ]. ph  ->  (
[. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) ) )
98biimpcd 224 . . . . 5  |-  ( (
[. A  /  x ]. ph  ->  [. A  /  x ]. ( ps  ->  ch ) )  ->  (
( [. A  /  x ]. ( ps  ->  ch ) 
<->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch )
)  ->  ( [. A  /  x ]. ph  ->  (
[. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) ) )
105, 7, 9e21 33013 . . . 4  |-  (. A  e.  B ,. [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  ->.  ( [. A  /  x ]. ph  ->  (
[. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) ).
1110in2 32877 . . 3  |-  (. A  e.  B  ->.  ( [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  ->  ( [. A  /  x ]. ph  ->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) ) ).
12 idn2 32885 . . . . . 6  |-  (. A  e.  B ,. ( [. A  /  x ]. ph  ->  (
[. A  /  x ]. ps  ->  [. A  /  x ]. ch ) )  ->.  ( [. A  /  x ]. ph  ->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) ).
13 bi2 198 . . . . . . 7  |-  ( (
[. A  /  x ]. ( ps  ->  ch ) 
<->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch )
)  ->  ( ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch )  ->  [. A  /  x ]. ( ps  ->  ch ) ) )
1413imim2d 52 . . . . . 6  |-  ( (
[. A  /  x ]. ( ps  ->  ch ) 
<->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch )
)  ->  ( ( [. A  /  x ]. ph  ->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) )  -> 
( [. A  /  x ]. ph  ->  [. A  /  x ]. ( ps  ->  ch ) ) ) )
157, 12, 14e12 33007 . . . . 5  |-  (. A  e.  B ,. ( [. A  /  x ]. ph  ->  (
[. A  /  x ]. ps  ->  [. A  /  x ]. ch ) )  ->.  ( [. A  /  x ]. ph  ->  [. A  /  x ]. ( ps  ->  ch ) ) ).
161, 3e1a 32899 . . . . 5  |-  (. A  e.  B  ->.  ( [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  <->  ( [. A  /  x ]. ph  ->  [. A  /  x ]. ( ps  ->  ch )
) ) ).
17 bi2 198 . . . . . 6  |-  ( (
[. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  <-> 
( [. A  /  x ]. ph  ->  [. A  /  x ]. ( ps  ->  ch ) ) )  -> 
( ( [. A  /  x ]. ph  ->  [. A  /  x ]. ( ps  ->  ch )
)  ->  [. A  /  x ]. ( ph  ->  ( ps  ->  ch )
) ) )
1817com12 31 . . . . 5  |-  ( (
[. A  /  x ]. ph  ->  [. A  /  x ]. ( ps  ->  ch ) )  ->  (
( [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  <-> 
( [. A  /  x ]. ph  ->  [. A  /  x ]. ( ps  ->  ch ) ) )  ->  [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) ) ) )
1915, 16, 18e21 33013 . . . 4  |-  (. A  e.  B ,. ( [. A  /  x ]. ph  ->  (
[. A  /  x ]. ps  ->  [. A  /  x ]. ch ) )  ->.  [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) ) ).
2019in2 32877 . . 3  |-  (. A  e.  B  ->.  ( ( [. A  /  x ]. ph  ->  (
[. A  /  x ]. ps  ->  [. A  /  x ]. ch ) )  ->  [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) ) ) ).
21 bi3 187 . . 3  |-  ( (
[. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  ->  ( [. A  /  x ]. ph  ->  (
[. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) )  ->  ( (
( [. A  /  x ]. ph  ->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) )  ->  [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) ) )  ->  ( [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  <->  ( [. A  /  x ]. ph  ->  (
[. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) ) ) )
2211, 20, 21e11 32960 . 2  |-  (. A  e.  B  ->.  ( [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  <->  ( [. A  /  x ]. ph  ->  (
[. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) ) ).
2322in1 32834 1  |-  ( A  e.  B  ->  ( [. A  /  x ]. ( ph  ->  ( ps  ->  ch ) )  <-> 
( [. A  /  x ]. ph  ->  ( [. A  /  x ]. ps  ->  [. A  /  x ]. ch ) ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    e. wcel 1767   [.wsbc 3336
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1601  ax-4 1612  ax-5 1680  ax-6 1719  ax-7 1739  ax-10 1786  ax-12 1803  ax-13 1968  ax-ext 2445
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-clab 2453  df-cleq 2459  df-clel 2462  df-v 3120  df-sbc 3337  df-vd1 32833  df-vd2 32841
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator