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

Theorem addclpi 11004
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 10996 . 2 ((𝐴 ∈ N ∧ 𝐵 ∈ N) → (𝐴 +N 𝐵) = (𝐴 +o 𝐵))
2 pinn 10990 . . 3 (𝐴 ∈ N → 𝐴 ∈ ω)
3 pinn 10990 . . . . 5 (𝐵 ∈ N → 𝐵 ∈ ω)
4 nnacl 8648 . . . . 5 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 +o 𝐵) ∈ ω)
53, 4sylan2 605 . . . 4 ((𝐴 ∈ ω ∧ 𝐵 ∈ N) → (𝐴 +o 𝐵) ∈ ω)
6 elni2 10989 . . . . 5 (𝐵 ∈ N ↔ (𝐵 ∈ ω ∧ ∅ ∈ 𝐵))
7 nnaordi 8655 . . . . . . . 8 ((𝐵 ∈ ω ∧ 𝐴 ∈ ω) → (∅ ∈ 𝐵 → (𝐴 +o ∅) ∈ (𝐴 +o 𝐵)))
8 ne0i 4290 . . . . . . . 8 ((𝐴 +o ∅) ∈ (𝐴 +o 𝐵) → (𝐴 +o 𝐵) ≠ ∅)
97, 8syl6 36 . . . . . . 7 ((𝐵 ∈ ω ∧ 𝐴 ∈ ω) → (∅ ∈ 𝐵 → (𝐴 +o 𝐵) ≠ ∅))
109expcom 419 . . . . . 6 (𝐴 ∈ ω → (𝐵 ∈ ω → (∅ ∈ 𝐵 → (𝐴 +o 𝐵) ≠ ∅)))
1110imp32 424 . . . . 5 ((𝐴 ∈ ω ∧ (𝐵 ∈ ω ∧ ∅ ∈ 𝐵)) → (𝐴 +o 𝐵) ≠ ∅)
126, 11sylan2b 606 . . . 4 ((𝐴 ∈ ω ∧ 𝐵 ∈ N) → (𝐴 +o 𝐵) ≠ ∅)
13 elni 10988 . . . 4 ((𝐴 +o 𝐵) ∈ N ↔ ((𝐴 +o 𝐵) ∈ ω ∧ (𝐴 +o 𝐵) ≠ ∅))
145, 12, 13sylanbrc 595 . . 3 ((𝐴 ∈ ω ∧ 𝐵 ∈ N) → (𝐴 +o 𝐵) ∈ N)
152, 14sylan 592 . 2 ((𝐴 ∈ N ∧ 𝐵 ∈ N) → (𝐴 +o 𝐵) ∈ N)
161, 15eqeltrd 2864 1 ((𝐴 ∈ N ∧ 𝐵 ∈ N) → (𝐴 +N 𝐵) ∈ N)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∈ wcel 2147   ≠ wne 2959  ∅c0 4281  (class class class)co 7443  ωcom 7901   +o coa 8501  Ncnpi 10956   +N cpli 10957
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7775
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6322  df-ord 6383  df-on 6384  df-lim 6385  df-suc 6386  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-f1 6563  df-fo 6564  df-f1o 6565  df-fv 6566  df-ov 7446  df-oprab 7447  df-mpo 7448  df-om 7902  df-2nd 8026  df-frecs 8327  df-wrecs 8358  df-recs 8407  df-rdg 8446  df-oadd 8508  df-ni 10984  df-pli 10985
This theorem is used by:  addasspi  11007  distrpi  11010  addcanpi  11011  ltapi  11015  1lt2pi  11017  indpi  11019  addpqf  11056  adderpqlem  11066  addassnq  11070  distrnq  11073  1lt2nq  11085  archnq  11092  prlem934  11145
  Copyright terms: Public domain W3C validator