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

Theorem suc11reg 9155
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 9142 . . . . 5 ¬ (𝐴𝐵𝐵𝐴)
2 ianor 981 . . . . 5 (¬ (𝐴𝐵𝐵𝐴) ↔ (¬ 𝐴𝐵 ∨ ¬ 𝐵𝐴))
31, 2mpbi 233 . . . 4 𝐴𝐵 ∨ ¬ 𝐵𝐴)
4 sucidg 6250 . . . . . . . . . . 11 (𝐴 ∈ V → 𝐴 ∈ suc 𝐴)
5 eleq2 2821 . . . . . . . . . . 11 (suc 𝐴 = suc 𝐵 → (𝐴 ∈ suc 𝐴𝐴 ∈ suc 𝐵))
64, 5syl5ibcom 248 . . . . . . . . . 10 (𝐴 ∈ V → (suc 𝐴 = suc 𝐵𝐴 ∈ suc 𝐵))
7 elsucg 6239 . . . . . . . . . 10 (𝐴 ∈ V → (𝐴 ∈ suc 𝐵 ↔ (𝐴𝐵𝐴 = 𝐵)))
86, 7sylibd 242 . . . . . . . . 9 (𝐴 ∈ V → (suc 𝐴 = suc 𝐵 → (𝐴𝐵𝐴 = 𝐵)))
98imp 410 . . . . . . . 8 ((𝐴 ∈ V ∧ suc 𝐴 = suc 𝐵) → (𝐴𝐵𝐴 = 𝐵))
109ord 863 . . . . . . 7 ((𝐴 ∈ V ∧ suc 𝐴 = suc 𝐵) → (¬ 𝐴𝐵𝐴 = 𝐵))
1110ex 416 . . . . . 6 (𝐴 ∈ V → (suc 𝐴 = suc 𝐵 → (¬ 𝐴𝐵𝐴 = 𝐵)))
1211com23 86 . . . . 5 (𝐴 ∈ V → (¬ 𝐴𝐵 → (suc 𝐴 = suc 𝐵𝐴 = 𝐵)))
13 sucidg 6250 . . . . . . . . . . . 12 (𝐵 ∈ V → 𝐵 ∈ suc 𝐵)
14 eleq2 2821 . . . . . . . . . . . 12 (suc 𝐴 = suc 𝐵 → (𝐵 ∈ suc 𝐴𝐵 ∈ suc 𝐵))
1513, 14syl5ibrcom 250 . . . . . . . . . . 11 (𝐵 ∈ V → (suc 𝐴 = suc 𝐵𝐵 ∈ suc 𝐴))
16 elsucg 6239 . . . . . . . . . . 11 (𝐵 ∈ V → (𝐵 ∈ suc 𝐴 ↔ (𝐵𝐴𝐵 = 𝐴)))
1715, 16sylibd 242 . . . . . . . . . 10 (𝐵 ∈ V → (suc 𝐴 = suc 𝐵 → (𝐵𝐴𝐵 = 𝐴)))
1817imp 410 . . . . . . . . 9 ((𝐵 ∈ V ∧ suc 𝐴 = suc 𝐵) → (𝐵𝐴𝐵 = 𝐴))
1918ord 863 . . . . . . . 8 ((𝐵 ∈ V ∧ suc 𝐴 = suc 𝐵) → (¬ 𝐵𝐴𝐵 = 𝐴))
20 eqcom 2745 . . . . . . . 8 (𝐵 = 𝐴𝐴 = 𝐵)
2119, 20syl6ib 254 . . . . . . 7 ((𝐵 ∈ V ∧ suc 𝐴 = suc 𝐵) → (¬ 𝐵𝐴𝐴 = 𝐵))
2221ex 416 . . . . . 6 (𝐵 ∈ V → (suc 𝐴 = suc 𝐵 → (¬ 𝐵𝐴𝐴 = 𝐵)))
2322com23 86 . . . . 5 (𝐵 ∈ V → (¬ 𝐵𝐴 → (suc 𝐴 = suc 𝐵𝐴 = 𝐵)))
2412, 23jaao 954 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ((¬ 𝐴𝐵 ∨ ¬ 𝐵𝐴) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵)))
253, 24mpi 20 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵))
26 sucexb 7543 . . . . 5 (𝐴 ∈ V ↔ suc 𝐴 ∈ V)
27 sucexb 7543 . . . . . 6 (𝐵 ∈ V ↔ suc 𝐵 ∈ V)
2827notbii 323 . . . . 5 𝐵 ∈ V ↔ ¬ suc 𝐵 ∈ V)
29 nelneq 2857 . . . . 5 ((suc 𝐴 ∈ V ∧ ¬ suc 𝐵 ∈ V) → ¬ suc 𝐴 = suc 𝐵)
3026, 28, 29syl2anb 601 . . . 4 ((𝐴 ∈ V ∧ ¬ 𝐵 ∈ V) → ¬ suc 𝐴 = suc 𝐵)
3130pm2.21d 121 . . 3 ((𝐴 ∈ V ∧ ¬ 𝐵 ∈ V) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵))
32 eqcom 2745 . . . 4 (suc 𝐴 = suc 𝐵 ↔ suc 𝐵 = suc 𝐴)
3326notbii 323 . . . . . . 7 𝐴 ∈ V ↔ ¬ suc 𝐴 ∈ V)
34 nelneq 2857 . . . . . . 7 ((suc 𝐵 ∈ V ∧ ¬ suc 𝐴 ∈ V) → ¬ suc 𝐵 = suc 𝐴)
3527, 33, 34syl2anb 601 . . . . . 6 ((𝐵 ∈ V ∧ ¬ 𝐴 ∈ V) → ¬ suc 𝐵 = suc 𝐴)
3635ancoms 462 . . . . 5 ((¬ 𝐴 ∈ V ∧ 𝐵 ∈ V) → ¬ suc 𝐵 = suc 𝐴)
3736pm2.21d 121 . . . 4 ((¬ 𝐴 ∈ V ∧ 𝐵 ∈ V) → (suc 𝐵 = suc 𝐴𝐴 = 𝐵))
3832, 37syl5bi 245 . . 3 ((¬ 𝐴 ∈ V ∧ 𝐵 ∈ V) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵))
39 sucprc 6247 . . . . 5 𝐴 ∈ V → suc 𝐴 = 𝐴)
40 sucprc 6247 . . . . 5 𝐵 ∈ V → suc 𝐵 = 𝐵)
4139, 40eqeqan12d 2755 . . . 4 ((¬ 𝐴 ∈ V ∧ ¬ 𝐵 ∈ V) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵))
4241biimpd 232 . . 3 ((¬ 𝐴 ∈ V ∧ ¬ 𝐵 ∈ V) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵))
4325, 31, 38, 424cases 1040 . 2 (suc 𝐴 = suc 𝐵𝐴 = 𝐵)
44 suceq 6237 . 2 (𝐴 = 𝐵 → suc 𝐴 = suc 𝐵)
4543, 44impbii 212 1 (suc 𝐴 = suc 𝐵𝐴 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 846   = wceq 1542  wcel 2114  Vcvv 3398  suc csuc 6174
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-12 2179  ax-ext 2710  ax-sep 5167  ax-nul 5174  ax-pr 5296  ax-un 7479  ax-reg 9129
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-clab 2717  df-cleq 2730  df-clel 2811  df-ne 2935  df-ral 3058  df-rex 3059  df-rab 3062  df-v 3400  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-nul 4212  df-if 4415  df-sn 4517  df-pr 4519  df-op 4523  df-uni 4797  df-br 5031  df-opab 5093  df-eprel 5434  df-fr 5483  df-suc 6178
This theorem is referenced by:  rankxpsuc  9384  unidifsnel  30457  unidifsnne  30458  bnj551  32292  clsk1indlem1  41201
  Copyright terms: Public domain W3C validator