MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ceqsex3v Structured version   Unicode version

Theorem ceqsex3v 2994
Description: Elimination of three existential quantifiers, using implicit substitution. (Contributed by NM, 16-Aug-2011.)
Hypotheses
Ref Expression
ceqsex3v.1  |-  A  e. 
_V
ceqsex3v.2  |-  B  e. 
_V
ceqsex3v.3  |-  C  e. 
_V
ceqsex3v.4  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
ceqsex3v.5  |-  ( y  =  B  ->  ( ps 
<->  ch ) )
ceqsex3v.6  |-  ( z  =  C  ->  ( ch 
<->  th ) )
Assertion
Ref Expression
ceqsex3v  |-  ( E. x E. y E. z ( ( x  =  A  /\  y  =  B  /\  z  =  C )  /\  ph ) 
<->  th )
Distinct variable groups:    x, y,
z, A    x, B, y, z    x, C, y, z    ps, x    ch, y    th, z
Allowed substitution hints:    ph( x, y, z)    ps( y, z)    ch( x, z)    th( x, y)

Proof of Theorem ceqsex3v
StepHypRef Expression
1 anass 631 . . . . . 6  |-  ( ( ( x  =  A  /\  ( y  =  B  /\  z  =  C ) )  /\  ph )  <->  ( x  =  A  /\  ( ( y  =  B  /\  z  =  C )  /\  ph ) ) )
2 3anass 940 . . . . . . 7  |-  ( ( x  =  A  /\  y  =  B  /\  z  =  C )  <->  ( x  =  A  /\  ( y  =  B  /\  z  =  C ) ) )
32anbi1i 677 . . . . . 6  |-  ( ( ( x  =  A  /\  y  =  B  /\  z  =  C )  /\  ph )  <->  ( ( x  =  A  /\  ( y  =  B  /\  z  =  C ) )  /\  ph ) )
4 df-3an 938 . . . . . . 7  |-  ( ( y  =  B  /\  z  =  C  /\  ph )  <->  ( ( y  =  B  /\  z  =  C )  /\  ph ) )
54anbi2i 676 . . . . . 6  |-  ( ( x  =  A  /\  ( y  =  B  /\  z  =  C  /\  ph ) )  <-> 
( x  =  A  /\  ( ( y  =  B  /\  z  =  C )  /\  ph ) ) )
61, 3, 53bitr4i 269 . . . . 5  |-  ( ( ( x  =  A  /\  y  =  B  /\  z  =  C )  /\  ph )  <->  ( x  =  A  /\  ( y  =  B  /\  z  =  C  /\  ph ) ) )
762exbii 1593 . . . 4  |-  ( E. y E. z ( ( x  =  A  /\  y  =  B  /\  z  =  C )  /\  ph )  <->  E. y E. z ( x  =  A  /\  ( y  =  B  /\  z  =  C  /\  ph ) ) )
8 19.42vv 1930 . . . 4  |-  ( E. y E. z ( x  =  A  /\  ( y  =  B  /\  z  =  C  /\  ph ) )  <-> 
( x  =  A  /\  E. y E. z ( y  =  B  /\  z  =  C  /\  ph )
) )
97, 8bitri 241 . . 3  |-  ( E. y E. z ( ( x  =  A  /\  y  =  B  /\  z  =  C )  /\  ph )  <->  ( x  =  A  /\  E. y E. z ( y  =  B  /\  z  =  C  /\  ph ) ) )
109exbii 1592 . 2  |-  ( E. x E. y E. z ( ( x  =  A  /\  y  =  B  /\  z  =  C )  /\  ph ) 
<->  E. x ( x  =  A  /\  E. y E. z ( y  =  B  /\  z  =  C  /\  ph )
) )
11 ceqsex3v.1 . . . 4  |-  A  e. 
_V
12 ceqsex3v.4 . . . . . 6  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
13123anbi3d 1260 . . . . 5  |-  ( x  =  A  ->  (
( y  =  B  /\  z  =  C  /\  ph )  <->  ( y  =  B  /\  z  =  C  /\  ps )
) )
14132exbidv 1638 . . . 4  |-  ( x  =  A  ->  ( E. y E. z ( y  =  B  /\  z  =  C  /\  ph )  <->  E. y E. z
( y  =  B  /\  z  =  C  /\  ps ) ) )
1511, 14ceqsexv 2991 . . 3  |-  ( E. x ( x  =  A  /\  E. y E. z ( y  =  B  /\  z  =  C  /\  ph )
)  <->  E. y E. z
( y  =  B  /\  z  =  C  /\  ps ) )
16 ceqsex3v.2 . . . 4  |-  B  e. 
_V
17 ceqsex3v.3 . . . 4  |-  C  e. 
_V
18 ceqsex3v.5 . . . 4  |-  ( y  =  B  ->  ( ps 
<->  ch ) )
19 ceqsex3v.6 . . . 4  |-  ( z  =  C  ->  ( ch 
<->  th ) )
2016, 17, 18, 19ceqsex2v 2993 . . 3  |-  ( E. y E. z ( y  =  B  /\  z  =  C  /\  ps )  <->  th )
2115, 20bitri 241 . 2  |-  ( E. x ( x  =  A  /\  E. y E. z ( y  =  B  /\  z  =  C  /\  ph )
)  <->  th )
2210, 21bitri 241 1  |-  ( E. x E. y E. z ( ( x  =  A  /\  y  =  B  /\  z  =  C )  /\  ph ) 
<->  th )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359    /\ w3a 936   E.wex 1550    = wceq 1652    e. wcel 1725   _Vcvv 2956
This theorem is referenced by:  ceqsex6v  2996
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-6 1744  ax-7 1749  ax-11 1761  ax-ext 2417
This theorem depends on definitions:  df-bi 178  df-an 361  df-3an 938  df-ex 1551  df-nf 1554  df-sb 1659  df-clab 2423  df-cleq 2429  df-clel 2432  df-v 2958
  Copyright terms: Public domain W3C validator