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

Theorem distrsr 9666
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 9632 . . 3 R = ((P × P) / ~R )
2 addsrpr 9650 . . 3 (((𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ([⟨𝑧, 𝑤⟩] ~R +R [⟨𝑣, 𝑢⟩] ~R ) = [⟨(𝑧 +P 𝑣), (𝑤 +P 𝑢)⟩] ~R )
3 mulsrpr 9651 . . 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 9651 . . 3 (((𝑥P𝑦P) ∧ (𝑧P𝑤P)) → ([⟨𝑥, 𝑦⟩] ~R ·R [⟨𝑧, 𝑤⟩] ~R ) = [⟨((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)), ((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧))⟩] ~R )
5 mulsrpr 9651 . . 3 (((𝑥P𝑦P) ∧ (𝑣P𝑢P)) → ([⟨𝑥, 𝑦⟩] ~R ·R [⟨𝑣, 𝑢⟩] ~R ) = [⟨((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢)), ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣))⟩] ~R )
6 addsrpr 9650 . . 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 9594 . . . . 5 ((𝑧P𝑣P) → (𝑧 +P 𝑣) ∈ P)
8 addclpr 9594 . . . . 5 ((𝑤P𝑢P) → (𝑤 +P 𝑢) ∈ P)
97, 8anim12i 587 . . . 4 (((𝑧P𝑣P) ∧ (𝑤P𝑢P)) → ((𝑧 +P 𝑣) ∈ P ∧ (𝑤 +P 𝑢) ∈ P))
109an4s 864 . . 3 (((𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ((𝑧 +P 𝑣) ∈ P ∧ (𝑤 +P 𝑢) ∈ P))
11 mulclpr 9596 . . . . . 6 ((𝑥P𝑧P) → (𝑥 ·P 𝑧) ∈ P)
12 mulclpr 9596 . . . . . 6 ((𝑦P𝑤P) → (𝑦 ·P 𝑤) ∈ P)
13 addclpr 9594 . . . . . 6 (((𝑥 ·P 𝑧) ∈ P ∧ (𝑦 ·P 𝑤) ∈ P) → ((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)) ∈ P)
1411, 12, 13syl2an 492 . . . . 5 (((𝑥P𝑧P) ∧ (𝑦P𝑤P)) → ((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)) ∈ P)
1514an4s 864 . . . 4 (((𝑥P𝑦P) ∧ (𝑧P𝑤P)) → ((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)) ∈ P)
16 mulclpr 9596 . . . . . 6 ((𝑥P𝑤P) → (𝑥 ·P 𝑤) ∈ P)
17 mulclpr 9596 . . . . . 6 ((𝑦P𝑧P) → (𝑦 ·P 𝑧) ∈ P)
18 addclpr 9594 . . . . . 6 (((𝑥 ·P 𝑤) ∈ P ∧ (𝑦 ·P 𝑧) ∈ P) → ((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧)) ∈ P)
1916, 17, 18syl2an 492 . . . . 5 (((𝑥P𝑤P) ∧ (𝑦P𝑧P)) → ((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧)) ∈ P)
2019an42s 865 . . . 4 (((𝑥P𝑦P) ∧ (𝑧P𝑤P)) → ((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧)) ∈ P)
2115, 20jca 552 . . 3 (((𝑥P𝑦P) ∧ (𝑧P𝑤P)) → (((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)) ∈ P ∧ ((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧)) ∈ P))
22 mulclpr 9596 . . . . . 6 ((𝑥P𝑣P) → (𝑥 ·P 𝑣) ∈ P)
23 mulclpr 9596 . . . . . 6 ((𝑦P𝑢P) → (𝑦 ·P 𝑢) ∈ P)
24 addclpr 9594 . . . . . 6 (((𝑥 ·P 𝑣) ∈ P ∧ (𝑦 ·P 𝑢) ∈ P) → ((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢)) ∈ P)
2522, 23, 24syl2an 492 . . . . 5 (((𝑥P𝑣P) ∧ (𝑦P𝑢P)) → ((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢)) ∈ P)
2625an4s 864 . . . 4 (((𝑥P𝑦P) ∧ (𝑣P𝑢P)) → ((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢)) ∈ P)
27 mulclpr 9596 . . . . . 6 ((𝑥P𝑢P) → (𝑥 ·P 𝑢) ∈ P)
28 mulclpr 9596 . . . . . 6 ((𝑦P𝑣P) → (𝑦 ·P 𝑣) ∈ P)
29 addclpr 9594 . . . . . 6 (((𝑥 ·P 𝑢) ∈ P ∧ (𝑦 ·P 𝑣) ∈ P) → ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣)) ∈ P)
3027, 28, 29syl2an 492 . . . . 5 (((𝑥P𝑢P) ∧ (𝑦P𝑣P)) → ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣)) ∈ P)
3130an42s 865 . . . 4 (((𝑥P𝑦P) ∧ (𝑣P𝑢P)) → ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣)) ∈ P)
3226, 31jca 552 . . 3 (((𝑥P𝑦P) ∧ (𝑣P𝑢P)) → (((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢)) ∈ P ∧ ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣)) ∈ P))
33 distrpr 9604 . . . . 5 (𝑥 ·P (𝑧 +P 𝑣)) = ((𝑥 ·P 𝑧) +P (𝑥 ·P 𝑣))
34 distrpr 9604 . . . . 5 (𝑦 ·P (𝑤 +P 𝑢)) = ((𝑦 ·P 𝑤) +P (𝑦 ·P 𝑢))
3533, 34oveq12i 6437 . . . 4 ((𝑥 ·P (𝑧 +P 𝑣)) +P (𝑦 ·P (𝑤 +P 𝑢))) = (((𝑥 ·P 𝑧) +P (𝑥 ·P 𝑣)) +P ((𝑦 ·P 𝑤) +P (𝑦 ·P 𝑢)))
36 ovex 6453 . . . . 5 (𝑥 ·P 𝑧) ∈ V
37 ovex 6453 . . . . 5 (𝑥 ·P 𝑣) ∈ V
38 ovex 6453 . . . . 5 (𝑦 ·P 𝑤) ∈ V
39 addcompr 9597 . . . . 5 (𝑓 +P 𝑔) = (𝑔 +P 𝑓)
40 addasspr 9598 . . . . 5 ((𝑓 +P 𝑔) +P ) = (𝑓 +P (𝑔 +P ))
41 ovex 6453 . . . . 5 (𝑦 ·P 𝑢) ∈ V
4236, 37, 38, 39, 40, 41caov4 6638 . . . 4 (((𝑥 ·P 𝑧) +P (𝑥 ·P 𝑣)) +P ((𝑦 ·P 𝑤) +P (𝑦 ·P 𝑢))) = (((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)) +P ((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢)))
4335, 42eqtri 2536 . . 3 ((𝑥 ·P (𝑧 +P 𝑣)) +P (𝑦 ·P (𝑤 +P 𝑢))) = (((𝑥 ·P 𝑧) +P (𝑦 ·P 𝑤)) +P ((𝑥 ·P 𝑣) +P (𝑦 ·P 𝑢)))
44 distrpr 9604 . . . . 5 (𝑥 ·P (𝑤 +P 𝑢)) = ((𝑥 ·P 𝑤) +P (𝑥 ·P 𝑢))
45 distrpr 9604 . . . . 5 (𝑦 ·P (𝑧 +P 𝑣)) = ((𝑦 ·P 𝑧) +P (𝑦 ·P 𝑣))
4644, 45oveq12i 6437 . . . 4 ((𝑥 ·P (𝑤 +P 𝑢)) +P (𝑦 ·P (𝑧 +P 𝑣))) = (((𝑥 ·P 𝑤) +P (𝑥 ·P 𝑢)) +P ((𝑦 ·P 𝑧) +P (𝑦 ·P 𝑣)))
47 ovex 6453 . . . . 5 (𝑥 ·P 𝑤) ∈ V
48 ovex 6453 . . . . 5 (𝑥 ·P 𝑢) ∈ V
49 ovex 6453 . . . . 5 (𝑦 ·P 𝑧) ∈ V
50 ovex 6453 . . . . 5 (𝑦 ·P 𝑣) ∈ V
5147, 48, 49, 39, 40, 50caov4 6638 . . . 4 (((𝑥 ·P 𝑤) +P (𝑥 ·P 𝑢)) +P ((𝑦 ·P 𝑧) +P (𝑦 ·P 𝑣))) = (((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧)) +P ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣)))
5246, 51eqtri 2536 . . 3 ((𝑥 ·P (𝑤 +P 𝑢)) +P (𝑦 ·P (𝑧 +P 𝑣))) = (((𝑥 ·P 𝑤) +P (𝑦 ·P 𝑧)) +P ((𝑥 ·P 𝑢) +P (𝑦 ·P 𝑣)))
531, 2, 3, 4, 5, 6, 10, 21, 32, 43, 52ecovdi 7618 . 2 ((𝐴R𝐵R𝐶R) → (𝐴 ·R (𝐵 +R 𝐶)) = ((𝐴 ·R 𝐵) +R (𝐴 ·R 𝐶)))
54 dmaddsr 9660 . . 3 dom +R = (R × R)
55 0nsr 9654 . . 3 ¬ ∅ ∈ R
56 dmmulsr 9661 . . 3 dom ·R = (R × R)
5754, 55, 56ndmovdistr 6596 . 2 (¬ (𝐴R𝐵R𝐶R) → (𝐴 ·R (𝐵 +R 𝐶)) = ((𝐴 ·R 𝐵) +R (𝐴 ·R 𝐶)))
5853, 57pm2.61i 174 1 (𝐴 ·R (𝐵 +R 𝐶)) = ((𝐴 ·R 𝐵) +R (𝐴 ·R 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wa 382  w3a 1030   = wceq 1474  wcel 1938  (class class class)co 6425  Pcnp 9435   +P cpp 9437   ·P cmp 9438   ~R cer 9440  Rcnr 9441   +R cplr 9445   ·R cmr 9446
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1700  ax-4 1713  ax-5 1793  ax-6 1838  ax-7 1885  ax-8 1940  ax-9 1947  ax-10 1966  ax-11 1971  ax-12 1983  ax-13 2137  ax-ext 2494  ax-sep 4607  ax-nul 4616  ax-pow 4668  ax-pr 4732  ax-un 6722  ax-inf2 8296
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3or 1031  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1699  df-sb 1831  df-eu 2366  df-mo 2367  df-clab 2501  df-cleq 2507  df-clel 2510  df-nfc 2644  df-ne 2686  df-ral 2805  df-rex 2806  df-reu 2807  df-rmo 2808  df-rab 2809  df-v 3079  df-sbc 3307  df-csb 3404  df-dif 3447  df-un 3449  df-in 3451  df-ss 3458  df-pss 3460  df-nul 3778  df-if 3940  df-pw 4013  df-sn 4029  df-pr 4031  df-tp 4033  df-op 4035  df-uni 4271  df-int 4309  df-iun 4355  df-br 4482  df-opab 4542  df-mpt 4543  df-tr 4579  df-eprel 4843  df-id 4847  df-po 4853  df-so 4854  df-fr 4891  df-we 4893  df-xp 4938  df-rel 4939  df-cnv 4940  df-co 4941  df-dm 4942  df-rn 4943  df-res 4944  df-ima 4945  df-pred 5487  df-ord 5533  df-on 5534  df-lim 5535  df-suc 5536  df-iota 5653  df-fun 5691  df-fn 5692  df-f 5693  df-f1 5694  df-fo 5695  df-f1o 5696  df-fv 5697  df-ov 6428  df-oprab 6429  df-mpt2 6430  df-om 6833  df-1st 6933  df-2nd 6934  df-wrecs 7168  df-recs 7230  df-rdg 7268  df-1o 7322  df-oadd 7326  df-omul 7327  df-er 7504  df-ec 7506  df-qs 7510  df-ni 9448  df-pli 9449  df-mi 9450  df-lti 9451  df-plpq 9484  df-mpq 9485  df-ltpq 9486  df-enq 9487  df-nq 9488  df-erq 9489  df-plq 9490  df-mq 9491  df-1nq 9492  df-rq 9493  df-ltnq 9494  df-np 9557  df-plp 9559  df-mp 9560  df-ltp 9561  df-enr 9631  df-nr 9632  df-plr 9633  df-mr 9634
This theorem is referenced by:  pn0sr  9676  axmulass  9732  axdistr  9733
  Copyright terms: Public domain W3C validator