Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  orddif0suc Structured version   Visualization version   GIF version

Theorem orddif0suc 42507
Description: For any distinct pair of ordinals, if the set difference between the greater and the successor of the lesser is empty, the greater is the successor of the lesser. Lemma 1.16 of [Schloeder] p. 2. (Contributed by RP, 17-Jan-2025.)
Assertion
Ref Expression
orddif0suc ((𝐴𝐵 ∧ Ord 𝐵) → ((𝐵 ∖ suc 𝐴) = ∅ → 𝐵 = suc 𝐴))

Proof of Theorem orddif0suc
Dummy variable 𝑐 is distinct from all other variables.
StepHypRef Expression
1 simpr 484 . . . . . . . 8 ((𝐴𝐵 ∧ Ord 𝐵) → Ord 𝐵)
2 ordelon 6378 . . . . . . . . 9 ((Ord 𝐵𝐴𝐵) → 𝐴 ∈ On)
32ancoms 458 . . . . . . . 8 ((𝐴𝐵 ∧ Ord 𝐵) → 𝐴 ∈ On)
4 ordeldifsucon 42498 . . . . . . . 8 ((Ord 𝐵𝐴 ∈ On) → (𝑐 ∈ (𝐵 ∖ suc 𝐴) ↔ (𝑐𝐵𝐴𝑐)))
51, 3, 4syl2anc 583 . . . . . . 7 ((𝐴𝐵 ∧ Ord 𝐵) → (𝑐 ∈ (𝐵 ∖ suc 𝐴) ↔ (𝑐𝐵𝐴𝑐)))
65biancomd 463 . . . . . 6 ((𝐴𝐵 ∧ Ord 𝐵) → (𝑐 ∈ (𝐵 ∖ suc 𝐴) ↔ (𝐴𝑐𝑐𝐵)))
7 ordelon 6378 . . . . . . . . . 10 ((Ord 𝐵𝑐𝐵) → 𝑐 ∈ On)
87ad2ant2l 743 . . . . . . . . 9 (((𝐴𝐵 ∧ Ord 𝐵) ∧ (𝐴𝑐𝑐𝐵)) → 𝑐 ∈ On)
98ex 412 . . . . . . . 8 ((𝐴𝐵 ∧ Ord 𝐵) → ((𝐴𝑐𝑐𝐵) → 𝑐 ∈ On))
109pm4.71rd 562 . . . . . . 7 ((𝐴𝐵 ∧ Ord 𝐵) → ((𝐴𝑐𝑐𝐵) ↔ (𝑐 ∈ On ∧ (𝐴𝑐𝑐𝐵))))
11 df-an 396 . . . . . . 7 ((𝑐 ∈ On ∧ (𝐴𝑐𝑐𝐵)) ↔ ¬ (𝑐 ∈ On → ¬ (𝐴𝑐𝑐𝐵)))
1210, 11bitrdi 287 . . . . . 6 ((𝐴𝐵 ∧ Ord 𝐵) → ((𝐴𝑐𝑐𝐵) ↔ ¬ (𝑐 ∈ On → ¬ (𝐴𝑐𝑐𝐵))))
136, 12bitr2d 280 . . . . 5 ((𝐴𝐵 ∧ Ord 𝐵) → (¬ (𝑐 ∈ On → ¬ (𝐴𝑐𝑐𝐵)) ↔ 𝑐 ∈ (𝐵 ∖ suc 𝐴)))
1413con1bid 355 . . . 4 ((𝐴𝐵 ∧ Ord 𝐵) → (¬ 𝑐 ∈ (𝐵 ∖ suc 𝐴) ↔ (𝑐 ∈ On → ¬ (𝐴𝑐𝑐𝐵))))
1514albidv 1915 . . 3 ((𝐴𝐵 ∧ Ord 𝐵) → (∀𝑐 ¬ 𝑐 ∈ (𝐵 ∖ suc 𝐴) ↔ ∀𝑐(𝑐 ∈ On → ¬ (𝐴𝑐𝑐𝐵))))
16 eq0 4335 . . 3 ((𝐵 ∖ suc 𝐴) = ∅ ↔ ∀𝑐 ¬ 𝑐 ∈ (𝐵 ∖ suc 𝐴))
17 df-ral 3054 . . 3 (∀𝑐 ∈ On ¬ (𝐴𝑐𝑐𝐵) ↔ ∀𝑐(𝑐 ∈ On → ¬ (𝐴𝑐𝑐𝐵)))
1815, 16, 173bitr4g 314 . 2 ((𝐴𝐵 ∧ Ord 𝐵) → ((𝐵 ∖ suc 𝐴) = ∅ ↔ ∀𝑐 ∈ On ¬ (𝐴𝑐𝑐𝐵)))
19 ordnexbtwnsuc 42506 . 2 ((𝐴𝐵 ∧ Ord 𝐵) → (∀𝑐 ∈ On ¬ (𝐴𝑐𝑐𝐵) → 𝐵 = suc 𝐴))
2018, 19sylbid 239 1 ((𝐴𝐵 ∧ Ord 𝐵) → ((𝐵 ∖ suc 𝐴) = ∅ → 𝐵 = suc 𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wal 1531   = wceq 1533  wcel 2098  wral 3053  cdif 3937  c0 4314  Ord word 6353  Oncon0 6354  suc csuc 6356
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-ext 2695  ax-sep 5289  ax-nul 5296  ax-pr 5417  ax-un 7718
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 845  df-3or 1085  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-sb 2060  df-clab 2702  df-cleq 2716  df-clel 2802  df-ne 2933  df-ral 3054  df-rex 3063  df-rab 3425  df-v 3468  df-dif 3943  df-un 3945  df-in 3947  df-ss 3957  df-pss 3959  df-nul 4315  df-if 4521  df-pw 4596  df-sn 4621  df-pr 4623  df-op 4627  df-uni 4900  df-br 5139  df-opab 5201  df-tr 5256  df-eprel 5570  df-po 5578  df-so 5579  df-fr 5621  df-we 5623  df-ord 6357  df-on 6358  df-suc 6360
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator