Users' Mathboxes Mathbox for Jim Kingdon < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >   Mathboxes  >  peano4nninf Unicode version

Theorem peano4nninf 13200
Description: The successor function on ℕ is one to one. Half of Lemma 3.4 of [PradicBrown2022], p. 5. (Contributed by Jim Kingdon, 31-Jul-2022.)
Hypothesis
Ref Expression
peano4nninf.s  |-  S  =  ( p  e. 
|->  ( i  e.  om  |->  if ( i  =  (/) ,  1o ,  ( p `
 U. i ) ) ) )
Assertion
Ref Expression
peano4nninf  |-  S : -1-1->
Distinct variable groups:    S, i    i, p
Allowed substitution hint:    S( p)

Proof of Theorem peano4nninf
Dummy variables  k  x  y  f  j are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 peano4nninf.s . . 3  |-  S  =  ( p  e. 
|->  ( i  e.  om  |->  if ( i  =  (/) ,  1o ,  ( p `
 U. i ) ) ) )
21nnsf 13199 . 2  |-  S : -->
3 fveq1 5420 . . . . . . . . . . 11  |-  ( f  =  x  ->  (
f `  suc  j )  =  ( x `  suc  j ) )
4 fveq1 5420 . . . . . . . . . . 11  |-  ( f  =  x  ->  (
f `  j )  =  ( x `  j ) )
53, 4sseq12d 3128 . . . . . . . . . 10  |-  ( f  =  x  ->  (
( f `  suc  j )  C_  (
f `  j )  <->  ( x `  suc  j
)  C_  ( x `  j ) ) )
65ralbidv 2437 . . . . . . . . 9  |-  ( f  =  x  ->  ( A. j  e.  om  ( f `  suc  j )  C_  (
f `  j )  <->  A. j  e.  om  (
x `  suc  j ) 
C_  ( x `  j ) ) )
7 df-nninf 7007 . . . . . . . . 9  |-  =  { f  e.  ( 2o  ^m  om )  |  A. j  e.  om  ( f `  suc  j )  C_  (
f `  j ) }
86, 7elrab2 2843 . . . . . . . 8  |-  ( x  e.  <->  ( x  e.  ( 2o 
^m  om )  /\  A. j  e.  om  (
x `  suc  j ) 
C_  ( x `  j ) ) )
98simplbi 272 . . . . . . 7  |-  ( x  e.  ->  x  e.  ( 2o 
^m  om ) )
10 elmapfn 6565 . . . . . . 7  |-  ( x  e.  ( 2o  ^m  om )  ->  x  Fn  om )
119, 10syl 14 . . . . . 6  |-  ( x  e.  ->  x  Fn  om )
1211ad2antrr 479 . . . . 5  |-  ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  ->  x  Fn  om )
13 fveq1 5420 . . . . . . . . . . 11  |-  ( f  =  y  ->  (
f `  suc  j )  =  ( y `  suc  j ) )
14 fveq1 5420 . . . . . . . . . . 11  |-  ( f  =  y  ->  (
f `  j )  =  ( y `  j ) )
1513, 14sseq12d 3128 . . . . . . . . . 10  |-  ( f  =  y  ->  (
( f `  suc  j )  C_  (
f `  j )  <->  ( y `  suc  j
)  C_  ( y `  j ) ) )
1615ralbidv 2437 . . . . . . . . 9  |-  ( f  =  y  ->  ( A. j  e.  om  ( f `  suc  j )  C_  (
f `  j )  <->  A. j  e.  om  (
y `  suc  j ) 
C_  ( y `  j ) ) )
1716, 7elrab2 2843 . . . . . . . 8  |-  ( y  e.  <->  ( y  e.  ( 2o 
^m  om )  /\  A. j  e.  om  (
y `  suc  j ) 
C_  ( y `  j ) ) )
1817simplbi 272 . . . . . . 7  |-  ( y  e.  ->  y  e.  ( 2o 
^m  om ) )
19 elmapfn 6565 . . . . . . 7  |-  ( y  e.  ( 2o  ^m  om )  ->  y  Fn  om )
2018, 19syl 14 . . . . . 6  |-  ( y  e.  ->  y  Fn  om )
2120ad2antlr 480 . . . . 5  |-  ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  ->  y  Fn  om )
22 simplr 519 . . . . . . 7  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  ( S `  x )  =  ( S `  y ) )
2322fveq1d 5423 . . . . . 6  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  (
( S `  x
) `  suc  k )  =  ( ( S `
 y ) `  suc  k ) )
24 fveq1 5420 . . . . . . . . . . . 12  |-  ( p  =  x  ->  (
p `  U. i )  =  ( x `  U. i ) )
2524ifeq2d 3490 . . . . . . . . . . 11  |-  ( p  =  x  ->  if ( i  =  (/) ,  1o ,  ( p `
 U. i ) )  =  if ( i  =  (/) ,  1o ,  ( x `  U. i ) ) )
2625mpteq2dv 4019 . . . . . . . . . 10  |-  ( p  =  x  ->  (
i  e.  om  |->  if ( i  =  (/) ,  1o ,  ( p `
 U. i ) ) )  =  ( i  e.  om  |->  if ( i  =  (/) ,  1o ,  ( x `
 U. i ) ) ) )
27 omex 4507 . . . . . . . . . . 11  |-  om  e.  _V
2827mptex 5646 . . . . . . . . . 10  |-  ( i  e.  om  |->  if ( i  =  (/) ,  1o ,  ( x `  U. i ) ) )  e.  _V
2926, 1, 28fvmpt 5498 . . . . . . . . 9  |-  ( x  e.  ->  ( S `  x
)  =  ( i  e.  om  |->  if ( i  =  (/) ,  1o ,  ( x `  U. i ) ) ) )
3029ad3antrrr 483 . . . . . . . 8  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  ( S `  x )  =  ( i  e. 
om  |->  if ( i  =  (/) ,  1o , 
( x `  U. i ) ) ) )
31 simpr 109 . . . . . . . . . 10  |-  ( ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  /\  i  =  suc  k )  -> 
i  =  suc  k
)
3231eqeq1d 2148 . . . . . . . . 9  |-  ( ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  /\  i  =  suc  k )  -> 
( i  =  (/)  <->  suc  k  =  (/) ) )
3331unieqd 3747 . . . . . . . . . 10  |-  ( ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  /\  i  =  suc  k )  ->  U. i  =  U. suc  k )
3433fveq2d 5425 . . . . . . . . 9  |-  ( ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  /\  i  =  suc  k )  -> 
( x `  U. i )  =  ( x `  U. suc  k ) )
3532, 34ifbieq2d 3496 . . . . . . . 8  |-  ( ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  /\  i  =  suc  k )  ->  if ( i  =  (/) ,  1o ,  ( x `
 U. i ) )  =  if ( suc  k  =  (/) ,  1o ,  ( x `
 U. suc  k
) ) )
36 peano2 4509 . . . . . . . . 9  |-  ( k  e.  om  ->  suc  k  e.  om )
3736adantl 275 . . . . . . . 8  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  suc  k  e.  om )
38 1lt2o 6339 . . . . . . . . . 10  |-  1o  e.  2o
3938a1i 9 . . . . . . . . 9  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  1o  e.  2o )
40 nninff 13198 . . . . . . . . . . 11  |-  ( x  e.  ->  x : om --> 2o )
4140ad3antrrr 483 . . . . . . . . . 10  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  x : om --> 2o )
42 nnpredcl 4536 . . . . . . . . . . 11  |-  ( suc  k  e.  om  ->  U.
suc  k  e.  om )
4337, 42syl 14 . . . . . . . . . 10  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  U. suc  k  e.  om )
4441, 43ffvelrnd 5556 . . . . . . . . 9  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  (
x `  U. suc  k
)  e.  2o )
45 nndceq0 4531 . . . . . . . . . 10  |-  ( suc  k  e.  om  -> DECID  suc  k  =  (/) )
4637, 45syl 14 . . . . . . . . 9  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  -> DECID  suc  k  =  (/) )
4739, 44, 46ifcldcd 3507 . . . . . . . 8  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  if ( suc  k  =  (/) ,  1o ,  ( x `
 U. suc  k
) )  e.  2o )
4830, 35, 37, 47fvmptd 5502 . . . . . . 7  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  (
( S `  x
) `  suc  k )  =  if ( suc  k  =  (/) ,  1o ,  ( x `  U. suc  k ) ) )
49 peano3 4510 . . . . . . . . . 10  |-  ( k  e.  om  ->  suc  k  =/=  (/) )
5049adantl 275 . . . . . . . . 9  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  suc  k  =/=  (/) )
5150neneqd 2329 . . . . . . . 8  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  -.  suc  k  =  (/) )
5251iffalsed 3484 . . . . . . 7  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  if ( suc  k  =  (/) ,  1o ,  ( x `
 U. suc  k
) )  =  ( x `  U. suc  k ) )
53 nnord 4525 . . . . . . . . . . 11  |-  ( k  e.  om  ->  Ord  k )
54 ordtr 4300 . . . . . . . . . . 11  |-  ( Ord  k  ->  Tr  k
)
5553, 54syl 14 . . . . . . . . . 10  |-  ( k  e.  om  ->  Tr  k )
56 unisucg 4336 . . . . . . . . . 10  |-  ( k  e.  om  ->  ( Tr  k  <->  U. suc  k  =  k ) )
5755, 56mpbid 146 . . . . . . . . 9  |-  ( k  e.  om  ->  U. suc  k  =  k )
5857fveq2d 5425 . . . . . . . 8  |-  ( k  e.  om  ->  (
x `  U. suc  k
)  =  ( x `
 k ) )
5958adantl 275 . . . . . . 7  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  (
x `  U. suc  k
)  =  ( x `
 k ) )
