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

Theorem fpr 5694
Description: A function with a domain of two elements. (Contributed by Jeff Madsen, 20-Jun-2010.) (Proof shortened by Andrew Salmon, 22-Oct-2011.)
Hypotheses
Ref Expression
fpr.1  |-  A  e. 
_V
fpr.2  |-  B  e. 
_V
fpr.3  |-  C  e. 
_V
fpr.4  |-  D  e. 
_V
Assertion
Ref Expression
fpr  |-  ( A  =/=  B  ->  { <. A ,  C >. ,  <. B ,  D >. } : { A ,  B } --> { C ,  D }
)

Proof of Theorem fpr
StepHypRef Expression
1 fpr.1 . . . . . 6  |-  A  e. 
_V
2 fpr.2 . . . . . 6  |-  B  e. 
_V
3 fpr.3 . . . . . 6  |-  C  e. 
_V
4 fpr.4 . . . . . 6  |-  D  e. 
_V
51, 2, 3, 4funpr 5264 . . . . 5  |-  ( A  =/=  B  ->  Fun  {
<. A ,  C >. , 
<. B ,  D >. } )
63, 4dmprop 5099 . . . . 5  |-  dom  { <. A ,  C >. , 
<. B ,  D >. }  =  { A ,  B }
75, 6jctir 313 . . . 4  |-  ( A  =/=  B  ->  ( Fun  { <. A ,  C >. ,  <. B ,  D >. }  /\  dom  { <. A ,  C >. , 
<. B ,  D >. }  =  { A ,  B } ) )
8 df-fn 5215 . . . 4  |-  ( {
<. A ,  C >. , 
<. B ,  D >. }  Fn  { A ,  B }  <->  ( Fun  { <. A ,  C >. , 
<. B ,  D >. }  /\  dom  { <. A ,  C >. ,  <. B ,  D >. }  =  { A ,  B }
) )
97, 8sylibr 134 . . 3  |-  ( A  =/=  B  ->  { <. A ,  C >. ,  <. B ,  D >. }  Fn  { A ,  B }
)
10 df-pr 3598 . . . . . 6  |-  { <. A ,  C >. ,  <. B ,  D >. }  =  ( { <. A ,  C >. }  u.  { <. B ,  D >. } )
1110rneqi 4851 . . . . 5  |-  ran  { <. A ,  C >. , 
<. B ,  D >. }  =  ran  ( {
<. A ,  C >. }  u.  { <. B ,  D >. } )
12 rnun 5033 . . . . 5  |-  ran  ( { <. A ,  C >. }  u.  { <. B ,  D >. } )  =  ( ran  { <. A ,  C >. }  u.  ran  { <. B ,  D >. } )
131rnsnop 5105 . . . . . . 7  |-  ran  { <. A ,  C >. }  =  { C }
142rnsnop 5105 . . . . . . 7  |-  ran  { <. B ,  D >. }  =  { D }
1513, 14uneq12i 3287 . . . . . 6  |-  ( ran 
{ <. A ,  C >. }  u.  ran  { <. B ,  D >. } )  =  ( { C }  u.  { D } )
16 df-pr 3598 . . . . . 6  |-  { C ,  D }  =  ( { C }  u.  { D } )
1715, 16eqtr4i 2201 . . . . 5  |-  ( ran 
{ <. A ,  C >. }  u.  ran  { <. B ,  D >. } )  =  { C ,  D }
1811, 12, 173eqtri 2202 . . . 4  |-  ran  { <. A ,  C >. , 
<. B ,  D >. }  =  { C ,  D }
1918eqimssi 3211 . . 3  |-  ran  { <. A ,  C >. , 
<. B ,  D >. } 
C_  { C ,  D }
209, 19jctir 313 . 2  |-  ( A  =/=  B  ->  ( { <. A ,  C >. ,  <. B ,  D >. }  Fn  { A ,  B }  /\  ran  {
<. A ,  C >. , 
<. B ,  D >. } 
C_  { C ,  D } ) )
21 df-f 5216 . 2  |-  ( {
<. A ,  C >. , 
<. B ,  D >. } : { A ,  B } --> { C ,  D }  <->  ( { <. A ,  C >. ,  <. B ,  D >. }  Fn  { A ,  B }  /\  ran  { <. A ,  C >. ,  <. B ,  D >. }  C_  { C ,  D } ) )
2220, 21sylibr 134 1  |-  ( A  =/=  B  ->  { <. A ,  C >. ,  <. B ,  D >. } : { A ,  B } --> { C ,  D }
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    = wceq 1353    e. wcel 2148    =/= wne 2347   _Vcvv 2737    u. cun 3127    C_ wss 3129   {csn 3591   {cpr 3592   <.cop 3594   dom cdm 4623   ran crn 4624   Fun wfun 5206    Fn wfn 5207   -->wf 5208
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 614  ax-in2 615  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-14 2151  ax-ext 2159  ax-sep 4118  ax-pow 4171  ax-pr 4206
This theorem depends on definitions:  df-bi 117  df-3an 980  df-tru 1356  df-fal 1359  df-nf 1461  df-sb 1763  df-eu 2029  df-mo 2030  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ne 2348  df-ral 2460  df-rex 2461  df-v 2739  df-dif 3131  df-un 3133  df-in 3135  df-ss 3142  df-nul 3423  df-pw 3576  df-sn 3597  df-pr 3598  df-op 3600  df-br 4001  df-opab 4062  df-id 4290  df-xp 4629  df-rel 4630  df-cnv 4631  df-co 4632  df-dm 4633  df-rn 4634  df-fun 5214  df-fn 5215  df-f 5216
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator