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

Theorem suc11 6369
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 6276 . . . . 5 (𝐴 ∈ On → Ord 𝐴)
2 ordn2lp 6286 . . . . 5 (Ord 𝐴 → ¬ (𝐴𝐵𝐵𝐴))
3 pm3.13 992 . . . . 5 (¬ (𝐴𝐵𝐵𝐴) → (¬ 𝐴𝐵 ∨ ¬ 𝐵𝐴))
41, 2, 33syl 18 . . . 4 (𝐴 ∈ On → (¬ 𝐴𝐵 ∨ ¬ 𝐵𝐴))
54adantr 481 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (¬ 𝐴𝐵 ∨ ¬ 𝐵𝐴))
6 eqimss 3977 . . . . . 6 (suc 𝐴 = suc 𝐵 → suc 𝐴 ⊆ suc 𝐵)
7 sucssel 6358 . . . . . 6 (𝐴 ∈ On → (suc 𝐴 ⊆ suc 𝐵𝐴 ∈ suc 𝐵))
86, 7syl5 34 . . . . 5 (𝐴 ∈ On → (suc 𝐴 = suc 𝐵𝐴 ∈ suc 𝐵))
9 elsuci 6332 . . . . . . 7 (𝐴 ∈ suc 𝐵 → (𝐴𝐵𝐴 = 𝐵))
109ord 861 . . . . . 6 (𝐴 ∈ suc 𝐵 → (¬ 𝐴𝐵𝐴 = 𝐵))
1110com12 32 . . . . 5 𝐴𝐵 → (𝐴 ∈ suc 𝐵𝐴 = 𝐵))
128, 11syl9 77 . . . 4 (𝐴 ∈ On → (¬ 𝐴𝐵 → (suc 𝐴 = suc 𝐵𝐴 = 𝐵)))
13 eqimss2 3978 . . . . . 6 (suc 𝐴 = suc 𝐵 → suc 𝐵 ⊆ suc 𝐴)
14 sucssel 6358 . . . . . 6 (𝐵 ∈ On → (suc 𝐵 ⊆ suc 𝐴𝐵 ∈ suc 𝐴))
1513, 14syl5 34 . . . . 5 (𝐵 ∈ On → (suc 𝐴 = suc 𝐵𝐵 ∈ suc 𝐴))
16 elsuci 6332 . . . . . . . 8 (𝐵 ∈ suc 𝐴 → (𝐵𝐴𝐵 = 𝐴))
1716ord 861 . . . . . . 7 (𝐵 ∈ suc 𝐴 → (¬ 𝐵𝐴𝐵 = 𝐴))
18 eqcom 2745 . . . . . . 7 (𝐵 = 𝐴𝐴 = 𝐵)
1917, 18syl6ib 250 . . . . . 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 6331 . 2 (𝐴 = 𝐵 → suc 𝐴 = suc 𝐵)
2523, 24impbid1 224 1 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (suc 𝐴 = suc 𝐵𝐴 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844   = wceq 1539  wcel 2106  wss 3887  Ord word 6265  Oncon0 6266  suc csuc 6268
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-tr 5192  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-ord 6269  df-on 6270  df-suc 6272
This theorem is referenced by:  peano4  7739  limenpsi  8939  fin1a2lem2  10157  bnj168  32709  sltval2  33859  sltsolem1  33878  nosepnelem  33882  nolt02o  33898  onsuct0  34630  1oequni2o  35539
  Copyright terms: Public domain W3C validator