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

Theorem suc11 6262
Description: The successor operation behaves like a one-to-one function. Compare Exercise 16 of [Enderton] p. 194. (Contributed by NM, 3-Sep-2003.)
Assertion
Ref Expression
suc11 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵))

Proof of Theorem suc11
StepHypRef Expression
1 eloni 6169 . . . . 5 (𝐴 ∈ On → Ord 𝐴)
2 ordn2lp 6179 . . . . 5 (Ord 𝐴 → ¬ (𝐴𝐵𝐵𝐴))
3 pm3.13 992 . . . . 5 (¬ (𝐴𝐵𝐵𝐴) → (¬ 𝐴𝐵 ∨ ¬ 𝐵𝐴))
41, 2, 33syl 18 . . . 4 (𝐴 ∈ On → (¬ 𝐴𝐵 ∨ ¬ 𝐵𝐴))
54adantr 484 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (¬ 𝐴𝐵 ∨ ¬ 𝐵𝐴))
6 eqimss 3971 . . . . . 6 (suc 𝐴 = suc 𝐵 → suc 𝐴 ⊆ suc 𝐵)
7 sucssel 6251 . . . . . 6 (𝐴 ∈ On → (suc 𝐴 ⊆ suc 𝐵𝐴 ∈ suc 𝐵))
86, 7syl5 34 . . . . 5 (𝐴 ∈ On → (suc 𝐴 = suc 𝐵𝐴 ∈ suc 𝐵))
9 elsuci 6225 . . . . . . 7 (𝐴 ∈ suc 𝐵 → (𝐴𝐵𝐴 = 𝐵))
109ord 861 . . . . . 6 (𝐴 ∈ suc 𝐵 → (¬ 𝐴𝐵𝐴 = 𝐵))
1110com12 32 . . . . 5 𝐴𝐵 → (𝐴 ∈ suc 𝐵𝐴 = 𝐵))
128, 11syl9 77 . . . 4 (𝐴 ∈ On → (¬ 𝐴𝐵 → (suc 𝐴 = suc 𝐵𝐴 = 𝐵)))
13 eqimss2 3972 . . . . . 6 (suc 𝐴 = suc 𝐵 → suc 𝐵 ⊆ suc 𝐴)
14 sucssel 6251 . . . . . 6 (𝐵 ∈ On → (suc 𝐵 ⊆ suc 𝐴𝐵 ∈ suc 𝐴))
1513, 14syl5 34 . . . . 5 (𝐵 ∈ On → (suc 𝐴 = suc 𝐵𝐵 ∈ suc 𝐴))
16 elsuci 6225 . . . . . . . 8 (𝐵 ∈ suc 𝐴 → (𝐵𝐴𝐵 = 𝐴))
1716ord 861 . . . . . . 7 (𝐵 ∈ suc 𝐴 → (¬ 𝐵𝐴𝐵 = 𝐴))
18 eqcom 2805 . . . . . . 7 (𝐵 = 𝐴𝐴 = 𝐵)
1917, 18syl6ib 254 . . . . . 6 (𝐵 ∈ suc 𝐴 → (¬ 𝐵𝐴𝐴 = 𝐵))
2019com12 32 . . . . 5 𝐵𝐴 → (𝐵 ∈ suc 𝐴𝐴 = 𝐵))
2115, 20syl9 77 . . . 4 (𝐵 ∈ On → (¬ 𝐵𝐴 → (suc 𝐴 = suc 𝐵𝐴 = 𝐵)))
2212, 21jaao 952 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ((¬ 𝐴𝐵 ∨ ¬ 𝐵𝐴) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵)))
235, 22mpd 15 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵))
24 suceq 6224 . 2 (𝐴 = 𝐵 → suc 𝐴 = suc 𝐵)
2523, 24impbid1 228 1 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 844   = wceq 1538  wcel 2111  wss 3881  Ord word 6158  Oncon0 6159  suc csuc 6161
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-tr 5137  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-ord 6162  df-on 6163  df-suc 6165
This theorem is referenced by:  peano4  7584  limenpsi  8676  fin1a2lem2  9812  bnj168  32110  sltval2  33276  sltsolem1  33293  nosepnelem  33297  nolt02o  33312  onsuct0  33902  1oequni2o  34785
  Copyright terms: Public domain W3C validator