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

Theorem distrsr 10848
Description: Multiplication of signed reals is distributive. (Contributed by NM, 2-Sep-1995.) (Revised by Mario Carneiro, 28-Apr-2015.) (New usage is discouraged.)
Assertion
Ref Expression
distrsr (𝐴 ·R (𝐵 +R 𝐶)) = ((𝐴 ·R 𝐵) +R (𝐴 ·R 𝐶))

Proof of Theorem distrsr
Dummy variables 𝑓 𝑔 𝑢 𝑣 𝑤 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-nr 10813 . . 3 R = ((P × P) / ~R )
2 addsrpr 10832 . . 3 (((𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ([⟨𝑧, 𝑤⟩] ~R +R [⟨𝑣, 𝑢⟩] ~R ) = [⟨(𝑧 +P 𝑣), (𝑤 +P 𝑢)⟩] ~R )
3 mulsrpr 10833 . . 3 (((𝑥P𝑦P) ∧ ((𝑧 +P 𝑣) ∈ P ∧ (𝑤 +P 𝑢) ∈ P)) → ([⟨𝑥, 𝑦⟩] ~R ·R [⟨(𝑧 +P 𝑣), (𝑤 +P 𝑢)⟩] ~R ) = [⟨((𝑥 ·P (𝑧 +P 𝑣)) +P (𝑦 ·P (𝑤 +P 𝑢))), ((𝑥 ·P (𝑤 +P 𝑢)) +P (𝑦 ·P (𝑧 +P 𝑣)))⟩] ~R )
4 mulsrpr 10833 . . 3 (((𝑥P𝑦P) ∧ (𝑧P𝑤P)) → ([⟨𝑥, 𝑦⟩] ~R ·R [⟨𝑧, 𝑤⟩] ~R ) = [⟨((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)), ((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧))⟩] ~R )
5 mulsrpr 10833 . . 3 (((𝑥P𝑦P) ∧ (𝑣P𝑢P)) → ([⟨𝑥, 𝑦⟩] ~R ·R [⟨𝑣, 𝑢⟩] ~R ) = [⟨((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢)), ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣))⟩] ~R )
6 addsrpr 10832 . . 3 (((((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)) ∈ P ∧ ((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧)) ∈ P) ∧ (((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢)) ∈ P ∧ ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣)) ∈ P)) → ([⟨((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)), ((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧))⟩] ~R +R [⟨((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢)), ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣))⟩] ~R ) = [⟨(((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)) +P ((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢))), (((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧)) +P ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣)))⟩] ~R )
7 addclpr 10775 . . . . 5 ((𝑧P𝑣P) → (𝑧 +P 𝑣) ∈ P)
8 addclpr 10775 . . . . 5 ((𝑤P𝑢P) → (𝑤 +P 𝑢) ∈ P)
97, 8anim12i 613 . . . 4 (((𝑧P𝑣P) ∧ (𝑤P𝑢P)) → ((𝑧 +P 𝑣) ∈ P ∧ (𝑤 +P 𝑢) ∈ P))
109an4s 657 . . 3 (((𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ((𝑧 +P 𝑣) ∈ P ∧ (𝑤 +P 𝑢) ∈ P))
11 mulclpr 10777 . . . . . 6 ((𝑥P𝑧P) → (𝑥 ·P 𝑧) ∈ P)
12 mulclpr 10777 . . . . . 6 ((𝑦P𝑤P) → (𝑦 ·P 𝑤) ∈ P)
13 addclpr 10775 . . . . . 6 (((𝑥 ·P 𝑧) ∈ P ∧ (𝑦 ·P 𝑤) ∈ P) → ((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)) ∈ P)
1411, 12, 13syl2an 596 . . . . 5 (((𝑥P𝑧P) ∧ (𝑦P𝑤P)) → ((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)) ∈ P)
1514an4s 657 . . . 4 (((𝑥P𝑦P) ∧ (𝑧P𝑤P)) → ((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)) ∈ P)
16 mulclpr 10777 . . . . . 6 ((𝑥P𝑤P) → (𝑥 ·P 𝑤) ∈ P)
17 mulclpr 10777 . . . . . 6 ((𝑦P𝑧P) → (𝑦 ·P 𝑧) ∈ P)
18 addclpr 10775 . . . . . 6 (((𝑥 ·P 𝑤) ∈ P ∧ (𝑦 ·P 𝑧) ∈ P) → ((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧)) ∈ P)
1916, 17, 18syl2an 596 . . . . 5 (((𝑥P𝑤P) ∧ (𝑦P𝑧P)) → ((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧)) ∈ P)
2019an42s 658 . . . 4 (((𝑥P𝑦P) ∧ (𝑧P𝑤P)) → ((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧)) ∈ P)
2115, 20jca 512 . . 3 (((𝑥P𝑦P) ∧ (𝑧P𝑤P)) → (((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)) ∈ P ∧ ((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧)) ∈ P))
22 mulclpr 10777 . . . . . 6 ((𝑥P𝑣P) → (𝑥 ·P 𝑣) ∈ P)
23 mulclpr 10777 . . . . . 6 ((𝑦P𝑢P) → (𝑦 ·P 𝑢) ∈ P)
24 addclpr 10775 . . . . . 6 (((𝑥 ·P 𝑣) ∈ P ∧ (𝑦 ·P 𝑢) ∈ P) → ((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢)) ∈ P)
2522, 23, 24syl2an 596 . . . . 5 (((𝑥P𝑣P) ∧ (𝑦P𝑢P)) → ((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢)) ∈ P)
2625an4s 657 . . . 4 (((𝑥P𝑦P) ∧ (𝑣P𝑢P)) → ((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢)) ∈ P)
27 mulclpr 10777 . . . . . 6 ((𝑥P𝑢P) → (𝑥 ·P 𝑢) ∈ P)
28 mulclpr 10777 . . . . . 6 ((𝑦P𝑣P) → (𝑦 ·P 𝑣) ∈ P)
29 addclpr 10775 . . . . . 6 (((𝑥 ·P 𝑢) ∈ P ∧ (𝑦 ·P 𝑣) ∈ P) → ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣)) ∈ P)
3027, 28, 29syl2an 596 . . . . 5 (((𝑥P𝑢P) ∧ (𝑦P𝑣P)) → ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣)) ∈ P)
3130an42s 658 . . . 4 (((𝑥P𝑦P) ∧ (𝑣P𝑢P)) → ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣)) ∈ P)
3226, 31jca 512 . . 3 (((𝑥P𝑦P) ∧ (𝑣P𝑢P)) → (((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢)) ∈ P ∧ ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣)) ∈ P))
33 distrpr 10785 . . . . 5 (𝑥 ·P (𝑧 +P 𝑣)) = ((𝑥 ·P 𝑧) +P (𝑥 ·P 𝑣))
34 distrpr 10785 . . . . 5 (𝑦 ·P (𝑤 +P 𝑢)) = ((𝑦 ·P 𝑤) +P (𝑦 ·P 𝑢))
3533, 34oveq12i 7283 . . . 4 ((𝑥 ·P (𝑧 +P 𝑣)) +P (𝑦 ·P (𝑤 +P 𝑢))) = (((𝑥 ·P 𝑧) +P (𝑥 ·P 𝑣)) +P ((𝑦 ·P 𝑤) +P (𝑦 ·P 𝑢)))
36 ovex 7304 . . . . 5 (𝑥 ·P 𝑧) ∈ V
37 ovex 7304 . . . . 5 (𝑥 ·P 𝑣) ∈ V
38 ovex 7304 . . . . 5 (𝑦 ·P 𝑤) ∈ V
39 addcompr 10778 . . . . 5 (𝑓 +P 𝑔) = (𝑔 +P 𝑓)
40 addasspr 10779 . . . . 5 ((𝑓 +P 𝑔) +P ) = (𝑓 +P (𝑔 +P ))
41 ovex 7304 . . . . 5 (𝑦 ·P 𝑢) ∈ V
4236, 37, 38, 39, 40, 41caov4 7497 . . . 4 (((𝑥 ·P 𝑧) +P (𝑥 ·P 𝑣)) +P ((𝑦 ·P 𝑤) +P (𝑦 ·P 𝑢))) = (((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)) +P ((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢)))
4335, 42eqtri 2768 . . 3 ((𝑥 ·P (𝑧 +P 𝑣)) +P (𝑦 ·P (𝑤 +P 𝑢))) = (((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)) +P ((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢)))
44 distrpr 10785 . . . . 5 (𝑥 ·P (𝑤 +P 𝑢)) = ((𝑥 ·P 𝑤) +P (𝑥 ·P 𝑢))
45 distrpr 10785 . . . . 5 (𝑦 ·P (𝑧 +P 𝑣)) = ((𝑦 ·P 𝑧) +P (𝑦 ·P 𝑣))
4644, 45oveq12i 7283 . . . 4 ((𝑥 ·P (𝑤 +P 𝑢)) +P (𝑦 ·P (𝑧 +P 𝑣))) = (((𝑥 ·P 𝑤) +P (𝑥 ·P 𝑢)) +P ((𝑦 ·P 𝑧) +P (𝑦 ·P 𝑣)))
47 ovex 7304 . . . . 5 (𝑥 ·P 𝑤) ∈ V
48 ovex 7304 . . . . 5 (𝑥 ·P 𝑢) ∈ V
49 ovex 7304 . . . . 5 (𝑦 ·P 𝑧) ∈ V
50 ovex 7304 . . . . 5 (𝑦 ·P 𝑣) ∈ V
5147, 48, 49, 39, 40, 50caov4 7497 . . . 4 (((𝑥 ·P 𝑤) +P (𝑥 ·P 𝑢)) +P ((𝑦 ·P 𝑧) +P (𝑦 ·P 𝑣))) = (((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧)) +P ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣)))
5246, 51eqtri 2768 . . 3 ((𝑥 ·P (𝑤 +P 𝑢)) +P (𝑦 ·P (𝑧 +P 𝑣))) = (((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧)) +P ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣)))
531, 2, 3, 4, 5, 6, 10, 21, 32, 43, 52ecovdi 8597 . 2 ((𝐴R𝐵R𝐶R) → (𝐴 ·R (𝐵 +R 𝐶)) = ((𝐴 ·R 𝐵) +R (𝐴 ·R 𝐶)))
54 dmaddsr 10842 . . 3 dom +R = (R × R)
55 0nsr 10836 . . 3 ¬ ∅ ∈ R
56 dmmulsr 10843 . . 3 dom ·R = (R × R)
5754, 55, 56ndmovdistr 7455 . 2 (¬ (𝐴R𝐵R𝐶R) → (𝐴 ·R (𝐵 +R 𝐶)) = ((𝐴 ·R 𝐵) +R (𝐴 ·R 𝐶)))
5853, 57pm2.61i 182 1 (𝐴 ·R (𝐵 +R 𝐶)) = ((𝐴 ·R 𝐵) +R (𝐴 ·R 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wa 396  w3a 1086   = wceq 1542  wcel 2110  (class class class)co 7271  Pcnp 10616   +P cpp 10618   ·P cmp 10619   ~R cer 10621  Rcnr 10622   +R cplr 10626   ·R cmr 10627
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-sep 5227  ax-nul 5234  ax-pow 5292  ax-pr 5356  ax-un 7582  ax-inf2 9377
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-ral 3071  df-rex 3072  df-reu 3073  df-rmo 3074  df-rab 3075  df-v 3433  df-sbc 3721  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-pss 3911  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4846  df-int 4886  df-iun 4932  df-br 5080  df-opab 5142  df-mpt 5163  df-tr 5197  df-id 5490  df-eprel 5496  df-po 5504  df-so 5505  df-fr 5545  df-we 5547  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-pred 6201  df-ord 6268  df-on 6269  df-lim 6270  df-suc 6271  df-iota 6390  df-fun 6434  df-fn 6435  df-f 6436  df-f1 6437  df-fo 6438  df-f1o 6439  df-fv 6440  df-ov 7274  df-oprab 7275  df-mpo 7276  df-om 7707  df-1st 7824  df-2nd 7825  df-frecs 8088  df-wrecs 8119  df-recs 8193  df-rdg 8232  df-1o 8288  df-oadd 8292  df-omul 8293  df-er 8481  df-ec 8483  df-qs 8487  df-ni 10629  df-pli 10630  df-mi 10631  df-lti 10632  df-plpq 10665  df-mpq 10666  df-ltpq 10667  df-enq 10668  df-nq 10669  df-erq 10670  df-plq 10671  df-mq 10672  df-1nq 10673  df-rq 10674  df-ltnq 10675  df-np 10738  df-plp 10740  df-mp 10741  df-ltp 10742  df-enr 10812  df-nr 10813  df-plr 10814  df-mr 10815
This theorem is referenced by:  pn0sr  10858  axmulass  10914  axdistr  10915
  Copyright terms: Public domain W3C validator