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

Theorem distrlem4pr 9700
Description: Lemma for distributive law for positive reals. (Contributed by NM, 2-May-1996.) (Revised by Mario Carneiro, 14-Jun-2013.) (New usage is discouraged.)
Assertion
Ref Expression
distrlem4pr (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶)))
Distinct variable groups:   𝑥,𝑦,𝑧,𝑓,𝐴   𝑥,𝐵,𝑦,𝑧,𝑓   𝑥,𝐶,𝑦,𝑧,𝑓

Proof of Theorem distrlem4pr
Dummy variables 𝑤 𝑣 𝑢 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpl2 1057 . . . . 5 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → 𝐵P)
2 simprlr 798 . . . . 5 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → 𝑦𝐵)
3 elprnq 9665 . . . . 5 ((𝐵P𝑦𝐵) → 𝑦Q)
41, 2, 3syl2anc 690 . . . 4 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → 𝑦Q)
5 simp1 1053 . . . . 5 ((𝐴P𝐵P𝐶P) → 𝐴P)
6 simprl 789 . . . . 5 (((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶)) → 𝑓𝐴)
7 elprnq 9665 . . . . 5 ((𝐴P𝑓𝐴) → 𝑓Q)
85, 6, 7syl2an 492 . . . 4 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → 𝑓Q)
9 simpl3 1058 . . . . 5 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → 𝐶P)
10 simprrr 800 . . . . 5 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → 𝑧𝐶)
11 elprnq 9665 . . . . 5 ((𝐶P𝑧𝐶) → 𝑧Q)
129, 10, 11syl2anc 690 . . . 4 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → 𝑧Q)
13 vex 3171 . . . . . 6 𝑥 ∈ V
14 vex 3171 . . . . . 6 𝑓 ∈ V
15 ltmnq 9646 . . . . . 6 (𝑢Q → (𝑤 <Q 𝑣 ↔ (𝑢 ·Q 𝑤) <Q (𝑢 ·Q 𝑣)))
16 vex 3171 . . . . . 6 𝑦 ∈ V
17 mulcomnq 9627 . . . . . 6 (𝑤 ·Q 𝑣) = (𝑣 ·Q 𝑤)
1813, 14, 15, 16, 17caovord2 6717 . . . . 5 (𝑦Q → (𝑥 <Q 𝑓 ↔ (𝑥 ·Q 𝑦) <Q (𝑓 ·Q 𝑦)))
19 mulclnq 9621 . . . . . 6 ((𝑓Q𝑧Q) → (𝑓 ·Q 𝑧) ∈ Q)
20 ovex 6551 . . . . . . 7 (𝑥 ·Q 𝑦) ∈ V
21 ovex 6551 . . . . . . 7 (𝑓 ·Q 𝑦) ∈ V
22 ltanq 9645 . . . . . . 7 (𝑢Q → (𝑤 <Q 𝑣 ↔ (𝑢 +Q 𝑤) <Q (𝑢 +Q 𝑣)))
23 ovex 6551 . . . . . . 7 (𝑓 ·Q 𝑧) ∈ V
24 addcomnq 9625 . . . . . . 7 (𝑤 +Q 𝑣) = (𝑣 +Q 𝑤)
2520, 21, 22, 23, 24caovord2 6717 . . . . . 6 ((𝑓 ·Q 𝑧) ∈ Q → ((𝑥 ·Q 𝑦) <Q (𝑓 ·Q 𝑦) ↔ ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧))))
2619, 25syl 17 . . . . 5 ((𝑓Q𝑧Q) → ((𝑥 ·Q 𝑦) <Q (𝑓 ·Q 𝑦) ↔ ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧))))
2718, 26sylan9bb 731 . . . 4 ((𝑦Q ∧ (𝑓Q𝑧Q)) → (𝑥 <Q 𝑓 ↔ ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧))))
284, 8, 12, 27syl12anc 1315 . . 3 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → (𝑥 <Q 𝑓 ↔ ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧))))
29 simpl1 1056 . . . . 5 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → 𝐴P)
30 addclpr 9692 . . . . . . 7 ((𝐵P𝐶P) → (𝐵 +P 𝐶) ∈ P)
31303adant1 1071 . . . . . 6 ((𝐴P𝐵P𝐶P) → (𝐵 +P 𝐶) ∈ P)
3231adantr 479 . . . . 5 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → (𝐵 +P 𝐶) ∈ P)
33 mulclpr 9694 . . . . 5 ((𝐴P ∧ (𝐵 +P 𝐶) ∈ P) → (𝐴 ·P (𝐵 +P 𝐶)) ∈ P)
3429, 32, 33syl2anc 690 . . . 4 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → (𝐴 ·P (𝐵 +P 𝐶)) ∈ P)
35 distrnq 9635 . . . . 5 (𝑓 ·Q (𝑦 +Q 𝑧)) = ((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧))
36 simprrl 799 . . . . . 6 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → 𝑓𝐴)
37 df-plp 9657 . . . . . . . . 9 +P = (𝑢P, 𝑣P ↦ {𝑤 ∣ ∃𝑔𝑢𝑣 𝑤 = (𝑔 +Q )})
38 addclnq 9619 . . . . . . . . 9 ((𝑔QQ) → (𝑔 +Q ) ∈ Q)
3937, 38genpprecl 9675 . . . . . . . 8 ((𝐵P𝐶P) → ((𝑦𝐵𝑧𝐶) → (𝑦 +Q 𝑧) ∈ (𝐵 +P 𝐶)))
4039imp 443 . . . . . . 7 (((𝐵P𝐶P) ∧ (𝑦𝐵𝑧𝐶)) → (𝑦 +Q 𝑧) ∈ (𝐵 +P 𝐶))
411, 9, 2, 10, 40syl22anc 1318 . . . . . 6 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → (𝑦 +Q 𝑧) ∈ (𝐵 +P 𝐶))
42 df-mp 9658 . . . . . . . 8 ·P = (𝑢P, 𝑣P ↦ {𝑤 ∣ ∃𝑔𝑢𝑣 𝑤 = (𝑔 ·Q )})
43 mulclnq 9621 . . . . . . . 8 ((𝑔QQ) → (𝑔 ·Q ) ∈ Q)
4442, 43genpprecl 9675 . . . . . . 7 ((𝐴P ∧ (𝐵 +P 𝐶) ∈ P) → ((𝑓𝐴 ∧ (𝑦 +Q 𝑧) ∈ (𝐵 +P 𝐶)) → (𝑓 ·Q (𝑦 +Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶))))
4544imp 443 . . . . . 6 (((𝐴P ∧ (𝐵 +P 𝐶) ∈ P) ∧ (𝑓𝐴 ∧ (𝑦 +Q 𝑧) ∈ (𝐵 +P 𝐶))) → (𝑓 ·Q (𝑦 +Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶)))
4629, 32, 36, 41, 45syl22anc 1318 . . . . 5 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → (𝑓 ·Q (𝑦 +Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶)))
4735, 46syl5eqelr 2688 . . . 4 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → ((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶)))
48 prcdnq 9667 . . . 4 (((𝐴 ·P (𝐵 +P 𝐶)) ∈ P ∧ ((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶))) → (((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶))))
4934, 47, 48syl2anc 690 . . 3 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → (((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶))))
5028, 49sylbid 228 . 2 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → (𝑥 <Q 𝑓 → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶))))
51 simpll 785 . . . . 5 (((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶)) → 𝑥𝐴)
52 elprnq 9665 . . . . 5 ((𝐴P𝑥𝐴) → 𝑥Q)
535, 51, 52syl2an 492 . . . 4 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → 𝑥Q)
54 vex 3171 . . . . . 6 𝑧 ∈ V
5514, 13, 15, 54, 17caovord2 6717 . . . . 5 (𝑧Q → (𝑓 <Q 𝑥 ↔ (𝑓 ·Q 𝑧) <Q (𝑥 ·Q 𝑧)))
56 mulclnq 9621 . . . . . 6 ((𝑥Q𝑦Q) → (𝑥 ·Q 𝑦) ∈ Q)
57 ltanq 9645 . . . . . 6 ((𝑥 ·Q 𝑦) ∈ Q → ((𝑓 ·Q 𝑧) <Q (𝑥 ·Q 𝑧) ↔ ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧))))
5856, 57syl 17 . . . . 5 ((𝑥Q𝑦Q) → ((𝑓 ·Q 𝑧) <Q (𝑥 ·Q 𝑧) ↔ ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧))))
5955, 58sylan9bbr 732 . . . 4 (((𝑥Q𝑦Q) ∧ 𝑧Q) → (𝑓 <Q 𝑥 ↔ ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧))))
6053, 4, 12, 59syl21anc 1316 . . 3 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → (𝑓 <Q 𝑥 ↔ ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧))))
61 distrnq 9635 . . . . 5 (𝑥 ·Q (𝑦 +Q 𝑧)) = ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧))
62 simprll 797 . . . . . 6 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → 𝑥𝐴)
6342, 43genpprecl 9675 . . . . . . 7 ((𝐴P ∧ (𝐵 +P 𝐶) ∈ P) → ((𝑥𝐴 ∧ (𝑦 +Q 𝑧) ∈ (𝐵 +P 𝐶)) → (𝑥 ·Q (𝑦 +Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶))))
6463imp 443 . . . . . 6 (((𝐴P ∧ (𝐵 +P 𝐶) ∈ P) ∧ (𝑥𝐴 ∧ (𝑦 +Q 𝑧) ∈ (𝐵 +P 𝐶))) → (𝑥 ·Q (𝑦 +Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶)))
6529, 32, 62, 41, 64syl22anc 1318 . . . . 5 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → (𝑥 ·Q (𝑦 +Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶)))
6661, 65syl5eqelr 2688 . . . 4 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶)))
67 prcdnq 9667 . . . 4 (((𝐴 ·P (𝐵 +P 𝐶)) ∈ P ∧ ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶))) → (((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶))))
6834, 66, 67syl2anc 690 . . 3 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → (((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶))))
6960, 68sylbid 228 . 2 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → (𝑓 <Q 𝑥 → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶))))
70 ltsonq 9643 . . . . 5 <Q Or Q
71 sotrieq 4972 . . . . 5 (( <Q Or Q ∧ (𝑥Q𝑓Q)) → (𝑥 = 𝑓 ↔ ¬ (𝑥 <Q 𝑓𝑓 <Q 𝑥)))
7270, 71mpan 701 . . . 4 ((𝑥Q𝑓Q) → (𝑥 = 𝑓 ↔ ¬ (𝑥 <Q 𝑓𝑓 <Q 𝑥)))
7353, 8, 72syl2anc 690 . . 3 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → (𝑥 = 𝑓 ↔ ¬ (𝑥 <Q 𝑓𝑓 <Q 𝑥)))
74 oveq1 6530 . . . . . . 7 (𝑥 = 𝑓 → (𝑥 ·Q 𝑧) = (𝑓 ·Q 𝑧))
7574oveq2d 6539 . . . . . 6 (𝑥 = 𝑓 → ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) = ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)))
7661, 75syl5eq 2651 . . . . 5 (𝑥 = 𝑓 → (𝑥 ·Q (𝑦 +Q 𝑧)) = ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)))
7776eleq1d 2667 . . . 4 (𝑥 = 𝑓 → ((𝑥 ·Q (𝑦 +Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶)) ↔ ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶))))
7865, 77syl5ibcom 233 . . 3 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → (𝑥 = 𝑓 → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶))))
7973, 78sylbird 248 . 2 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → (¬ (𝑥 <Q 𝑓𝑓 <Q 𝑥) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶))))
8050, 69, 79ecase3d 980 1 (((𝐴P𝐵P𝐶P) ∧ ((𝑥𝐴𝑦𝐵) ∧ (𝑓𝐴𝑧𝐶))) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (𝐴 ·P (𝐵 +P 𝐶)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 194  wo 381  wa 382  w3a 1030  wcel 1975   class class class wbr 4573   Or wor 4944  (class class class)co 6523  Qcnq 9526   +Q cplq 9529   ·Q cmq 9530   <Q cltq 9532  Pcnp 9533   +P cpp 9535   ·P cmp 9536
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1711  ax-4 1726  ax-5 1825  ax-6 1873  ax-7 1920  ax-8 1977  ax-9 1984  ax-10 2004  ax-11 2019  ax-12 2031  ax-13 2228  ax-ext 2585  ax-sep 4699  ax-nul 4708  ax-pow 4760  ax-pr 4824  ax-un 6820  ax-inf2 8394
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 1700  df-sb 1866  df-eu 2457  df-mo 2458  df-clab 2592  df-cleq 2598  df-clel 2601  df-nfc 2735  df-ne 2777  df-ral 2896  df-rex 2897  df-reu 2898  df-rmo 2899  df-rab 2900  df-v 3170  df-sbc 3398  df-csb 3495  df-dif 3538  df-un 3540  df-in 3542  df-ss 3549  df-pss 3551  df-nul 3870  df-if 4032  df-pw 4105  df-sn 4121  df-pr 4123  df-tp 4125  df-op 4127  df-uni 4363  df-iun 4447  df-br 4574  df-opab 4634  df-mpt 4635  df-tr 4671  df-eprel 4935  df-id 4939  df-po 4945  df-so 4946  df-fr 4983  df-we 4985  df-xp 5030  df-rel 5031  df-cnv 5032  df-co 5033  df-dm 5034  df-rn 5035  df-res 5036  df-ima 5037  df-pred 5579  df-ord 5625  df-on 5626  df-lim 5627  df-suc 5628  df-iota 5750  df-fun 5788  df-fn 5789  df-f 5790  df-f1 5791  df-fo 5792  df-f1o 5793  df-fv 5794  df-ov 6526  df-oprab 6527  df-mpt2 6528  df-om 6931  df-1st 7032  df-2nd 7033  df-wrecs 7267  df-recs 7328  df-rdg 7366  df-1o 7420  df-oadd 7424  df-omul 7425  df-er 7602  df-ni 9546  df-pli 9547  df-mi 9548  df-lti 9549  df-plpq 9582  df-mpq 9583  df-ltpq 9584  df-enq 9585  df-nq 9586  df-erq 9587  df-plq 9588  df-mq 9589  df-1nq 9590  df-rq 9591  df-ltnq 9592  df-np 9655  df-plp 9657  df-mp 9658
This theorem is referenced by:  distrlem5pr  9701
  Copyright terms: Public domain W3C validator