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

Theorem glbval 16997
Description: Value of the greatest lower bound function of a poset. Out-of-domain arguments (those not satisfying  S  e.  dom  U) are allowed for convenience, evaluating to the empty set on both sides of the equality. (Contributed by NM, 12-Sep-2011.) (Revised by NM, 9-Sep-2018.)
Hypotheses
Ref Expression
glbval.b  |-  B  =  ( Base `  K
)
glbval.l  |-  .<_  =  ( le `  K )
glbval.g  |-  G  =  ( glb `  K
)
glbval.p  |-  ( ps  <->  ( A. y  e.  S  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  S  z  .<_  y  ->  z  .<_  x ) ) )
glbva.k  |-  ( ph  ->  K  e.  V )
glbval.ss  |-  ( ph  ->  S  C_  B )
Assertion
Ref Expression
glbval  |-  ( ph  ->  ( G `  S
)  =  ( iota_ x  e.  B  ps )
)
Distinct variable groups:    x, z, B    x, y, K, z   
x, S, y, z
Allowed substitution hints:    ph( x, y, z)    ps( x, y, z)    B( y)    G( x, y, z)    .<_ ( x, y, z)    V( x, y, z)

Proof of Theorem glbval
Dummy variable  s is distinct from all other variables.
StepHypRef Expression
1 glbval.b . . . . 5  |-  B  =  ( Base `  K
)
2 glbval.l . . . . 5  |-  .<_  =  ( le `  K )
3 glbval.g . . . . 5  |-  G  =  ( glb `  K
)
4 biid 251 . . . . 5  |-  ( ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) )  <->  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z  .<_  x ) ) )
5 glbva.k . . . . . 6  |-  ( ph  ->  K  e.  V )
65adantr 481 . . . . 5  |-  ( (
ph  /\  S  e.  dom  G )  ->  K  e.  V )
71, 2, 3, 4, 6glbfval 16991 . . . 4  |-  ( (
ph  /\  S  e.  dom  G )  ->  G  =  ( ( s  e.  ~P B  |->  (
iota_ x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) ) ) )  |`  { s  |  E! x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) ) } ) )
87fveq1d 6193 . . 3  |-  ( (
ph  /\  S  e.  dom  G )  ->  ( G `  S )  =  ( ( ( s  e.  ~P B  |->  ( iota_ x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) ) ) )  |`  { s  |  E! x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) ) } ) `  S ) )
9 glbval.p . . . . . 6  |-  ( ps  <->  ( A. y  e.  S  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  S  z  .<_  y  ->  z  .<_  x ) ) )
10 simpr 477 . . . . . 6  |-  ( (
ph  /\  S  e.  dom  G )  ->  S  e.  dom  G )
111, 2, 3, 9, 6, 10glbeu 16996 . . . . 5  |-  ( (
ph  /\  S  e.  dom  G )  ->  E! x  e.  B  ps )
12 raleq 3138 . . . . . . . . . 10  |-  ( s  =  S  ->  ( A. y  e.  s  x  .<_  y  <->  A. y  e.  S  x  .<_  y ) )
13 raleq 3138 . . . . . . . . . . . 12  |-  ( s  =  S  ->  ( A. y  e.  s 
z  .<_  y  <->  A. y  e.  S  z  .<_  y ) )
1413imbi1d 331 . . . . . . . . . . 11  |-  ( s  =  S  ->  (
( A. y  e.  s  z  .<_  y  -> 
z  .<_  x )  <->  ( A. y  e.  S  z  .<_  y  ->  z  .<_  x ) ) )
1514ralbidv 2986 . . . . . . . . . 10  |-  ( s  =  S  ->  ( A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x )  <->  A. z  e.  B  ( A. y  e.  S  z  .<_  y  ->  z  .<_  x ) ) )
1612, 15anbi12d 747 . . . . . . . . 9  |-  ( s  =  S  ->  (
( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) )  <->  ( A. y  e.  S  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  S  z  .<_  y  ->  z  .<_  x ) ) ) )
1716, 9syl6bbr 278 . . . . . . . 8  |-  ( s  =  S  ->  (
( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) )  <->  ps )
)
1817reubidv 3126 . . . . . . 7  |-  ( s  =  S  ->  ( E! x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) )  <->  E! x  e.  B  ps )
)
1918elabg 3351 . . . . . 6  |-  ( S  e.  dom  G  -> 
( S  e.  {
s  |  E! x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z  .<_  x ) ) }  <->  E! x  e.  B  ps )
)
2019adantl 482 . . . . 5  |-  ( (
ph  /\  S  e.  dom  G )  ->  ( S  e.  { s  |  E! x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) ) }  <-> 
E! x  e.  B  ps ) )
2111, 20mpbird 247 . . . 4  |-  ( (
ph  /\  S  e.  dom  G )  ->  S  e.  { s  |  E! x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s 
z  .<_  y  ->  z  .<_  x ) ) } )
22 fvres 6207 . . . 4  |-  ( S  e.  { s  |  E! x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) ) }  ->  ( ( ( s  e.  ~P B  |->  ( iota_ x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) ) ) )  |`  { s  |  E! x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) ) } ) `  S )  =  ( ( s  e.  ~P B  |->  (
iota_ x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) ) ) ) `  S ) )
2321, 22syl 17 . . 3  |-  ( (
ph  /\  S  e.  dom  G )  ->  (
( ( s  e. 
~P B  |->  ( iota_ x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z  .<_  x ) ) ) )  |`  { s  |  E! x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s 
z  .<_  y  ->  z  .<_  x ) ) } ) `  S )  =  ( ( s  e.  ~P B  |->  (
iota_ x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) ) ) ) `  S ) )
24 glbval.ss . . . . . 6  |-  ( ph  ->  S  C_  B )
2524adantr 481 . . . . 5  |-  ( (
ph  /\  S  e.  dom  G )  ->  S  C_  B )
26 fvex 6201 . . . . . . 7  |-  ( Base `  K )  e.  _V
271, 26eqeltri 2697 . . . . . 6  |-  B  e. 
_V
2827elpw2 4828 . . . . 5  |-  ( S  e.  ~P B  <->  S  C_  B
)
2925, 28sylibr 224 . . . 4  |-  ( (
ph  /\  S  e.  dom  G )  ->  S  e.  ~P B )
3017riotabidv 6613 . . . . 5  |-  ( s  =  S  ->  ( iota_ x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) ) )  =  ( iota_ x  e.  B  ps ) )
31 eqid 2622 . . . . 5  |-  ( s  e.  ~P B  |->  (
iota_ x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) ) ) )  =  ( s  e.  ~P B  |->  (
iota_ x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z 
.<_  x ) ) ) )
32 riotaex 6615 . . . . 5  |-  ( iota_ x  e.  B  ps )  e.  _V
3330, 31, 32fvmpt 6282 . . . 4  |-  ( S  e.  ~P B  -> 
( ( s  e. 
~P B  |->  ( iota_ x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z  .<_  x ) ) ) ) `
 S )  =  ( iota_ x  e.  B  ps ) )
3429, 33syl 17 . . 3  |-  ( (
ph  /\  S  e.  dom  G )  ->  (
( s  e.  ~P B  |->  ( iota_ x  e.  B  ( A. y  e.  s  x  .<_  y  /\  A. z  e.  B  ( A. y  e.  s  z  .<_  y  ->  z  .<_  x ) ) ) ) `  S )  =  (
iota_ x  e.  B  ps ) )
358, 23, 343eqtrd 2660 . 2  |-  ( (
ph  /\  S  e.  dom  G )  ->  ( G `  S )  =  ( iota_ x  e.  B  ps ) )
36 ndmfv 6218 . . . 4  |-  ( -.  S  e.  dom  G  ->  ( G `  S
)  =  (/) )
3736adantl 482 . . 3  |-  ( (
ph  /\  -.  S  e.  dom  G )  -> 
( G `  S
)  =  (/) )
381, 2, 3, 9, 5glbeldm 16994 . . . . . . 7  |-  ( ph  ->  ( S  e.  dom  G  <-> 
( S  C_  B  /\  E! x  e.  B  ps ) ) )
3938biimprd 238 . . . . . 6  |-  ( ph  ->  ( ( S  C_  B  /\  E! x  e.  B  ps )  ->  S  e.  dom  G ) )
4024, 39mpand 711 . . . . 5  |-  ( ph  ->  ( E! x  e.  B  ps  ->  S  e.  dom  G ) )
4140con3dimp 457 . . . 4  |-  ( (
ph  /\  -.  S  e.  dom  G )  ->  -.  E! x  e.  B  ps )
42 riotaund 6647 . . . 4  |-  ( -.  E! x  e.  B  ps  ->  ( iota_ x  e.  B  ps )  =  (/) )
4341, 42syl 17 . . 3  |-  ( (
ph  /\  -.  S  e.  dom  G )  -> 
( iota_ x  e.  B  ps )  =  (/) )
4437, 43eqtr4d 2659 . 2  |-  ( (
ph  /\  -.  S  e.  dom  G )  -> 
( G `  S
)  =  ( iota_ x  e.  B  ps )
)
4535, 44pm2.61dan 832 1  |-  ( ph  ->  ( G `  S
)  =  ( iota_ x  e.  B  ps )
)
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 196    /\ wa 384    = wceq 1483    e. wcel 1990   {cab 2608   A.wral 2912   E!wreu 2914   _Vcvv 3200    C_ wss 3574   (/)c0 3915   ~Pcpw 4158   class class class wbr 4653    |-> cmpt 4729   dom cdm 5114    |` cres 5116   ` cfv 5888   iota_crio 6610   Basecbs 15857   lecple 15948   glbcglb 16943
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-rep 4771  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-iun 4522  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-riota 6611  df-glb 16975
This theorem is referenced by:  glbcl  16998  glbprop  16999  meetval2  17023  isglbd  17117  tosglb  29670  glb0N  34480  glbconN  34663
  Copyright terms: Public domain W3C validator