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

Theorem suplub2 7466
Description: Bidirectional form of suplub 7465. (Contributed by Mario Carneiro, 6-Sep-2014.)
Hypotheses
Ref Expression
supmo.1  |-  ( ph  ->  R  Or  A )
supcl.2  |-  ( ph  ->  E. x  e.  A  ( A. y  e.  B  -.  x R y  /\  A. y  e.  A  ( y R x  ->  E. z  e.  B  y R z ) ) )
suplub2.3  |-  ( ph  ->  B  C_  A )
Assertion
Ref Expression
suplub2  |-  ( (
ph  /\  C  e.  A )  ->  ( C R sup ( B ,  A ,  R
)  <->  E. z  e.  B  C R z ) )
Distinct variable groups:    x, y,
z, A    x, R, y, z    x, B, y, z    z, C
Allowed substitution hints:    ph( x, y, z)    C( x, y)

Proof of Theorem suplub2
Dummy variable  w is distinct from all other variables.
StepHypRef Expression
1 supmo.1 . . . 4  |-  ( ph  ->  R  Or  A )
2 supcl.2 . . . 4  |-  ( ph  ->  E. x  e.  A  ( A. y  e.  B  -.  x R y  /\  A. y  e.  A  ( y R x  ->  E. z  e.  B  y R z ) ) )
31, 2suplub 7465 . . 3  |-  ( ph  ->  ( ( C  e.  A  /\  C R sup ( B ,  A ,  R )
)  ->  E. z  e.  B  C R
z ) )
43expdimp 427 . 2  |-  ( (
ph  /\  C  e.  A )  ->  ( C R sup ( B ,  A ,  R
)  ->  E. z  e.  B  C R
z ) )
5 breq2 4216 . . . 4  |-  ( z  =  w  ->  ( C R z  <->  C R w ) )
65cbvrexv 2933 . . 3  |-  ( E. z  e.  B  C R z  <->  E. w  e.  B  C R w )
7 breq2 4216 . . . . . . 7  |-  ( sup ( B ,  A ,  R )  =  w  ->  ( C R sup ( B ,  A ,  R )  <->  C R w ) )
87biimprd 215 . . . . . 6  |-  ( sup ( B ,  A ,  R )  =  w  ->  ( C R w  ->  C R sup ( B ,  A ,  R ) ) )
98a1i 11 . . . . 5  |-  ( ( ( ph  /\  C  e.  A )  /\  w  e.  B )  ->  ( sup ( B ,  A ,  R )  =  w  ->  ( C R w  ->  C R sup ( B ,  A ,  R ) ) ) )
101ad2antrr 707 . . . . . . 7  |-  ( ( ( ph  /\  C  e.  A )  /\  w  e.  B )  ->  R  Or  A )
11 simplr 732 . . . . . . 7  |-  ( ( ( ph  /\  C  e.  A )  /\  w  e.  B )  ->  C  e.  A )
12 suplub2.3 . . . . . . . . 9  |-  ( ph  ->  B  C_  A )
1312adantr 452 . . . . . . . 8  |-  ( (
ph  /\  C  e.  A )  ->  B  C_  A )
1413sselda 3348 . . . . . . 7  |-  ( ( ( ph  /\  C  e.  A )  /\  w  e.  B )  ->  w  e.  A )
151, 2supcl 7463 . . . . . . . 8  |-  ( ph  ->  sup ( B ,  A ,  R )  e.  A )
1615ad2antrr 707 . . . . . . 7  |-  ( ( ( ph  /\  C  e.  A )  /\  w  e.  B )  ->  sup ( B ,  A ,  R )  e.  A
)
17 sotr 4525 . . . . . . 7  |-  ( ( R  Or  A  /\  ( C  e.  A  /\  w  e.  A  /\  sup ( B ,  A ,  R )  e.  A ) )  -> 
( ( C R w  /\  w R sup ( B ,  A ,  R )
)  ->  C R sup ( B ,  A ,  R ) ) )
1810, 11, 14, 16, 17syl13anc 1186 . . . . . 6  |-  ( ( ( ph  /\  C  e.  A )  /\  w  e.  B )  ->  (
( C R w  /\  w R sup ( B ,  A ,  R ) )  ->  C R sup ( B ,  A ,  R
) ) )
1918exp3acom23 1381 . . . . 5  |-  ( ( ( ph  /\  C  e.  A )  /\  w  e.  B )  ->  (
w R sup ( B ,  A ,  R )  ->  ( C R w  ->  C R sup ( B ,  A ,  R )
) ) )
201, 2supub 7464 . . . . . . . 8  |-  ( ph  ->  ( w  e.  B  ->  -.  sup ( B ,  A ,  R
) R w ) )
2120adantr 452 . . . . . . 7  |-  ( (
ph  /\  C  e.  A )  ->  (
w  e.  B  ->  -.  sup ( B ,  A ,  R ) R w ) )
2221imp 419 . . . . . 6  |-  ( ( ( ph  /\  C  e.  A )  /\  w  e.  B )  ->  -.  sup ( B ,  A ,  R ) R w )
23 sotric 4529 . . . . . . . 8  |-  ( ( R  Or  A  /\  ( sup ( B ,  A ,  R )  e.  A  /\  w  e.  A ) )  -> 
( sup ( B ,  A ,  R
) R w  <->  -.  ( sup ( B ,  A ,  R )  =  w  \/  w R sup ( B ,  A ,  R ) ) ) )
2410, 16, 14, 23syl12anc 1182 . . . . . . 7  |-  ( ( ( ph  /\  C  e.  A )  /\  w  e.  B )  ->  ( sup ( B ,  A ,  R ) R w  <->  -.  ( sup ( B ,  A ,  R
)  =  w  \/  w R sup ( B ,  A ,  R ) ) ) )
2524con2bid 320 . . . . . 6  |-  ( ( ( ph  /\  C  e.  A )  /\  w  e.  B )  ->  (
( sup ( B ,  A ,  R
)  =  w  \/  w R sup ( B ,  A ,  R ) )  <->  -.  sup ( B ,  A ,  R ) R w ) )
2622, 25mpbird 224 . . . . 5  |-  ( ( ( ph  /\  C  e.  A )  /\  w  e.  B )  ->  ( sup ( B ,  A ,  R )  =  w  \/  w R sup ( B ,  A ,  R ) ) )
279, 19, 26mpjaod 371 . . . 4  |-  ( ( ( ph  /\  C  e.  A )  /\  w  e.  B )  ->  ( C R w  ->  C R sup ( B ,  A ,  R )
) )
2827rexlimdva 2830 . . 3  |-  ( (
ph  /\  C  e.  A )  ->  ( E. w  e.  B  C R w  ->  C R sup ( B ,  A ,  R )
) )
296, 28syl5bi 209 . 2  |-  ( (
ph  /\  C  e.  A )  ->  ( E. z  e.  B  C R z  ->  C R sup ( B ,  A ,  R )
) )
304, 29impbid 184 1  |-  ( (
ph  /\  C  e.  A )  ->  ( C R sup ( B ,  A ,  R
)  <->  E. z  e.  B  C R z ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 177    \/ wo 358    /\ wa 359    = wceq 1652    e. wcel 1725   A.wral 2705   E.wrex 2706    C_ wss 3320   class class class wbr 4212    Or wor 4502   supcsup 7445
This theorem is referenced by:  suprlub  9970  infmrgelb  9988  supxrlub  10904  infmxrgelb  10913  infrglb  27698
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-12 1950  ax-ext 2417
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2285  df-mo 2286  df-clab 2423  df-cleq 2429  df-clel 2432  df-nfc 2561  df-ral 2710  df-rex 2711  df-reu 2712  df-rmo 2713  df-rab 2714  df-v 2958  df-sbc 3162  df-dif 3323  df-un 3325  df-in 3327  df-ss 3334  df-nul 3629  df-if 3740  df-sn 3820  df-pr 3821  df-op 3823  df-uni 4016  df-br 4213  df-po 4503  df-so 4504  df-iota 5418  df-riota 6549  df-sup 7446
  Copyright terms: Public domain W3C validator