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

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

Proof of Theorem distrlem1pru
Dummy variables x y z w v f g are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 addclpr 6513 . . . . 5 ((B P 𝐶 P) → (B +P 𝐶) P)
2 df-imp 6444 . . . . . 6 ·P = (y P, z P ↦ ⟨{f Qg Q Q (g (1sty) (1stz) f = (g ·Q ))}, {f Qg Q Q (g (2ndy) (2ndz) f = (g ·Q ))}⟩)
3 mulclnq 6353 . . . . . 6 ((g Q Q) → (g ·Q ) Q)
42, 3genpelvu 6488 . . . . 5 ((A P (B +P 𝐶) P) → (w (2nd ‘(A ·P (B +P 𝐶))) ↔ x (2ndA)v (2nd ‘(B +P 𝐶))w = (x ·Q v)))
51, 4sylan2 270 . . . 4 ((A P (B P 𝐶 P)) → (w (2nd ‘(A ·P (B +P 𝐶))) ↔ x (2ndA)v (2nd ‘(B +P 𝐶))w = (x ·Q v)))
653impb 1099 . . 3 ((A P B P 𝐶 P) → (w (2nd ‘(A ·P (B +P 𝐶))) ↔ x (2ndA)v (2nd ‘(B +P 𝐶))w = (x ·Q v)))
7 df-iplp 6443 . . . . . . . . . . 11 +P = (w P, x P ↦ ⟨{f Qg Q Q (g (1stw) (1stx) f = (g +Q ))}, {f Qg Q Q (g (2ndw) (2ndx) f = (g +Q ))}⟩)
8 addclnq 6352 . . . . . . . . . . 11 ((g Q Q) → (g +Q ) Q)
97, 8genpelvu 6488 . . . . . . . . . 10 ((B P 𝐶 P) → (v (2nd ‘(B +P 𝐶)) ↔ y (2ndB)z (2nd𝐶)v = (y +Q z)))
1093adant1 921 . . . . . . . . 9 ((A P B P 𝐶 P) → (v (2nd ‘(B +P 𝐶)) ↔ y (2ndB)z (2nd𝐶)v = (y +Q z)))
1110adantr 261 . . . . . . . 8 (((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) → (v (2nd ‘(B +P 𝐶)) ↔ y (2ndB)z (2nd𝐶)v = (y +Q z)))
12 prop 6450 . . . . . . . . . . . . . . . . 17 (A P → ⟨(1stA), (2ndA)⟩ P)
13 elprnqu 6457 . . . . . . . . . . . . . . . . 17 ((⟨(1stA), (2ndA)⟩ P x (2ndA)) → x Q)
1412, 13sylan 267 . . . . . . . . . . . . . . . 16 ((A P x (2ndA)) → x Q)
15143ad2antl1 1065 . . . . . . . . . . . . . . 15 (((A P B P 𝐶 P) x (2ndA)) → x Q)
1615adantrr 448 . . . . . . . . . . . . . 14 (((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) → x Q)
1716adantr 261 . . . . . . . . . . . . 13 ((((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) ((y (2ndB) z (2nd𝐶)) v = (y +Q z))) → x Q)
18 prop 6450 . . . . . . . . . . . . . . . . . 18 (B P → ⟨(1stB), (2ndB)⟩ P)
19 elprnqu 6457 . . . . . . . . . . . . . . . . . 18 ((⟨(1stB), (2ndB)⟩ P y (2ndB)) → y Q)
2018, 19sylan 267 . . . . . . . . . . . . . . . . 17 ((B P y (2ndB)) → y Q)
21 prop 6450 . . . . . . . . . . . . . . . . . 18 (𝐶 P → ⟨(1st𝐶), (2nd𝐶)⟩ P)
22 elprnqu 6457 . . . . . . . . . . . . . . . . . 18 ((⟨(1st𝐶), (2nd𝐶)⟩ P z (2nd𝐶)) → z Q)
2321, 22sylan 267 . . . . . . . . . . . . . . . . 17 ((𝐶 P z (2nd𝐶)) → z Q)
2420, 23anim12i 321 . . . . . . . . . . . . . . . 16 (((B P y (2ndB)) (𝐶 P z (2nd𝐶))) → (y Q z Q))
2524an4s 522 . . . . . . . . . . . . . . 15 (((B P 𝐶 P) (y (2ndB) z (2nd𝐶))) → (y Q z Q))
26253adantl1 1059 . . . . . . . . . . . . . 14 (((A P B P 𝐶 P) (y (2ndB) z (2nd𝐶))) → (y Q z Q))
2726ad2ant2r 478 . . . . . . . . . . . . 13 ((((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) ((y (2ndB) z (2nd𝐶)) v = (y +Q z))) → (y Q z Q))
28 3anass 888 . . . . . . . . . . . . 13 ((x Q y Q z Q) ↔ (x Q (y Q z Q)))
2917, 27, 28sylanbrc 394 . . . . . . . . . . . 12 ((((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) ((y (2ndB) z (2nd𝐶)) v = (y +Q z))) → (x Q y Q z Q))
30 simprr 484 . . . . . . . . . . . . 13 (((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) → w = (x ·Q v))
31 simpr 103 . . . . . . . . . . . . 13 (((y (2ndB) z (2nd𝐶)) v = (y +Q z)) → v = (y +Q z))
3230, 31anim12i 321 . . . . . . . . . . . 12 ((((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) ((y (2ndB) z (2nd𝐶)) v = (y +Q z))) → (w = (x ·Q v) v = (y +Q z)))
33 oveq2 5460 . . . . . . . . . . . . . . 15 (v = (y +Q z) → (x ·Q v) = (x ·Q (y +Q z)))
3433eqeq2d 2048 . . . . . . . . . . . . . 14 (v = (y +Q z) → (w = (x ·Q v) ↔ w = (x ·Q (y +Q z))))
3534biimpac 282 . . . . . . . . . . . . 13 ((w = (x ·Q v) v = (y +Q z)) → w = (x ·Q (y +Q z)))
36 distrnqg 6364 . . . . . . . . . . . . . 14 ((x Q y Q z Q) → (x ·Q (y +Q z)) = ((x ·Q y) +Q (x ·Q z)))
3736eqeq2d 2048 . . . . . . . . . . . . 13 ((x Q y Q z Q) → (w = (x ·Q (y +Q z)) ↔ w = ((x ·Q y) +Q (x ·Q z))))
3835, 37syl5ib 143 . . . . . . . . . . . 12 ((x Q y Q z Q) → ((w = (x ·Q v) v = (y +Q z)) → w = ((x ·Q y) +Q (x ·Q z))))
3929, 32, 38sylc 56 . . . . . . . . . . 11 ((((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) ((y (2ndB) z (2nd𝐶)) v = (y +Q z))) → w = ((x ·Q y) +Q (x ·Q z)))
40 mulclpr 6543 . . . . . . . . . . . . . 14 ((A P B P) → (A ·P B) P)
41403adant3 923 . . . . . . . . . . . . 13 ((A P B P 𝐶 P) → (A ·P B) P)
4241ad2antrr 457 . . . . . . . . . . . 12 ((((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) ((y (2ndB) z (2nd𝐶)) v = (y +Q z))) → (A ·P B) P)
43 mulclpr 6543 . . . . . . . . . . . . . 14 ((A P 𝐶 P) → (A ·P 𝐶) P)
44433adant2 922 . . . . . . . . . . . . 13 ((A P B P 𝐶 P) → (A ·P 𝐶) P)
4544ad2antrr 457 . . . . . . . . . . . 12 ((((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) ((y (2ndB) z (2nd𝐶)) v = (y +Q z))) → (A ·P 𝐶) P)
46 simpll 481 . . . . . . . . . . . . 13 (((y (2ndB) z (2nd𝐶)) v = (y +Q z)) → y (2ndB))
472, 3genppreclu 6490 . . . . . . . . . . . . . . . 16 ((A P B P) → ((x (2ndA) y (2ndB)) → (x ·Q y) (2nd ‘(A ·P B))))
48473adant3 923 . . . . . . . . . . . . . . 15 ((A P B P 𝐶 P) → ((x (2ndA) y (2ndB)) → (x ·Q y) (2nd ‘(A ·P B))))
4948impl 362 . . . . . . . . . . . . . 14 ((((A P B P 𝐶 P) x (2ndA)) y (2ndB)) → (x ·Q y) (2nd ‘(A ·P B)))
5049adantlrr 452 . . . . . . . . . . . . 13 ((((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) y (2ndB)) → (x ·Q y) (2nd ‘(A ·P B)))
5146, 50sylan2 270 . . . . . . . . . . . 12 ((((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) ((y (2ndB) z (2nd𝐶)) v = (y +Q z))) → (x ·Q y) (2nd ‘(A ·P B)))
52 simplr 482 . . . . . . . . . . . . 13 (((y (2ndB) z (2nd𝐶)) v = (y +Q z)) → z (2nd𝐶))
532, 3genppreclu 6490 . . . . . . . . . . . . . . . 16 ((A P 𝐶 P) → ((x (2ndA) z (2nd𝐶)) → (x ·Q z) (2nd ‘(A ·P 𝐶))))
54533adant2 922 . . . . . . . . . . . . . . 15 ((A P B P 𝐶 P) → ((x (2ndA) z (2nd𝐶)) → (x ·Q z) (2nd ‘(A ·P 𝐶))))
5554impl 362 . . . . . . . . . . . . . 14 ((((A P B P 𝐶 P) x (2ndA)) z (2nd𝐶)) → (x ·Q z) (2nd ‘(A ·P 𝐶)))
5655adantlrr 452 . . . . . . . . . . . . 13 ((((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) z (2nd𝐶)) → (x ·Q z) (2nd ‘(A ·P 𝐶)))
5752, 56sylan2 270 . . . . . . . . . . . 12 ((((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) ((y (2ndB) z (2nd𝐶)) v = (y +Q z))) → (x ·Q z) (2nd ‘(A ·P 𝐶)))
587, 8genppreclu 6490 . . . . . . . . . . . . 13 (((A ·P B) P (A ·P 𝐶) P) → (((x ·Q y) (2nd ‘(A ·P B)) (x ·Q z) (2nd ‘(A ·P 𝐶))) → ((x ·Q y) +Q (x ·Q z)) (2nd ‘((A ·P B) +P (A ·P 𝐶)))))
5958imp 115 . . . . . . . . . . . 12 ((((A ·P B) P (A ·P 𝐶) P) ((x ·Q y) (2nd ‘(A ·P B)) (x ·Q z) (2nd ‘(A ·P 𝐶)))) → ((x ·Q y) +Q (x ·Q z)) (2nd ‘((A ·P B) +P (A ·P 𝐶))))
6042, 45, 51, 57, 59syl22anc 1135 . . . . . . . . . . 11 ((((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) ((y (2ndB) z (2nd𝐶)) v = (y +Q z))) → ((x ·Q y) +Q (x ·Q z)) (2nd ‘((A ·P B) +P (A ·P 𝐶))))
6139, 60eqeltrd 2111 . . . . . . . . . 10 ((((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) ((y (2ndB) z (2nd𝐶)) v = (y +Q z))) → w (2nd ‘((A ·P B) +P (A ·P 𝐶))))
6261exp32 347 . . . . . . . . 9 (((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) → ((y (2ndB) z (2nd𝐶)) → (v = (y +Q z) → w (2nd ‘((A ·P B) +P (A ·P 𝐶))))))
6362rexlimdvv 2433 . . . . . . . 8 (((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) → (y (2ndB)z (2nd𝐶)v = (y +Q z) → w (2nd ‘((A ·P B) +P (A ·P 𝐶)))))
6411, 63sylbid 139 . . . . . . 7 (((A P B P 𝐶 P) (x (2ndA) w = (x ·Q v))) → (v (2nd ‘(B +P 𝐶)) → w (2nd ‘((A ·P B) +P (A ·P 𝐶)))))
6564exp32 347 . . . . . 6 ((A P B P 𝐶 P) → (x (2ndA) → (w = (x ·Q v) → (v (2nd ‘(B +P 𝐶)) → w (2nd ‘((A ·P B) +P (A ·P 𝐶)))))))
6665com34 77 . . . . 5 ((A P B P 𝐶 P) → (x (2ndA) → (v (2nd ‘(B +P 𝐶)) → (w = (x ·Q v) → w (2nd ‘((A ·P B) +P (A ·P 𝐶)))))))
6766impd 242 . . . 4 ((A P B P 𝐶 P) → ((x (2ndA) v (2nd ‘(B +P 𝐶))) → (w = (x ·Q v) → w (2nd ‘((A ·P B) +P (A ·P 𝐶))))))
6867rexlimdvv 2433 . . 3 ((A P B P 𝐶 P) → (x (2ndA)v (2nd ‘(B +P 𝐶))w = (x ·Q v) → w (2nd ‘((A ·P B) +P (A ·P 𝐶)))))
696, 68sylbid 139 . 2 ((A P B P 𝐶 P) → (w (2nd ‘(A ·P (B +P 𝐶))) → w (2nd ‘((A ·P B) +P (A ·P 𝐶)))))
7069ssrdv 2945 1 ((A P B P 𝐶 P) → (2nd ‘(A ·P (B +P 𝐶))) ⊆ (2nd ‘((A ·P B) +P (A ·P 𝐶))))
Colors of variables: wff set class
Syntax hints:  wi 4   wa 97  wb 98   w3a 884   = wceq 1242   wcel 1390  wrex 2301  wss 2911  cop 3369  cfv 4844  (class class class)co 5452  1st c1st 5704  2nd c2nd 5705  Qcnq 6257   +Q cplq 6259   ·Q cmq 6260  Pcnp 6268   +P cpp 6270   ·P cmp 6271
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 629  ax-5 1333  ax-7 1334  ax-gen 1335  ax-ie1 1379  ax-ie2 1380  ax-8 1392  ax-10 1393  ax-11 1394  ax-i12 1395  ax-bnd 1396  ax-4 1397  ax-13 1401  ax-14 1402  ax-17 1416  ax-i9 1420  ax-ial 1424  ax-i5r 1425  ax-ext 2019  ax-coll 3862  ax-sep 3865  ax-nul 3873  ax-pow 3917  ax-pr 3934  ax-un 4135  ax-setind 4219  ax-iinf 4253
This theorem depends on definitions:  df-bi 110  df-dc 742  df-3or 885  df-3an 886  df-tru 1245  df-fal 1248  df-nf 1347  df-sb 1643  df-eu 1900  df-mo 1901  df-clab 2024  df-cleq 2030  df-clel 2033  df-nfc 2164  df-ne 2203  df-ral 2305  df-rex 2306  df-reu 2307  df-rab 2309  df-v 2553  df-sbc 2759  df-csb 2847  df-dif 2914  df-un 2916  df-in 2918  df-ss 2925  df-nul 3219  df-pw 3352  df-sn 3372  df-pr 3373  df-op 3375  df-uni 3571  df-int 3606  df-iun 3649  df-br 3755  df-opab 3809  df-mpt 3810  df-tr 3845  df-eprel 4016  df-id 4020  df-po 4023  df-iso 4024  df-iord 4068  df-on 4070  df-suc 4073  df-iom 4256  df-xp 4293  df-rel 4294  df-cnv 4295  df-co 4296  df-dm 4297  df-rn 4298  df-res 4299  df-ima 4300  df-iota 4809  df-fun 4846  df-fn 4847  df-f 4848  df-f1 4849  df-fo 4850  df-f1o 4851  df-fv 4852  df-ov 5455  df-oprab 5456  df-mpt2 5457  df-1st 5706  df-2nd 5707  df-recs 5858  df-irdg 5894  df-1o 5933  df-2o 5934  df-oadd 5937  df-omul 5938  df-er 6035  df-ec 6037  df-qs 6041  df-ni 6281  df-pli 6282  df-mi 6283  df-lti 6284  df-plpq 6321  df-mpq 6322  df-enq 6324  df-nqqs 6325  df-plqqs 6326  df-mqqs 6327  df-1nqqs 6328  df-rq 6329  df-ltnqqs 6330  df-enq0 6399  df-nq0 6400  df-0nq0 6401  df-plq0 6402  df-mq0 6403  df-inp 6441  df-iplp 6443  df-imp 6444
This theorem is referenced by:  distrprg  6554
  Copyright terms: Public domain W3C validator