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

Theorem f1dom3el3dif 6128
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 5739 . . . 4  |-  ( F : { A ,  B ,  C } -1-1->
R  ->  F : { A ,  B ,  C } --> R )
3 simpr 462 . . . . . . 7  |-  ( (
ph  /\  F : { A ,  B ,  C } --> R )  ->  F : { A ,  B ,  C } --> R )
4 eqidd 2429 . . . . . . . . . 10  |-  ( ph  ->  A  =  A )
543mix1d 1180 . . . . . . . . 9  |-  ( ph  ->  ( A  =  A  \/  A  =  B  \/  A  =  C ) )
6 f1dom3fv3dif.v . . . . . . . . . . 11  |-  ( ph  ->  ( A  e.  X  /\  B  e.  Y  /\  C  e.  Z
) )
76simp1d 1017 . . . . . . . . . 10  |-  ( ph  ->  A  e.  X )
8 eltpg 3985 . . . . . . . . . 10  |-  ( A  e.  X  ->  ( A  e.  { A ,  B ,  C }  <->  ( A  =  A  \/  A  =  B  \/  A  =  C )
) )
97, 8syl 17 . . . . . . . . 9  |-  ( ph  ->  ( A  e.  { A ,  B ,  C }  <->  ( A  =  A  \/  A  =  B  \/  A  =  C ) ) )
105, 9mpbird 235 . . . . . . . 8  |-  ( ph  ->  A  e.  { A ,  B ,  C }
)
1110adantr 466 . . . . . . 7  |-  ( (
ph  /\  F : { A ,  B ,  C } --> R )  ->  A  e.  { A ,  B ,  C }
)
123, 11ffvelrnd 5982 . . . . . 6  |-  ( (
ph  /\  F : { A ,  B ,  C } --> R )  -> 
( F `  A
)  e.  R )
13 eqidd 2429 . . . . . . . . . 10  |-  ( ph  ->  B  =  B )
14133mix2d 1181 . . . . . . . . 9  |-  ( ph  ->  ( B  =  A  \/  B  =  B  \/  B  =  C ) )
156simp2d 1018 . . . . . . . . . 10  |-  ( ph  ->  B  e.  Y )
16 eltpg 3985 . . . . . . . . . 10  |-  ( B  e.  Y  ->  ( B  e.  { A ,  B ,  C }  <->  ( B  =  A  \/  B  =  B  \/  B  =  C )
) )
1715, 16syl 17 . . . . . . . . 9  |-  ( ph  ->  ( B  e.  { A ,  B ,  C }  <->  ( B  =  A  \/  B  =  B  \/  B  =  C ) ) )
1814, 17mpbird 235 . . . . . . . 8  |-  ( ph  ->  B  e.  { A ,  B ,  C }
)
1918adantr 466 . . . . . . 7  |-  ( (
ph  /\  F : { A ,  B ,  C } --> R )  ->  B  e.  { A ,  B ,  C }
)
203, 19ffvelrnd 5982 . . . . . 6  |-  ( (
ph  /\  F : { A ,  B ,  C } --> R )  -> 
( F `  B
)  e.  R )
216simp3d 1019 . . . . . . . . 9  |-  ( ph  ->  C  e.  Z )
22 tpid3g 4058 . . . . . . . . 9  |-  ( C  e.  Z  ->  C  e.  { A ,  B ,  C } )
2321, 22syl 17 . . . . . . . 8  |-  ( ph  ->  C  e.  { A ,  B ,  C }
)
2423adantr 466 . . . . . . 7  |-  ( (
ph  /\  F : { A ,  B ,  C } --> R )  ->  C  e.  { A ,  B ,  C }
)
253, 24ffvelrnd 5982 . . . . . 6  |-  ( (
ph  /\  F : { A ,  B ,  C } --> R )  -> 
( F `  C
)  e.  R )
2612, 20, 253jca 1185 . . . . 5  |-  ( (
ph  /\  F : { A ,  B ,  C } --> R )  -> 
( ( F `  A )  e.  R  /\  ( F `  B
)  e.  R  /\  ( F `  C )  e.  R ) )
2726expcom 436 . . . 4  |-  ( F : { A ,  B ,  C } --> R  ->  ( ph  ->  ( ( F `  A
)  e.  R  /\  ( F `  B )  e.  R  /\  ( F `  C )  e.  R ) ) )
282, 27syl 17 . . 3  |-  ( F : { A ,  B ,  C } -1-1->
R  ->  ( ph  ->  ( ( F `  A )  e.  R  /\  ( F `  B
)  e.  R  /\  ( F `  C )  e.  R ) ) )
291, 28mpcom 37 . 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 6127 . 2  |-  ( ph  ->  ( ( F `  A )  =/=  ( F `  B )  /\  ( F `  A
)  =/=  ( F `
 C )  /\  ( F `  B )  =/=  ( F `  C ) ) )
