MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  fvtp3g Structured version   Unicode version

Theorem fvtp3g 6040
Description: The value of a function with a domain of (at most) three elements. (Contributed by Alexander van der Vekens, 4-Dec-2017.)
Assertion
Ref Expression
fvtp3g  |-  ( ( ( C  e.  V  /\  F  e.  W
)  /\  ( A  =/=  C  /\  B  =/= 
C ) )  -> 
( { <. A ,  D >. ,  <. B ,  E >. ,  <. C ,  F >. } `  C
)  =  F )

Proof of Theorem fvtp3g
StepHypRef Expression
1 tprot 4079 . . 3  |-  { <. A ,  D >. ,  <. B ,  E >. ,  <. C ,  F >. }  =  { <. B ,  E >. ,  <. C ,  F >. ,  <. A ,  D >. }
21fveq1i 5801 . 2  |-  ( {
<. A ,  D >. , 
<. B ,  E >. , 
<. C ,  F >. } `
 C )  =  ( { <. B ,  E >. ,  <. C ,  F >. ,  <. A ,  D >. } `  C
)
3 necom 2721 . . . . 5  |-  ( A  =/=  C  <->  C  =/=  A )
4 fvtp2g 6039 . . . . . 6  |-  ( ( ( C  e.  V  /\  F  e.  W
)  /\  ( B  =/=  C  /\  C  =/= 
A ) )  -> 
( { <. B ,  E >. ,  <. C ,  F >. ,  <. A ,  D >. } `  C
)  =  F )
54expcom 435 . . . . 5  |-  ( ( B  =/=  C  /\  C  =/=  A )  -> 
( ( C  e.  V  /\  F  e.  W )  ->  ( { <. B ,  E >. ,  <. C ,  F >. ,  <. A ,  D >. } `  C )  =  F ) )
63, 5sylan2b 475 . . . 4  |-  ( ( B  =/=  C  /\  A  =/=  C )  -> 
( ( C  e.  V  /\  F  e.  W )  ->  ( { <. B ,  E >. ,  <. C ,  F >. ,  <. A ,  D >. } `  C )  =  F ) )
76ancoms 453 . . 3  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( ( C  e.  V  /\  F  e.  W )  ->  ( { <. B ,  E >. ,  <. C ,  F >. ,  <. A ,  D >. } `  C )  =  F ) )
87impcom 430 . 2  |-  ( ( ( C  e.  V  /\  F  e.  W
)  /\  ( A  =/=  C  /\  B  =/= 
C ) )  -> 
( { <. B ,  E >. ,  <. C ,  F >. ,  <. A ,  D >. } `  C
)  =  F )
92, 8syl5eq 2507 1  |-  ( ( ( C  e.  V  /\  F  e.  W
)  /\  ( A  =/=  C  /\  B  =/= 
C ) )  -> 
( { <. A ,  D >. ,  <. B ,  E >. ,  <. C ,  F >. } `  C
)  =  F )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    = wceq 1370    e. wcel 1758    =/= wne 2648   {ctp 3990   <.cop 3992   ` cfv 5527
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-8 1760  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1955  ax-ext 2432  ax-sep 4522  ax-nul 4530  ax-pow 4579  ax-pr 4640
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2266  df-mo 2267  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ne 2650  df-ral 2804  df-rex 2805  df-rab 2808  df-v 3080  df-sbc 3295  df-dif 3440  df-un 3442  df-in 3444  df-ss 3451  df-nul 3747  df-if 3901  df-sn 3987  df-pr 3989  df-tp 3991  df-op 3993  df-uni 4201  df-br 4402  df-opab 4460  df-id 4745  df-xp 4955  df-rel 4956  df-cnv 4957  df-co 4958  df-dm 4959  df-res 4961  df-iota 5490  df-fun 5529  df-fv 5535
This theorem is referenced by:  2wlklemC  23608  2pthon  23654
  Copyright terms: Public domain W3C validator