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

Theorem suc11reg 9620
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 𝐴 = suc 𝐵 ↔ 𝐴 = 𝐵)

Proof of Theorem suc11reg
StepHypRef Expression
1 en2lp 9607 . . . . 5 ¬ (𝐴 ∈ 𝐵 ∧ 𝐵 ∈ 𝐴)
2 ianor 997 . . . . 5 (¬ (𝐴 ∈ 𝐵 ∧ 𝐵 ∈ 𝐴) ↔ (¬ 𝐴 ∈ 𝐵 ∨ ¬ 𝐵 ∈ 𝐴))
31, 2mpbi 233 . . . 4 (¬ 𝐴 ∈ 𝐵 ∨ ¬ 𝐵 ∈ 𝐴)
4 sucidg 6446 . . . . . . . . . . 11 (𝐴 ∈ V → 𝐴 ∈ suc 𝐴)
5 eleq2 2849 . . . . . . . . . . 11 (suc 𝐴 = suc 𝐵 → (𝐴 ∈ suc 𝐴 ↔ 𝐴 ∈ suc 𝐵))
64, 5syl5ibcom 248 . . . . . . . . . 10 (𝐴 ∈ V → (suc 𝐴 = suc 𝐵 → 𝐴 ∈ suc 𝐵))
7 elsucg 6433 . . . . . . . . . 10 (𝐴 ∈ V → (𝐴 ∈ suc 𝐵 ↔ (𝐴 ∈ 𝐵 ∨ 𝐴 = 𝐵)))
86, 7sylibd 242 . . . . . . . . 9 (𝐴 ∈ V → (suc 𝐴 = suc 𝐵 → (𝐴 ∈ 𝐵 ∨ 𝐴 = 𝐵)))
98imp 412 . . . . . . . 8 ((𝐴 ∈ V ∧ suc 𝐴 = suc 𝐵) → (𝐴 ∈ 𝐵 ∨ 𝐴 = 𝐵))
109ord 878 . . . . . . 7 ((𝐴 ∈ V ∧ suc 𝐴 = suc 𝐵) → (¬ 𝐴 ∈ 𝐵 → 𝐴 = 𝐵))
1110ex 418 . . . . . 6 (𝐴 ∈ V → (suc 𝐴 = suc 𝐵 → (¬ 𝐴 ∈ 𝐵 → 𝐴 = 𝐵)))
1211com23 87 . . . . 5 (𝐴 ∈ V → (¬ 𝐴 ∈ 𝐵 → (suc 𝐴 = suc 𝐵 → 𝐴 = 𝐵)))
13 sucidg 6446 . . . . . . . . . . . 12 (𝐵 ∈ V → 𝐵 ∈ suc 𝐵)
14 eleq2 2849 . . . . . . . . . . . 12 (suc 𝐴 = suc 𝐵 → (𝐵 ∈ suc 𝐴 ↔ 𝐵 ∈ suc 𝐵))
1513, 14syl5ibrcom 250 . . . . . . . . . . 11 (𝐵 ∈ V → (suc 𝐴 = suc 𝐵 → 𝐵 ∈ suc 𝐴))
16 elsucg 6433 . . . . . . . . . . 11 (𝐵 ∈ V → (𝐵 ∈ suc 𝐴 ↔ (𝐵 ∈ 𝐴 ∨ 𝐵 = 𝐴)))
1715, 16sylibd 242 . . . . . . . . . 10 (𝐵 ∈ V → (suc 𝐴 = suc 𝐵 → (𝐵 ∈ 𝐴 ∨ 𝐵 = 𝐴)))
1817imp 412 . . . . . . . . 9 ((𝐵 ∈ V ∧ suc 𝐴 = suc 𝐵) → (𝐵 ∈ 𝐴 ∨ 𝐵 = 𝐴))
1918ord 878 . . . . . . . 8 ((𝐵 ∈ V ∧ suc 𝐴 = suc 𝐵) → (¬ 𝐵 ∈ 𝐴 → 𝐵 = 𝐴))
20 eqcom 2767 . . . . . . . 8 (𝐵 = 𝐴 ↔ 𝐴 = 𝐵)
2119, 20imbitrdi 254 . . . . . . 7 ((𝐵 ∈ V ∧ suc 𝐴 = suc 𝐵) → (¬ 𝐵 ∈ 𝐴 → 𝐴 = 𝐵))
2221ex 418 . . . . . 6 (𝐵 ∈ V → (suc 𝐴 = suc 𝐵 → (¬ 𝐵 ∈ 𝐴 → 𝐴 = 𝐵)))
2322com23 87 . . . . 5 (𝐵 ∈ V → (¬ 𝐵 ∈ 𝐴 → (suc 𝐴 = suc 𝐵 → 𝐴 = 𝐵)))
2412, 23jaao 969 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ((¬ 𝐴 ∈ 𝐵 ∨ ¬ 𝐵 ∈ 𝐴) → (suc 𝐴 = suc 𝐵 → 𝐴 = 𝐵)))
253, 24mpi 21 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (suc 𝐴 = suc 𝐵 → 𝐴 = 𝐵))
26 sucexb 7818 . . . . 5 (𝐴 ∈ V ↔ suc 𝐴 ∈ V)
27 sucexb 7818 . . . . . 6 (𝐵 ∈ V ↔ suc 𝐵 ∈ V)
2827notbii 323 . . . . 5 (¬ 𝐵 ∈ V ↔ ¬ suc 𝐵 ∈ V)
29 nelneq 2884 . . . . 5 ((suc 𝐴 ∈ V ∧ ¬ suc 𝐵 ∈ V) → ¬ suc 𝐴 = suc 𝐵)
3026, 28, 29syl2anb 610 . . . 4 ((𝐴 ∈ V ∧ ¬ 𝐵 ∈ V) → ¬ suc 𝐴 = suc 𝐵)
3130pm2.21d 122 . . 3 ((𝐴 ∈ V ∧ ¬ 𝐵 ∈ V) → (suc 𝐴 = suc 𝐵 → 𝐴 = 𝐵))
32 eqcom 2767 . . . 4 (suc 𝐴 = suc 𝐵 ↔ suc 𝐵 = suc 𝐴)
3326notbii 323 . . . . . . 7 (¬ 𝐴 ∈ V ↔ ¬ suc 𝐴 ∈ V)
34 nelneq 2884 . . . . . . 7 ((suc 𝐵 ∈ V ∧ ¬ suc 𝐴 ∈ V) → ¬ suc 𝐵 = suc 𝐴)
3527, 33, 34syl2anb 610 . . . . . 6 ((𝐵 ∈ V ∧ ¬ 𝐴 ∈ V) → ¬ suc 𝐵 = suc 𝐴)
3635ancoms 464 . . . . 5 ((¬ 𝐴 ∈ V ∧ 𝐵 ∈ V) → ¬ suc 𝐵 = suc 𝐴)
3736pm2.21d 122 . . . 4 ((¬ 𝐴 ∈ V ∧ 𝐵 ∈ V) → (suc 𝐵 = suc 𝐴 → 𝐴 = 𝐵))
3832, 37biimtrid 245 . . 3 ((¬ 𝐴 ∈ V ∧ 𝐵 ∈ V) → (suc 𝐴 = suc 𝐵 → 𝐴 = 𝐵))
39 sucprc 6441 . . . . 5 (¬ 𝐴 ∈ V → suc 𝐴 = 𝐴)
40 sucprc 6441 . . . . 5 (¬ 𝐵 ∈ V → suc 𝐵 = 𝐵)
4139, 40eqeqan12d 2774 . . . 4 ((¬ 𝐴 ∈ V ∧ ¬ 𝐵 ∈ V) → (suc 𝐴 = suc 𝐵 ↔ 𝐴 = 𝐵))
4241biimpd 232 . . 3 ((¬ 𝐴 ∈ V ∧ ¬ 𝐵 ∈ V) → (suc 𝐴 = suc 𝐵 → 𝐴 = 𝐵))
4325, 31, 38, 424cases 1056 . 2 (suc 𝐴 = suc 𝐵 → 𝐴 = 𝐵)
44 suceq 6431 . 2 (𝐴 = 𝐵 → suc 𝐴 = suc 𝐵)
4543, 44impbii 212 1 (suc 𝐴 = suc 𝐵 ↔ 𝐴 = 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1569   ∈ wcel 2144  Vcvv 3450  suc csuc 6364
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5390  ax-un 7751  ax-reg 9586
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-eprel 5550  df-fr 5603  df-suc 6368
This theorem is used by:  rankxpsuc  9899  unidifsnel  33131  unidifsnne  33132  bnj551  35373  mopre  39404  suceqsneq  39417  sucmapleftuniq  39423  presuc  39431  clsk1indlem1  45045
  Copyright terms: Public domain W3C validator