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

Theorem f1dom3el3dif 5976
Description: The range of a 1-1 function from a set with three different elements has (at least) three different elements. (Contributed by AV, 20-Mar-2019.)
Hypotheses
Ref Expression
f1dom3fv3dif.v  |-  ( ph  ->  ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z
) )
f1dom3fv3dif.n  |-  ( ph  ->  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )
f1dom3fv3dif.f  |-  ( ph  ->  F : { A ,  B ,  C } -1-1->
R )
Assertion
Ref Expression
f1dom3el3dif  |-  ( ph  ->  E. x  e.  R  E. y  e.  R  E. z  e.  R  ( x  =/=  y  /\  x  =/=  z  /\  y  =/=  z
) )
Distinct variable groups:    x, A, y, z    x, B, y, z    x, C, y, z    x, F, y, z    x, R, y, z
Allowed substitution hints:    ph( x, y, z)    X( x, y, z)    Y( x, y, z)    Z( x, y, z)

Proof of Theorem f1dom3el3dif
StepHypRef Expression
1 f1dom3fv3dif.f . . 3  |-  ( ph  ->  F : { A ,  B ,  C } -1-1->
R )
2 f1f 5601 . . . 4  |-  ( F : { A ,  B ,  C } -1-1->
R  ->  F : { A ,  B ,  C } --> R )
3 simpr 461 . . . . . . 7  |-  ( (
ph  /\  F : { A ,  B ,  C } --> R )  ->  F : { A ,  B ,  C } --> R )
4 eqidd 2439 . . . . . . . . . 10  |-  ( ph  ->  A  =  A )
543mix1d 1163 . . . . . . . . 9  |-  ( ph  ->  ( A  =  A  \/  A  =  B  \/  A  =  C ) )
6 f1dom3fv3dif.v . . . . . . . . . . 11  |-  ( ph  ->  ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z
) )
76simp1d 1000 . . . . . . . . . 10  |-  ( ph  ->  A  e.  X )
8 eltpg 3913 . . . . . . . . . 10  |-  ( A  e.  X  ->  ( A  e.  { A ,  B ,  C }  <->  ( A  =  A  \/  A  =  B  \/  A  =  C )
) )
97, 8syl 16 . . . . . . . . 9  |-  ( ph  ->  ( A  e.  { A ,  B ,  C }  <->  ( A  =  A  \/  A  =  B  \/  A  =  C ) ) )
105, 9mpbird 232 . . . . . . . 8  |-  ( ph  ->  A  e.  { A ,  B ,  C }
)
1110adantr 465 . . . . . . 7  |-  ( (
ph  /\  F : { A ,  B ,  C } --> R )  ->  A  e.  { A ,  B ,  C }
)
123, 11ffvelrnd 5839 . . . . . 6  |-  ( (
ph  /\  F : { A ,  B ,  C } --> R )  -> 
( F `  A
)  e.  R )
13 eqidd 2439 . . . . . . . . . 10  |-  ( ph  ->  B  =  B )
14133mix2d 1164 . . . . . . . . 9  |-  ( ph  ->  ( B  =  A  \/  B  =  B  \/  B  =  C ) )
156simp2d 1001 . . . . . . . . . 10  |-  ( ph  ->  B  e.  Y )
16 eltpg 3913 . . . . . . . . . 10  |-  ( B  e.  Y  ->  ( B  e.  { A ,  B ,  C }  <->  ( B  =  A  \/  B  =  B  \/  B  =  C )
) )
1715, 16syl 16 . . . . . . . . 9  |-  ( ph  ->  ( B  e.  { A ,  B ,  C }  <->  ( B  =  A  \/  B  =  B  \/  B  =  C ) ) )
1814, 17mpbird 232 . . . . . . . 8  |-  ( ph  ->  B  e.  { A ,  B ,  C }
)
1918adantr 465 . . . . . . 7  |-  ( (
ph  /\  F : { A ,  B ,  C } --> R )  ->  B  e.  { A ,  B ,  C }
)
203, 19ffvelrnd 5839 . . . . . 6  |-  ( (
ph  /\  F : { A ,  B ,  C } --> R )  -> 
( F `  B
)  e.  R )
216simp3d 1002 . . . . . . . . 9  |-  ( ph  ->  C  e.  Z )
22 tpid3g 3985 . . . . . . . . 9  |-  ( C  e.  Z  ->  C  e.  { A ,  B ,  C } )
2321, 22syl 16 . . . . . . . 8  |-  ( ph  ->  C  e.  { A ,  B ,  C }
)
2423adantr 465 . . . . . . 7  |-  ( (
ph  /\  F : { A ,  B ,  C } --> R )  ->  C  e.  { A ,  B ,  C }
)
253, 24ffvelrnd 5839 . . . . . 6  |-  ( (
ph  /\  F : { A ,  B ,  C } --> R )  -> 
( F `  C
)  e.  R )
2612, 20, 253jca 1168 . . . . 5  |-  ( (
ph  /\  F : { A ,  B ,  C } --> R )  -> 
( ( F `  A )  e.  R  /\  ( F `  B
)  e.  R  /\  ( F `  C )  e.  R ) )
2726expcom 435 . . . 4  |-  ( F : { A ,  B ,  C } --> R  ->  ( ph  ->  ( ( F `  A
)  e.  R  /\  ( F `  B )  e.  R  /\  ( F `  C )  e.  R ) ) )
282, 27syl 16 . . 3  |-  ( F : { A ,  B ,  C } -1-1->
R  ->  ( ph  ->  ( ( F `  A )  e.  R  /\  ( F `  B
)  e.  R  /\  ( F `  C )  e.  R ) ) )
291, 28mpcom 36 . 2  |-  ( ph  ->  ( ( F `  A )  e.  R  /\  ( F `  B
)  e.  R  /\  ( F `  C )  e.  R ) )
30 f1dom3fv3dif.n . . 3  |-  ( ph  ->  ( A  =/=  B  /\  A  =/=  C  /\  B  =/=  C
) )
316, 30, 1f1dom3fv3dif 5975 . 2  |-  ( ph  ->  ( ( F `  A )  =/=  ( F `  B )  /\  ( F `  A
)  =/=  ( F `
 C )  /\  ( F `  B )  =/=  ( F `  C ) ) )
32 neeq1 2611 . . . 4  |-  ( x  =  ( F `  A )  ->  (
x  =/=  y  <->  ( F `  A )  =/=  y
) )
33 neeq1 2611 . . . 4  |-  ( x  =  ( F `  A )  ->  (
x  =/=  z  <->  ( F `  A )  =/=  z
) )
3432, 333anbi12d 1290 . . 3  |-  ( x  =  ( F `  A )  ->  (
( x  =/=  y  /\  x  =/=  z  /\  y  =/=  z
)  <->  ( ( F `
 A )  =/=  y  /\  ( F `
 A )  =/=  z  /\  y  =/=  z ) ) )
35 neeq2 2612 . . . 4  |-  ( y  =  ( F `  B )  ->  (
( F `  A
)  =/=  y  <->  ( F `  A )  =/=  ( F `  B )
) )
36 neeq1 2611 . . . 4  |-  ( y  =  ( F `  B )  ->  (
y  =/=  z  <->  ( F `  B )  =/=  z
) )
3735, 363anbi13d 1291 . . 3  |-  ( y  =  ( F `  B )  ->  (
( ( F `  A )  =/=  y  /\  ( F `  A
)  =/=  z  /\  y  =/=  z )  <->  ( ( F `  A )  =/=  ( F `  B
)  /\  ( F `  A )  =/=  z  /\  ( F `  B
)  =/=  z ) ) )
38 neeq2 2612 . . . 4  |-  ( z  =  ( F `  C )  ->  (
( F `  A
)  =/=  z  <->  ( F `  A )  =/=  ( F `  C )
) )
39 neeq2 2612 . . . 4  |-  ( z  =  ( F `  C )  ->  (
( F `  B
)  =/=  z  <->  ( F `  B )  =/=  ( F `  C )
) )
4038, 393anbi23d 1292 . . 3  |-  ( z  =  ( F `  C )  ->  (
( ( F `  A )  =/=  ( F `  B )  /\  ( F `  A
)  =/=  z  /\  ( F `  B )  =/=  z )  <->  ( ( F `  A )  =/=  ( F `  B
)  /\  ( F `  A )  =/=  ( F `  C )  /\  ( F `  B
)  =/=  ( F `
 C ) ) ) )
4134, 37, 40rspc3ev 3078 . 2  |-  ( ( ( ( F `  A )  e.  R  /\  ( F `  B
)  e.  R  /\  ( F `  C )  e.  R )  /\  ( ( F `  A )  =/=  ( F `  B )  /\  ( F `  A
)  =/=  ( F `
 C )  /\  ( F `  B )  =/=  ( F `  C ) ) )  ->  E. x  e.  R  E. y  e.  R  E. z  e.  R  ( x  =/=  y  /\  x  =/=  z  /\  y  =/=  z
) )
4229, 31, 41syl2anc 661 1  |-  ( ph  ->  E. x  e.  R  E. y  e.  R  E. z  e.  R  ( x  =/=  y  /\  x  =/=  z  /\  y  =/=  z
) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    \/ w3o 964    /\ w3a 965    = wceq 1369    e. wcel 1756    =/= wne 2601   E.wrex 2711   {ctp 3876   -->wf 5409   -1-1->wf1 5410   ` cfv 5413
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2419  ax-sep 4408  ax-nul 4416  ax-pr 4526
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2256  df-mo 2257  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-ral 2715  df-rex 2716  df-rab 2719  df-v 2969  df-sbc 3182  df-dif 3326  df-un 3328  df-in 3330  df-ss 3337  df-nul 3633  df-if 3787  df-sn 3873  df-pr 3875  df-tp 3877  df-op 3879  df-uni 4087  df-br 4288  df-opab 4346  df-id 4631  df-xp 4841  df-rel 4842  df-cnv 4843  df-co 4844  df-dm 4845  df-rn 4846  df-iota 5376  df-fun 5415  df-fn 5416  df-f 5417  df-f1 5418  df-fv 5421
This theorem is referenced by:  hashge3el3dif  12179
  Copyright terms: Public domain W3C validator