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

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

Proof of Theorem distrlem5prl
Dummy variables 𝑥 𝑦 𝑧 𝑤 𝑣 𝑢 𝑓 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mulclpr 6670 . . . . 5 ((𝐴P𝐵P) → (𝐴 ·P 𝐵) ∈ P)
213adant3 924 . . . 4 ((𝐴P𝐵P𝐶P) → (𝐴 ·P 𝐵) ∈ P)
3 mulclpr 6670 . . . . 5 ((𝐴P𝐶P) → (𝐴 ·P 𝐶) ∈ P)
433adant2 923 . . . 4 ((𝐴P𝐵P𝐶P) → (𝐴 ·P 𝐶) ∈ P)
5 df-iplp 6566 . . . . 5 +P = (𝑥P, 𝑦P ↦ ⟨{𝑓Q ∣ ∃𝑔QQ (𝑔 ∈ (1st𝑥) ∧ ∈ (1st𝑦) ∧ 𝑓 = (𝑔 +Q ))}, {𝑓Q ∣ ∃𝑔QQ (𝑔 ∈ (2nd𝑥) ∧ ∈ (2nd𝑦) ∧ 𝑓 = (𝑔 +Q ))}⟩)
6 addclnq 6473 . . . . 5 ((𝑔QQ) → (𝑔 +Q ) ∈ Q)
75, 6genpelvl 6610 . . . 4 (((𝐴 ·P 𝐵) ∈ P ∧ (𝐴 ·P 𝐶) ∈ P) → (𝑤 ∈ (1st ‘((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶))) ↔ ∃𝑣 ∈ (1st ‘(𝐴 ·P 𝐵))∃𝑢 ∈ (1st ‘(𝐴 ·P 𝐶))𝑤 = (𝑣 +Q 𝑢)))
82, 4, 7syl2anc 391 . . 3 ((𝐴P𝐵P𝐶P) → (𝑤 ∈ (1st ‘((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶))) ↔ ∃𝑣 ∈ (1st ‘(𝐴 ·P 𝐵))∃𝑢 ∈ (1st ‘(𝐴 ·P 𝐶))𝑤 = (𝑣 +Q 𝑢)))
9 df-imp 6567 . . . . . . . 8 ·P = (𝑤P, 𝑣P ↦ ⟨{𝑥Q ∣ ∃𝑔QQ (𝑔 ∈ (1st𝑤) ∧ ∈ (1st𝑣) ∧ 𝑥 = (𝑔 ·Q ))}, {𝑥Q ∣ ∃𝑔QQ (𝑔 ∈ (2nd𝑤) ∧ ∈ (2nd𝑣) ∧ 𝑥 = (𝑔 ·Q ))}⟩)
10 mulclnq 6474 . . . . . . . 8 ((𝑔QQ) → (𝑔 ·Q ) ∈ Q)
119, 10genpelvl 6610 . . . . . . 7 ((𝐴P𝐶P) → (𝑢 ∈ (1st ‘(𝐴 ·P 𝐶)) ↔ ∃𝑓 ∈ (1st𝐴)∃𝑧 ∈ (1st𝐶)𝑢 = (𝑓 ·Q 𝑧)))
12113adant2 923 . . . . . 6 ((𝐴P𝐵P𝐶P) → (𝑢 ∈ (1st ‘(𝐴 ·P 𝐶)) ↔ ∃𝑓 ∈ (1st𝐴)∃𝑧 ∈ (1st𝐶)𝑢 = (𝑓 ·Q 𝑧)))
1312anbi2d 437 . . . . 5 ((𝐴P𝐵P𝐶P) → ((𝑣 ∈ (1st ‘(𝐴 ·P 𝐵)) ∧ 𝑢 ∈ (1st ‘(𝐴 ·P 𝐶))) ↔ (𝑣 ∈ (1st ‘(𝐴 ·P 𝐵)) ∧ ∃𝑓 ∈ (1st𝐴)∃𝑧 ∈ (1st𝐶)𝑢 = (𝑓 ·Q 𝑧))))
14 df-imp 6567 . . . . . . . . 9 ·P = (𝑤P, 𝑣P ↦ ⟨{𝑓Q ∣ ∃𝑔QQ (𝑔 ∈ (1st𝑤) ∧ ∈ (1st𝑣) ∧ 𝑓 = (𝑔 ·Q ))}, {𝑓Q ∣ ∃𝑔QQ (𝑔 ∈ (2nd𝑤) ∧ ∈ (2nd𝑣) ∧ 𝑓 = (𝑔 ·Q ))}⟩)
1514, 10genpelvl 6610 . . . . . . . 8 ((𝐴P𝐵P) → (𝑣 ∈ (1st ‘(𝐴 ·P 𝐵)) ↔ ∃𝑥 ∈ (1st𝐴)∃𝑦 ∈ (1st𝐵)𝑣 = (𝑥 ·Q 𝑦)))
16153adant3 924 . . . . . . 7 ((𝐴P𝐵P𝐶P) → (𝑣 ∈ (1st ‘(𝐴 ·P 𝐵)) ↔ ∃𝑥 ∈ (1st𝐴)∃𝑦 ∈ (1st𝐵)𝑣 = (𝑥 ·Q 𝑦)))
17 distrlem4prl 6682 . . . . . . . . . . . . . . 15 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (1st𝐴) ∧ 𝑦 ∈ (1st𝐵)) ∧ (𝑓 ∈ (1st𝐴) ∧ 𝑧 ∈ (1st𝐶)))) → ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶))))
18 oveq12 5521 . . . . . . . . . . . . . . . . . 18 ((𝑣 = (𝑥 ·Q 𝑦) ∧ 𝑢 = (𝑓 ·Q 𝑧)) → (𝑣 +Q 𝑢) = ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)))
1918eqeq2d 2051 . . . . . . . . . . . . . . . . 17 ((𝑣 = (𝑥 ·Q 𝑦) ∧ 𝑢 = (𝑓 ·Q 𝑧)) → (𝑤 = (𝑣 +Q 𝑢) ↔ 𝑤 = ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧))))
20 eleq1 2100 . . . . . . . . . . . . . . . . 17 (𝑤 = ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) → (𝑤 ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶))) ↔ ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶)))))
2119, 20syl6bi 152 . . . . . . . . . . . . . . . 16 ((𝑣 = (𝑥 ·Q 𝑦) ∧ 𝑢 = (𝑓 ·Q 𝑧)) → (𝑤 = (𝑣 +Q 𝑢) → (𝑤 ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶))) ↔ ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶))))))
2221imp 115 . . . . . . . . . . . . . . 15 (((𝑣 = (𝑥 ·Q 𝑦) ∧ 𝑢 = (𝑓 ·Q 𝑧)) ∧ 𝑤 = (𝑣 +Q 𝑢)) → (𝑤 ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶))) ↔ ((𝑥 ·Q 𝑦) +Q (𝑓 ·Q 𝑧)) ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶)))))
2317, 22syl5ibrcom 146 . . . . . . . . . . . . . 14 (((𝐴P𝐵P𝐶P) ∧ ((𝑥 ∈ (1st𝐴) ∧ 𝑦 ∈ (1st𝐵)) ∧ (𝑓 ∈ (1st𝐴) ∧ 𝑧 ∈ (1st𝐶)))) → (((𝑣 = (𝑥 ·Q 𝑦) ∧ 𝑢 = (𝑓 ·Q 𝑧)) ∧ 𝑤 = (𝑣 +Q 𝑢)) → 𝑤 ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶)))))
2423exp4b 349 . . . . . . . . . . . . 13 ((𝐴P𝐵P𝐶P) → (((𝑥 ∈ (1st𝐴) ∧ 𝑦 ∈ (1st𝐵)) ∧ (𝑓 ∈ (1st𝐴) ∧ 𝑧 ∈ (1st𝐶))) → ((𝑣 = (𝑥 ·Q 𝑦) ∧ 𝑢 = (𝑓 ·Q 𝑧)) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶)))))))
2524com3l 75 . . . . . . . . . . . 12 (((𝑥 ∈ (1st𝐴) ∧ 𝑦 ∈ (1st𝐵)) ∧ (𝑓 ∈ (1st𝐴) ∧ 𝑧 ∈ (1st𝐶))) → ((𝑣 = (𝑥 ·Q 𝑦) ∧ 𝑢 = (𝑓 ·Q 𝑧)) → ((𝐴P𝐵P𝐶P) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶)))))))
2625exp4b 349 . . . . . . . . . . 11 ((𝑥 ∈ (1st𝐴) ∧ 𝑦 ∈ (1st𝐵)) → ((𝑓 ∈ (1st𝐴) ∧ 𝑧 ∈ (1st𝐶)) → (𝑣 = (𝑥 ·Q 𝑦) → (𝑢 = (𝑓 ·Q 𝑧) → ((𝐴P𝐵P𝐶P) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶)))))))))
2726com23 72 . . . . . . . . . 10 ((𝑥 ∈ (1st𝐴) ∧ 𝑦 ∈ (1st𝐵)) → (𝑣 = (𝑥 ·Q 𝑦) → ((𝑓 ∈ (1st𝐴) ∧ 𝑧 ∈ (1st𝐶)) → (𝑢 = (𝑓 ·Q 𝑧) → ((𝐴P𝐵P𝐶P) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶)))))))))
2827rexlimivv 2438 . . . . . . . . 9 (∃𝑥 ∈ (1st𝐴)∃𝑦 ∈ (1st𝐵)𝑣 = (𝑥 ·Q 𝑦) → ((𝑓 ∈ (1st𝐴) ∧ 𝑧 ∈ (1st𝐶)) → (𝑢 = (𝑓 ·Q 𝑧) → ((𝐴P𝐵P𝐶P) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶))))))))
2928rexlimdvv 2439 . . . . . . . 8 (∃𝑥 ∈ (1st𝐴)∃𝑦 ∈ (1st𝐵)𝑣 = (𝑥 ·Q 𝑦) → (∃𝑓 ∈ (1st𝐴)∃𝑧 ∈ (1st𝐶)𝑢 = (𝑓 ·Q 𝑧) → ((𝐴P𝐵P𝐶P) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶)))))))
3029com3r 73 . . . . . . 7 ((𝐴P𝐵P𝐶P) → (∃𝑥 ∈ (1st𝐴)∃𝑦 ∈ (1st𝐵)𝑣 = (𝑥 ·Q 𝑦) → (∃𝑓 ∈ (1st𝐴)∃𝑧 ∈ (1st𝐶)𝑢 = (𝑓 ·Q 𝑧) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶)))))))
3116, 30sylbid 139 . . . . . 6 ((𝐴P𝐵P𝐶P) → (𝑣 ∈ (1st ‘(𝐴 ·P 𝐵)) → (∃𝑓 ∈ (1st𝐴)∃𝑧 ∈ (1st𝐶)𝑢 = (𝑓 ·Q 𝑧) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶)))))))
3231impd 242 . . . . 5 ((𝐴P𝐵P𝐶P) → ((𝑣 ∈ (1st ‘(𝐴 ·P 𝐵)) ∧ ∃𝑓 ∈ (1st𝐴)∃𝑧 ∈ (1st𝐶)𝑢 = (𝑓 ·Q 𝑧)) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶))))))
3313, 32sylbid 139 . . . 4 ((𝐴P𝐵P𝐶P) → ((𝑣 ∈ (1st ‘(𝐴 ·P 𝐵)) ∧ 𝑢 ∈ (1st ‘(𝐴 ·P 𝐶))) → (𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶))))))
3433rexlimdvv 2439 . . 3 ((𝐴P𝐵P𝐶P) → (∃𝑣 ∈ (1st ‘(𝐴 ·P 𝐵))∃𝑢 ∈ (1st ‘(𝐴 ·P 𝐶))𝑤 = (𝑣 +Q 𝑢) → 𝑤 ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶)))))
358, 34sylbid 139 . 2 ((𝐴P𝐵P𝐶P) → (𝑤 ∈ (1st ‘((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶))) → 𝑤 ∈ (1st ‘(𝐴 ·P (𝐵 +P 𝐶)))))
3635ssrdv 2951 1 ((𝐴P𝐵P𝐶P) → (1st ‘((𝐴 ·P 𝐵) +P (𝐴 ·P 𝐶))) ⊆ (1st ‘(𝐴 ·P (𝐵 +P 𝐶))))
 Colors of variables: wff set class Syntax hints:   → wi 4   ∧ wa 97   ↔ wb 98   ∧ w3a 885   = wceq 1243   ∈ wcel 1393  ∃wrex 2307   ⊆ wss 2917  ‘cfv 4902  (class class class)co 5512  1st c1st 5765   +Q cplq 6380   ·Q cmq 6381  Pcnp 6389   +P cpp 6391   ·P cmp 6392 This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-in1 544  ax-in2 545  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-13 1404  ax-14 1405  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-coll 3872  ax-sep 3875  ax-nul 3883  ax-pow 3927  ax-pr 3944  ax-un 4170  ax-setind 4262  ax-iinf 4311 This theorem depends on definitions:  df-bi 110  df-dc 743  df-3or 886  df-3an 887  df-tru 1246  df-fal 1249  df-nf 1350  df-sb 1646  df-eu 1903  df-mo 1904  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ne 2206  df-ral 2311  df-rex 2312  df-reu 2313  df-rab 2315  df-v 2559  df-sbc 2765  df-csb 2853  df-dif 2920  df-un 2922  df-in 2924  df-ss 2931  df-nul 3225  df-pw 3361  df-sn 3381  df-pr 3382  df-op 3384  df-uni 3581  df-int 3616  df-iun 3659  df-br 3765  df-opab 3819  df-mpt 3820  df-tr 3855  df-eprel 4026  df-id 4030  df-po 4033  df-iso 4034  df-iord 4103  df-on 4105  df-suc 4108  df-iom 4314  df-xp 4351  df-rel 4352  df-cnv 4353  df-co 4354  df-dm 4355  df-rn 4356  df-res 4357  df-ima 4358  df-iota 4867  df-fun 4904  df-fn 4905  df-f 4906  df-f1 4907  df-fo 4908  df-f1o 4909  df-fv 4910  df-ov 5515  df-oprab 5516  df-mpt2 5517  df-1st 5767  df-2nd 5768  df-recs 5920  df-irdg 5957  df-1o 6001  df-2o 6002  df-oadd 6005  df-omul 6006  df-er 6106  df-ec 6108  df-qs 6112  df-ni 6402  df-pli 6403  df-mi 6404  df-lti 6405  df-plpq 6442  df-mpq 6443  df-enq 6445  df-nqqs 6446  df-plqqs 6447  df-mqqs 6448  df-1nqqs 6449  df-rq 6450  df-ltnqqs 6451  df-enq0 6522  df-nq0 6523  df-0nq0 6524  df-plq0 6525  df-mq0 6526  df-inp 6564  df-iplp 6566  df-imp 6567 This theorem is referenced by:  distrprg  6686
 Copyright terms: Public domain W3C validator