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

Theorem axaddcom 8187
Description: Addition commutes. Axiom for real and complex numbers, derived from set theory. This construction-dependent theorem should not be referenced directly, nor should the proven axiom ax-addcom 8229 be used later. Instead, use addcom 8412.

In the Metamath Proof Explorer this is not a complex number axiom but is instead proved from other axioms. That proof relies on real number trichotomy and it is not known whether it is possible to prove this from the other axioms without it. (Contributed by Jim Kingdon, 17-Jan-2020.) (New usage is discouraged.)

Assertion
Ref Expression
axaddcom  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( A  +  B
)  =  ( B  +  A ) )

Proof of Theorem axaddcom
Dummy variables  w  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-c 8135 . 2  |-  CC  =  ( R.  X.  R. )
2 oveq1 6059 . . 3  |-  ( <.
x ,  y >.  =  A  ->  ( <.
x ,  y >.  +  <. z ,  w >. )  =  ( A  +  <. z ,  w >. ) )
3 oveq2 6060 . . 3  |-  ( <.
x ,  y >.  =  A  ->  ( <.
z ,  w >.  + 
<. x ,  y >.
)  =  ( <.
z ,  w >.  +  A ) )
42, 3eqeq12d 2249 . 2  |-  ( <.
x ,  y >.  =  A  ->  ( (
<. x ,  y >.  +  <. z ,  w >. )  =  ( <.
z ,  w >.  + 
<. x ,  y >.
)  <->  ( A  +  <. z ,  w >. )  =  ( <. z ,  w >.  +  A
) ) )
5 oveq2 6060 . . 3  |-  ( <.
z ,  w >.  =  B  ->  ( A  +  <. z ,  w >. )  =  ( A  +  B ) )
6 oveq1 6059 . . 3  |-  ( <.
z ,  w >.  =  B  ->  ( <. z ,  w >.  +  A
)  =  ( B  +  A ) )
75, 6eqeq12d 2249 . 2  |-  ( <.
z ,  w >.  =  B  ->  ( ( A  +  <. z ,  w >. )  =  (
<. z ,  w >.  +  A )  <->  ( A  +  B )  =  ( B  +  A ) ) )
8 addcomsrg 8072 . . . . 5  |-  ( ( x  e.  R.  /\  z  e.  R. )  ->  ( x  +R  z
)  =  ( z  +R  x ) )
98ad2ant2r 509 . . . 4  |-  ( ( ( x  e.  R.  /\  y  e.  R. )  /\  ( z  e.  R.  /\  w  e.  R. )
)  ->  ( x  +R  z )  =  ( z  +R  x ) )
10 addcomsrg 8072 . . . . 5  |-  ( ( y  e.  R.  /\  w  e.  R. )  ->  ( y  +R  w
)  =  ( w  +R  y ) )
1110ad2ant2l 508 . . . 4  |-  ( ( ( x  e.  R.  /\  y  e.  R. )  /\  ( z  e.  R.  /\  w  e.  R. )
)  ->  ( y  +R  w )  =  ( w  +R  y ) )
129, 11opeq12d 3893 . . 3  |-  ( ( ( x  e.  R.  /\  y  e.  R. )  /\  ( z  e.  R.  /\  w  e.  R. )
)  ->  <. ( x  +R  z ) ,  ( y  +R  w
) >.  =  <. (
z  +R  x ) ,  ( w  +R  y ) >. )
13 addcnsr 8151 . . 3  |-  ( ( ( x  e.  R.  /\  y  e.  R. )  /\  ( z  e.  R.  /\  w  e.  R. )
)  ->  ( <. x ,  y >.  +  <. z ,  w >. )  =  <. ( x  +R  z ) ,  ( y  +R  w )
>. )
14 addcnsr 8151 . . . 4  |-  ( ( ( z  e.  R.  /\  w  e.  R. )  /\  ( x  e.  R.  /\  y  e.  R. )
)  ->  ( <. z ,  w >.  +  <. x ,  y >. )  =  <. ( z  +R  x ) ,  ( w  +R  y )
>. )
1514ancoms 268 . . 3  |-  ( ( ( x  e.  R.  /\  y  e.  R. )  /\  ( z  e.  R.  /\  w  e.  R. )
)  ->  ( <. z ,  w >.  +  <. x ,  y >. )  =  <. ( z  +R  x ) ,  ( w  +R  y )
>. )
1612, 13, 153eqtr4d 2277 . 2  |-  ( ( ( x  e.  R.  /\  y  e.  R. )  /\  ( z  e.  R.  /\  w  e.  R. )
)  ->  ( <. x ,  y >.  +  <. z ,  w >. )  =  ( <. z ,  w >.  +  <. x ,  y >. )
)
171, 4, 7, 162optocl 4829 1  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( A  +  B
)  =  ( B  +  A ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    = wceq 1398    e. wcel 2205   <.cop 3694  (class class class)co 6052   R.cnr 7614    +R cplr 7618   CCcc 8127    + caddc 8132
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 619  ax-in2 620  ax-io 717  ax-5 1496  ax-7 1497  ax-gen 1498  ax-ie1 1542  ax-ie2 1543  ax-8 1553  ax-10 1554  ax-11 1555  ax-i12 1556  ax-bndl 1558  ax-4 1559  ax-17 1575  ax-i9 1579  ax-ial 1583  ax-i5r 1584  ax-13 2207  ax-14 2208  ax-ext 2216  ax-coll 4227  ax-sep 4230  ax-nul 4238  ax-pow 4289  ax-pr 4324  ax-un 4556  ax-setind 4661  ax-iinf 4712
This theorem depends on definitions:  df-bi 117  df-dc 843  df-3or 1006  df-3an 1007  df-tru 1401  df-fal 1404  df-nf 1510  df-sb 1812  df-eu 2085  df-mo 2086  df-clab 2221  df-cleq 2227  df-clel 2230  df-nfc 2375  df-ne 2415  df-ral 2527  df-rex 2528  df-reu 2529  df-rab 2531  df-v 2817  df-sbc 3045  df-csb 3141  df-dif 3215  df-un 3217  df-in 3219  df-ss 3226  df-nul 3511  df-pw 3673  df-sn 3697  df-pr 3698  df-op 3700  df-uni 3917  df-int 3952  df-iun 3995  df-br 4112  df-opab 4174  df-mpt 4175  df-tr 4211  df-eprel 4412  df-id 4416  df-po 4419  df-iso 4420  df-iord 4489  df-on 4491  df-suc 4494  df-iom 4715  df-xp 4757  df-rel 4758  df-cnv 4759  df-co 4760  df-dm 4761  df-rn 4762  df-res 4763  df-ima 4764  df-iota 5314  df-fun 5356  df-fn 5357  df-f 5358  df-f1 5359  df-fo 5360  df-f1o 5361  df-fv 5362  df-ov 6055  df-oprab 6056  df-mpo 6057  df-1st 6336  df-2nd 6337  df-recs 6538  df-irdg 6603  df-1o 6649  df-2o 6650  df-oadd 6653  df-omul 6654  df-er 6769  df-ec 6771  df-qs 6775  df-ni 7621  df-pli 7622  df-mi 7623  df-lti 7624  df-plpq 7661  df-mpq 7662  df-enq 7664  df-nqqs 7665  df-plqqs 7666  df-mqqs 7667  df-1nqqs 7668  df-rq 7669  df-ltnqqs 7670  df-enq0 7741  df-nq0 7742  df-0nq0 7743  df-plq0 7744  df-mq0 7745  df-inp 7783  df-iplp 7785  df-enr 8043  df-nr 8044  df-plr 8045  df-c 8135  df-add 8140
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator