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

Theorem addclpi 10728
Description: Closure of addition of positive integers. (Contributed by NM, 18-Oct-1995.) (New usage is discouraged.)
Assertion
Ref Expression
addclpi ((𝐴N𝐵N) → (𝐴 +N 𝐵) ∈ N)

Proof of Theorem addclpi
StepHypRef Expression
1 addpiord 10720 . 2 ((𝐴N𝐵N) → (𝐴 +N 𝐵) = (𝐴 +o 𝐵))
2 pinn 10714 . . 3 (𝐴N𝐴 ∈ ω)
3 pinn 10714 . . . . 5 (𝐵N𝐵 ∈ ω)
4 nnacl 8492 . . . . 5 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 +o 𝐵) ∈ ω)
53, 4sylan2 593 . . . 4 ((𝐴 ∈ ω ∧ 𝐵N) → (𝐴 +o 𝐵) ∈ ω)
6 elni2 10713 . . . . 5 (𝐵N ↔ (𝐵 ∈ ω ∧ ∅ ∈ 𝐵))
7 nnaordi 8499 . . . . . . . 8 ((𝐵 ∈ ω ∧ 𝐴 ∈ ω) → (∅ ∈ 𝐵 → (𝐴 +o ∅) ∈ (𝐴 +o 𝐵)))
8 ne0i 4279 . . . . . . . 8 ((𝐴 +o ∅) ∈ (𝐴 +o 𝐵) → (𝐴 +o 𝐵) ≠ ∅)
97, 8syl6 35 . . . . . . 7 ((𝐵 ∈ ω ∧ 𝐴 ∈ ω) → (∅ ∈ 𝐵 → (𝐴 +o 𝐵) ≠ ∅))
109expcom 414 . . . . . 6 (𝐴 ∈ ω → (𝐵 ∈ ω → (∅ ∈ 𝐵 → (𝐴 +o 𝐵) ≠ ∅)))
1110imp32 419 . . . . 5 ((𝐴 ∈ ω ∧ (𝐵 ∈ ω ∧ ∅ ∈ 𝐵)) → (𝐴 +o 𝐵) ≠ ∅)
126, 11sylan2b 594 . . . 4 ((𝐴 ∈ ω ∧ 𝐵N) → (𝐴 +o 𝐵) ≠ ∅)
13 elni 10712 . . . 4 ((𝐴 +o 𝐵) ∈ N ↔ ((𝐴 +o 𝐵) ∈ ω ∧ (𝐴 +o 𝐵) ≠ ∅))
145, 12, 13sylanbrc 583 . . 3 ((𝐴 ∈ ω ∧ 𝐵N) → (𝐴 +o 𝐵) ∈ N)
152, 14sylan 580 . 2 ((𝐴N𝐵N) → (𝐴 +o 𝐵) ∈ N)
161, 15eqeltrd 2838 1 ((𝐴N𝐵N) → (𝐴 +N 𝐵) ∈ N)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  wcel 2105  wne 2941  c0 4267  (class class class)co 7317  ωcom 7759   +o coa 8343  Ncnpi 10680   +N cpli 10681
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2708  ax-sep 5238  ax-nul 5245  ax-pr 5367  ax-un 7630
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2815  df-nfc 2887  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3351  df-rab 3405  df-v 3443  df-sbc 3727  df-csb 3843  df-dif 3900  df-un 3902  df-in 3904  df-ss 3914  df-pss 3916  df-nul 4268  df-if 4472  df-pw 4547  df-sn 4572  df-pr 4574  df-op 4578  df-uni 4851  df-iun 4939  df-br 5088  df-opab 5150  df-mpt 5171  df-tr 5205  df-id 5507  df-eprel 5513  df-po 5521  df-so 5522  df-fr 5563  df-we 5565  df-xp 5614  df-rel 5615  df-cnv 5616  df-co 5617  df-dm 5618  df-rn 5619  df-res 5620  df-ima 5621  df-pred 6225  df-ord 6292  df-on 6293  df-lim 6294  df-suc 6295  df-iota 6418  df-fun 6468  df-fn 6469  df-f 6470  df-f1 6471  df-fo 6472  df-f1o 6473  df-fv 6474  df-ov 7320  df-oprab 7321  df-mpo 7322  df-om 7760  df-2nd 7879  df-frecs 8146  df-wrecs 8177  df-recs 8251  df-rdg 8290  df-oadd 8350  df-ni 10708  df-pli 10709
This theorem is referenced by:  addasspi  10731  distrpi  10734  addcanpi  10735  ltapi  10739  1lt2pi  10741  indpi  10743  addpqf  10780  adderpqlem  10790  addassnq  10794  distrnq  10797  1lt2nq  10809  archnq  10816  prlem934  10869
  Copyright terms: Public domain W3C validator