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

Theorem fprodle 16163
Description: If all the terms of two finite products are nonnegative and compare, so do the two products. (Contributed by Glauco Siliprandi, 5-Apr-2020.)
Hypotheses
Ref Expression
fprodle.kph Ⅎ𝑘𝜑
fprodle.a (𝜑 → 𝐴 ∈ Fin)
fprodle.b ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℝ)
fprodle.0l3b ((𝜑 ∧ 𝑘 ∈ 𝐴) → 0 ≤ 𝐵)
fprodle.c ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐶 ∈ ℝ)
fprodle.blec ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ≤ 𝐶)
Assertion
Ref Expression
fprodle (𝜑 → ∏𝑘 ∈ 𝐴 𝐵 ≤ ∏𝑘 ∈ 𝐴 𝐶)
Distinct variable group:   𝐴,𝑘
Allowed substitution hints:   𝜑(𝑘)   𝐵(𝑘)   𝐶(𝑘)

Proof of Theorem fprodle
Dummy variable 𝑗 is distinct from all other variables.
StepHypRef Expression
1 1red 11309 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → 1 ∈ ℝ)
2 fprodle.kph . . . . . 6 Ⅎ𝑘𝜑
3 nfra1 3287 . . . . . 6 Ⅎ𝑘∀𝑘 ∈ 𝐴 𝐵 ≠ 0
42, 3nfan 1932 . . . . 5 Ⅎ𝑘(𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0)
5 fprodle.a . . . . . 6 (𝜑 → 𝐴 ∈ Fin)
65adantr 486 . . . . 5 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → 𝐴 ∈ Fin)
7 fprodle.c . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐶 ∈ ℝ)
87adantlr 728 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐶 ∈ ℝ)
9 fprodle.b . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℝ)
109adantlr 728 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℝ)
11 rspa 3252 . . . . . . 7 ((∀𝑘 ∈ 𝐴 𝐵 ≠ 0 ∧ 𝑘 ∈ 𝐴) → 𝐵 ≠ 0)
1211adantll 727 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐵 ≠ 0)
138, 10, 12redivcld 12145 . . . . 5 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → (𝐶 / 𝐵) ∈ ℝ)
144, 6, 13fprodreclf 16126 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵) ∈ ℝ)
152, 5, 9fprodreclf 16126 . . . . 5 (𝜑 → ∏𝑘 ∈ 𝐴 𝐵 ∈ ℝ)
1615adantr 486 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 𝐵 ∈ ℝ)
17 fprodle.0l3b . . . . . 6 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 0 ≤ 𝐵)
182, 5, 9, 17fprodge0 16160 . . . . 5 (𝜑 → 0 ≤ ∏𝑘 ∈ 𝐴 𝐵)
1918adantr 486 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → 0 ≤ ∏𝑘 ∈ 𝐴 𝐵)
2017adantlr 728 . . . . . . . 8 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 0 ≤ 𝐵)
2110, 20, 12ne0gt0d 11447 . . . . . . 7 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 0 < 𝐵)
2210, 21elrpd 13161 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℝ+)
23 fprodle.blec . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ≤ 𝐶)
2423adantlr 728 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐵 ≤ 𝐶)
25 divge1 13190 . . . . . 6 ((𝐵 ∈ ℝ+ ∧ 𝐶 ∈ ℝ ∧ 𝐵 ≤ 𝐶) → 1 ≤ (𝐶 / 𝐵))
2622, 8, 24, 25syl3anc 1398 . . . . 5 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 1 ≤ (𝐶 / 𝐵))
274, 6, 13, 26fprodge1 16162 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → 1 ≤ ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵))
281, 14, 16, 19, 27lemul2ad 12257 . . 3 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → (∏𝑘 ∈ 𝐴 𝐵 · 1) ≤ (∏𝑘 ∈ 𝐴 𝐵 · ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵)))
299recnd 11337 . . . . . 6 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ)
302, 5, 29fprodclf 16159 . . . . 5 (𝜑 → ∏𝑘 ∈ 𝐴 𝐵 ∈ ℂ)
3130mulridd 11326 . . . 4 (𝜑 → (∏𝑘 ∈ 𝐴 𝐵 · 1) = ∏𝑘 ∈ 𝐴 𝐵)
3231adantr 486 . . 3 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → (∏𝑘 ∈ 𝐴 𝐵 · 1) = ∏𝑘 ∈ 𝐴 𝐵)
337recnd 11337 . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐶 ∈ ℂ)
3433adantlr 728 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐶 ∈ ℂ)
3529adantlr 728 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ)
364, 6, 34, 35, 12fproddivf 16154 . . . . 5 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵) = (∏𝑘 ∈ 𝐴 𝐶 / ∏𝑘 ∈ 𝐴 𝐵))
3736oveq2d 7436 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → (∏𝑘 ∈ 𝐴 𝐵 · ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵)) = (∏𝑘 ∈ 𝐴 𝐵 · (∏𝑘 ∈ 𝐴 𝐶 / ∏𝑘 ∈ 𝐴 𝐵)))
382, 5, 33fprodclf 16159 . . . . . 6 (𝜑 → ∏𝑘 ∈ 𝐴 𝐶 ∈ ℂ)
3938adantr 486 . . . . 5 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 𝐶 ∈ ℂ)
4030adantr 486 . . . . 5 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 𝐵 ∈ ℂ)
414, 6, 35, 12fprodn0f 16158 . . . . 5 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 𝐵 ≠ 0)
4239, 40, 41divcan2d 12095 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → (∏𝑘 ∈ 𝐴 𝐵 · (∏𝑘 ∈ 𝐴 𝐶 / ∏𝑘 ∈ 𝐴 𝐵)) = ∏𝑘 ∈ 𝐴 𝐶)
4337, 42eqtrd 2796 . . 3 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → (∏𝑘 ∈ 𝐴 𝐵 · ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵)) = ∏𝑘 ∈ 𝐴 𝐶)
4428, 32, 433brtr3d 5136 . 2 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 𝐵 ≤ ∏𝑘 ∈ 𝐴 𝐶)
45 nne 2960 . . . . 5 (¬ 𝐵 ≠ 0 ↔ 𝐵 = 0)
4645rexbii 3110 . . . 4 (∃𝑘 ∈ 𝐴 ¬ 𝐵 ≠ 0 ↔ ∃𝑘 ∈ 𝐴 𝐵 = 0)
47 rexnal 3115 . . . 4 (∃𝑘 ∈ 𝐴 ¬ 𝐵 ≠ 0 ↔ ¬ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0)
48 nfv 1947 . . . . 5 Ⅎ𝑗 𝐵 = 0
49 nfcsb1v 3871 . . . . . 6 Ⅎ𝑘⦋𝑗 / 𝑘⦌𝐵
5049nfeq1 2938 . . . . 5 Ⅎ𝑘⦋𝑗 / 𝑘⦌𝐵 = 0
51 csbeq1a 3861 . . . . . 6 (𝑘 = 𝑗 → 𝐵 = ⦋𝑗 / 𝑘⦌𝐵)
5251eqeq1d 2763 . . . . 5 (𝑘 = 𝑗 → (𝐵 = 0 ↔ ⦋𝑗 / 𝑘⦌𝐵 = 0))
5348, 50, 52cbvrexw 3306 . . . 4 (∃𝑘 ∈ 𝐴 𝐵 = 0 ↔ ∃𝑗 ∈ 𝐴 ⦋𝑗 / 𝑘⦌𝐵 = 0)
5446, 47, 533bitr3i 304 . . 3 (¬ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0 ↔ ∃𝑗 ∈ 𝐴 ⦋𝑗 / 𝑘⦌𝐵 = 0)
55 nfv 1947 . . . . . . . 8 Ⅎ𝑘 𝑗 ∈ 𝐴
562, 55, 50nf3an 1934 . . . . . . 7 Ⅎ𝑘(𝜑 ∧ 𝑗 ∈ 𝐴 ∧ ⦋𝑗 / 𝑘⦌𝐵 = 0)
5753ad2ant1 1151 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ 𝐴 ∧ ⦋𝑗 / 𝑘⦌𝐵 = 0) → 𝐴 ∈ Fin)
58293ad2antl1 1204 . . . . . . 7 (((𝜑 ∧ 𝑗 ∈ 𝐴 ∧ ⦋𝑗 / 𝑘⦌𝐵 = 0) ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ)
59 simp2 1155 . . . . . . 7 ((𝜑 ∧ 𝑗 ∈ 𝐴 ∧ ⦋𝑗 / 𝑘⦌𝐵 = 0) → 𝑗 ∈ 𝐴)
6052biimparc 485 . . . . . . . 8 ((⦋𝑗 / 𝑘⦌𝐵 = 0 ∧ 𝑘 = 𝑗) → 𝐵 = 0)
61603ad2antl3 1206 . . . . . . 7 (((𝜑 ∧ 𝑗 ∈ 𝐴 ∧ ⦋𝑗 / 𝑘⦌𝐵 = 0) ∧ 𝑘 = 𝑗) → 𝐵 = 0)
6256, 57, 58, 59, 61fprodeq0g 16161 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ 𝐴 ∧ ⦋𝑗 / 𝑘⦌𝐵 = 0) → ∏𝑘 ∈ 𝐴 𝐵 = 0)
6362rexlimdv3a 3168 . . . . 5 (𝜑 → (∃𝑗 ∈ 𝐴 ⦋𝑗 / 𝑘⦌𝐵 = 0 → ∏𝑘 ∈ 𝐴 𝐵 = 0))
6463imp 412 . . . 4 ((𝜑 ∧ ∃𝑗 ∈ 𝐴 ⦋𝑗 / 𝑘⦌𝐵 = 0) → ∏𝑘 ∈ 𝐴 𝐵 = 0)
65 0red 11311 . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 0 ∈ ℝ)
6665, 9, 7, 17, 23letrd 11467 . . . . . 6 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 0 ≤ 𝐶)
672, 5, 7, 66fprodge0 16160 . . . . 5 (𝜑 → 0 ≤ ∏𝑘 ∈ 𝐴 𝐶)
6867adantr 486 . . . 4 ((𝜑 ∧ ∃𝑗 ∈ 𝐴 ⦋𝑗 / 𝑘⦌𝐵 = 0) → 0 ≤ ∏𝑘 ∈ 𝐴 𝐶)
6964, 68eqbrtrd 5127 . . 3 ((𝜑 ∧ ∃𝑗 ∈ 𝐴 ⦋𝑗 / 𝑘⦌𝐵 = 0) → ∏𝑘 ∈ 𝐴 𝐵 ≤ ∏𝑘 ∈ 𝐴 𝐶)
7054, 69sylan2b 606 . 2 ((𝜑 ∧ ¬ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 𝐵 ≤ ∏𝑘 ∈ 𝐴 𝐶)
7144, 70pm2.61dan 825 1 (𝜑 → ∏𝑘 ∈ 𝐴 𝐵 ≤ ∏𝑘 ∈ 𝐴 𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1570  Ⅎwnf 1816   ∈ wcel 2145   ≠ wne 2956  ∀wral 3077  ∃wrex 3087  ⦋csb 3847   class class class wbr 5103  (class class class)co 7420  Fincfn 8973  ℂcc 11198  ℝcr 11199  0cc0 11200  1c1 11201   · cmul 11205   ≤ cle 11344   / cdiv 11973  ℝ+crp 13120  ∏cprod 16072
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751  ax-inf2 9642  ax-cnex 11256  ax-resscn 11257  ax-1cn 11258  ax-icn 11259  ax-addcl 11260  ax-addrcl 11261  ax-mulcl 11262  ax-mulrcl 11263  ax-mulcom 11264  ax-addass 11265  ax-mulass 11266  ax-distr 11267  ax-i2m1 11268  ax-1ne0 11269  ax-1rid 11270  ax-rnegex 11271  ax-rrecex 11272  ax-cnre 11273  ax-pre-lttri 11274  ax-pre-lttrn 11275  ax-pre-ltadd 11276  ax-pre-mulgt0 11277  ax-pre-sup 11278
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-se 5605  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-isom 6547  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-1st 8001  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-1o 8476  df-er 8717  df-en 8974  df-dom 8975  df-sdom 8976  df-fin 8977  df-sup 9434  df-oi 9504  df-card 10020  df-pnf 11345  df-mnf 11346  df-xr 11347  df-ltxr 11348  df-le 11349  df-sub 11543  df-neg 11544  df-div 11974  df-nn 12336  df-2 12405  df-3 12406  df-n0 12607  df-z 12694  df-uz 12966  df-rp 13121  df-ico 13482  df-fz 13640  df-fzo 13789  df-seq 14145  df-exp 14205  df-hash 14475  df-cj 15266  df-re 15267  df-im 15268  df-sqrt 15402  df-abs 15403  df-clim 15655  df-prod 16073
This theorem is used by:  prmolefac  17224  aks4d1p1p2  43120  bcled  43228  bcle2d  43229  etransclem23  47266  hoidifhspdmvle  47629
  Copyright terms: Public domain W3C validator