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

Theorem fpr 5570
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 5145 . . . . 5  |-  ( A  =/=  B  ->  Fun  {
<. A ,  C >. , 
<. B ,  D >. } )
63, 4dmprop 4983 . . . . 5  |-  dom  { <. A ,  C >. , 
<. B ,  D >. }  =  { A ,  B }
75, 6jctir 311 . . . 4  |-  ( A  =/=  B  ->  ( Fun  { <. A ,  C >. ,  <. B ,  D >. }  /\  dom  { <. A ,  C >. , 
<. B ,  D >. }  =  { A ,  B } ) )
8 df-fn 5096 . . . 4  |-  ( {
<. A ,  C >. , 
<. B ,  D >. }  Fn  { A ,  B }  <->  ( Fun  { <. A ,  C >. , 
<. B ,  D >. }  /\  dom  { <. A ,  C >. ,  <. B ,  D >. }  =  { A ,  B }
) )
97, 8sylibr 133 . . 3  |-  ( A  =/=  B  ->  { <. A ,  C >. ,  <. B ,  D >. }  Fn  { A ,  B }
)
10 df-pr 3504 . . . . . 6  |-  { <. A ,  C >. ,  <. B ,  D >. }  =  ( { <. A ,  C >. }  u.  { <. B ,  D >. } )
1110rneqi 4737 . . . . 5  |-  ran  { <. A ,  C >. , 
<. B ,  D >. }  =  ran  ( {
<. A ,  C >. }  u.  { <. B ,  D >. } )
12 rnun 4917 . . . . 5  |-  ran  ( { <. A ,  C >. }  u.  { <. B ,  D >. } )  =  ( ran  { <. A ,  C >. }  u.  ran  { <. B ,  D >. } )
131rnsnop 4989 . . . . . . 7  |-  ran  { <. A ,  C >. }  =  { C }
142rnsnop 4989 . . . . . . 7  |-  ran  { <. B ,  D >. }  =  { D }
1513, 14uneq12i 3198 . . . . . 6  |-  ( ran 
{ <. A ,  C >. }  u.  ran  { <. B ,  D >. } )  =  ( { C }  u.  { D } )
16 df-pr 3504 . . . . . 6  |-  { C ,  D }  =  ( { C }  u.  { D } )
1715, 16eqtr4i 2141 . . . . 5  |-  ( ran 
{ <. A ,  C >. }  u.  ran  { <. B ,  D >. } )  =  { C ,  D }
1811, 12, 173eqtri 2142 . . . 4  |-  ran  { <. A ,  C >. , 
<. B ,  D >. }  =  { C ,  D }
1918eqimssi 3123 . . 3  |-  ran  { <. A ,  C >. , 
<. B ,  D >. } 
C_  { C ,  D }
209, 19jctir 311 . 2  |-  ( A  =/=  B  ->  ( { <. A ,  C >. ,  <. B ,  D >. }  Fn  { A ,  B }  /\  ran  {
<. A ,  C >. , 
<. B ,  D >. } 
C_  { C ,  D } ) )
21 df-f 5097 . 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 133 1  |-  ( A  =/=  B  ->  { <. A ,  C >. ,  <. B ,  D >. } : { A ,  B } --> { C ,  D }
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    = wceq 1316    e. wcel 1465    =/= wne 2285   _Vcvv 2660    u. cun 3039    C_ wss 3041   {csn 3497   {cpr 3498   <.cop 3500   dom cdm 4509   ran crn 4510   Fun wfun 5087    Fn wfn 5088   -->wf 5089
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 588  ax-in2 589  ax-io 683  ax-5 1408  ax-7 1409  ax-gen 1410  ax-ie1 1454  ax-ie2 1455  ax-8 1467  ax-10 1468  ax-11 1469  ax-i12 1470  ax-bndl 1471  ax-4 1472  ax-14 1477  ax-17 1491  ax-i9 1495  ax-ial 1499  ax-i5r 1500  ax-ext 2099  ax-sep 4016  ax-pow 4068  ax-pr 4101
This theorem depends on definitions:  df-bi 116  df-3an 949  df-tru 1319  df-fal 1322  df-nf 1422  df-sb 1721  df-eu 1980  df-mo 1981  df-clab 2104  df-cleq 2110  df-clel 2113  df-nfc 2247  df-ne 2286  df-ral 2398  df-rex 2399  df-v 2662  df-dif 3043  df-un 3045  df-in 3047  df-ss 3054  df-nul 3334  df-pw 3482  df-sn 3503  df-pr 3504  df-op 3506  df-br 3900  df-opab 3960  df-id 4185  df-xp 4515  df-rel 4516  df-cnv 4517  df-co 4518  df-dm 4519  df-rn 4520  df-fun 5095  df-fn 5096  df-f 5097
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator