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

Theorem updjud 6960
Description: Universal property of the disjoint union. (Proposed by BJ, 25-Jun-2022.) (Contributed by AV, 28-Jun-2022.)
Hypotheses
Ref Expression
updjud.f  |-  ( ph  ->  F : A --> C )
updjud.g  |-  ( ph  ->  G : B --> C )
updjud.a  |-  ( ph  ->  A  e.  V )
updjud.b  |-  ( ph  ->  B  e.  W )
Assertion
Ref Expression
updjud  |-  ( ph  ->  E! h ( h : ( A B ) --> C  /\  ( h  o.  (inl  |`  A ) )  =  F  /\  ( h  o.  (inr  |`  B ) )  =  G ) )
Distinct variable groups:    A, h    B, h    C, h    h, F   
h, G    ph, h
Allowed substitution hints:    V( h)    W( h)

Proof of Theorem updjud
Dummy variables  k  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 updjud.a . . . . . 6  |-  ( ph  ->  A  e.  V )
2 updjud.b . . . . . 6  |-  ( ph  ->  B  e.  W )
31, 2jca 304 . . . . 5  |-  ( ph  ->  ( A  e.  V  /\  B  e.  W
) )
4 djuex 6921 . . . . 5  |-  ( ( A  e.  V  /\  B  e.  W )  ->  ( A B )  e.  _V )
5 mptexg 5638 . . . . 5  |-  ( ( A B )  e.  _V  ->  ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  e.  _V )
63, 4, 53syl 17 . . . 4  |-  ( ph  ->  ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  e.  _V )
7 feq1 5250 . . . . . . 7  |-  ( h  =  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  -> 
( h : ( A B ) --> C  <->  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C ) )
8 coeq1 4691 . . . . . . . 8  |-  ( h  =  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  -> 
( h  o.  (inl  |`  A ) )  =  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) ) )
98eqeq1d 2146 . . . . . . 7  |-  ( h  =  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  -> 
( ( h  o.  (inl  |`  A ) )  =  F  <->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F ) )
10 coeq1 4691 . . . . . . . 8  |-  ( h  =  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  -> 
( h  o.  (inr  |`  B ) )  =  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) ) )
1110eqeq1d 2146 . . . . . . 7  |-  ( h  =  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  -> 
( ( h  o.  (inr  |`  B ) )  =  G  <->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )
127, 9, 113anbi123d 1290 . . . . . 6  |-  ( h  =  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  -> 
( ( h : ( A B ) --> C  /\  ( h  o.  (inl  |`  A ) )  =  F  /\  (
h  o.  (inr  |`  B ) )  =  G )  <-> 
( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) ) )
13 eqeq1 2144 . . . . . . . 8  |-  ( h  =  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  -> 
( h  =  k  <-> 
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  =  k ) )
1413imbi2d 229 . . . . . . 7  |-  ( h  =  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  -> 
( ( ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G )  ->  h  =  k )  <->  ( (
k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G )  ->  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  =  k ) ) )
1514ralbidv 2435 . . . . . 6  |-  ( h  =  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  -> 
( A. k  e. 
_V  ( ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G )  ->  h  =  k )  <->  A. k  e.  _V  ( ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G )  ->  (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  =  k ) ) )
1612, 15anbi12d 464 . . . . 5  |-  ( h  =  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  -> 
( ( ( h : ( A B ) --> C  /\  ( h  o.  (inl  |`  A ) )  =  F  /\  ( h  o.  (inr  |`  B ) )  =  G )  /\  A. k  e.  _V  (
( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G )  ->  h  =  k ) )  <->  ( (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G )  /\  A. k  e.  _V  (
( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G )  ->  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  =  k ) ) ) )
1716adantl 275 . . . 4  |-  ( (
ph  /\  h  =  ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) )  -> 
( ( ( h : ( A B ) --> C  /\  ( h  o.  (inl  |`  A ) )  =  F  /\  ( h  o.  (inr  |`  B ) )  =  G )  /\  A. k  e.  _V  (
( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G )  ->  h  =  k ) )  <->  ( (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G )  /\  A. k  e.  _V  (
( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G )  ->  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  =  k ) ) ) )
18 updjud.f . . . . . 6  |-  ( ph  ->  F : A --> C )
19 updjud.g . . . . . 6  |-  ( ph  ->  G : B --> C )
20 eqid 2137 . . . . . 6  |-  ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  =  ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )
2118, 19, 20updjudhf 6957 . . . . 5  |-  ( ph  ->  ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C )
2218, 19, 20updjudhcoinlf 6958 . . . . 5  |-  ( ph  ->  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F )
2318, 19, 20updjudhcoinrg 6959 . . . . 5  |-  ( ph  ->  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G )
24 simpr 109 . . . . . . 7  |-  ( (
ph  /\  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  -> 
( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )
25 eqeq2 2147 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  ->  ( (
k  o.  (inl  |`  A ) )  =  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  <->  ( k  o.  (inl  |`  A ) )  =  F ) )
26 fvres 5438 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( z  e.  A  ->  (
(inl  |`  A ) `  z )  =  (inl
`  z ) )
2726eqcomd 2143 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( z  e.  A  ->  (inl `  z )  =  ( (inl  |`  A ) `  z ) )
2827eqeq2d 2149 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( z  e.  A  ->  (
y  =  (inl `  z )  <->  y  =  ( (inl  |`  A ) `
 z ) ) )
2928adantl 275 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  ( k  o.  (inl  |`  A ) )  /\  ph )  /\  z  e.  A )  ->  ( y  =  (inl
`  z )  <->  y  =  ( (inl  |`  A ) `
 z ) ) )
30 fveq1 5413 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  ( k  o.  (inl  |`  A ) )  -> 
( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) ) `
 z )  =  ( ( k  o.  (inl  |`  A ) ) `
 z ) )
3130ad2antrr 479 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  ( k  o.  (inl  |`  A ) )  /\  ph )  /\  z  e.  A )  ->  ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) ) `
 z )  =  ( ( k  o.  (inl  |`  A ) ) `
 z ) )
32 inlresf1 6939 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  |-  (inl  |`  A ) : A -1-1-> ( A B )
33 f1fn 5325 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  |-  ( (inl  |`  A ) : A -1-1-> ( A B )  ->  (inl  |`  A )  Fn  A
)
3432, 33mp1i 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  ( k  o.  (inl  |`  A ) )  /\  ph )  -> 
(inl  |`  A )  Fn  A )
35 fvco2 5483 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( ( (inl  |`  A )  Fn  A  /\  z  e.  A )  ->  (
( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) ) `
 z )  =  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  ( (inl  |`  A ) `
 z ) ) )
3634, 35sylan 281 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  ( k  o.  (inl  |`  A ) )  /\  ph )  /\  z  e.  A )  ->  ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) ) `
 z )  =  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  ( (inl  |`  A ) `
 z ) ) )
37 fvco2 5483 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( ( (inl  |`  A )  Fn  A  /\  z  e.  A )  ->  (
( k  o.  (inl  |`  A ) ) `  z )  =  ( k `  ( (inl  |`  A ) `  z
) ) )
3834, 37sylan 281 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  ( k  o.  (inl  |`  A ) )  /\  ph )  /\  z  e.  A )  ->  ( ( k  o.  (inl  |`  A ) ) `
 z )  =  ( k `  (
(inl  |`  A ) `  z ) ) )
3931, 36, 383eqtr3d 2178 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( ( ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  ( k  o.  (inl  |`  A ) )  /\  ph )  /\  z  e.  A )  ->  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  ( (inl  |`  A ) `
 z ) )  =  ( k `  ( (inl  |`  A ) `
 z ) ) )
40 fveq2 5414 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( y  =  ( (inl  |`  A ) `
 z )  -> 
( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y )  =  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  (
(inl  |`  A ) `  z ) ) )
41 fveq2 5414 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( y  =  ( (inl  |`  A ) `
 z )  -> 
( k `  y
)  =  ( k `
 ( (inl  |`  A ) `
 z ) ) )
4240, 41eqeq12d 2152 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( y  =  ( (inl  |`  A ) `
 z )  -> 
( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y )  =  ( k `  y )  <-> 
( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  ( (inl  |`  A ) `
 z ) )  =  ( k `  ( (inl  |`  A ) `
 z ) ) ) )
4339, 42syl5ibrcom 156 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  ( k  o.  (inl  |`  A ) )  /\  ph )  /\  z  e.  A )  ->  ( y  =  ( (inl  |`  A ) `  z )  ->  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) )
4429, 43sylbid 149 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ( ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  ( k  o.  (inl  |`  A ) )  /\  ph )  /\  z  e.  A )  ->  ( y  =  (inl
`  z )  -> 
( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y )  =  ( k `  y ) ) )
4544expimpd 360 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  ( k  o.  (inl  |`  A ) )  /\  ph )  -> 
( ( z  e.  A  /\  y  =  (inl `  z )
)  ->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) )
4645ex 114 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  ( k  o.  (inl  |`  A ) )  -> 
( ph  ->  ( ( z  e.  A  /\  y  =  (inl `  z
) )  ->  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) ) )
4746eqcoms 2140 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( k  o.  (inl  |`  A ) )  =  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  -> 
( ph  ->  ( ( z  e.  A  /\  y  =  (inl `  z
) )  ->  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) ) )
4825, 47syl6bir 163 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  ->  ( (
k  o.  (inl  |`  A ) )  =  F  -> 
( ph  ->  ( ( z  e.  A  /\  y  =  (inl `  z
) )  ->  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) ) ) )
4948com23 78 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  ->  ( ph  ->  ( ( k  o.  (inl  |`  A ) )  =  F  ->  (
( z  e.  A  /\  y  =  (inl `  z ) )  -> 
( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y )  =  ( k `  y ) ) ) ) )
50493ad2ant2 1003 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G )  ->  ( ph  ->  ( ( k  o.  (inl  |`  A ) )  =  F  -> 
( ( z  e.  A  /\  y  =  (inl `  z )
)  ->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) ) ) )
5150impcom 124 . . . . . . . . . . . . . . . . . 18  |-  ( (
ph  /\  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  -> 
( ( k  o.  (inl  |`  A ) )  =  F  ->  (
( z  e.  A  /\  y  =  (inl `  z ) )  -> 
( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y )  =  ( k `  y ) ) ) )
5251com12 30 . . . . . . . . . . . . . . . . 17  |-  ( ( k  o.  (inl  |`  A ) )  =  F  -> 
( ( ph  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  -> 
( ( z  e.  A  /\  y  =  (inl `  z )
)  ->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) ) )
53523ad2ant2 1003 . . . . . . . . . . . . . . . 16  |-  ( ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G )  ->  ( ( ph  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  -> 
( ( z  e.  A  /\  y  =  (inl `  z )
)  ->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) ) )
5453impcom 124 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  /\  ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G ) )  ->  ( (
z  e.  A  /\  y  =  (inl `  z
) )  ->  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) )
5554com12 30 . . . . . . . . . . . . . 14  |-  ( ( z  e.  A  /\  y  =  (inl `  z
) )  ->  (
( ( ph  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  /\  ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G ) )  ->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) )
5655rexlimiva 2542 . . . . . . . . . . . . 13  |-  ( E. z  e.  A  y  =  (inl `  z
)  ->  ( (
( ph  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  /\  ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G ) )  ->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) )
57 eqeq2 2147 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G  ->  ( (
k  o.  (inr  |`  B ) )  =  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  <->  ( k  o.  (inr  |`  B ) )  =  G ) )
58 fvres 5438 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( z  e.  B  ->  (
(inr  |`  B ) `  z )  =  (inr
`  z ) )
5958eqcomd 2143 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( z  e.  B  ->  (inr `  z )  =  ( (inr  |`  B ) `  z ) )
6059eqeq2d 2149 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( z  e.  B  ->  (
y  =  (inr `  z )  <->  y  =  ( (inr  |`  B ) `
 z ) ) )
6160adantl 275 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  ( k  o.  (inr  |`  B ) )  /\  ph )  /\  z  e.  B )  ->  ( y  =  (inr
`  z )  <->  y  =  ( (inr  |`  B ) `
 z ) ) )
62 fveq1 5413 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  ( k  o.  (inr  |`  B ) )  -> 
( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) ) `
 z )  =  ( ( k  o.  (inr  |`  B ) ) `
 z ) )
6362ad2antrr 479 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  ( k  o.  (inr  |`  B ) )  /\  ph )  /\  z  e.  B )  ->  ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) ) `
 z )  =  ( ( k  o.  (inr  |`  B ) ) `
 z ) )
64 inrresf1 6940 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  |-  (inr  |`  B ) : B -1-1-> ( A B )
65 f1fn 5325 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  |-  ( (inr  |`  B ) : B -1-1-> ( A B )  ->  (inr  |`  B )  Fn  B
)
6664, 65mp1i 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  ( k  o.  (inr  |`  B ) )  /\  ph )  -> 
(inr  |`  B )  Fn  B )
67 fvco2 5483 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( ( (inr  |`  B )  Fn  B  /\  z  e.  B )  ->  (
( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) ) `
 z )  =  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  ( (inr  |`  B ) `
 z ) ) )
6866, 67sylan 281 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  ( k  o.  (inr  |`  B ) )  /\  ph )  /\  z  e.  B )  ->  ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) ) `
 z )  =  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  ( (inr  |`  B ) `
 z ) ) )
69 fvco2 5483 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  |-  ( ( (inr  |`  B )  Fn  B  /\  z  e.  B )  ->  (
( k  o.  (inr  |`  B ) ) `  z )  =  ( k `  ( (inr  |`  B ) `  z
) ) )
7066, 69sylan 281 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( ( ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  ( k  o.  (inr  |`  B ) )  /\  ph )  /\  z  e.  B )  ->  ( ( k  o.  (inr  |`  B ) ) `
 z )  =  ( k `  (
(inr  |`  B ) `  z ) ) )
7163, 68, 703eqtr3d 2178 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( ( ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  ( k  o.  (inr  |`  B ) )  /\  ph )  /\  z  e.  B )  ->  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  ( (inr  |`  B ) `
 z ) )  =  ( k `  ( (inr  |`  B ) `
 z ) ) )
72 fveq2 5414 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( y  =  ( (inr  |`  B ) `
 z )  -> 
( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y )  =  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  (
(inr  |`  B ) `  z ) ) )
73 fveq2 5414 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  |-  ( y  =  ( (inr  |`  B ) `
 z )  -> 
( k `  y
)  =  ( k `
 ( (inr  |`  B ) `
 z ) ) )
7472, 73eqeq12d 2152 . . . . . . . . . . . . . . . . . . . . . . . . . . 27  |-  ( y  =  ( (inr  |`  B ) `
 z )  -> 
( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y )  =  ( k `  y )  <-> 
( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  ( (inr  |`  B ) `
 z ) )  =  ( k `  ( (inr  |`  B ) `
 z ) ) ) )
7571, 74syl5ibrcom 156 . . . . . . . . . . . . . . . . . . . . . . . . . 26  |-  ( ( ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  ( k  o.  (inr  |`  B ) )  /\  ph )  /\  z  e.  B )  ->  ( y  =  ( (inr  |`  B ) `  z )  ->  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) )
7661, 75sylbid 149 . . . . . . . . . . . . . . . . . . . . . . . . 25  |-  ( ( ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  ( k  o.  (inr  |`  B ) )  /\  ph )  /\  z  e.  B )  ->  ( y  =  (inr
`  z )  -> 
( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y )  =  ( k `  y ) ) )
7776expimpd 360 . . . . . . . . . . . . . . . . . . . . . . . 24  |-  ( ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  ( k  o.  (inr  |`  B ) )  /\  ph )  -> 
( ( z  e.  B  /\  y  =  (inr `  z )
)  ->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) )
7877ex 114 . . . . . . . . . . . . . . . . . . . . . . 23  |-  ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  ( k  o.  (inr  |`  B ) )  -> 
( ph  ->  ( ( z  e.  B  /\  y  =  (inr `  z
) )  ->  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) ) )
7978eqcoms 2140 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( k  o.  (inr  |`  B ) )  =  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  -> 
( ph  ->  ( ( z  e.  B  /\  y  =  (inr `  z
) )  ->  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) ) )
8057, 79syl6bir 163 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G  ->  ( (
k  o.  (inr  |`  B ) )  =  G  -> 
( ph  ->  ( ( z  e.  B  /\  y  =  (inr `  z
) )  ->  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) ) ) )
8180com23 78 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G  ->  ( ph  ->  ( ( k  o.  (inr  |`  B ) )  =  G  ->  (
( z  e.  B  /\  y  =  (inr `  z ) )  -> 
( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y )  =  ( k `  y ) ) ) ) )
82813ad2ant3 1004 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G )  ->  ( ph  ->  ( ( k  o.  (inr  |`  B ) )  =  G  -> 
( ( z  e.  B  /\  y  =  (inr `  z )
)  ->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) ) ) )
8382impcom 124 . . . . . . . . . . . . . . . . . 18  |-  ( (
ph  /\  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  -> 
( ( k  o.  (inr  |`  B ) )  =  G  ->  (
( z  e.  B  /\  y  =  (inr `  z ) )  -> 
( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y )  =  ( k `  y ) ) ) )
8483com12 30 . . . . . . . . . . . . . . . . 17  |-  ( ( k  o.  (inr  |`  B ) )  =  G  -> 
( ( ph  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  -> 
( ( z  e.  B  /\  y  =  (inr `  z )
)  ->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) ) )
85843ad2ant3 1004 . . . . . . . . . . . . . . . 16  |-  ( ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G )  ->  ( ( ph  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  -> 
( ( z  e.  B  /\  y  =  (inr `  z )
)  ->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) ) )
8685impcom 124 . . . . . . . . . . . . . . 15  |-  ( ( ( ph  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  /\  ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G ) )  ->  ( (
z  e.  B  /\  y  =  (inr `  z
) )  ->  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) )
8786com12 30 . . . . . . . . . . . . . 14  |-  ( ( z  e.  B  /\  y  =  (inr `  z
) )  ->  (
( ( ph  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  /\  ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G ) )  ->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) )
8887rexlimiva 2542 . . . . . . . . . . . . 13  |-  ( E. z  e.  B  y  =  (inr `  z
)  ->  ( (
( ph  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  /\  ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G ) )  ->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) )
8956, 88jaoi 705 . . . . . . . . . . . 12  |-  ( ( E. z  e.  A  y  =  (inl `  z
)  \/  E. z  e.  B  y  =  (inr `  z ) )  ->  ( ( (
ph  /\  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  /\  ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G ) )  ->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) )
90 djur 6947 . . . . . . . . . . . . 13  |-  ( y  e.  ( A B )  <-> 
( E. z  e.  A  y  =  (inl
`  z )  \/ 
E. z  e.  B  y  =  (inr `  z
) ) )
9190biimpi 119 . . . . . . . . . . . 12  |-  ( y  e.  ( A B )  ->  ( E. z  e.  A  y  =  (inl `  z )  \/ 
E. z  e.  B  y  =  (inr `  z
) ) )
9289, 91syl11 31 . . . . . . . . . . 11  |-  ( ( ( ph  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  /\  ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G ) )  ->  ( y  e.  ( A B )  ->  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y )  =  ( k `  y ) ) )
9392ralrimiv 2502 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  /\  ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G ) )  ->  A. y  e.  ( A B )
( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y )  =  ( k `  y ) )
94 ffn 5267 . . . . . . . . . . . . 13  |-  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  -> 
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  Fn  ( A B ) )
95943ad2ant1 1002 . . . . . . . . . . . 12  |-  ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G )  ->  (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  Fn  ( A B ) )
9695adantl 275 . . . . . . . . . . 11  |-  ( (
ph  /\  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  -> 
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  Fn  ( A B ) )
97 ffn 5267 . . . . . . . . . . . 12  |-  ( k : ( A B ) --> C  ->  k  Fn  ( A B ) )
98973ad2ant1 1002 . . . . . . . . . . 11  |-  ( ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G )  ->  k  Fn  ( A B ) )
99 eqfnfv 5511 . . . . . . . . . . 11  |-  ( ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  Fn  ( A B )  /\  k  Fn  ( A B )
)  ->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  =  k  <->  A. y  e.  ( A B ) ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) )
10096, 98, 99syl2an 287 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  /\  ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G ) )  ->  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  =  k  <->  A. y  e.  ( A B ) ( ( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) `  y
)  =  ( k `
 y ) ) )
