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

Theorem distrlem1pr 10639
Description: Lemma for distributive law for positive reals. (Contributed by NM, 1-May-1996.) (Revised by Mario Carneiro, 13-Jun-2013.) (New usage is discouraged.)
Assertion
Ref Expression
distrlem1pr ((𝐴P𝐵P𝐶P) → (𝐴 ·P (𝐵 +P 𝐶)) ⊆ ((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶)))

Proof of Theorem distrlem1pr
Dummy variables 𝑥 𝑦 𝑧 𝑤 𝑣 𝑓 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 addclpr 10632 . . . . 5 ((𝐵P𝐶P) → (𝐵 +P 𝐶) ∈ P)
2 df-mp 10598 . . . . . 6 ·P = (𝑦P, 𝑧P ↦ {𝑓 ∣ ∃𝑔𝑦𝑧 𝑓 = (𝑔 ·Q )})
3 mulclnq 10561 . . . . . 6 ((𝑔QQ) → (𝑔 ·Q ) ∈ Q)
42, 3genpelv 10614 . . . . 5 ((𝐴P ∧ (𝐵 +P 𝐶) ∈ P) → (𝑤 ∈ (𝐴 ·P (𝐵 +P 𝐶)) ↔ ∃𝑥𝐴𝑣 ∈ (𝐵 +P 𝐶)𝑤 = (𝑥 ·Q 𝑣)))
51, 4sylan2 596 . . . 4 ((𝐴P ∧ (𝐵P𝐶P)) → (𝑤 ∈ (𝐴 ·P (𝐵 +P 𝐶)) ↔ ∃𝑥𝐴𝑣 ∈ (𝐵 +P 𝐶)𝑤 = (𝑥 ·Q 𝑣)))
653impb 1117 . . 3 ((𝐴P𝐵P𝐶P) → (𝑤 ∈ (𝐴 ·P (𝐵 +P 𝐶)) ↔ ∃𝑥𝐴𝑣 ∈ (𝐵 +P 𝐶)𝑤 = (𝑥 ·Q 𝑣)))
7 df-plp 10597 . . . . . . . . . . 11 +P = (𝑤P, 𝑥P ↦ {𝑓 ∣ ∃𝑔𝑤𝑥 𝑓 = (𝑔 +Q )})
8 addclnq 10559 . . . . . . . . . . 11 ((𝑔QQ) → (𝑔 +Q ) ∈ Q)
97, 8genpelv 10614 . . . . . . . . . 10 ((𝐵P𝐶P) → (𝑣 ∈ (𝐵 +P 𝐶) ↔ ∃𝑦𝐵𝑧𝐶 𝑣 = (𝑦 +Q 𝑧)))
1093adant1 1132 . . . . . . . . 9 ((𝐴P𝐵P𝐶P) → (𝑣 ∈ (𝐵 +P 𝐶) ↔ ∃𝑦𝐵𝑧𝐶 𝑣 = (𝑦 +Q 𝑧)))
1110adantr 484 . . . . . . . 8 (((𝐴P𝐵P𝐶P) ∧ (𝑥𝐴𝑤 = (𝑥 ·Q 𝑣))) → (𝑣 ∈ (𝐵 +P 𝐶) ↔ ∃𝑦𝐵𝑧𝐶 𝑣 = (𝑦 +Q 𝑧)))
12 simprr 773 . . . . . . . . . . . 12 (((𝐴P𝐵P𝐶P) ∧ (𝑥𝐴𝑤 = (𝑥 ·Q 𝑣))) → 𝑤 = (𝑥 ·Q 𝑣))
13 simpr 488 . . . . . . . . . . . 12 (((𝑦𝐵𝑧𝐶) ∧ 𝑣 = (𝑦 +Q 𝑧)) → 𝑣 = (𝑦 +Q 𝑧))
14 oveq2 7221 . . . . . . . . . . . . . . 15 (𝑣 = (𝑦 +Q 𝑧) → (𝑥 ·Q 𝑣) = (𝑥 ·Q (𝑦 +Q 𝑧)))
1514eqeq2d 2748 . . . . . . . . . . . . . 14 (𝑣 = (𝑦 +Q 𝑧) → (𝑤 = (𝑥 ·Q 𝑣) ↔ 𝑤 = (𝑥 ·Q (𝑦 +Q 𝑧))))
1615biimpac 482 . . . . . . . . . . . . 13 ((𝑤 = (𝑥 ·Q 𝑣) ∧ 𝑣 = (𝑦 +Q 𝑧)) → 𝑤 = (𝑥 ·Q (𝑦 +Q 𝑧)))
17 distrnq 10575 . . . . . . . . . . . . 13 (𝑥 ·Q (𝑦 +Q 𝑧)) = ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧))
1816, 17eqtrdi 2794 . . . . . . . . . . . 12 ((𝑤 = (𝑥 ·Q 𝑣) ∧ 𝑣 = (𝑦 +Q 𝑧)) → 𝑤 = ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)))
1912, 13, 18syl2an 599 . . . . . . . . . . 11 ((((𝐴P𝐵P𝐶P) ∧ (𝑥𝐴𝑤 = (𝑥 ·Q 𝑣))) ∧ ((𝑦𝐵𝑧𝐶) ∧ 𝑣 = (𝑦 +Q 𝑧))) → 𝑤 = ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)))
20 mulclpr 10634 . . . . . . . . . . . . . 14 ((𝐴P𝐵P) → (𝐴 ·P 𝐵) ∈ P)
21203adant3 1134 . . . . . . . . . . . . 13 ((𝐴P𝐵P𝐶P) → (𝐴 ·P 𝐵) ∈ P)
2221ad2antrr 726 . . . . . . . . . . . 12 ((((𝐴P𝐵P𝐶P) ∧ (𝑥𝐴𝑤 = (𝑥 ·Q 𝑣))) ∧ ((𝑦𝐵𝑧𝐶) ∧ 𝑣 = (𝑦 +Q 𝑧))) → (𝐴 ·P 𝐵) ∈ P)
23 mulclpr 10634 . . . . . . . . . . . . . 14 ((𝐴P𝐶P) → (𝐴 ·P 𝐶) ∈ P)
24233adant2 1133 . . . . . . . . . . . . 13 ((𝐴P𝐵P𝐶P) → (𝐴 ·P 𝐶) ∈ P)
2524ad2antrr 726 . . . . . . . . . . . 12 ((((𝐴P𝐵P𝐶P) ∧ (𝑥𝐴𝑤 = (𝑥 ·Q 𝑣))) ∧ ((𝑦𝐵𝑧𝐶) ∧ 𝑣 = (𝑦 +Q 𝑧))) → (𝐴 ·P 𝐶) ∈ P)
26 simpll 767 . . . . . . . . . . . . 13 (((𝑦𝐵𝑧𝐶) ∧ 𝑣 = (𝑦 +Q 𝑧)) → 𝑦𝐵)
272, 3genpprecl 10615 . . . . . . . . . . . . . . . 16 ((𝐴P𝐵P) → ((𝑥𝐴𝑦𝐵) → (𝑥 ·Q 𝑦) ∈ (𝐴 ·P 𝐵)))
28273adant3 1134 . . . . . . . . . . . . . . 15 ((𝐴P𝐵P𝐶P) → ((𝑥𝐴𝑦𝐵) → (𝑥 ·Q 𝑦) ∈ (𝐴 ·P 𝐵)))
2928impl 459 . . . . . . . . . . . . . 14 ((((𝐴P𝐵P𝐶P) ∧ 𝑥𝐴) ∧ 𝑦𝐵) → (𝑥 ·Q 𝑦) ∈ (𝐴 ·P 𝐵))
3029adantlrr 721 . . . . . . . . . . . . 13 ((((𝐴P𝐵P𝐶P) ∧ (𝑥𝐴𝑤 = (𝑥 ·Q 𝑣))) ∧ 𝑦𝐵) → (𝑥 ·Q 𝑦) ∈ (𝐴 ·P 𝐵))
3126, 30sylan2 596 . . . . . . . . . . . 12 ((((𝐴P𝐵P𝐶P) ∧ (𝑥𝐴𝑤 = (𝑥 ·Q 𝑣))) ∧ ((𝑦𝐵𝑧𝐶) ∧ 𝑣 = (𝑦 +Q 𝑧))) → (𝑥 ·Q 𝑦) ∈ (𝐴 ·P 𝐵))
32 simplr 769 . . . . . . . . . . . . 13 (((𝑦𝐵𝑧𝐶) ∧ 𝑣 = (𝑦 +Q 𝑧)) → 𝑧𝐶)
332, 3genpprecl 10615 . . . . . . . . . . . . . . . 16 ((𝐴P𝐶P) → ((𝑥𝐴𝑧𝐶) → (𝑥 ·Q 𝑧) ∈ (𝐴 ·P 𝐶)))
34333adant2 1133 . . . . . . . . . . . . . . 15 ((𝐴P𝐵P𝐶P) → ((𝑥𝐴𝑧𝐶) → (𝑥 ·Q 𝑧) ∈ (𝐴 ·P 𝐶)))
3534impl 459 . . . . . . . . . . . . . 14 ((((𝐴P𝐵P𝐶P) ∧ 𝑥𝐴) ∧ 𝑧𝐶) → (𝑥 ·Q 𝑧) ∈ (𝐴 ·P 𝐶))
3635adantlrr 721 . . . . . . . . . . . . 13 ((((𝐴P𝐵P𝐶P) ∧ (𝑥𝐴𝑤 = (𝑥 ·Q 𝑣))) ∧ 𝑧𝐶) → (𝑥 ·Q 𝑧) ∈ (𝐴 ·P 𝐶))
3732, 36sylan2 596 . . . . . . . . . . . 12 ((((𝐴P𝐵P𝐶P) ∧ (𝑥𝐴𝑤 = (𝑥 ·Q 𝑣))) ∧ ((𝑦𝐵𝑧𝐶) ∧ 𝑣 = (𝑦 +Q 𝑧))) → (𝑥 ·Q 𝑧) ∈ (𝐴 ·P 𝐶))
387, 8genpprecl 10615 . . . . . . . . . . . . 13 (((𝐴 ·P 𝐵) ∈ P ∧ (𝐴 ·P 𝐶) ∈ P) → (((𝑥 ·Q 𝑦) ∈ (𝐴 ·P 𝐵) ∧ (𝑥 ·Q 𝑧) ∈ (𝐴 ·P 𝐶)) → ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) ∈ ((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶))))
3938imp 410 . . . . . . . . . . . 12 ((((𝐴 ·P 𝐵) ∈ P ∧ (𝐴 ·P 𝐶) ∈ P) ∧ ((𝑥 ·Q 𝑦) ∈ (𝐴 ·P 𝐵) ∧ (𝑥 ·Q 𝑧) ∈ (𝐴 ·P 𝐶))) → ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) ∈ ((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶)))
4022, 25, 31, 37, 39syl22anc 839 . . . . . . . . . . 11 ((((𝐴P𝐵P𝐶P) ∧ (𝑥𝐴𝑤 = (𝑥 ·Q 𝑣))) ∧ ((𝑦𝐵𝑧𝐶) ∧ 𝑣 = (𝑦 +Q 𝑧))) → ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) ∈ ((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶)))
4119, 40eqeltrd 2838 . . . . . . . . . 10 ((((𝐴P𝐵P𝐶P) ∧ (𝑥𝐴𝑤 = (𝑥 ·Q 𝑣))) ∧ ((𝑦𝐵𝑧𝐶) ∧ 𝑣 = (𝑦 +Q 𝑧))) → 𝑤 ∈ ((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶)))
4241exp32 424 . . . . . . . . 9 (((𝐴P𝐵P𝐶P) ∧ (𝑥𝐴𝑤 = (𝑥 ·Q 𝑣))) → ((𝑦𝐵𝑧𝐶) → (𝑣 = (𝑦 +Q 𝑧) → 𝑤 ∈ ((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶)))))
4342rexlimdvv 3212 . . . . . . . 8 (((𝐴P𝐵P𝐶P) ∧ (𝑥𝐴𝑤 = (𝑥 ·Q 𝑣))) → (∃𝑦𝐵𝑧𝐶 𝑣 = (𝑦 +Q 𝑧) → 𝑤 ∈ ((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶))))
4411, 43sylbid 243 . . . . . . 7 (((𝐴P𝐵P𝐶P) ∧ (𝑥𝐴𝑤 = (𝑥 ·Q 𝑣))) → (𝑣 ∈ (𝐵 +P 𝐶) → 𝑤 ∈ ((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶))))
4544exp32 424 . . . . . 6 ((𝐴P𝐵P𝐶P) → (𝑥𝐴 → (𝑤 = (𝑥 ·Q 𝑣) → (𝑣 ∈ (𝐵 +P 𝐶) → 𝑤 ∈ ((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶))))))
4645com34 91 . . . . 5 ((𝐴P𝐵P𝐶P) → (𝑥𝐴 → (𝑣 ∈ (𝐵 +P 𝐶) → (𝑤 = (𝑥 ·Q 𝑣) → 𝑤 ∈ ((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶))))))
4746impd 414 . . . 4 ((𝐴P𝐵P𝐶P) → ((𝑥𝐴𝑣 ∈ (𝐵 +P 𝐶)) → (𝑤 = (𝑥 ·Q 𝑣) → 𝑤 ∈ ((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶)))))
4847rexlimdvv 3212 . . 3 ((𝐴P𝐵P𝐶P) → (∃𝑥𝐴𝑣 ∈ (𝐵 +P 𝐶)𝑤 = (𝑥 ·Q 𝑣) → 𝑤 ∈ ((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶))))
496, 48sylbid 243 . 2 ((𝐴P𝐵P𝐶P) → (𝑤 ∈ (𝐴 ·P (𝐵 +P 𝐶)) → 𝑤 ∈ ((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶))))
5049ssrdv 3907 1 ((𝐴P𝐵P𝐶P) → (𝐴 ·P (𝐵 +P 𝐶)) ⊆ ((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1089   = wceq 1543  wcel 2110  wrex 3062  wss 3866  (class class class)co 7213   +Q cplq 10469   ·Q cmq 10470  Pcnp 10473   +P cpp 10475   ·P cmp 10476
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523  ax-inf2 9256
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-ral 3066  df-rex 3067  df-reu 3068  df-rmo 3069  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-pss 3885  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-tp 4546  df-op 4548  df-uni 4820  df-iun 4906  df-br 5054  df-opab 5116  df-mpt 5136  df-tr 5162  df-id 5455  df-eprel 5460  df-po 5468  df-so 5469  df-fr 5509  df-we 5511  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-pred 6160  df-ord 6216  df-on 6217  df-lim 6218  df-suc 6219  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-f1 6385  df-fo 6386  df-f1o 6387  df-fv 6388  df-ov 7216  df-oprab 7217  df-mpo 7218  df-om 7645  df-1st 7761  df-2nd 7762  df-wrecs 8047  df-recs 8108  df-rdg 8146  df-1o 8202  df-oadd 8206  df-omul 8207  df-er 8391  df-ni 10486  df-pli 10487  df-mi 10488  df-lti 10489  df-plpq 10522  df-mpq 10523  df-ltpq 10524  df-enq 10525  df-nq 10526  df-erq 10527  df-plq 10528  df-mq 10529  df-1nq 10530  df-rq 10531  df-ltnq 10532  df-np 10595  df-plp 10597  df-mp 10598
This theorem is referenced by:  distrpr  10642
  Copyright terms: Public domain W3C validator