ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  distrlem4pru GIF version

Theorem distrlem4pru 7526
Description: Lemma for distributive law for positive reals. (Contributed by Jim Kingdon, 12-Dec-2019.)
Assertion
Ref Expression
distrlem4pru (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))
Distinct variable groups:   𝑥,𝑦,𝑧,𝑓,𝐴   𝑥,𝐵,𝑦,𝑧,𝑓   𝑥,𝐶,𝑦,𝑧,𝑓

Proof of Theorem distrlem4pru
Dummy variables 𝑤 𝑣 𝑢 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ltmnqg 7342 . . . . . . 7 ((𝑤Q𝑣Q𝑢Q) → (𝑤 <Q 𝑣 ↔ (𝑢 ·Q 𝑤) <Q (𝑢 ·Q 𝑣)))
21adantl 275 . . . . . 6 ((((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) ∧ (𝑤Q𝑣Q𝑢Q)) → (𝑤 <Q 𝑣 ↔ (𝑢 ·Q 𝑤) <Q (𝑢 ·Q 𝑣)))
3 simp1 987 . . . . . . 7 ((𝐴P𝐵P𝐶P) → 𝐴P)
4 simpll 519 . . . . . . 7 (((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶))) → 𝑥 ∈ (2nd𝐴))
5 prop 7416 . . . . . . . 8 (𝐴P → ⟨(1st𝐴), (2nd𝐴)⟩ ∈ P)
6 elprnqu 7423 . . . . . . . 8 ((⟨(1st𝐴), (2nd𝐴)⟩ ∈ P𝑥 ∈ (2nd𝐴)) → 𝑥Q)
75, 6sylan 281 . . . . . . 7 ((𝐴P𝑥 ∈ (2nd𝐴)) → 𝑥Q)
83, 4, 7syl2an 287 . . . . . 6 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → 𝑥Q)
9 simprl 521 . . . . . . 7 (((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶))) → 𝑓 ∈ (2nd𝐴))
10 elprnqu 7423 . . . . . . . 8 ((⟨(1st𝐴), (2nd𝐴)⟩ ∈ P𝑓 ∈ (2nd𝐴)) → 𝑓Q)
115, 10sylan 281 . . . . . . 7 ((𝐴P𝑓 ∈ (2nd𝐴)) → 𝑓Q)
123, 9, 11syl2an 287 . . . . . 6 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → 𝑓Q)
13 simpl3 992 . . . . . . 7 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → 𝐶P)
14 simprrr 530 . . . . . . 7 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → 𝑧 ∈ (2nd𝐶))
15 prop 7416 . . . . . . . 8 (𝐶P → ⟨(1st𝐶), (2nd𝐶)⟩ ∈ P)
16 elprnqu 7423 . . . . . . . 8 ((⟨(1st𝐶), (2nd𝐶)⟩ ∈ P𝑧 ∈ (2nd𝐶)) → 𝑧Q)
1715, 16sylan 281 . . . . . . 7 ((𝐶P𝑧 ∈ (2nd𝐶)) → 𝑧Q)
1813, 14, 17syl2anc 409 . . . . . 6 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → 𝑧Q)
19 mulcomnqg 7324 . . . . . . 7 ((𝑤Q𝑣Q) → (𝑤 ·Q 𝑣) = (𝑣 ·Q 𝑤))
2019adantl 275 . . . . . 6 ((((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) ∧ (𝑤Q𝑣Q)) → (𝑤 ·Q 𝑣) = (𝑣 ·Q 𝑤))
212, 8, 12, 18, 20caovord2d 6011 . . . . 5 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑥 <Q 𝑓 ↔ (𝑥 ·Q 𝑧) <Q (𝑓 ·Q 𝑧)))
22 mulclnq 7317 . . . . . . 7 ((𝑥Q𝑧Q) → (𝑥 ·Q 𝑧) ∈ Q)
238, 18, 22syl2anc 409 . . . . . 6 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑥 ·Q 𝑧) ∈ Q)
24 mulclnq 7317 . . . . . . 7 ((𝑓Q𝑧Q) → (𝑓 ·Q 𝑧) ∈ Q)
2512, 18, 24syl2anc 409 . . . . . 6 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑓 ·Q 𝑧) ∈ Q)
26 simpl2 991 . . . . . . . 8 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → 𝐵P)
27 simprlr 528 . . . . . . . 8 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → 𝑦 ∈ (2nd𝐵))
28 prop 7416 . . . . . . . . 9 (𝐵P → ⟨(1st𝐵), (2nd𝐵)⟩ ∈ P)
29 elprnqu 7423 . . . . . . . . 9 ((⟨(1st𝐵), (2nd𝐵)⟩ ∈ P𝑦 ∈ (2nd𝐵)) → 𝑦Q)
3028, 29sylan 281 . . . . . . . 8 ((𝐵P𝑦 ∈ (2nd𝐵)) → 𝑦Q)
3126, 27, 30syl2anc 409 . . . . . . 7 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → 𝑦Q)
32 mulclnq 7317 . . . . . . 7 ((𝑥Q𝑦Q) → (𝑥 ·Q 𝑦) ∈ Q)
338, 31, 32syl2anc 409 . . . . . 6 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑥 ·Q 𝑦) ∈ Q)
34 ltanqg 7341 . . . . . 6 (((𝑥 ·Q 𝑧) ∈ Q ∧ (𝑓 ·Q 𝑧) ∈ Q ∧ (𝑥 ·Q 𝑦) ∈ Q) → ((𝑥 ·Q 𝑧) <Q (𝑓 ·Q 𝑧) ↔ ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧))))
3523, 25, 33, 34syl3anc 1228 . . . . 5 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → ((𝑥 ·Q 𝑧) <Q (𝑓 ·Q 𝑧) ↔ ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧))))
3621, 35bitrd 187 . . . 4 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑥 <Q 𝑓 ↔ ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧))))
37 simpl1 990 . . . . . 6 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → 𝐴P)
38 addclpr 7478 . . . . . . . 8 ((𝐵P𝐶P) → (𝐵 +P 𝐶) ∈ P)
39383adant1 1005 . . . . . . 7 ((𝐴P𝐵P𝐶P) → (𝐵 +P 𝐶) ∈ P)
4039adantr 274 . . . . . 6 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝐵 +P 𝐶) ∈ P)
41 mulclpr 7513 . . . . . 6 ((𝐴P ∧ (𝐵 +P 𝐶) ∈ P) → (𝐴 ·P (𝐵 +P 𝐶)) ∈ P)
4237, 40, 41syl2anc 409 . . . . 5 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝐴 ·P (𝐵 +P 𝐶)) ∈ P)
43 distrnqg 7328 . . . . . . 7 ((𝑥Q𝑦Q𝑧Q) → (𝑥 ·Q (𝑦 +Q 𝑧)) = ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)))
448, 31, 18, 43syl3anc 1228 . . . . . 6 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑥 ·Q (𝑦 +Q 𝑧)) = ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)))
45 simprll 527 . . . . . . 7 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → 𝑥 ∈ (2nd𝐴))
46 df-iplp 7409 . . . . . . . . . 10 +P = (𝑢P, 𝑣P ↦ ⟨{𝑤Q ∣ ∃𝑔QQ (𝑔 ∈ (1st𝑢) ∧ ∈ (1st𝑣) ∧ 𝑤 = (𝑔 +Q ))}, {𝑤Q ∣ ∃𝑔QQ (𝑔 ∈ (2nd𝑢) ∧ ∈ (2nd𝑣) ∧ 𝑤 = (𝑔 +Q ))}⟩)
47 addclnq 7316 . . . . . . . . . 10 ((𝑔QQ) → (𝑔 +Q ) ∈ Q)
4846, 47genppreclu 7456 . . . . . . . . 9 ((𝐵P𝐶P) → ((𝑦 ∈ (2nd𝐵) ∧ 𝑧 ∈ (2nd𝐶)) → (𝑦 +Q 𝑧) ∈ (2nd ‘(𝐵 +P 𝐶))))
4948imp 123 . . . . . . . 8 (((𝐵P𝐶P) ∧ (𝑦 ∈ (2nd𝐵) ∧ 𝑧 ∈ (2nd𝐶))) → (𝑦 +Q 𝑧) ∈ (2nd ‘(𝐵 +P 𝐶)))
5026, 13, 27, 14, 49syl22anc 1229 . . . . . . 7 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑦 +Q 𝑧) ∈ (2nd ‘(𝐵 +P 𝐶)))
51 df-imp 7410 . . . . . . . . 9 ·P = (𝑢P, 𝑣P ↦ ⟨{𝑤Q ∣ ∃𝑔QQ (𝑔 ∈ (1st𝑢) ∧ ∈ (1st𝑣) ∧ 𝑤 = (𝑔 ·Q ))}, {𝑤Q ∣ ∃𝑔QQ (𝑔 ∈ (2nd𝑢) ∧ ∈ (2nd𝑣) ∧ 𝑤 = (𝑔 ·Q ))}⟩)
52 mulclnq 7317 . . . . . . . . 9 ((𝑔QQ) → (𝑔 ·Q ) ∈ Q)
5351, 52genppreclu 7456 . . . . . . . 8 ((𝐴P ∧ (𝐵 +P 𝐶) ∈ P) → ((𝑥 ∈ (2nd𝐴) ∧ (𝑦 +Q 𝑧) ∈ (2nd ‘(𝐵 +P 𝐶))) → (𝑥 ·Q (𝑦 +Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
5453imp 123 . . . . . . 7 (((𝐴P ∧ (𝐵 +P 𝐶) ∈ P) ∧ (𝑥 ∈ (2nd𝐴) ∧ (𝑦 +Q 𝑧) ∈ (2nd ‘(𝐵 +P 𝐶)))) → (𝑥 ·Q (𝑦 +Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))
5537, 40, 45, 50, 54syl22anc 1229 . . . . . 6 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑥 ·Q (𝑦 +Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))
5644, 55eqeltrrd 2244 . . . . 5 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))
57 prop 7416 . . . . . 6 ((𝐴 ·P (𝐵 +P 𝐶)) ∈ P → ⟨(1st ‘(𝐴 ·P (𝐵 +P 𝐶))), (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))⟩ ∈ P)
58 prcunqu 7426 . . . . . 6 ((⟨(1st ‘(𝐴 ·P (𝐵 +P 𝐶))), (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))⟩ ∈ P ∧ ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))) → (((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
5957, 58sylan 281 . . . . 5 (((𝐴 ·P (𝐵 +P 𝐶)) ∈ P ∧ ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))) → (((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
6042, 56, 59syl2anc 409 . . . 4 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
6136, 60sylbid 149 . . 3 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑥 <Q 𝑓 → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
622, 12, 8, 31, 20caovord2d 6011 . . . . 5 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑓 <Q 𝑥 ↔ (𝑓 ·Q 𝑦) <Q (𝑥 ·Q 𝑦)))
63 ltanqg 7341 . . . . . . 7 ((𝑤Q𝑣Q𝑢Q) → (𝑤 <Q 𝑣 ↔ (𝑢 +Q 𝑤) <Q (𝑢 +Q 𝑣)))
6463adantl 275 . . . . . 6 ((((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) ∧ (𝑤Q𝑣Q𝑢Q)) → (𝑤 <Q 𝑣 ↔ (𝑢 +Q 𝑤) <Q (𝑢 +Q 𝑣)))
65 mulclnq 7317 . . . . . . 7 ((𝑓Q𝑦Q) → (𝑓 ·Q 𝑦) ∈ Q)
6612, 31, 65syl2anc 409 . . . . . 6 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑓 ·Q 𝑦) ∈ Q)
67 addcomnqg 7322 . . . . . . 7 ((𝑤Q𝑣Q) → (𝑤 +Q 𝑣) = (𝑣 +Q 𝑤))
6867adantl 275 . . . . . 6 ((((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) ∧ (𝑤Q𝑣Q)) → (𝑤 +Q 𝑣) = (𝑣 +Q 𝑤))
6964, 66, 33, 25, 68caovord2d 6011 . . . . 5 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → ((𝑓 ·Q 𝑦) <Q (𝑥 ·Q 𝑦) ↔ ((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧))))
7062, 69bitrd 187 . . . 4 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑓 <Q 𝑥 ↔ ((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧))))
71 distrnqg 7328 . . . . . . 7 ((𝑓Q𝑦Q𝑧Q) → (𝑓 ·Q (𝑦 +Q 𝑧)) = ((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)))
7212, 31, 18, 71syl3anc 1228 . . . . . 6 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑓 ·Q (𝑦 +Q 𝑧)) = ((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)))
73 simprrl 529 . . . . . . 7 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → 𝑓 ∈ (2nd𝐴))
7451, 52genppreclu 7456 . . . . . . . 8 ((𝐴P ∧ (𝐵 +P 𝐶) ∈ P) → ((𝑓 ∈ (2nd𝐴) ∧ (𝑦 +Q 𝑧) ∈ (2nd ‘(𝐵 +P 𝐶))) → (𝑓 ·Q (𝑦 +Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
7574imp 123 . . . . . . 7 (((𝐴P ∧ (𝐵 +P 𝐶) ∈ P) ∧ (𝑓 ∈ (2nd𝐴) ∧ (𝑦 +Q 𝑧) ∈ (2nd ‘(𝐵 +P 𝐶)))) → (𝑓 ·Q (𝑦 +Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))
7637, 40, 73, 50, 75syl22anc 1229 . . . . . 6 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑓 ·Q (𝑦 +Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))
7772, 76eqeltrrd 2244 . . . . 5 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → ((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))
78 prcunqu 7426 . . . . . 6 ((⟨(1st ‘(𝐴 ·P (𝐵 +P 𝐶))), (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))⟩ ∈ P ∧ ((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))) → (((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
7957, 78sylan 281 . . . . 5 (((𝐴 ·P (𝐵 +P 𝐶)) ∈ P ∧ ((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))) → (((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
8042, 77, 79syl2anc 409 . . . 4 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (((𝑓 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) <Q ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
8170, 80sylbid 149 . . 3 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑓 <Q 𝑥 → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
8261, 81jaod 707 . 2 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → ((𝑥 <Q 𝑓𝑓 <Q 𝑥) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
83 ltsonq 7339 . . . . 5 <Q Or Q
84 nqtri3or 7337 . . . . 5 ((𝑥Q𝑓Q) → (𝑥 <Q 𝑓𝑥 = 𝑓𝑓 <Q 𝑥))
8583, 84sotritrieq 4303 . . . 4 ((𝑥Q𝑓Q) → (𝑥 = 𝑓 ↔ ¬ (𝑥 <Q 𝑓𝑓 <Q 𝑥)))
868, 12, 85syl2anc 409 . . 3 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑥 = 𝑓 ↔ ¬ (𝑥 <Q 𝑓𝑓 <Q 𝑥)))
87 oveq1 5849 . . . . . . 7 (𝑥 = 𝑓 → (𝑥 ·Q 𝑧) = (𝑓 ·Q 𝑧))
8887oveq2d 5858 . . . . . 6 (𝑥 = 𝑓 → ((𝑥 ·Q 𝑦) +Q (𝑥 ·Q 𝑧)) = ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)))
8944, 88sylan9eq 2219 . . . . 5 ((((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) ∧ 𝑥 = 𝑓) → (𝑥 ·Q (𝑦 +Q 𝑧)) = ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)))
9055adantr 274 . . . . 5 ((((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) ∧ 𝑥 = 𝑓) → (𝑥 ·Q (𝑦 +Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))
9189, 90eqeltrrd 2244 . . . 4 ((((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) ∧ 𝑥 = 𝑓) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))
9291ex 114 . . 3 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (𝑥 = 𝑓 → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
9386, 92sylbird 169 . 2 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (¬ (𝑥 <Q 𝑓𝑓 <Q 𝑥) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
94 ltdcnq 7338 . . . . 5 ((𝑥Q𝑓Q) → DECID 𝑥 <Q 𝑓)
95 ltdcnq 7338 . . . . . 6 ((𝑓Q𝑥Q) → DECID 𝑓 <Q 𝑥)
9695ancoms 266 . . . . 5 ((𝑥Q𝑓Q) → DECID 𝑓 <Q 𝑥)
97 dcor 925 . . . . 5 (DECID 𝑥 <Q 𝑓 → (DECID 𝑓 <Q 𝑥DECID (𝑥 <Q 𝑓𝑓 <Q 𝑥)))
9894, 96, 97sylc 62 . . . 4 ((𝑥Q𝑓Q) → DECID (𝑥 <Q 𝑓𝑓 <Q 𝑥))
998, 12, 98syl2anc 409 . . 3 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → DECID (𝑥 <Q 𝑓𝑓 <Q 𝑥))
100 df-dc 825 . . 3 (DECID (𝑥 <Q 𝑓𝑓 <Q 𝑥) ↔ ((𝑥 <Q 𝑓𝑓 <Q 𝑥) ∨ ¬ (𝑥 <Q 𝑓𝑓 <Q 𝑥)))
10199, 100sylib 121 . 2 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → ((𝑥 <Q 𝑓𝑓 <Q 𝑥) ∨ ¬ (𝑥 <Q 𝑓𝑓 <Q 𝑥)))
10282, 93, 101mpjaod 708 1 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 698  DECID wdc 824  w3a 968   = wceq 1343  wcel 2136  cop 3579   class class class wbr 3982  cfv 5188  (class class class)co 5842  1st c1st 6106  2nd c2nd 6107  Qcnq 7221   +Q cplq 7223   ·Q cmq 7224   <Q cltq 7226  Pcnp 7232   +P cpp 7234   ·P cmp 7235
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514  ax-iinf 4565
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3or 969  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-ral 2449  df-rex 2450  df-reu 2451  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-eprel 4267  df-id 4271  df-po 4274  df-iso 4275  df-iord 4344  df-on 4346  df-suc 4349  df-iom 4568  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-ov 5845  df-oprab 5846  df-mpo 5847  df-1st 6108  df-2nd 6109  df-recs 6273  df-irdg 6338  df-1o 6384  df-2o 6385  df-oadd 6388  df-omul 6389  df-er 6501  df-ec 6503  df-qs 6507  df-ni 7245  df-pli 7246  df-mi 7247  df-lti 7248  df-plpq 7285  df-mpq 7286  df-enq 7288  df-nqqs 7289  df-plqqs 7290  df-mqqs 7291  df-1nqqs 7292  df-rq 7293  df-ltnqqs 7294  df-enq0 7365  df-nq0 7366  df-0nq0 7367  df-plq0 7368  df-mq0 7369  df-inp 7407  df-iplp 7409  df-imp 7410
This theorem is referenced by:  distrlem5pru  7528
  Copyright terms: Public domain W3C validator