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

Theorem add12 7266
Description: Commutative/associative law that swaps the first two terms in a triple sum. (Contributed by NM, 11-May-2004.)
Assertion
Ref Expression
add12  |-  ( ( A  e.  CC  /\  B  e.  CC  /\  C  e.  CC )  ->  ( A  +  ( B  +  C ) )  =  ( B  +  ( A  +  C ) ) )

Proof of Theorem add12
StepHypRef Expression
1 addcom 7245 . . . 4  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( A  +  B
)  =  ( B  +  A ) )
21oveq1d 5547 . . 3  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( ( A  +  B )  +  C
)  =  ( ( B  +  A )  +  C ) )
323adant3 958 . 2  |-  ( ( A  e.  CC  /\  B  e.  CC  /\  C  e.  CC )  ->  (
( A  +  B
)  +  C )  =  ( ( B  +  A )  +  C ) )
4 addass 7103 . 2  |-  ( ( A  e.  CC  /\  B  e.  CC  /\  C  e.  CC )  ->  (
( A  +  B
)  +  C )  =  ( A  +  ( B  +  C
) ) )
5 addass 7103 . . 3  |-  ( ( B  e.  CC  /\  A  e.  CC  /\  C  e.  CC )  ->  (
( B  +  A
)  +  C )  =  ( B  +  ( A  +  C
) ) )
653com12 1142 . 2  |-  ( ( A  e.  CC  /\  B  e.  CC  /\  C  e.  CC )  ->  (
( B  +  A
)  +  C )  =  ( B  +  ( A  +  C
) ) )
73, 4, 63eqtr3d 2121 1  |-  ( ( A  e.  CC  /\  B  e.  CC  /\  C  e.  CC )  ->  ( A  +  ( B  +  C ) )  =  ( B  +  ( A  +  C ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 102    /\ w3a 919    = wceq 1284    e. wcel 1433  (class class class)co 5532   CCcc 6979    + caddc 6984
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063  ax-addcom 7076  ax-addass 7078
This theorem depends on definitions:  df-bi 115  df-3an 921  df-tru 1287  df-nf 1390  df-sb 1686  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-rex 2354  df-v 2603  df-un 2977  df-sn 3404  df-pr 3405  df-op 3407  df-uni 3602  df-br 3786  df-iota 4887  df-fv 4930  df-ov 5535
This theorem is referenced by:  add4  7269  add12i  7271  add12d  7275
  Copyright terms: Public domain W3C validator