10193, 100mpbird 166 . . . . . . . . 9  |-  ( ( ( ph  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  /\  ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G ) )  ->  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  =  k )
102101ex 114 . . . . . . . 8  |-  ( (
ph  /\  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  -> 
( ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  (
k  o.  (inr  |`  B ) )  =  G )  ->  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  =  k ) )
103102ralrimivw 2504 . . . . . . 7  |-  ( (
ph  /\  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  ->  A. k  e.  _V  ( ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  (
k  o.  (inr  |`  B ) )  =  G )  ->  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  =  k ) )
10424, 103jca 304 . . . . . 6  |-  ( (
ph  /\  ( (
x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G ) )  -> 
( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G )  /\  A. k  e.  _V  (
( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G )  ->  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  =  k ) ) )
105104ex 114 . . . . 5  |-  ( ph  ->  ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G )  ->  (
( ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G )  /\  A. k  e.  _V  (
( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G )  ->  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  =  k ) ) ) )
10621, 22, 23, 105mp3and 1318 . . . 4  |-  ( ph  ->  ( ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) ) : ( A B ) --> C  /\  ( ( x  e.  ( A B ) 
|->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inl  |`  A ) )  =  F  /\  (
( x  e.  ( A B )  |->  if ( ( 1st `  x
)  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  o.  (inr  |`  B ) )  =  G )  /\  A. k  e.  _V  (
( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G )  ->  ( x  e.  ( A B )  |->  if ( ( 1st `  x )  =  (/) ,  ( F `  ( 2nd `  x ) ) ,  ( G `  ( 2nd `  x ) ) ) )  =  k ) ) )
1076, 17, 106rspcedvd 2790 . . 3  |-  ( ph  ->  E. h  e.  _V  ( ( h : ( A B ) --> C  /\  ( h  o.  (inl  |`  A ) )  =  F  /\  (
h  o.  (inr  |`  B ) )  =  G )  /\  A. k  e. 
_V  ( ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G )  ->  h  =  k ) ) )
108 feq1 5250 . . . . 5  |-  ( h  =  k  ->  (
h : ( A B ) --> C  <->  k :
( A B ) --> C ) )
109 coeq1 4691 . . . . . 6  |-  ( h  =  k  ->  (
h  o.  (inl  |`  A ) )  =  ( k  o.  (inl  |`  A ) ) )
110109eqeq1d 2146 . . . . 5  |-  ( h  =  k  ->  (
( h  o.  (inl  |`  A ) )  =  F  <->  ( k  o.  (inl  |`  A ) )  =  F ) )
111 coeq1 4691 . . . . . 6  |-  ( h  =  k  ->  (
h  o.  (inr  |`  B ) )  =  ( k  o.  (inr  |`  B ) ) )
112111eqeq1d 2146 . . . . 5  |-  ( h  =  k  ->  (
( h  o.  (inr  |`  B ) )  =  G  <->  ( k  o.  (inr  |`  B ) )  =  G ) )
113108, 110, 1123anbi123d 1290 . . . 4  |-  ( h  =  k  ->  (
( h : ( A B ) --> C  /\  ( h  o.  (inl  |`  A ) )  =  F  /\  ( h  o.  (inr  |`  B ) )  =  G )  <-> 
( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G ) ) )
114113reu8 2875 . . 3  |-  ( E! h  e.  _V  (
h : ( A B ) --> C  /\  ( h  o.  (inl  |`  A ) )  =  F  /\  ( h  o.  (inr  |`  B ) )  =  G )  <->  E. h  e.  _V  ( ( h : ( A B ) --> C  /\  ( h  o.  (inl  |`  A ) )  =  F  /\  (
h  o.  (inr  |`  B ) )  =  G )  /\  A. k  e. 
_V  ( ( k : ( A B ) --> C  /\  ( k  o.  (inl  |`  A ) )  =  F  /\  ( k  o.  (inr  |`  B ) )  =  G )  ->  h  =  k ) ) )
115107, 114sylibr 133 . 2  |-  ( ph  ->  E! h  e.  _V  ( h : ( A B ) --> C  /\  ( h  o.  (inl  |`  A ) )  =  F  /\  ( h  o.  (inr  |`  B ) )  =  G ) )
116 reuv 2700 . 2  |-  ( E! h  e.  _V  (
h : ( A B ) --> C  /\  ( h  o.  (inl  |`  A ) )  =  F  /\  ( h  o.  (inr  |`  B ) )  =  G )  <-> 
E! h ( h : ( A B ) --> C  /\  ( h  o.  (inl  |`  A ) )  =  F  /\  ( h  o.  (inr  |`  B ) )  =  G ) )
117115, 116sylib 121 1  |-  ( ph  ->  E! h ( h : ( A B ) --> C  /\  ( h  o.  (inl  |`  A ) )  =  F  /\  ( h  o.  (inr  |`  B ) )  =  G ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    \/ wo 697    /\ w3a 962    = wceq 1331    e. wcel 1480   E!weu 1997   A.wral 2414   E.wrex 2415   E!wreu 2416   _Vcvv 2681   (/)c0 3358   ifcif 3469    |-> cmpt 3984    |` cres 4536    o. ccom 4538    Fn wfn 5113   -->wf 5114   -1-1->wf1 5115   ` cfv 5118   1stc1st 6029   2ndc2nd 6030   ⊔ cdju 6915  inlcinl 6923  inrcinr 6924
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-in1 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-13 1491  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119  ax-coll 4038  ax-sep 4041  ax-nul 4049  ax-pow 4093  ax-pr 4126  ax-un 4350
This theorem depends on definitions:  df-bi 116  df-dc 820  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-eu 2000  df-mo 2001  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ne 2307  df-ral 2419  df-rex 2420  df-reu 2421  df-rab 2423  df-v 2683  df-sbc 2905  df-csb 2999  df-dif 3068  df-un 3070  df-in 3072  df-ss 3079  df-nul 3359  df-if 3470  df-pw 3507  df-sn 3528  df-pr 3529  df-op 3531  df-uni 3732  df-iun 3810  df-br 3925  df-opab 3985  df-mpt 3986  df-tr 4022  df-id 4210  df-iord 4283  df-on 4285  df-suc 4288  df-xp 4540  df-rel 4541  df-cnv 4542  df-co 4543  df-dm 4544  df-rn 4545  df-res 4546  df-ima 4547  df-iota 5083  df-fun 5120  df-fn 5121  df-f 5122  df-f1 5123  df-fo 5124  df-f1o 5125  df-fv 5126  df-1st 6031  df-2nd 6032  df-1o 6306  df-dju 6916  df-inl 6925  df-inr 6926
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator