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

Theorem ltexpi 10375
 Description: Ordering on positive integers in terms of existence of sum. (Contributed by NM, 15-Mar-1996.) (Revised by Mario Carneiro, 14-Jun-2013.) (New usage is discouraged.)
Assertion
Ref Expression
ltexpi ((𝐴N𝐵N) → (𝐴 <N 𝐵 ↔ ∃𝑥N (𝐴 +N 𝑥) = 𝐵))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵

Proof of Theorem ltexpi
StepHypRef Expression
1 pinn 10351 . . 3 (𝐴N𝐴 ∈ ω)
2 pinn 10351 . . 3 (𝐵N𝐵 ∈ ω)
3 nnaordex 8280 . . 3 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴𝐵 ↔ ∃𝑥 ∈ ω (∅ ∈ 𝑥 ∧ (𝐴 +o 𝑥) = 𝐵)))
41, 2, 3syl2an 598 . 2 ((𝐴N𝐵N) → (𝐴𝐵 ↔ ∃𝑥 ∈ ω (∅ ∈ 𝑥 ∧ (𝐴 +o 𝑥) = 𝐵)))
5 ltpiord 10360 . 2 ((𝐴N𝐵N) → (𝐴 <N 𝐵𝐴𝐵))
6 addpiord 10357 . . . . . . 7 ((𝐴N𝑥N) → (𝐴 +N 𝑥) = (𝐴 +o 𝑥))
76eqeq1d 2760 . . . . . 6 ((𝐴N𝑥N) → ((𝐴 +N 𝑥) = 𝐵 ↔ (𝐴 +o 𝑥) = 𝐵))
87pm5.32da 582 . . . . 5 (𝐴N → ((𝑥N ∧ (𝐴 +N 𝑥) = 𝐵) ↔ (𝑥N ∧ (𝐴 +o 𝑥) = 𝐵)))
9 elni2 10350 . . . . . . 7 (𝑥N ↔ (𝑥 ∈ ω ∧ ∅ ∈ 𝑥))
109anbi1i 626 . . . . . 6 ((𝑥N ∧ (𝐴 +o 𝑥) = 𝐵) ↔ ((𝑥 ∈ ω ∧ ∅ ∈ 𝑥) ∧ (𝐴 +o 𝑥) = 𝐵))
11 anass 472 . . . . . 6 (((𝑥 ∈ ω ∧ ∅ ∈ 𝑥) ∧ (𝐴 +o 𝑥) = 𝐵) ↔ (𝑥 ∈ ω ∧ (∅ ∈ 𝑥 ∧ (𝐴 +o 𝑥) = 𝐵)))
1210, 11bitri 278 . . . . 5 ((𝑥N ∧ (𝐴 +o 𝑥) = 𝐵) ↔ (𝑥 ∈ ω ∧ (∅ ∈ 𝑥 ∧ (𝐴 +o 𝑥) = 𝐵)))
138, 12bitrdi 290 . . . 4 (𝐴N → ((𝑥N ∧ (𝐴 +N 𝑥) = 𝐵) ↔ (𝑥 ∈ ω ∧ (∅ ∈ 𝑥 ∧ (𝐴 +o 𝑥) = 𝐵))))
1413rexbidv2 3219 . . 3 (𝐴N → (∃𝑥N (𝐴 +N 𝑥) = 𝐵 ↔ ∃𝑥 ∈ ω (∅ ∈ 𝑥 ∧ (𝐴 +o 𝑥) = 𝐵)))
1514adantr 484 . 2 ((𝐴N𝐵N) → (∃𝑥N (𝐴 +N 𝑥) = 𝐵 ↔ ∃𝑥 ∈ ω (∅ ∈ 𝑥 ∧ (𝐴 +o 𝑥) = 𝐵)))
164, 5, 153bitr4d 314 1 ((𝐴N𝐵N) → (𝐴 <N 𝐵 ↔ ∃𝑥N (𝐴 +N 𝑥) = 𝐵))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 209   ∧ wa 399   = wceq 1538   ∈ wcel 2111  ∃wrex 3071  ∅c0 4227   class class class wbr 5036  (class class class)co 7156  ωcom 7585   +o coa 8115  Ncnpi 10317   +N cpli 10318
 Copyright terms: Public domain W3C validator