6048, 52, 593eqtrd 2176 . . . . . 6  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  (
( S `  x
) `  suc  k )  =  ( x `  k ) )
61 fveq1 5420 . . . . . . . . . . . 12  |-  ( p  =  y  ->  (
p `  U. i )  =  ( y `  U. i ) )
6261ifeq2d 3490 . . . . . . . . . . 11  |-  ( p  =  y  ->  if ( i  =  (/) ,  1o ,  ( p `
 U. i ) )  =  if ( i  =  (/) ,  1o ,  ( y `  U. i ) ) )
6362mpteq2dv 4019 . . . . . . . . . 10  |-  ( p  =  y  ->  (
i  e.  om  |->  if ( i  =  (/) ,  1o ,  ( p `
 U. i ) ) )  =  ( i  e.  om  |->  if ( i  =  (/) ,  1o ,  ( y `
 U. i ) ) ) )
6427mptex 5646 . . . . . . . . . 10  |-  ( i  e.  om  |->  if ( i  =  (/) ,  1o ,  ( y `  U. i ) ) )  e.  _V
6563, 1, 64fvmpt 5498 . . . . . . . . 9  |-  ( y  e.  ->  ( S `  y
)  =  ( i  e.  om  |->  if ( i  =  (/) ,  1o ,  ( y `  U. i ) ) ) )
6665ad3antlr 484 . . . . . . . 8  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  ( S `  y )  =  ( i  e. 
om  |->  if ( i  =  (/) ,  1o , 
( y `  U. i ) ) ) )
6733fveq2d 5425 . . . . . . . . 9  |-  ( ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  /\  i  =  suc  k )  -> 
( y `  U. i )  =  ( y `  U. suc  k ) )
6832, 67ifbieq2d 3496 . . . . . . . 8  |-  ( ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  /\  i  =  suc  k )  ->  if ( i  =  (/) ,  1o ,  ( y `
 U. i ) )  =  if ( suc  k  =  (/) ,  1o ,  ( y `
 U. suc  k
) ) )
69 nninff 13198 . . . . . . . . . . 11  |-  ( y  e.  ->  y : om --> 2o )
7069ad3antlr 484 . . . . . . . . . 10  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  y : om --> 2o )
7170, 43ffvelrnd 5556 . . . . . . . . 9  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  (
y `  U. suc  k
)  e.  2o )
7239, 71, 46ifcldcd 3507 . . . . . . . 8  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  if ( suc  k  =  (/) ,  1o ,  ( y `
 U. suc  k
) )  e.  2o )
7366, 68, 37, 72fvmptd 5502 . . . . . . 7  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  (
( S `  y
) `  suc  k )  =  if ( suc  k  =  (/) ,  1o ,  ( y `  U. suc  k ) ) )
7451iffalsed 3484 . . . . . . 7  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  if ( suc  k  =  (/) ,  1o ,  ( y `
 U. suc  k
) )  =  ( y `  U. suc  k ) )
7557fveq2d 5425 . . . . . . . 8  |-  ( k  e.  om  ->  (
y `  U. suc  k
)  =  ( y `
 k ) )
7675adantl 275 . . . . . . 7  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  (
y `  U. suc  k
)  =  ( y `
 k ) )
7773, 74, 763eqtrd 2176 . . . . . 6  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  (
( S `  y
) `  suc  k )  =  ( y `  k ) )
7823, 60, 773eqtr3d 2180 . . . . 5  |-  ( ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  /\  k  e.  om )  ->  (
x `  k )  =  ( y `  k ) )
7912, 21, 78eqfnfvd 5521 . . . 4  |-  ( ( ( x  e.  /\  y  e. )  /\  ( S `
 x )  =  ( S `  y
) )  ->  x  =  y )
8079ex 114 . . 3  |-  ( ( x  e.  /\  y  e. )  ->  ( ( S `  x )  =  ( S `  y )  ->  x  =  y ) )
8180rgen2a 2486 . 2  |-  A. x  e.  A. y  e.  ( ( S `  x )  =  ( S `  y )  ->  x  =  y )
82 dff13 5669 . 2  |-  ( S : -1-1->  <->  ( S : -->  /\  A. x  e.  A. y  e.  ( ( S `  x )  =  ( S `  y )  ->  x  =  y ) ) )
832, 81, 82mpbir2an 926 1  |-  S : -1-1->
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103  DECID wdc 819    = wceq 1331    e. wcel 1480    =/= wne 2308   A.wral 2416    C_ wss 3071   (/)c0 3363   ifcif 3474   U.cuni 3736    |-> cmpt 3989   Tr wtr 4026   Ord word 4284   suc csuc 4287   omcom 4504    Fn wfn 5118   -->wf 5119   -1-1->wf1 5120   ` cfv 5123  (class class class)co 5774   1oc1o 6306   2oc2o 6307    ^m cmap 6542  ℕxnninf 7005
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 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-13 1491  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121  ax-coll 4043  ax-sep 4046  ax-nul 4054  ax-pow 4098  ax-pr 4131  ax-un 4355  ax-setind 4452  ax-iinf 4502
This theorem depends on definitions:  df-bi 116  df-dc 820  df-3an 964  df-tru 1334  df-fal 1337  df-nf 1437  df-sb 1736  df-eu 2002  df-mo 2003  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-ne 2309  df-ral 2421  df-rex 2422  df-reu 2423  df-rab 2425  df-v 2688  df-sbc 2910  df-csb 3004  df-dif 3073  df-un 3075  df-in 3077  df-ss 3084  df-nul 3364  df-if 3475  df-pw 3512  df-sn 3533  df-pr 3534  df-op 3536  df-uni 3737  df-int 3772  df-iun 3815  df-br 3930  df-opab 3990  df-mpt 3991  df-tr 4027  df-id 4215  df-iord 4288  df-on 4290  df-suc 4293  df-iom 4505  df-xp 4545  df-rel 4546  df-cnv 4547  df-co 4548  df-dm 4549  df-rn 4550  df-res 4551  df-ima 4552  df-iota 5088  df-fun 5125  df-fn 5126  df-f 5127  df-f1 5128  df-fo 5129  df-f1o 5130  df-fv 5131  df-ov 5777  df-oprab 5778  df-mpo 5779  df-1o 6313  df-2o 6314  df-map 6544  df-nninf 7007
This theorem is referenced by:  exmidsbthrlem  13217
  Copyright terms: Public domain W3C validator