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

Theorem addclpi 11020
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 11012 . 2 ((𝐴 ∈ N ∧ 𝐵 ∈ N) → (𝐴 +N 𝐵) = (𝐴 +o 𝐵))
2 pinn 11006 . . 3 (𝐴 ∈ N → 𝐴 ∈ ω)
3 pinn 11006 . . . . 5 (𝐵 ∈ N → 𝐵 ∈ ω)
4 nnacl 8662 . . . . 5 ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → (𝐴 +o 𝐵) ∈ ω)
53, 4sylan2 605 . . . 4 ((𝐴 ∈ ω ∧ 𝐵 ∈ N) → (𝐴 +o 𝐵) ∈ ω)
6 elni2 11005 . . . . 5 (𝐵 ∈ N ↔ (𝐵 ∈ ω ∧ ∅ ∈ 𝐵))
7 nnaordi 8669 . . . . . . . 8 ((𝐵 ∈ ω ∧ 𝐴 ∈ ω) → (∅ ∈ 𝐵 → (𝐴 +o ∅) ∈ (𝐴 +o 𝐵)))
8 ne0i 4292 . . . . . . . 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 11004 . . . 4 ((𝐴 +o 𝐵) ∈ N ↔ ((𝐴 +o 𝐵) ∈ ω ∧ (𝐴 +o 𝐵) ≠ ∅))
145, 12, 13sylanbrc 595 . . 3 ((𝐴 ∈ ω ∧ 𝐵 ∈ N) → (𝐴 +o 𝐵) ∈ N)
152, 14sylan 592 . 2 ((𝐴 ∈ N ∧ 𝐵 ∈ N) → (𝐴 +o 𝐵) ∈ N)
161, 15eqeltrd 2870 1 ((𝐴 ∈ N ∧ 𝐵 ∈ N) → (𝐴 +N 𝐵) ∈ N)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∈ wcel 2151   ≠ wne 2965  ∅c0 4283  (class class class)co 7455  ωcom 7915   +o coa 8515  Ncnpi 10972   +N cpli 10973
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pr 5401  ax-un 7787
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6334  df-ord 6395  df-on 6396  df-lim 6397  df-suc 6398  df-iota 6524  df-fun 6572  df-fn 6573  df-f 6574  df-f1 6575  df-fo 6576  df-f1o 6577  df-fv 6578  df-ov 7458  df-oprab 7459  df-mpo 7460  df-om 7916  df-2nd 8040  df-frecs 8341  df-wrecs 8372  df-recs 8421  df-rdg 8460  df-oadd 8522  df-ni 11000  df-pli 11001
This theorem is used by:  addasspi  11023  distrpi  11026  addcanpi  11027  ltapi  11031  1lt2pi  11033  indpi  11035  addpqf  11072  adderpqlem  11082  addassnq  11086  distrnq  11089  1lt2nq  11101  archnq  11108  prlem934  11161
  Copyright terms: Public domain W3C validator