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

Theorem wemaplem1 7967
Description: Value of the lexicographic order on a sequence space. (Contributed by Stefan O'Rear, 18-Jan-2015.)
Hypothesis
Ref Expression
wemapso.t  |-  T  =  { <. x ,  y
>.  |  E. z  e.  A  ( (
x `  z ) S ( y `  z )  /\  A. w  e.  A  (
w R z  -> 
( x `  w
)  =  ( y `
 w ) ) ) }
Assertion
Ref Expression
wemaplem1  |-  ( ( P  e.  V  /\  Q  e.  W )  ->  ( P T Q  <->  E. a  e.  A  ( ( P `  a ) S ( Q `  a )  /\  A. b  e.  A  ( b R a  ->  ( P `  b )  =  ( Q `  b ) ) ) ) )
Distinct variable groups:    a, b, x    T, a, b    w, a, y, z, b, x, A    P, a, b, w, x, y, z    Q, a, b, w, x, y, z    R, a, b, w, x, y, z    S, a, b, w, x, y, z
Allowed substitution hints:    T( x, y, z, w)    V( x, y, z, w, a, b)    W( x, y, z, w, a, b)

Proof of Theorem wemaplem1
StepHypRef Expression
1 fveq1 5863 . . . . . 6  |-  ( x  =  P  ->  (
x `  z )  =  ( P `  z ) )
2 fveq1 5863 . . . . . 6  |-  ( y  =  Q  ->  (
y `  z )  =  ( Q `  z ) )
31, 2breqan12d 4462 . . . . 5  |-  ( ( x  =  P  /\  y  =  Q )  ->  ( ( x `  z ) S ( y `  z )  <-> 
( P `  z
) S ( Q `
 z ) ) )
4 fveq1 5863 . . . . . . . 8  |-  ( x  =  P  ->  (
x `  w )  =  ( P `  w ) )
5 fveq1 5863 . . . . . . . 8  |-  ( y  =  Q  ->  (
y `  w )  =  ( Q `  w ) )
64, 5eqeqan12d 2490 . . . . . . 7  |-  ( ( x  =  P  /\  y  =  Q )  ->  ( ( x `  w )  =  ( y `  w )  <-> 
( P `  w
)  =  ( Q `
 w ) ) )
76imbi2d 316 . . . . . 6  |-  ( ( x  =  P  /\  y  =  Q )  ->  ( ( w R z  ->  ( x `  w )  =  ( y `  w ) )  <->  ( w R z  ->  ( P `  w )  =  ( Q `  w ) ) ) )
87ralbidv 2903 . . . . 5  |-  ( ( x  =  P  /\  y  =  Q )  ->  ( A. w  e.  A  ( w R z  ->  ( x `  w )  =  ( y `  w ) )  <->  A. w  e.  A  ( w R z  ->  ( P `  w )  =  ( Q `  w ) ) ) )
93, 8anbi12d 710 . . . 4  |-  ( ( x  =  P  /\  y  =  Q )  ->  ( ( ( x `
 z ) S ( y `  z
)  /\  A. w  e.  A  ( w R z  ->  (
x `  w )  =  ( y `  w ) ) )  <-> 
( ( P `  z ) S ( Q `  z )  /\  A. w  e.  A  ( w R z  ->  ( P `  w )  =  ( Q `  w ) ) ) ) )
109rexbidv 2973 . . 3  |-  ( ( x  =  P  /\  y  =  Q )  ->  ( E. z  e.  A  ( ( x `
 z ) S ( y `  z
)  /\  A. w  e.  A  ( w R z  ->  (
x `  w )  =  ( y `  w ) ) )  <->  E. z  e.  A  ( ( P `  z ) S ( Q `  z )  /\  A. w  e.  A  ( w R z  ->  ( P `  w )  =  ( Q `  w ) ) ) ) )
11 fveq2 5864 . . . . . 6  |-  ( z  =  a  ->  ( P `  z )  =  ( P `  a ) )
12 fveq2 5864 . . . . . 6  |-  ( z  =  a  ->  ( Q `  z )  =  ( Q `  a ) )
1311, 12breq12d 4460 . . . . 5  |-  ( z  =  a  ->  (
( P `  z
) S ( Q `
 z )  <->  ( P `  a ) S ( Q `  a ) ) )
14 breq2 4451 . . . . . . . 8  |-  ( z  =  a  ->  (
w R z  <->  w R
a ) )
1514imbi1d 317 . . . . . . 7  |-  ( z  =  a  ->  (
( w R z  ->  ( P `  w )  =  ( Q `  w ) )  <->  ( w R a  ->  ( P `  w )  =  ( Q `  w ) ) ) )
1615ralbidv 2903 . . . . . 6  |-  ( z  =  a  ->  ( A. w  e.  A  ( w R z  ->  ( P `  w )  =  ( Q `  w ) )  <->  A. w  e.  A  ( w R a  ->  ( P `  w )  =  ( Q `  w ) ) ) )
17 breq1 4450 . . . . . . . 8  |-  ( w  =  b  ->  (
w R a  <->  b R
a ) )
18 fveq2 5864 . . . . . . . . 9  |-  ( w  =  b  ->  ( P `  w )  =  ( P `  b ) )
19 fveq2 5864 . . . . . . . . 9  |-  ( w  =  b  ->  ( Q `  w )  =  ( Q `  b ) )
2018, 19eqeq12d 2489 . . . . . . . 8  |-  ( w  =  b  ->  (
( P `  w
)  =  ( Q `
 w )  <->  ( P `  b )  =  ( Q `  b ) ) )
2117, 20imbi12d 320 . . . . . . 7  |-  ( w  =  b  ->  (
( w R a  ->  ( P `  w )  =  ( Q `  w ) )  <->  ( b R a  ->  ( P `  b )  =  ( Q `  b ) ) ) )
2221cbvralv 3088 . . . . . 6  |-  ( A. w  e.  A  (
w R a  -> 
( P `  w
)  =  ( Q `
 w ) )  <->  A. b  e.  A  ( b R a  ->  ( P `  b )  =  ( Q `  b ) ) )
2316, 22syl6bb 261 . . . . 5  |-  ( z  =  a  ->  ( A. w  e.  A  ( w R z  ->  ( P `  w )  =  ( Q `  w ) )  <->  A. b  e.  A  ( b R a  ->  ( P `  b )  =  ( Q `  b ) ) ) )
2413, 23anbi12d 710 . . . 4  |-  ( z  =  a  ->  (
( ( P `  z ) S ( Q `  z )  /\  A. w  e.  A  ( w R z  ->  ( P `  w )  =  ( Q `  w ) ) )  <->  ( ( P `  a ) S ( Q `  a )  /\  A. b  e.  A  (
b R a  -> 
( P `  b
)  =  ( Q `
 b ) ) ) ) )
2524cbvrexv 3089 . . 3  |-  ( E. z  e.  A  ( ( P `  z
) S ( Q `
 z )  /\  A. w  e.  A  ( w R z  -> 
( P `  w
)  =  ( Q `
 w ) ) )  <->  E. a  e.  A  ( ( P `  a ) S ( Q `  a )  /\  A. b  e.  A  ( b R a  ->  ( P `  b )  =  ( Q `  b ) ) ) )
2610, 25syl6bb 261 . 2  |-  ( ( x  =  P  /\  y  =  Q )  ->  ( E. z  e.  A  ( ( x `
 z ) S ( y `  z
)  /\  A. w  e.  A  ( w R z  ->  (
x `  w )  =  ( y `  w ) ) )  <->  E. a  e.  A  ( ( P `  a ) S ( Q `  a )  /\  A. b  e.  A  ( b R a  ->  ( P `  b )  =  ( Q `  b ) ) ) ) )
27 wemapso.t . 2  |-  T  =  { <. x ,  y
>.  |  E. z  e.  A  ( (
x `  z ) S ( y `  z )  /\  A. w  e.  A  (
w R z  -> 
( x `  w
)  =  ( y `
 w ) ) ) }
2826, 27brabga 4761 1  |-  ( ( P  e.  V  /\  Q  e.  W )  ->  ( P T Q  <->  E. a  e.  A  ( ( P `  a ) S ( Q `  a )  /\  A. b  e.  A  ( b R a  ->  ( P `  b )  =  ( Q `  b ) ) ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1379    e. wcel 1767   A.wral 2814   E.wrex 2815   class class class wbr 4447   {copab 4504   ` cfv 5586
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-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-sep 4568  ax-nul 4576  ax-pr 4686
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 975  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-ral 2819  df-rex 2820  df-rab 2823  df-v 3115  df-dif 3479  df-un 3481  df-in 3483  df-ss 3490  df-nul 3786  df-if 3940  df-sn 4028  df-pr 4030  df-op 4034  df-uni 4246  df-br 4448  df-opab 4506  df-iota 5549  df-fv 5594
This theorem is referenced by:  wemaplem2  7968  wemaplem3  7969  wemappo  7970  wemapsolem  7971
  Copyright terms: Public domain W3C validator