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

Theorem suc11 6472
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 6372 . . . . 5 (𝐴 ∈ On → Ord 𝐴)
2 ordn2lp 6382 . . . . 5 (Ord 𝐴 → ¬ (𝐴 ∈ 𝐵 ∧ 𝐵 ∈ 𝐴))
3 pm3.13 1010 . . . . 5 (¬ (𝐴 ∈ 𝐵 ∧ 𝐵 ∈ 𝐴) → (¬ 𝐴 ∈ 𝐵 ∨ ¬ 𝐵 ∈ 𝐴))
41, 2, 33syl 19 . . . 4 (𝐴 ∈ On → (¬ 𝐴 ∈ 𝐵 ∨ ¬ 𝐵 ∈ 𝐴))
54adantr 486 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (¬ 𝐴 ∈ 𝐵 ∨ ¬ 𝐵 ∈ 𝐴))
6 eqimss 3989 . . . . . 6 (suc 𝐴 = suc 𝐵 → suc 𝐴 ⊆ suc 𝐵)
7 sucssel 6460 . . . . . 6 (𝐴 ∈ On → (suc 𝐴 ⊆ suc 𝐵 → 𝐴 ∈ suc 𝐵))
86, 7syl5 35 . . . . 5 (𝐴 ∈ On → (suc 𝐴 = suc 𝐵 → 𝐴 ∈ suc 𝐵))
9 elsuci 6432 . . . . . . 7 (𝐴 ∈ suc 𝐵 → (𝐴 ∈ 𝐵 ∨ 𝐴 = 𝐵))
109ord 878 . . . . . 6 (𝐴 ∈ suc 𝐵 → (¬ 𝐴 ∈ 𝐵 → 𝐴 = 𝐵))
1110com12 33 . . . . 5 (¬ 𝐴 ∈ 𝐵 → (𝐴 ∈ suc 𝐵 → 𝐴 = 𝐵))
128, 11syl9 78 . . . 4 (𝐴 ∈ On → (¬ 𝐴 ∈ 𝐵 → (suc 𝐴 = suc 𝐵 → 𝐴 = 𝐵)))
13 eqimss2 3990 . . . . . 6 (suc 𝐴 = suc 𝐵 → suc 𝐵 ⊆ suc 𝐴)
14 sucssel 6460 . . . . . 6 (𝐵 ∈ On → (suc 𝐵 ⊆ suc 𝐴 → 𝐵 ∈ suc 𝐴))
1513, 14syl5 35 . . . . 5 (𝐵 ∈ On → (suc 𝐴 = suc 𝐵 → 𝐵 ∈ suc 𝐴))
16 elsuci 6432 . . . . . . . 8 (𝐵 ∈ suc 𝐴 → (𝐵 ∈ 𝐴 ∨ 𝐵 = 𝐴))
1716ord 878 . . . . . . 7 (𝐵 ∈ suc 𝐴 → (¬ 𝐵 ∈ 𝐴 → 𝐵 = 𝐴))
18 eqcom 2768 . . . . . . 7 (𝐵 = 𝐴 ↔ 𝐴 = 𝐵)
1917, 18imbitrdi 254 . . . . . 6 (𝐵 ∈ suc 𝐴 → (¬ 𝐵 ∈ 𝐴 → 𝐴 = 𝐵))
2019com12 33 . . . . 5 (¬ 𝐵 ∈ 𝐴 → (𝐵 ∈ suc 𝐴 → 𝐴 = 𝐵))
2115, 20syl9 78 . . . 4 (𝐵 ∈ On → (¬ 𝐵 ∈ 𝐴 → (suc 𝐴 = suc 𝐵 → 𝐴 = 𝐵)))
2212, 21jaao 969 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ((¬ 𝐴 ∈ 𝐵 ∨ ¬ 𝐵 ∈ 𝐴) → (suc 𝐴 = suc 𝐵 → 𝐴 = 𝐵)))
235, 22mpd 16 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (suc 𝐴 = suc 𝐵 → 𝐴 = 𝐵))
24 suceq 6431 . 2 (𝐴 = 𝐵 → suc 𝐴 = suc 𝐵)
2523, 24impbid1 228 1 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (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 1570   ∈ wcel 2145   ⊆ wss 3899  Ord word 6361  Oncon0 6362  suc csuc 6364
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-tr 5213  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-ord 6365  df-on 6366  df-suc 6368
This theorem is used by:  peano4  7904  limenpsi  9171  fin1a2lem2  10479  ltsval2  28013  ltssolem1  28032  nosepnelem  28036  nolt02o  28052  bnj168  35361  onsuct0  37229  1oequni2o  38291  onsucf1lem  44270  onsucf1o  44273
  Copyright terms: Public domain W3C validator