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

Theorem ceqsex4v 3057
Description: Elimination of four existential quantifiers, using implicit substitution. (Contributed by NM, 23-Sep-2011.)
Hypotheses
Ref Expression
ceqsex4v.1  |-  A  e. 
_V
ceqsex4v.2  |-  B  e. 
_V
ceqsex4v.3  |-  C  e. 
_V
ceqsex4v.4  |-  D  e. 
_V
ceqsex4v.7  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
ceqsex4v.8  |-  ( y  =  B  ->  ( ps 
<->  ch ) )
ceqsex4v.9  |-  ( z  =  C  ->  ( ch 
<->  th ) )
ceqsex4v.10  |-  ( w  =  D  ->  ( th 
<->  ta ) )
Assertion
Ref Expression
ceqsex4v  |-  ( E. x E. y E. z E. w ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D )  /\  ph ) 
<->  ta )
Distinct variable groups:    x, y,
z, w, A    x, B, y, z, w    x, C, y, z, w    x, D, y, z, w    ps, x    ch, y    th, z    ta, w
Allowed substitution hints:    ph( x, y, z, w)    ps( y,
z, w)    ch( x, z, w)    th( x, y, w)    ta( x, y, z)

Proof of Theorem ceqsex4v
StepHypRef Expression
1 19.42vv 1840 . . . 4  |-  ( E. z E. w ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D  /\  ph )
)  <->  ( ( x  =  A  /\  y  =  B )  /\  E. z E. w ( z  =  C  /\  w  =  D  /\  ph )
) )
2 3anass 990 . . . . . 6  |-  ( ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D )  /\  ph ) 
<->  ( ( x  =  A  /\  y  =  B )  /\  (
( z  =  C  /\  w  =  D )  /\  ph )
) )
3 df-3an 988 . . . . . . 7  |-  ( ( z  =  C  /\  w  =  D  /\  ph )  <->  ( ( z  =  C  /\  w  =  D )  /\  ph ) )
43anbi2i 705 . . . . . 6  |-  ( ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D  /\  ph )
)  <->  ( ( x  =  A  /\  y  =  B )  /\  (
( z  =  C  /\  w  =  D )  /\  ph )
) )
52, 4bitr4i 260 . . . . 5  |-  ( ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D )  /\  ph ) 
<->  ( ( x  =  A  /\  y  =  B )  /\  (
z  =  C  /\  w  =  D  /\  ph ) ) )
652exbii 1723 . . . 4  |-  ( E. z E. w ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D )  /\  ph ) 
<->  E. z E. w
( ( x  =  A  /\  y  =  B )  /\  (
z  =  C  /\  w  =  D  /\  ph ) ) )
7 df-3an 988 . . . 4  |-  ( ( x  =  A  /\  y  =  B  /\  E. z E. w ( z  =  C  /\  w  =  D  /\  ph ) )  <->  ( (
x  =  A  /\  y  =  B )  /\  E. z E. w
( z  =  C  /\  w  =  D  /\  ph ) ) )
81, 6, 73bitr4i 285 . . 3  |-  ( E. z E. w ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D )  /\  ph ) 
<->  ( x  =  A  /\  y  =  B  /\  E. z E. w ( z  =  C  /\  w  =  D  /\  ph )
) )
982exbii 1723 . 2  |-  ( E. x E. y E. z E. w ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D )  /\  ph ) 
<->  E. x E. y
( x  =  A  /\  y  =  B  /\  E. z E. w ( z  =  C  /\  w  =  D  /\  ph )
) )
10 ceqsex4v.1 . . 3  |-  A  e. 
_V
11 ceqsex4v.2 . . 3  |-  B  e. 
_V
12 ceqsex4v.7 . . . . 5  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
13123anbi3d 1349 . . . 4  |-  ( x  =  A  ->  (
( z  =  C  /\  w  =  D  /\  ph )  <->  ( z  =  C  /\  w  =  D  /\  ps )
) )
14132exbidv 1774 . . 3  |-  ( x  =  A  ->  ( E. z E. w ( z  =  C  /\  w  =  D  /\  ph )  <->  E. z E. w
( z  =  C  /\  w  =  D  /\  ps ) ) )
15 ceqsex4v.8 . . . . 5  |-  ( y  =  B  ->  ( ps 
<->  ch ) )
16153anbi3d 1349 . . . 4  |-  ( y  =  B  ->  (
( z  =  C  /\  w  =  D  /\  ps )  <->  ( z  =  C  /\  w  =  D  /\  ch )
) )
17162exbidv 1774 . . 3  |-  ( y  =  B  ->  ( E. z E. w ( z  =  C  /\  w  =  D  /\  ps )  <->  E. z E. w
( z  =  C  /\  w  =  D  /\  ch ) ) )
1810, 11, 14, 17ceqsex2v 3055 . 2  |-  ( E. x E. y ( x  =  A  /\  y  =  B  /\  E. z E. w ( z  =  C  /\  w  =  D  /\  ph ) )  <->  E. z E. w ( z  =  C  /\  w  =  D  /\  ch )
)
19 ceqsex4v.3 . . 3  |-  C  e. 
_V
20 ceqsex4v.4 . . 3  |-  D  e. 
_V
21 ceqsex4v.9 . . 3  |-  ( z  =  C  ->  ( ch 
<->  th ) )
22 ceqsex4v.10 . . 3  |-  ( w  =  D  ->  ( th 
<->  ta ) )
2319, 20, 21, 22ceqsex2v 3055 . 2  |-  ( E. z E. w ( z  =  C  /\  w  =  D  /\  ch )  <->  ta )
249, 18, 233bitri 279 1  |-  ( E. x E. y E. z E. w ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D )  /\  ph ) 
<->  ta )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 189    /\ wa 375    /\ w3a 986    = wceq 1448   E.wex 1667    e. wcel 1891   _Vcvv 3013
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1673  ax-4 1686  ax-5 1762  ax-6 1809  ax-7 1855  ax-10 1919  ax-11 1924  ax-12 1937  ax-ext 2432
This theorem depends on definitions:  df-bi 190  df-an 377  df-3an 988  df-tru 1451  df-ex 1668  df-nf 1672  df-sb 1802  df-clab 2439  df-cleq 2445  df-clel 2448  df-v 3015
This theorem is referenced by:  ceqsex8v  3059  dihopelvalcpre  34818
  Copyright terms: Public domain W3C validator