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

Theorem caofrss 6126
Description: Transfer a relation subset law to the function relation. (Contributed by Mario Carneiro, 28-Jul-2014.)
Hypotheses
Ref Expression
caofref.1  |-  ( ph  ->  A  e.  V )
caofref.2  |-  ( ph  ->  F : A --> S )
caofcom.3  |-  ( ph  ->  G : A --> S )
caofrss.4  |-  ( (
ph  /\  ( x  e.  S  /\  y  e.  S ) )  -> 
( x R y  ->  x T y ) )
Assertion
Ref Expression
caofrss  |-  ( ph  ->  ( F  o R R G  ->  F  o R T G ) )
Distinct variable groups:    x, y, F    x, G, y    ph, x, y    x, R, y    x, S, y    x, T, y
Allowed substitution hints:    A( x, y)    V( x, y)

Proof of Theorem caofrss
Dummy variable  w is distinct from all other variables.
StepHypRef Expression
1 caofref.2 . . . . 5  |-  ( ph  ->  F : A --> S )
2 ffvelrn 5679 . . . . 5  |-  ( ( F : A --> S  /\  w  e.  A )  ->  ( F `  w
)  e.  S )
31, 2sylan 457 . . . 4  |-  ( (
ph  /\  w  e.  A )  ->  ( F `  w )  e.  S )
4 caofcom.3 . . . . 5  |-  ( ph  ->  G : A --> S )
5 ffvelrn 5679 . . . . 5  |-  ( ( G : A --> S  /\  w  e.  A )  ->  ( G `  w
)  e.  S )
64, 5sylan 457 . . . 4  |-  ( (
ph  /\  w  e.  A )  ->  ( G `  w )  e.  S )
7 caofrss.4 . . . . . 6  |-  ( (
ph  /\  ( x  e.  S  /\  y  e.  S ) )  -> 
( x R y  ->  x T y ) )
87ralrimivva 2648 . . . . 5  |-  ( ph  ->  A. x  e.  S  A. y  e.  S  ( x R y  ->  x T y ) )
98adantr 451 . . . 4  |-  ( (
ph  /\  w  e.  A )  ->  A. x  e.  S  A. y  e.  S  ( x R y  ->  x T y ) )
10 breq1 4042 . . . . . 6  |-  ( x  =  ( F `  w )  ->  (
x R y  <->  ( F `  w ) R y ) )
11 breq1 4042 . . . . . 6  |-  ( x  =  ( F `  w )  ->  (
x T y  <->  ( F `  w ) T y ) )
1210, 11imbi12d 311 . . . . 5  |-  ( x  =  ( F `  w )  ->  (
( x R y  ->  x T y )  <->  ( ( F `
 w ) R y  ->  ( F `  w ) T y ) ) )
13 breq2 4043 . . . . . 6  |-  ( y  =  ( G `  w )  ->  (
( F `  w
) R y  <->  ( F `  w ) R ( G `  w ) ) )
14 breq2 4043 . . . . . 6  |-  ( y  =  ( G `  w )  ->  (
( F `  w
) T y  <->  ( F `  w ) T ( G `  w ) ) )
1513, 14imbi12d 311 . . . . 5  |-  ( y  =  ( G `  w )  ->  (
( ( F `  w ) R y  ->  ( F `  w ) T y )  <->  ( ( F `
 w ) R ( G `  w
)  ->  ( F `  w ) T ( G `  w ) ) ) )
1612, 15rspc2va 2904 . . . 4  |-  ( ( ( ( F `  w )  e.  S  /\  ( G `  w
)  e.  S )  /\  A. x  e.  S  A. y  e.  S  ( x R y  ->  x T
y ) )  -> 
( ( F `  w ) R ( G `  w )  ->  ( F `  w ) T ( G `  w ) ) )
173, 6, 9, 16syl21anc 1181 . . 3  |-  ( (
ph  /\  w  e.  A )  ->  (
( F `  w
) R ( G `
 w )  -> 
( F `  w
) T ( G `
 w ) ) )
1817ralimdva 2634 . 2  |-  ( ph  ->  ( A. w  e.  A  ( F `  w ) R ( G `  w )  ->  A. w  e.  A  ( F `  w ) T ( G `  w ) ) )
19 ffn 5405 . . . 4  |-  ( F : A --> S  ->  F  Fn  A )
201, 19syl 15 . . 3  |-  ( ph  ->  F  Fn  A )
21 ffn 5405 . . . 4  |-  ( G : A --> S  ->  G  Fn  A )
224, 21syl 15 . . 3  |-  ( ph  ->  G  Fn  A )
23 caofref.1 . . 3  |-  ( ph  ->  A  e.  V )
24 inidm 3391 . . 3  |-  ( A  i^i  A )  =  A
25 eqidd 2297 . . 3  |-  ( (
ph  /\  w  e.  A )  ->  ( F `  w )  =  ( F `  w ) )
26 eqidd 2297 . . 3  |-  ( (
ph  /\  w  e.  A )  ->  ( G `  w )  =  ( G `  w ) )
2720, 22, 23, 23, 24, 25, 26ofrfval 6102 . 2  |-  ( ph  ->  ( F  o R R G  <->  A. w  e.  A  ( F `  w ) R ( G `  w ) ) )
2820, 22, 23, 23, 24, 25, 26ofrfval 6102 . 2  |-  ( ph  ->  ( F  o R T G  <->  A. w  e.  A  ( F `  w ) T ( G `  w ) ) )
2918, 27, 283imtr4d 259 1  |-  ( ph  ->  ( F  o R R G  ->  F  o R T G ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    = wceq 1632    e. wcel 1696   A.wral 2556   class class class wbr 4039    Fn wfn 5266   -->wf 5267   ` cfv 5271    o Rcofr 6093
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-rep 4147  ax-sep 4157  ax-nul 4165  ax-pr 4230
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-reu 2563  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-nul 3469  df-if 3579  df-sn 3659  df-pr 3660  df-op 3662  df-uni 3844  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-id 4325  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-ofr 6095
  Copyright terms: Public domain W3C validator