Users' Mathboxes Mathbox for Andrew Salmon < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  addrcom Structured version   Visualization version   GIF version

Theorem addrcom 45564
Description: Vector addition is commutative. (Contributed by Andrew Salmon, 28-Jan-2012.)
Assertion
Ref Expression
addrcom ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → (𝐴+𝑟𝐵) = (𝐵+𝑟𝐴))

Proof of Theorem addrcom
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 addrfn 45561 . 2 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → (𝐴+𝑟𝐵) Fn ℝ)
2 addrfn 45561 . . 3 ((𝐵 ∈ 𝐷 ∧ 𝐴 ∈ 𝐶) → (𝐵+𝑟𝐴) Fn ℝ)
32ancoms 464 . 2 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → (𝐵+𝑟𝐴) Fn ℝ)
4 addcomgi 45545 . . . . . 6 ((𝐴‘𝑥) + (𝐵‘𝑥)) = ((𝐵‘𝑥) + (𝐴‘𝑥))
5 addrfv 45558 . . . . . 6 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷 ∧ 𝑥 ∈ ℝ) → ((𝐴+𝑟𝐵)‘𝑥) = ((𝐴‘𝑥) + (𝐵‘𝑥)))
6 addrfv 45558 . . . . . . 7 ((𝐵 ∈ 𝐷 ∧ 𝐴 ∈ 𝐶 ∧ 𝑥 ∈ ℝ) → ((𝐵+𝑟𝐴)‘𝑥) = ((𝐵‘𝑥) + (𝐴‘𝑥)))
763com12 1141 . . . . . 6 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷 ∧ 𝑥 ∈ ℝ) → ((𝐵+𝑟𝐴)‘𝑥) = ((𝐵‘𝑥) + (𝐴‘𝑥)))
84, 5, 73eqtr4a 2821 . . . . 5 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷 ∧ 𝑥 ∈ ℝ) → ((𝐴+𝑟𝐵)‘𝑥) = ((𝐵+𝑟𝐴)‘𝑥))
983expia 1139 . . . 4 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → (𝑥 ∈ ℝ → ((𝐴+𝑟𝐵)‘𝑥) = ((𝐵+𝑟𝐴)‘𝑥)))
109ralrimiv 3153 . . 3 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → ∀𝑥 ∈ ℝ ((𝐴+𝑟𝐵)‘𝑥) = ((𝐵+𝑟𝐴)‘𝑥))
11 eqfnfv 7032 . . 3 (((𝐴+𝑟𝐵) Fn ℝ ∧ (𝐵+𝑟𝐴) Fn ℝ) → ((𝐴+𝑟𝐵) = (𝐵+𝑟𝐴) ↔ ∀𝑥 ∈ ℝ ((𝐴+𝑟𝐵)‘𝑥) = ((𝐵+𝑟𝐴)‘𝑥)))
1210, 11syl5ibrcom 250 . 2 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → (((𝐴+𝑟𝐵) Fn ℝ ∧ (𝐵+𝑟𝐴) Fn ℝ) → (𝐴+𝑟𝐵) = (𝐵+𝑟𝐴)))
131, 3, 12mp2and 712 1 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → (𝐴+𝑟𝐵) = (𝐵+𝑟𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144  ∀wral 3076   Fn wfn 6536  ‘cfv 6541  (class class class)co 7422  ℝcr 11204   + caddc 11208  +𝑟cplusr 45546
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7753  ax-cnex 11261  ax-resscn 11262  ax-1cn 11263  ax-icn 11264  ax-addcl 11265  ax-addrcl 11266  ax-mulcl 11267  ax-mulrcl 11268  ax-mulcom 11269  ax-addass 11270  ax-mulass 11271  ax-distr 11272  ax-i2m1 11273  ax-1ne0 11274  ax-1rid 11275  ax-rnegex 11276  ax-rrecex 11277  ax-cnre 11278  ax-pre-lttri 11279  ax-pre-lttrn 11280  ax-pre-ltadd 11281  ax-addf 11284
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-po 5558  df-so 5559  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6496  df-fun 6543  df-fn 6544  df-f 6545  df-f1 6546  df-fo 6547  df-f1o 6548  df-fv 6549  df-ov 7425  df-oprab 7426  df-mpo 7427  df-er 8722  df-en 8979  df-dom 8980  df-sdom 8981  df-pnf 11350  df-mnf 11351  df-ltxr 11353  df-addr 45552
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator