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

Theorem suc11reg 7577
Description: The successor operation behaves like a one-to-one function (assuming the Axiom of Regularity). Exercise 35 of [Enderton] p. 208 and its converse. (Contributed by NM, 25-Oct-2003.)
Assertion
Ref Expression
suc11reg  |-  ( suc 
A  =  suc  B  <->  A  =  B )

Proof of Theorem suc11reg
StepHypRef Expression
1 en2lp 7574 . . . . 5  |-  -.  ( A  e.  B  /\  B  e.  A )
2 ianor 476 . . . . 5  |-  ( -.  ( A  e.  B  /\  B  e.  A
)  <->  ( -.  A  e.  B  \/  -.  B  e.  A )
)
31, 2mpbi 201 . . . 4  |-  ( -.  A  e.  B  \/  -.  B  e.  A
)
4 sucidg 4662 . . . . . . . . . . 11  |-  ( A  e.  _V  ->  A  e.  suc  A )
5 eleq2 2499 . . . . . . . . . . 11  |-  ( suc 
A  =  suc  B  ->  ( A  e.  suc  A  <-> 
A  e.  suc  B
) )
64, 5syl5ibcom 213 . . . . . . . . . 10  |-  ( A  e.  _V  ->  ( suc  A  =  suc  B  ->  A  e.  suc  B
) )
7 elsucg 4651 . . . . . . . . . 10  |-  ( A  e.  _V  ->  ( A  e.  suc  B  <->  ( A  e.  B  \/  A  =  B ) ) )
86, 7sylibd 207 . . . . . . . . 9  |-  ( A  e.  _V  ->  ( suc  A  =  suc  B  ->  ( A  e.  B  \/  A  =  B
) ) )
98imp 420 . . . . . . . 8  |-  ( ( A  e.  _V  /\  suc  A  =  suc  B
)  ->  ( A  e.  B  \/  A  =  B ) )
109ord 368 . . . . . . 7  |-  ( ( A  e.  _V  /\  suc  A  =  suc  B
)  ->  ( -.  A  e.  B  ->  A  =  B ) )
1110ex 425 . . . . . 6  |-  ( A  e.  _V  ->  ( suc  A  =  suc  B  ->  ( -.  A  e.  B  ->  A  =  B ) ) )
1211com23 75 . . . . 5  |-  ( A  e.  _V  ->  ( -.  A  e.  B  ->  ( suc  A  =  suc  B  ->  A  =  B ) ) )
13 sucidg 4662 . . . . . . . . . . . 12  |-  ( B  e.  _V  ->  B  e.  suc  B )
14 eleq2 2499 . . . . . . . . . . . 12  |-  ( suc 
A  =  suc  B  ->  ( B  e.  suc  A  <-> 
B  e.  suc  B
) )
1513, 14syl5ibrcom 215 . . . . . . . . . . 11  |-  ( B  e.  _V  ->  ( suc  A  =  suc  B  ->  B  e.  suc  A
) )
16 elsucg 4651 . . . . . . . . . . 11  |-  ( B  e.  _V  ->  ( B  e.  suc  A  <->  ( B  e.  A  \/  B  =  A ) ) )
1715, 16sylibd 207 . . . . . . . . . 10  |-  ( B  e.  _V  ->  ( suc  A  =  suc  B  ->  ( B  e.  A  \/  B  =  A
) ) )
1817imp 420 . . . . . . . . 9  |-  ( ( B  e.  _V  /\  suc  A  =  suc  B
)  ->  ( B  e.  A  \/  B  =  A ) )
1918ord 368 . . . . . . . 8  |-  ( ( B  e.  _V  /\  suc  A  =  suc  B
)  ->  ( -.  B  e.  A  ->  B  =  A ) )
20 eqcom 2440 . . . . . . . 8  |-  ( B  =  A  <->  A  =  B )
2119, 20syl6ib 219 . . . . . . 7  |-  ( ( B  e.  _V  /\  suc  A  =  suc  B
)  ->  ( -.  B  e.  A  ->  A  =  B ) )
2221ex 425 . . . . . 6  |-  ( B  e.  _V  ->  ( suc  A  =  suc  B  ->  ( -.  B  e.  A  ->  A  =  B ) ) )
2322com23 75 . . . . 5  |-  ( B  e.  _V  ->  ( -.  B  e.  A  ->  ( suc  A  =  suc  B  ->  A  =  B ) ) )
2412, 23jaao 497 . . . 4  |-  ( ( A  e.  _V  /\  B  e.  _V )  ->  ( ( -.  A  e.  B  \/  -.  B  e.  A )  ->  ( suc  A  =  suc  B  ->  A  =  B ) ) )
253, 24mpi 17 . . 3  |-  ( ( A  e.  _V  /\  B  e.  _V )  ->  ( suc  A  =  suc  B  ->  A  =  B ) )
26 sucexb 4792 . . . . 5  |-  ( A  e.  _V  <->  suc  A  e. 
_V )
27 sucexb 4792 . . . . . 6  |-  ( B  e.  _V  <->  suc  B  e. 
_V )
2827notbii 289 . . . . 5  |-  ( -.  B  e.  _V  <->  -.  suc  B  e.  _V )
29 nelneq 2536 . . . . 5  |-  ( ( suc  A  e.  _V  /\ 
-.  suc  B  e.  _V )  ->  -.  suc  A  =  suc  B )
3026, 28, 29syl2anb 467 . . . 4  |-  ( ( A  e.  _V  /\  -.  B  e.  _V )  ->  -.  suc  A  =  suc  B )
3130pm2.21d 101 . . 3  |-  ( ( A  e.  _V  /\  -.  B  e.  _V )  ->  ( suc  A  =  suc  B  ->  A  =  B ) )
32 eqcom 2440 . . . 4  |-  ( suc 
A  =  suc  B  <->  suc 
B  =  suc  A
)
3326notbii 289 . . . . . . 7  |-  ( -.  A  e.  _V  <->  -.  suc  A  e.  _V )
34 nelneq 2536 . . . . . . 7  |-  ( ( suc  B  e.  _V  /\ 
-.  suc  A  e.  _V )  ->  -.  suc  B  =  suc  A )
3527, 33, 34syl2anb 467 . . . . . 6  |-  ( ( B  e.  _V  /\  -.  A  e.  _V )  ->  -.  suc  B  =  suc  A )
3635ancoms 441 . . . . 5  |-  ( ( -.  A  e.  _V  /\  B  e.  _V )  ->  -.  suc  B  =  suc  A )
3736pm2.21d 101 . . . 4  |-  ( ( -.  A  e.  _V  /\  B  e.  _V )  ->  ( suc  B  =  suc  A  ->  A  =  B ) )
3832, 37syl5bi 210 . . 3  |-  ( ( -.  A  e.  _V  /\  B  e.  _V )  ->  ( suc  A  =  suc  B  ->  A  =  B ) )
39 sucprc 4659 . . . . 5  |-  ( -.  A  e.  _V  ->  suc 
A  =  A )
40 sucprc 4659 . . . . 5  |-  ( -.  B  e.  _V  ->  suc 
B  =  B )
4139, 40eqeqan12d 2453 . . . 4  |-  ( ( -.  A  e.  _V  /\ 
-.  B  e.  _V )  ->  ( suc  A  =  suc  B  <->  A  =  B ) )
4241biimpd 200 . . 3  |-  ( ( -.  A  e.  _V  /\ 
-.  B  e.  _V )  ->  ( suc  A  =  suc  B  ->  A  =  B ) )
4325, 31, 38, 424cases 917 . 2  |-  ( suc 
A  =  suc  B  ->  A  =  B )
44 suceq 4649 . 2  |-  ( A  =  B  ->  suc  A  =  suc  B )
4543, 44impbii 182 1  |-  ( suc 
A  =  suc  B  <->  A  =  B )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 178    \/ wo 359    /\ wa 360    = wceq 1653    e. wcel 1726   _Vcvv 2958   suc csuc 4586
This theorem is referenced by:  rankxpsuc  7811  bnj551  29183
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-13 1728  ax-14 1730  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419  ax-sep 4333  ax-nul 4341  ax-pr 4406  ax-un 4704  ax-reg 7563
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2287  df-mo 2288  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-ral 2712  df-rex 2713  df-rab 2716  df-v 2960  df-sbc 3164  df-dif 3325  df-un 3327  df-in 3329  df-ss 3336  df-nul 3631  df-if 3742  df-sn 3822  df-pr 3823  df-op 3825  df-uni 4018  df-br 4216  df-opab 4270  df-eprel 4497  df-fr 4544  df-suc 4590
  Copyright terms: Public domain W3C validator