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

Theorem distrlem5pru 7209
 Description: Lemma for distributive law for positive reals. (Contributed by Jim Kingdon, 12-Dec-2019.)
Assertion
Ref Expression
distrlem5pru ((𝐴P𝐵P𝐶P) → (2nd ‘((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶))) ⊆ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))

Proof of Theorem distrlem5pru
Dummy variables 𝑥 𝑦 𝑧 𝑤 𝑣 𝑢 𝑓 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mulclpr 7194 . . . . 5 ((𝐴P𝐵P) → (𝐴 ·P 𝐵) ∈ P)
213adant3 964 . . . 4 ((𝐴P𝐵P𝐶P) → (𝐴 ·P 𝐵) ∈ P)
3 mulclpr 7194 . . . . 5 ((𝐴P𝐶P) → (𝐴 ·P 𝐶) ∈ P)
433adant2 963 . . . 4 ((𝐴P𝐵P𝐶P) → (𝐴 ·P 𝐶) ∈ P)
5 df-iplp 7090 . . . . 5 +P = (𝑥P, 𝑦P ↦ ⟨{𝑓Q ∣ ∃𝑔QQ (𝑔 ∈ (1st𝑥) ∧ ∈ (1st𝑦) ∧ 𝑓 = (𝑔 +Q ))}, {𝑓Q ∣ ∃𝑔QQ (𝑔 ∈ (2nd𝑥) ∧ ∈ (2nd𝑦) ∧ 𝑓 = (𝑔 +Q ))}⟩)
6 addclnq 6997 . . . . 5 ((𝑔QQ) → (𝑔 +Q ) ∈ Q)
75, 6genpelvu 7135 . . . 4 (((𝐴 ·P 𝐵) ∈ P ∧ (𝐴 ·P 𝐶) ∈ P) → (𝑤 ∈ (2nd ‘((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶))) ↔ ∃𝑣 ∈ (2nd ‘(𝐴 ·P 𝐵))∃𝑢 ∈ (2nd ‘(𝐴 ·P 𝐶))𝑤 = (𝑣 +Q 𝑢)))
82, 4, 7syl2anc 404 . . 3 ((𝐴P𝐵P𝐶P) → (𝑤 ∈ (2nd ‘((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶))) ↔ ∃𝑣 ∈ (2nd ‘(𝐴 ·P 𝐵))∃𝑢 ∈ (2nd ‘(𝐴 ·P 𝐶))𝑤 = (𝑣 +Q 𝑢)))
9 df-imp 7091 . . . . . . . 8 ·P = (𝑤P, 𝑣P ↦ ⟨{𝑥Q ∣ ∃𝑔QQ (𝑔 ∈ (1st𝑤) ∧ ∈ (1st𝑣) ∧ 𝑥 = (𝑔 ·Q ))}, {𝑥Q ∣ ∃𝑔QQ (𝑔 ∈ (2nd𝑤) ∧ ∈ (2nd𝑣) ∧ 𝑥 = (𝑔 ·Q ))}⟩)
10 mulclnq 6998 . . . . . . . 8 ((𝑔QQ) → (𝑔 ·Q ) ∈ Q)
119, 10genpelvu 7135 . . . . . . 7 ((𝐴P𝐶P) → (𝑢 ∈ (2nd ‘(𝐴 ·P 𝐶)) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑧 ∈ (2nd𝐶)𝑢 = (𝑓 ·Q 𝑧)))
12113adant2 963 . . . . . 6 ((𝐴P𝐵P𝐶P) → (𝑢 ∈ (2nd ‘(𝐴 ·P 𝐶)) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑧 ∈ (2nd𝐶)𝑢 = (𝑓 ·Q 𝑧)))
1312anbi2d 453 . . . . 5 ((𝐴P𝐵P𝐶P) → ((𝑣 ∈ (2nd ‘(𝐴 ·P 𝐵)) ∧ 𝑢 ∈ (2nd ‘(𝐴 ·P 𝐶))) ↔ (𝑣 ∈ (2nd ‘(𝐴 ·P 𝐵)) ∧ ∃𝑓 ∈ (2nd𝐴)∃𝑧 ∈ (2nd𝐶)𝑢 = (𝑓 ·Q 𝑧))))
14 df-imp 7091 . . . . . . . . 9 ·P = (𝑤P, 𝑣P ↦ ⟨{𝑓Q ∣ ∃𝑔QQ (𝑔 ∈ (1st𝑤) ∧ ∈ (1st𝑣) ∧ 𝑓 = (𝑔 ·Q ))}, {𝑓Q ∣ ∃𝑔QQ (𝑔 ∈ (2nd𝑤) ∧ ∈ (2nd𝑣) ∧ 𝑓 = (𝑔 ·Q ))}⟩)
1514, 10genpelvu 7135 . . . . . . . 8 ((𝐴P𝐵P) → (𝑣 ∈ (2nd ‘(𝐴 ·P 𝐵)) ↔ ∃𝑥 ∈ (2nd𝐴)∃𝑦 ∈ (2nd𝐵)𝑣 = (𝑥 ·Q 𝑦)))
16153adant3 964 . . . . . . 7 ((𝐴P𝐵P𝐶P) → (𝑣 ∈ (2nd ‘(𝐴 ·P 𝐵)) ↔ ∃𝑥 ∈ (2nd𝐴)∃𝑦 ∈ (2nd𝐵)𝑣 = (𝑥 ·Q 𝑦)))
17 distrlem4pru 7207 . . . . . . . . . . . . . . 15 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))
18 oveq12 5677 . . . . . . . . . . . . . . . . . 18 ((𝑣 = (𝑥 ·Q 𝑦) ∧ 𝑢 = (𝑓 ·Q 𝑧)) → (𝑣 +Q 𝑢) = ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)))
1918eqeq2d 2100 . . . . . . . . . . . . . . . . 17 ((𝑣 = (𝑥 ·Q 𝑦) ∧ 𝑢 = (𝑓 ·Q 𝑧)) → (𝑤 = (𝑣 +Q 𝑢) ↔ 𝑤 = ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧))))
20 eleq1 2151 . . . . . . . . . . . . . . . . 17 (𝑤 = ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) → (𝑤 ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))) ↔ ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
2119, 20syl6bi 162 . . . . . . . . . . . . . . . 16 ((𝑣 = (𝑥 ·Q 𝑦) ∧ 𝑢 = (𝑓 ·Q 𝑧)) → (𝑤 = (𝑣 +Q 𝑢) → (𝑤 ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))) ↔ ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))))
2221imp 123 . . . . . . . . . . . . . . 15 (((𝑣 = (𝑥 ·Q 𝑦) ∧ 𝑢 = (𝑓 ·Q 𝑧)) ∧ 𝑤 = (𝑣 +Q 𝑢)) → (𝑤 ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))) ↔ ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
2317, 22syl5ibrcom 156 . . . . . . . . . . . . . 14 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)))) → (((𝑣 = (𝑥 ·Q 𝑦) ∧ 𝑢 = (𝑓 ·Q 𝑧)) ∧ 𝑤 = (𝑣 +Q 𝑢)) → 𝑤 ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
2423exp4b 360 . . . . . . . . . . . . 13 ((𝐴P𝐵P𝐶P) → (((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶))) → ((𝑣 = (𝑥 ·Q 𝑦) ∧ 𝑢 = (𝑓 ·Q 𝑧)) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))))
2524com3l 81 . . . . . . . . . . . 12 (((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) ∧ (𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶))) → ((𝑣 = (𝑥 ·Q 𝑦) ∧ 𝑢 = (𝑓 ·Q 𝑧)) → ((𝐴P𝐵P𝐶P) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))))
2625exp4b 360 . . . . . . . . . . 11 ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) → ((𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)) → (𝑣 = (𝑥 ·Q 𝑦) → (𝑢 = (𝑓 ·Q 𝑧) → ((𝐴P𝐵P𝐶P) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))))))
2726com23 78 . . . . . . . . . 10 ((𝑥 ∈ (2nd𝐴) ∧ 𝑦 ∈ (2nd𝐵)) → (𝑣 = (𝑥 ·Q 𝑦) → ((𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)) → (𝑢 = (𝑓 ·Q 𝑧) → ((𝐴P𝐵P𝐶P) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))))))
2827rexlimivv 2497 . . . . . . . . 9 (∃𝑥 ∈ (2nd𝐴)∃𝑦 ∈ (2nd𝐵)𝑣 = (𝑥 ·Q 𝑦) → ((𝑓 ∈ (2nd𝐴) ∧ 𝑧 ∈ (2nd𝐶)) → (𝑢 = (𝑓 ·Q 𝑧) → ((𝐴P𝐵P𝐶P) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))))))
2928rexlimdvv 2498 . . . . . . . 8 (∃𝑥 ∈ (2nd𝐴)∃𝑦 ∈ (2nd𝐵)𝑣 = (𝑥 ·Q 𝑦) → (∃𝑓 ∈ (2nd𝐴)∃𝑧 ∈ (2nd𝐶)𝑢 = (𝑓 ·Q 𝑧) → ((𝐴P𝐵P𝐶P) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))))
3029com3r 79 . . . . . . 7 ((𝐴P𝐵P𝐶P) → (∃𝑥 ∈ (2nd𝐴)∃𝑦 ∈ (2nd𝐵)𝑣 = (𝑥 ·Q 𝑦) → (∃𝑓 ∈ (2nd𝐴)∃𝑧 ∈ (2nd𝐶)𝑢 = (𝑓 ·Q 𝑧) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))))
3116, 30sylbid 149 . . . . . 6 ((𝐴P𝐵P𝐶P) → (𝑣 ∈ (2nd ‘(𝐴 ·P 𝐵)) → (∃𝑓 ∈ (2nd𝐴)∃𝑧 ∈ (2nd𝐶)𝑢 = (𝑓 ·Q 𝑧) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))))
3231impd 252 . . . . 5 ((𝐴P𝐵P𝐶P) → ((𝑣 ∈ (2nd ‘(𝐴 ·P 𝐵)) ∧ ∃𝑓 ∈ (2nd𝐴)∃𝑧 ∈ (2nd𝐶)𝑢 = (𝑓 ·Q 𝑧)) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))))
3313, 32sylbid 149 . . . 4 ((𝐴P𝐵P𝐶P) → ((𝑣 ∈ (2nd ‘(𝐴 ·P 𝐵)) ∧ 𝑢 ∈ (2nd ‘(𝐴 ·P 𝐶))) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))))
3433rexlimdvv 2498 . . 3 ((𝐴P𝐵P𝐶P) → (∃𝑣 ∈ (2nd ‘(𝐴 ·P 𝐵))∃𝑢 ∈ (2nd ‘(𝐴 ·P 𝐶))𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
358, 34sylbid 149 . 2 ((𝐴P𝐵P𝐶P) → (𝑤 ∈ (2nd ‘((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶))) → 𝑤 ∈ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶)))))
3635ssrdv 3034 1 ((𝐴P𝐵P𝐶P) → (2nd ‘((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶))) ⊆ (2nd ‘(𝐴 ·P (𝐵 +P 𝐶))))
 Colors of variables: wff set class Syntax hints:   → wi 4   ∧ wa 103   ↔ wb 104   ∧ w3a 925   = wceq 1290   ∈ wcel 1439  ∃wrex 2361   ⊆ wss 3002  ‘cfv 5030  (class class class)co 5668  2nd c2nd 5926   +Q cplq 6904   ·Q cmq 6905  Pcnp 6913   +P cpp 6915   ·P cmp 6916 This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 580  ax-in2 581  ax-io 666  ax-5 1382  ax-7 1383  ax-gen 1384  ax-ie1 1428  ax-ie2 1429  ax-8 1441  ax-10 1442  ax-11 1443  ax-i12 1444  ax-bndl 1445  ax-4 1446  ax-13 1450  ax-14 1451  ax-17 1465  ax-i9 1469  ax-ial 1473  ax-i5r 1474  ax-ext 2071  ax-coll 3962  ax-sep 3965  ax-nul 3973  ax-pow 4017  ax-pr 4047  ax-un 4271  ax-setind 4368  ax-iinf 4418 This theorem depends on definitions:  df-bi 116  df-dc 782  df-3or 926  df-3an 927  df-tru 1293  df-fal 1296  df-nf 1396  df-sb 1694  df-eu 1952  df-mo 1953  df-clab 2076  df-cleq 2082  df-clel 2085  df-nfc 2218  df-ne 2257  df-ral 2365  df-rex 2366  df-reu 2367  df-rab 2369  df-v 2624  df-sbc 2844  df-csb 2937  df-dif 3004  df-un 3006  df-in 3008  df-ss 3015  df-nul 3290  df-pw 3437  df-sn 3458  df-pr 3459  df-op 3461  df-uni 3662  df-int 3697  df-iun 3740  df-br 3854  df-opab 3908  df-mpt 3909  df-tr 3945  df-eprel 4127  df-id 4131  df-po 4134  df-iso 4135  df-iord 4204  df-on 4206  df-suc 4209  df-iom 4421  df-xp 4460  df-rel 4461  df-cnv 4462  df-co 4463  df-dm 4464  df-rn 4465  df-res 4466  df-ima 4467  df-iota 4995  df-fun 5032  df-fn 5033  df-f 5034  df-f1 5035  df-fo 5036  df-f1o 5037  df-fv 5038  df-ov 5671  df-oprab 5672  df-mpt2 5673  df-1st 5927  df-2nd 5928  df-recs 6086  df-irdg 6151  df-1o 6197  df-2o 6198  df-oadd 6201  df-omul 6202  df-er 6308  df-ec 6310  df-qs 6314  df-ni 6926  df-pli 6927  df-mi 6928  df-lti 6929  df-plpq 6966  df-mpq 6967  df-enq 6969  df-nqqs 6970  df-plqqs 6971  df-mqqs 6972  df-1nqqs 6973  df-rq 6974  df-ltnqqs 6975  df-enq0 7046  df-nq0 7047  df-0nq0 7048  df-plq0 7049  df-mq0 7050  df-inp 7088  df-iplp 7090  df-imp 7091 This theorem is referenced by:  distrprg  7210
 Copyright terms: Public domain W3C validator