ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  addcompig Unicode version

Theorem addcompig 7389
Description: Addition of positive integers is commutative. (Contributed by Jim Kingdon, 26-Aug-2019.)
Assertion
Ref Expression
addcompig  |-  ( ( A  e.  N.  /\  B  e.  N. )  ->  ( A  +N  B
)  =  ( B  +N  A ) )

Proof of Theorem addcompig
StepHypRef Expression
1 pinn 7369 . . 3  |-  ( A  e.  N.  ->  A  e.  om )
2 pinn 7369 . . 3  |-  ( B  e.  N.  ->  B  e.  om )
3 nnacom 6537 . . 3  |-  ( ( A  e.  om  /\  B  e.  om )  ->  ( A  +o  B
)  =  ( B  +o  A ) )
41, 2, 3syl2an 289 . 2  |-  ( ( A  e.  N.  /\  B  e.  N. )  ->  ( A  +o  B
)  =  ( B  +o  A ) )
5 addpiord 7376 . 2  |-  ( ( A  e.  N.  /\  B  e.  N. )  ->  ( A  +N  B
)  =  ( A  +o  B ) )
6 addpiord 7376 . . 3  |-  ( ( B  e.  N.  /\  A  e.  N. )  ->  ( B  +N  A
)  =  ( B  +o  A ) )
76ancoms 268 . 2  |-  ( ( A  e.  N.  /\  B  e.  N. )  ->  ( B  +N  A
)  =  ( B  +o  A ) )
84, 5, 73eqtr4d 2236 1  |-  ( ( A  e.  N.  /\  B  e.  N. )  ->  ( A  +N  B
)  =  ( B  +N  A ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    = wceq 1364    e. wcel 2164   omcom 4622  (class class class)co 5918    +o coa 6466   N.cnpi 7332    +N cpli 7333
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 710  ax-5 1458  ax-7 1459  ax-gen 1460  ax-ie1 1504  ax-ie2 1505  ax-8 1515  ax-10 1516  ax-11 1517  ax-i12 1518  ax-bndl 1520  ax-4 1521  ax-17 1537  ax-i9 1541  ax-ial 1545  ax-i5r 1546  ax-13 2166  ax-14 2167  ax-ext 2175  ax-coll 4144  ax-sep 4147  ax-nul 4155  ax-pow 4203  ax-pr 4238  ax-un 4464  ax-setind 4569  ax-iinf 4620
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-fal 1370  df-nf 1472  df-sb 1774  df-eu 2045  df-mo 2046  df-clab 2180  df-cleq 2186  df-clel 2189  df-nfc 2325  df-ne 2365  df-ral 2477  df-rex 2478  df-reu 2479  df-rab 2481  df-v 2762  df-sbc 2986  df-csb 3081  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3447  df-pw 3603  df-sn 3624  df-pr 3625  df-op 3627  df-uni 3836  df-int 3871  df-iun 3914  df-br 4030  df-opab 4091  df-mpt 4092  df-tr 4128  df-id 4324  df-iord 4397  df-on 4399  df-suc 4402  df-iom 4623  df-xp 4665  df-rel 4666  df-cnv 4667  df-co 4668  df-dm 4669  df-rn 4670  df-res 4671  df-ima 4672  df-iota 5215  df-fun 5256  df-fn 5257  df-f 5258  df-f1 5259  df-fo 5260  df-f1o 5261  df-fv 5262  df-ov 5921  df-oprab 5922  df-mpo 5923  df-1st 6193  df-2nd 6194  df-recs 6358  df-irdg 6423  df-oadd 6473  df-ni 7364  df-pli 7365
This theorem is referenced by:  addcomnqg  7441
  Copyright terms: Public domain W3C validator