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

Theorem suc11reg 9307
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 9294 . . . . 5 ¬ (𝐴𝐵𝐵𝐴)
2 ianor 978 . . . . 5 (¬ (𝐴𝐵𝐵𝐴) ↔ (¬ 𝐴𝐵 ∨ ¬ 𝐵𝐴))
31, 2mpbi 229 . . . 4 𝐴𝐵 ∨ ¬ 𝐵𝐴)
4 sucidg 6329 . . . . . . . . . . 11 (𝐴 ∈ V → 𝐴 ∈ suc 𝐴)
5 eleq2 2827 . . . . . . . . . . 11 (suc 𝐴 = suc 𝐵 → (𝐴 ∈ suc 𝐴𝐴 ∈ suc 𝐵))
64, 5syl5ibcom 244 . . . . . . . . . 10 (𝐴 ∈ V → (suc 𝐴 = suc 𝐵𝐴 ∈ suc 𝐵))
7 elsucg 6318 . . . . . . . . . 10 (𝐴 ∈ V → (𝐴 ∈ suc 𝐵 ↔ (𝐴𝐵𝐴 = 𝐵)))
86, 7sylibd 238 . . . . . . . . 9 (𝐴 ∈ V → (suc 𝐴 = suc 𝐵 → (𝐴𝐵𝐴 = 𝐵)))
98imp 406 . . . . . . . 8 ((𝐴 ∈ V ∧ suc 𝐴 = suc 𝐵) → (𝐴𝐵𝐴 = 𝐵))
109ord 860 . . . . . . 7 ((𝐴 ∈ V ∧ suc 𝐴 = suc 𝐵) → (¬ 𝐴𝐵𝐴 = 𝐵))
1110ex 412 . . . . . 6 (𝐴 ∈ V → (suc 𝐴 = suc 𝐵 → (¬ 𝐴𝐵𝐴 = 𝐵)))
1211com23 86 . . . . 5 (𝐴 ∈ V → (¬ 𝐴𝐵 → (suc 𝐴 = suc 𝐵𝐴 = 𝐵)))
13 sucidg 6329 . . . . . . . . . . . 12 (𝐵 ∈ V → 𝐵 ∈ suc 𝐵)
14 eleq2 2827 . . . . . . . . . . . 12 (suc 𝐴 = suc 𝐵 → (𝐵 ∈ suc 𝐴𝐵 ∈ suc 𝐵))
1513, 14syl5ibrcom 246 . . . . . . . . . . 11 (𝐵 ∈ V → (suc 𝐴 = suc 𝐵𝐵 ∈ suc 𝐴))
16 elsucg 6318 . . . . . . . . . . 11 (𝐵 ∈ V → (𝐵 ∈ suc 𝐴 ↔ (𝐵𝐴𝐵 = 𝐴)))
1715, 16sylibd 238 . . . . . . . . . 10 (𝐵 ∈ V → (suc 𝐴 = suc 𝐵 → (𝐵𝐴𝐵 = 𝐴)))
1817imp 406 . . . . . . . . 9 ((𝐵 ∈ V ∧ suc 𝐴 = suc 𝐵) → (𝐵𝐴𝐵 = 𝐴))
1918ord 860 . . . . . . . 8 ((𝐵 ∈ V ∧ suc 𝐴 = suc 𝐵) → (¬ 𝐵𝐴𝐵 = 𝐴))
20 eqcom 2745 . . . . . . . 8 (𝐵 = 𝐴𝐴 = 𝐵)
2119, 20syl6ib 250 . . . . . . 7 ((𝐵 ∈ V ∧ suc 𝐴 = suc 𝐵) → (¬ 𝐵𝐴𝐴 = 𝐵))
2221ex 412 . . . . . 6 (𝐵 ∈ V → (suc 𝐴 = suc 𝐵 → (¬ 𝐵𝐴𝐴 = 𝐵)))
2322com23 86 . . . . 5 (𝐵 ∈ V → (¬ 𝐵𝐴 → (suc 𝐴 = suc 𝐵𝐴 = 𝐵)))
2412, 23jaao 951 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ((¬ 𝐴𝐵 ∨ ¬ 𝐵𝐴) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵)))
253, 24mpi 20 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵))
26 sucexb 7631 . . . . 5 (𝐴 ∈ V ↔ suc 𝐴 ∈ V)
27 sucexb 7631 . . . . . 6 (𝐵 ∈ V ↔ suc 𝐵 ∈ V)
2827notbii 319 . . . . 5 𝐵 ∈ V ↔ ¬ suc 𝐵 ∈ V)
29 nelneq 2863 . . . . 5 ((suc 𝐴 ∈ V ∧ ¬ suc 𝐵 ∈ V) → ¬ suc 𝐴 = suc 𝐵)
3026, 28, 29syl2anb 597 . . . 4 ((𝐴 ∈ V ∧ ¬ 𝐵 ∈ V) → ¬ suc 𝐴 = suc 𝐵)
3130pm2.21d 121 . . 3 ((𝐴 ∈ V ∧ ¬ 𝐵 ∈ V) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵))
32 eqcom 2745 . . . 4 (suc 𝐴 = suc 𝐵 ↔ suc 𝐵 = suc 𝐴)
3326notbii 319 . . . . . . 7 𝐴 ∈ V ↔ ¬ suc 𝐴 ∈ V)
34 nelneq 2863 . . . . . . 7 ((suc 𝐵 ∈ V ∧ ¬ suc 𝐴 ∈ V) → ¬ suc 𝐵 = suc 𝐴)
3527, 33, 34syl2anb 597 . . . . . 6 ((𝐵 ∈ V ∧ ¬ 𝐴 ∈ V) → ¬ suc 𝐵 = suc 𝐴)
3635ancoms 458 . . . . 5 ((¬ 𝐴 ∈ V ∧ 𝐵 ∈ V) → ¬ suc 𝐵 = suc 𝐴)
3736pm2.21d 121 . . . 4 ((¬ 𝐴 ∈ V ∧ 𝐵 ∈ V) → (suc 𝐵 = suc 𝐴𝐴 = 𝐵))
3832, 37syl5bi 241 . . 3 ((¬ 𝐴 ∈ V ∧ 𝐵 ∈ V) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵))
39 sucprc 6326 . . . . 5 𝐴 ∈ V → suc 𝐴 = 𝐴)
40 sucprc 6326 . . . . 5 𝐵 ∈ V → suc 𝐵 = 𝐵)
4139, 40eqeqan12d 2752 . . . 4 ((¬ 𝐴 ∈ V ∧ ¬ 𝐵 ∈ V) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵))
4241biimpd 228 . . 3 ((¬ 𝐴 ∈ V ∧ ¬ 𝐵 ∈ V) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵))
4325, 31, 38, 424cases 1037 . 2 (suc 𝐴 = suc 𝐵𝐴 = 𝐵)
44 suceq 6316 . 2 (𝐴 = 𝐵 → suc 𝐴 = suc 𝐵)
4543, 44impbii 208 1 (suc 𝐴 = suc 𝐵𝐴 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843   = wceq 1539  wcel 2108  Vcvv 3422  suc csuc 6253
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566  ax-reg 9281
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-eprel 5486  df-fr 5535  df-suc 6257
This theorem is referenced by:  rankxpsuc  9571  unidifsnel  30784  unidifsnne  30785  bnj551  32622  clsk1indlem1  41544
  Copyright terms: Public domain W3C validator