ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  caoftrn Unicode version

Theorem caoftrn 6086
Description: Transfer a transitivity 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 )
caofass.4  |-  ( ph  ->  H : A --> S )
caoftrn.5  |-  ( (
ph  /\  ( x  e.  S  /\  y  e.  S  /\  z  e.  S ) )  -> 
( ( x R y  /\  y T z )  ->  x U z ) )
Assertion
Ref Expression
caoftrn  |-  ( ph  ->  ( ( F  oR R G  /\  G  oR T H )  ->  F  oR U H ) )
Distinct variable groups:    x, y, z, F    x, G, y, z    x, H, y, z    ph, x, y, z   
x, R, y, z   
x, S, y, z   
x, T, y, z   
x, U, y, z
Allowed substitution hints:    A( x, y, z)    V( x, y, z)

Proof of Theorem caoftrn
Dummy variable  w is distinct from all other variables.
StepHypRef Expression
1 caoftrn.5 . . . . . 6  |-  ( (
ph  /\  ( x  e.  S  /\  y  e.  S  /\  z  e.  S ) )  -> 
( ( x R y  /\  y T z )  ->  x U z ) )
21ralrimivvva 2553 . . . . 5  |-  ( ph  ->  A. x  e.  S  A. y  e.  S  A. z  e.  S  ( ( x R y  /\  y T z )  ->  x U z ) )
32adantr 274 . . . 4  |-  ( (
ph  /\  w  e.  A )  ->  A. x  e.  S  A. y  e.  S  A. z  e.  S  ( (
x R y  /\  y T z )  ->  x U z ) )
4 caofref.2 . . . . . 6  |-  ( ph  ->  F : A --> S )
54ffvelrnda 5631 . . . . 5  |-  ( (
ph  /\  w  e.  A )  ->  ( F `  w )  e.  S )
6 caofcom.3 . . . . . 6  |-  ( ph  ->  G : A --> S )
76ffvelrnda 5631 . . . . 5  |-  ( (
ph  /\  w  e.  A )  ->  ( G `  w )  e.  S )
8 caofass.4 . . . . . 6  |-  ( ph  ->  H : A --> S )
98ffvelrnda 5631 . . . . 5  |-  ( (
ph  /\  w  e.  A )  ->  ( H `  w )  e.  S )
10 breq1 3992 . . . . . . . 8  |-  ( x  =  ( F `  w )  ->  (
x R y  <->  ( F `  w ) R y ) )
1110anbi1d 462 . . . . . . 7  |-  ( x  =  ( F `  w )  ->  (
( x R y  /\  y T z )  <->  ( ( F `
 w ) R y  /\  y T z ) ) )
12 breq1 3992 . . . . . . 7  |-  ( x  =  ( F `  w )  ->  (
x U z  <->  ( F `  w ) U z ) )
1311, 12imbi12d 233 . . . . . 6  |-  ( x  =  ( F `  w )  ->  (
( ( x R y  /\  y T z )  ->  x U z )  <->  ( (
( F `  w
) R y  /\  y T z )  -> 
( F `  w
) U z ) ) )
14 breq2 3993 . . . . . . . 8  |-  ( y  =  ( G `  w )  ->  (
( F `  w
) R y  <->  ( F `  w ) R ( G `  w ) ) )
15 breq1 3992 . . . . . . . 8  |-  ( y  =  ( G `  w )  ->  (
y T z  <->  ( G `  w ) T z ) )
1614, 15anbi12d 470 . . . . . . 7  |-  ( y  =  ( G `  w )  ->  (
( ( F `  w ) R y  /\  y T z )  <->  ( ( F `
 w ) R ( G `  w
)  /\  ( G `  w ) T z ) ) )
1716imbi1d 230 . . . . . 6  |-  ( y  =  ( G `  w )  ->  (
( ( ( F `
 w ) R y  /\  y T z )  ->  ( F `  w ) U z )  <->  ( (
( F `  w
) R ( G `
 w )  /\  ( G `  w ) T z )  -> 
( F `  w
) U z ) ) )
18 breq2 3993 . . . . . . . 8  |-  ( z  =  ( H `  w )  ->  (
( G `  w
) T z  <->  ( G `  w ) T ( H `  w ) ) )
1918anbi2d 461 . . . . . . 7  |-  ( z  =  ( H `  w )  ->  (
( ( F `  w ) R ( G `  w )  /\  ( G `  w ) T z )  <->  ( ( F `
 w ) R ( G `  w
)  /\  ( G `  w ) T ( H `  w ) ) ) )
20 breq2 3993 . . . . . . 7  |-  ( z  =  ( H `  w )  ->  (
( F `  w
) U z  <->  ( F `  w ) U ( H `  w ) ) )
2119, 20imbi12d 233 . . . . . 6  |-  ( z  =  ( H `  w )  ->  (
( ( ( F `
 w ) R ( G `  w
)  /\  ( G `  w ) T z )  ->  ( F `  w ) U z )  <->  ( ( ( F `  w ) R ( G `  w )  /\  ( G `  w ) T ( H `  w ) )  -> 
( F `  w
) U ( H `
 w ) ) ) )
2213, 17, 21rspc3v 2850 . . . . 5  |-  ( ( ( F `  w
)  e.  S  /\  ( G `  w )  e.  S  /\  ( H `  w )  e.  S )  ->  ( A. x  e.  S  A. y  e.  S  A. z  e.  S  ( ( x R y  /\  y T z )  ->  x U z )  -> 
( ( ( F `
 w ) R ( G `  w
)  /\  ( G `  w ) T ( H `  w ) )  ->  ( F `  w ) U ( H `  w ) ) ) )
235, 7, 9, 22syl3anc 1233 . . . 4  |-  ( (
ph  /\  w  e.  A )  ->  ( A. x  e.  S  A. y  e.  S  A. z  e.  S  ( ( x R y  /\  y T z )  ->  x U z )  -> 
( ( ( F `
 w ) R ( G `  w
)  /\  ( G `  w ) T ( H `  w ) )  ->  ( F `  w ) U ( H `  w ) ) ) )
243, 23mpd 13 . . 3  |-  ( (
ph  /\  w  e.  A )  ->  (
( ( F `  w ) R ( G `  w )  /\  ( G `  w ) T ( H `  w ) )  ->  ( F `  w ) U ( H `  w ) ) )
2524ralimdva 2537 . 2  |-  ( ph  ->  ( A. w  e.  A  ( ( F `
 w ) R ( G `  w
)  /\  ( G `  w ) T ( H `  w ) )  ->  A. w  e.  A  ( F `  w ) U ( H `  w ) ) )
26 ffn 5347 . . . . . 6  |-  ( F : A --> S  ->  F  Fn  A )
274, 26syl 14 . . . . 5  |-  ( ph  ->  F  Fn  A )
28 ffn 5347 . . . . . 6  |-  ( G : A --> S  ->  G  Fn  A )
296, 28syl 14 . . . . 5  |-  ( ph  ->  G  Fn  A )
30 caofref.1 . . . . 5  |-  ( ph  ->  A  e.  V )
31 inidm 3336 . . . . 5  |-  ( A  i^i  A )  =  A
32 eqidd 2171 . . . . 5  |-  ( (
ph  /\  w  e.  A )  ->  ( F `  w )  =  ( F `  w ) )
33 eqidd 2171 . . . . 5  |-  ( (
ph  /\  w  e.  A )  ->  ( G `  w )  =  ( G `  w ) )
3427, 29, 30, 30, 31, 32, 33ofrfval 6069 . . . 4  |-  ( ph  ->  ( F  oR R G  <->  A. w  e.  A  ( F `  w ) R ( G `  w ) ) )
35 ffn 5347 . . . . . 6  |-  ( H : A --> S  ->  H  Fn  A )
368, 35syl 14 . . . . 5  |-  ( ph  ->  H  Fn  A )
37 eqidd 2171 . . . . 5  |-  ( (
ph  /\  w  e.  A )  ->  ( H `  w )  =  ( H `  w ) )
3829, 36, 30, 30, 31, 33, 37ofrfval 6069 . . . 4  |-  ( ph  ->  ( G  oR T H  <->  A. w  e.  A  ( G `  w ) T ( H `  w ) ) )
3934, 38anbi12d 470 . . 3  |-  ( ph  ->  ( ( F  oR R G  /\  G  oR T H )  <->  ( A. w  e.  A  ( F `  w ) R ( G `  w )  /\  A. w  e.  A  ( G `  w ) T ( H `  w ) ) ) )
40 r19.26 2596 . . 3  |-  ( A. w  e.  A  (
( F `  w
) R ( G `
 w )  /\  ( G `  w ) T ( H `  w ) )  <->  ( A. w  e.  A  ( F `  w ) R ( G `  w )  /\  A. w  e.  A  ( G `  w ) T ( H `  w ) ) )
4139, 40bitr4di 197 . 2  |-  ( ph  ->  ( ( F  oR R G  /\  G  oR T H )  <->  A. w  e.  A  ( ( F `  w ) R ( G `  w )  /\  ( G `  w ) T ( H `  w ) ) ) )
4227, 36, 30, 30, 31, 32, 37ofrfval 6069 . 2  |-  ( ph  ->  ( F  oR U H  <->  A. w  e.  A  ( F `  w ) U ( H `  w ) ) )
4325, 41, 423imtr4d 202 1  |-  ( ph  ->  ( ( F  oR R G  /\  G  oR T H )  ->  F  oR U H ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    /\ w3a 973    = wceq 1348    e. wcel 2141   A.wral 2448   class class class wbr 3989    Fn wfn 5193   -->wf 5194   ` cfv 5198    oRcofr 6060
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-pow 4160  ax-pr 4194
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-ofr 6062
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator