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

Theorem onomeneq 9178
Description: An ordinal number equinumerous to a natural number is equal to it. Proposition 10.22 of [TakeutiZaring] p. 90 and its converse. (Contributed by NM, 26-Jul-2004.) Avoid ax-pow 5320. (Revised by BTernaryTau, 2-Dec-2024.)
Assertion
Ref Expression
onomeneq ((𝐴 ∈ On ∧ 𝐵 ∈ ω) → (𝐴𝐵𝐴 = 𝐵))

Proof of Theorem onomeneq
StepHypRef Expression
1 endom 8950 . . . . . 6 (𝐴𝐵𝐴𝐵)
2 nnfi 9131 . . . . . . . . 9 (𝐵 ∈ ω → 𝐵 ∈ Fin)
3 domfi 9153 . . . . . . . . . . 11 ((𝐵 ∈ Fin ∧ 𝐴𝐵) → 𝐴 ∈ Fin)
4 simpr 484 . . . . . . . . . . 11 ((𝐵 ∈ Fin ∧ 𝐴𝐵) → 𝐴𝐵)
53, 4jca 511 . . . . . . . . . 10 ((𝐵 ∈ Fin ∧ 𝐴𝐵) → (𝐴 ∈ Fin ∧ 𝐴𝐵))
6 domnsymfi 9164 . . . . . . . . . . . . . 14 ((𝐴 ∈ Fin ∧ 𝐴𝐵) → ¬ 𝐵𝐴)
76ex 412 . . . . . . . . . . . . 13 (𝐴 ∈ Fin → (𝐴𝐵 → ¬ 𝐵𝐴))
8 php3 9173 . . . . . . . . . . . . . 14 ((𝐴 ∈ Fin ∧ 𝐵𝐴) → 𝐵𝐴)
98ex 412 . . . . . . . . . . . . 13 (𝐴 ∈ Fin → (𝐵𝐴𝐵𝐴))
107, 9nsyld 156 . . . . . . . . . . . 12 (𝐴 ∈ Fin → (𝐴𝐵 → ¬ 𝐵𝐴))
1110adantl 481 . . . . . . . . . . 11 ((𝐵 ∈ ω ∧ 𝐴 ∈ Fin) → (𝐴𝐵 → ¬ 𝐵𝐴))
1211expimpd 453 . . . . . . . . . 10 (𝐵 ∈ ω → ((𝐴 ∈ Fin ∧ 𝐴𝐵) → ¬ 𝐵𝐴))
135, 12syl5 34 . . . . . . . . 9 (𝐵 ∈ ω → ((𝐵 ∈ Fin ∧ 𝐴𝐵) → ¬ 𝐵𝐴))
142, 13mpand 695 . . . . . . . 8 (𝐵 ∈ ω → (𝐴𝐵 → ¬ 𝐵𝐴))
1514adantl 481 . . . . . . 7 ((𝐴 ∈ On ∧ 𝐵 ∈ ω) → (𝐴𝐵 → ¬ 𝐵𝐴))
16 eloni 6342 . . . . . . . 8 (𝐴 ∈ On → Ord 𝐴)
17 nnord 7850 . . . . . . . 8 (𝐵 ∈ ω → Ord 𝐵)
18 ordtri1 6365 . . . . . . . . 9 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴𝐵 ↔ ¬ 𝐵𝐴))
19 ordelpss 6360 . . . . . . . . . . 11 ((Ord 𝐵 ∧ Ord 𝐴) → (𝐵𝐴𝐵𝐴))
2019ancoms 458 . . . . . . . . . 10 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐵𝐴𝐵𝐴))
2120notbid 318 . . . . . . . . 9 ((Ord 𝐴 ∧ Ord 𝐵) → (¬ 𝐵𝐴 ↔ ¬ 𝐵𝐴))
2218, 21bitrd 279 . . . . . . . 8 ((Ord 𝐴 ∧ Ord 𝐵) → (𝐴𝐵 ↔ ¬ 𝐵𝐴))
2316, 17, 22syl2an 596 . . . . . . 7 ((𝐴 ∈ On ∧ 𝐵 ∈ ω) → (𝐴𝐵 ↔ ¬ 𝐵𝐴))
2415, 23sylibrd 259 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ ω) → (𝐴𝐵𝐴𝐵))
251, 24syl5 34 . . . . 5 ((𝐴 ∈ On ∧ 𝐵 ∈ ω) → (𝐴𝐵𝐴𝐵))
26253impia 1117 . . . 4 ((𝐴 ∈ On ∧ 𝐵 ∈ ω ∧ 𝐴𝐵) → 𝐴𝐵)
27 ensymfib 9148 . . . . . . . . 9 (𝐵 ∈ Fin → (𝐵𝐴𝐴𝐵))
282, 27syl 17 . . . . . . . 8 (𝐵 ∈ ω → (𝐵𝐴𝐴𝐵))
29 endom 8950 . . . . . . . 8 (𝐵𝐴𝐵𝐴)
3028, 29biimtrrdi 254 . . . . . . 7 (𝐵 ∈ ω → (𝐴𝐵𝐵𝐴))
3130imp 406 . . . . . 6 ((𝐵 ∈ ω ∧ 𝐴𝐵) → 𝐵𝐴)
32313adant1 1130 . . . . 5 ((𝐴 ∈ On ∧ 𝐵 ∈ ω ∧ 𝐴𝐵) → 𝐵𝐴)
33 nndomog 9177 . . . . . . 7 ((𝐵 ∈ ω ∧ 𝐴 ∈ On) → (𝐵𝐴𝐵𝐴))
3433ancoms 458 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ ω) → (𝐵𝐴𝐵𝐴))
3534biimp3a 1471 . . . . 5 ((𝐴 ∈ On ∧ 𝐵 ∈ ω ∧ 𝐵𝐴) → 𝐵𝐴)
3632, 35syld3an3 1411 . . . 4 ((𝐴 ∈ On ∧ 𝐵 ∈ ω ∧ 𝐴𝐵) → 𝐵𝐴)
3726, 36eqssd 3964 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ ω ∧ 𝐴𝐵) → 𝐴 = 𝐵)
38373expia 1121 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ ω) → (𝐴𝐵𝐴 = 𝐵))
39 enrefnn 9018 . . . 4 (𝐵 ∈ ω → 𝐵𝐵)
40 breq1 5110 . . . 4 (𝐴 = 𝐵 → (𝐴𝐵𝐵𝐵))
4139, 40syl5ibrcom 247 . . 3 (𝐵 ∈ ω → (𝐴 = 𝐵𝐴𝐵))
4241adantl 481 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ ω) → (𝐴 = 𝐵𝐴𝐵))
4338, 42impbid 212 1 ((𝐴 ∈ On ∧ 𝐵 ∈ ω) → (𝐴𝐵𝐴 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 206  wa 395  w3a 1086   = wceq 1540  wcel 2109  wss 3914  wpss 3915   class class class wbr 5107  Ord word 6331  Oncon0 6332  ωcom 7842  cen 8915  cdom 8916  csdm 8917  Fincfn 8918
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-sep 5251  ax-nul 5261  ax-pr 5387  ax-un 7711
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-ral 3045  df-rex 3054  df-reu 3355  df-rab 3406  df-v 3449  df-sbc 3754  df-csb 3863  df-dif 3917  df-un 3919  df-in 3921  df-ss 3931  df-pss 3934  df-nul 4297  df-if 4489  df-pw 4565  df-sn 4590  df-pr 4592  df-op 4596  df-uni 4872  df-br 5108  df-opab 5170  df-mpt 5189  df-tr 5215  df-id 5533  df-eprel 5538  df-po 5546  df-so 5547  df-fr 5591  df-we 5593  df-xp 5644  df-rel 5645  df-cnv 5646  df-co 5647  df-dm 5648  df-rn 5649  df-res 5650  df-ima 5651  df-ord 6335  df-on 6336  df-lim 6337  df-suc 6338  df-iota 6464  df-fun 6513  df-fn 6514  df-f 6515  df-f1 6516  df-fo 6517  df-f1o 6518  df-fv 6519  df-om 7843  df-1o 8434  df-en 8919  df-dom 8920  df-sdom 8921  df-fin 8922
This theorem is referenced by:  onfin  9179  ficardom  9914  finnisoeu  10066
  Copyright terms: Public domain W3C validator