32 neeq1 2663 . . . 4  |-  ( x  =  ( F `  A )  ->  (
x  =/=  y  <->  ( F `  A )  =/=  y
) )
33 neeq1 2663 . . . 4  |-  ( x  =  ( F `  A )  ->  (
x  =/=  z  <->  ( F `  A )  =/=  z
) )
3432, 333anbi12d 1336 . . 3  |-  ( x  =  ( F `  A )  ->  (
( x  =/=  y  /\  x  =/=  z  /\  y  =/=  z
)  <->  ( ( F `
 A )  =/=  y  /\  ( F `
 A )  =/=  z  /\  y  =/=  z ) ) )
35 neeq2 2664 . . . 4  |-  ( y  =  ( F `  B )  ->  (
( F `  A
)  =/=  y  <->  ( F `  A )  =/=  ( F `  B )
) )
36 neeq1 2663 . . . 4  |-  ( y  =  ( F `  B )  ->  (
y  =/=  z  <->  ( F `  B )  =/=  z
) )
3735, 363anbi13d 1337 . . 3  |-  ( y  =  ( F `  B )  ->  (
( ( F `  A )  =/=  y  /\  ( F `  A
)  =/=  z  /\  y  =/=  z )  <->  ( ( F `  A )  =/=  ( F `  B
)  /\  ( F `  A )  =/=  z  /\  ( F `  B
)  =/=  z ) ) )
38 neeq2 2664 . . . 4  |-  ( z  =  ( F `  C )  ->  (
( F `  A
)  =/=  z  <->  ( F `  A )  =/=  ( F `  C )
) )
39 neeq2 2664 . . . 4  |-  ( z  =  ( F `  C )  ->  (
( F `  B
)  =/=  z  <->  ( F `  B )  =/=  ( F `  C )
) )
4038, 393anbi23d 1338 . . 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 3138 . 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 665 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 187    /\ wa 370    \/ w3o 981    /\ w3a 982    = wceq 1437    e. wcel 1872    =/= wne 2599   E.wrex 2715   {ctp 3945   -->wf 5540   -1-1->wf1 5541   ` cfv 5544
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1663  ax-4 1676  ax-5 1752  ax-6 1798  ax-7 1843  ax-9 1876  ax-10 1891  ax-11 1896  ax-12 1909  ax-13 2063  ax-ext 2408  ax-sep 4489  ax-nul 4498  ax-pr 4603
This theorem depends on definitions:  df-bi 188  df-or 371  df-an 372  df-3or 983  df-3an 984  df-tru 1440  df-ex 1658  df-nf 1662  df-sb 1791  df-eu 2280  df-mo 2281  df-clab 2415  df-cleq 2421  df-clel 2424  df-nfc 2558  df-ne 2601  df-ral 2719  df-rex 2720  df-rab 2723  df-v 3024  df-sbc 3243  df-dif 3382  df-un 3384  df-in 3386  df-ss 3393  df-nul 3705  df-if 3855  df-sn 3942  df-pr 3944  df-tp 3946  df-op 3948  df-uni 4163  df-br 4367  df-opab 4426  df-id 4711  df-xp 4802  df-rel 4803  df-cnv 4804  df-co 4805  df-dm 4806  df-rn 4807  df-iota 5508  df-fun 5546  df-fn 5547  df-f 5548  df-f1 5549  df-fv 5552
This theorem is referenced by:  hashge3el3dif  12590
  Copyright terms: Public domain W3C validator