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

Theorem fvprif 12926
Description: The value of the pair function at an element of  2o. (Contributed by Mario Carneiro, 14-Aug-2015.)
Assertion
Ref Expression
fvprif  |-  ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  ->  ( { <. (/) ,  A >. ,  <. 1o ,  B >. } `  C )  =  if ( C  =  (/) ,  A ,  B ) )

Proof of Theorem fvprif
StepHypRef Expression
1 fvpr0o 12924 . . . . 5  |-  ( A  e.  V  ->  ( { <. (/) ,  A >. , 
<. 1o ,  B >. } `
 (/) )  =  A )
213ad2ant1 1020 . . . 4  |-  ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  ->  ( { <. (/) ,  A >. ,  <. 1o ,  B >. } `  (/) )  =  A )
32adantr 276 . . 3  |-  ( ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  /\  C  =  (/) )  ->  ( { <. (/)
,  A >. ,  <. 1o ,  B >. } `  (/) )  =  A )
4 simpr 110 . . . 4  |-  ( ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  /\  C  =  (/) )  ->  C  =  (/) )
54fveq2d 5558 . . 3  |-  ( ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  /\  C  =  (/) )  ->  ( { <. (/)
,  A >. ,  <. 1o ,  B >. } `  C )  =  ( { <. (/) ,  A >. , 
<. 1o ,  B >. } `
 (/) ) )
64iftrued 3564 . . 3  |-  ( ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  /\  C  =  (/) )  ->  if ( C  =  (/) ,  A ,  B )  =  A )
73, 5, 63eqtr4d 2236 . 2  |-  ( ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  /\  C  =  (/) )  ->  ( { <. (/)
,  A >. ,  <. 1o ,  B >. } `  C )  =  if ( C  =  (/) ,  A ,  B ) )
8 fvpr1o 12925 . . . . 5  |-  ( B  e.  W  ->  ( { <. (/) ,  A >. , 
<. 1o ,  B >. } `
 1o )  =  B )
983ad2ant2 1021 . . . 4  |-  ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  ->  ( { <. (/) ,  A >. ,  <. 1o ,  B >. } `  1o )  =  B )
109adantr 276 . . 3  |-  ( ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  /\  C  =  1o )  ->  ( { <.
(/) ,  A >. , 
<. 1o ,  B >. } `
 1o )  =  B )
11 simpr 110 . . . 4  |-  ( ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  /\  C  =  1o )  ->  C  =  1o )
1211fveq2d 5558 . . 3  |-  ( ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  /\  C  =  1o )  ->  ( { <.
(/) ,  A >. , 
<. 1o ,  B >. } `
 C )  =  ( { <. (/) ,  A >. ,  <. 1o ,  B >. } `  1o ) )
13 1n0 6485 . . . . . 6  |-  1o  =/=  (/)
1413neii 2366 . . . . 5  |-  -.  1o  =  (/)
1511eqeq1d 2202 . . . . 5  |-  ( ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  /\  C  =  1o )  ->  ( C  =  (/)  <->  1o  =  (/) ) )
1614, 15mtbiri 676 . . . 4  |-  ( ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  /\  C  =  1o )  ->  -.  C  =  (/) )
1716iffalsed 3567 . . 3  |-  ( ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  /\  C  =  1o )  ->  if ( C  =  (/) ,  A ,  B )  =  B )
1810, 12, 173eqtr4d 2236 . 2  |-  ( ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  /\  C  =  1o )  ->  ( { <.
(/) ,  A >. , 
<. 1o ,  B >. } `
 C )  =  if ( C  =  (/) ,  A ,  B
) )
19 elpri 3641 . . . 4  |-  ( C  e.  { (/) ,  1o }  ->  ( C  =  (/)  \/  C  =  1o ) )
20 df2o3 6483 . . . 4  |-  2o  =  { (/) ,  1o }
2119, 20eleq2s 2288 . . 3  |-  ( C  e.  2o  ->  ( C  =  (/)  \/  C  =  1o ) )
22213ad2ant3 1022 . 2  |-  ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  ->  ( C  =  (/)  \/  C  =  1o ) )
237, 18, 22mpjaodan 799 1  |-  ( ( A  e.  V  /\  B  e.  W  /\  C  e.  2o )  ->  ( { <. (/) ,  A >. ,  <. 1o ,  B >. } `  C )  =  if ( C  =  (/) ,  A ,  B ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    \/ wo 709    /\ w3a 980    = wceq 1364    e. wcel 2164   (/)c0 3446   ifcif 3557   {cpr 3619   <.cop 3621   ` cfv 5254   1oc1o 6462   2oc2o 6463
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 615  ax-in2 616  ax-io 710  ax-5 1458  ax-7 1459  ax-gen 1460  ax-ie1 1504  ax-ie2 1505  ax-8 1515  ax-10 1516  ax-11 1517  ax-i12 1518  ax-bndl 1520  ax-4 1521  ax-17 1537  ax-i9 1541  ax-ial 1545  ax-i5r 1546  ax-13 2166  ax-14 2167  ax-ext 2175  ax-sep 4147  ax-nul 4155  ax-pow 4203  ax-pr 4238  ax-un 4464
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-fal 1370  df-nf 1472  df-sb 1774  df-eu 2045  df-mo 2046  df-clab 2180  df-cleq 2186  df-clel 2189  df-nfc 2325  df-ne 2365  df-ral 2477  df-rex 2478  df-v 2762  df-sbc 2986  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3447  df-if 3558  df-pw 3603  df-sn 3624  df-pr 3625  df-op 3627  df-uni 3836  df-int 3871  df-br 4030  df-opab 4091  df-id 4324  df-suc 4402  df-iom 4623  df-xp 4665  df-rel 4666  df-cnv 4667  df-co 4668  df-dm 4669  df-res 4671  df-iota 5215  df-fun 5256  df-fv 5262  df-1o 6469  df-2o 6470
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator