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

Theorem fprodle 16172
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 11316 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → 1 ∈ ℝ)
2 fprodle.kph . . . . . 6 Ⅎ𝑘𝜑
3 nfra1 3286 . . . . . 6 Ⅎ𝑘∀𝑘 ∈ 𝐴 𝐵 ≠ 0
42, 3nfan 1931 . . . . 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 3251 . . . . . . 7 ((∀𝑘 ∈ 𝐴 𝐵 ≠ 0 ∧ 𝑘 ∈ 𝐴) → 𝐵 ≠ 0)
1211adantll 727 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐵 ≠ 0)
138, 10, 12redivcld 12152 . . . . 5 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → (𝐶 / 𝐵) ∈ ℝ)
144, 6, 13fprodreclf 16135 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵) ∈ ℝ)
152, 5, 9fprodreclf 16135 . . . . 5 (𝜑 → ∏𝑘 ∈ 𝐴 𝐵 ∈ ℝ)
1615adantr 486 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 𝐵 ∈ ℝ)
17 fprodle.0l3b . . . . . 6 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 0 ≤ 𝐵)
182, 5, 9, 17fprodge0 16169 . . . . 5 (𝜑 → 0 ≤ ∏𝑘 ∈ 𝐴 𝐵)
1918adantr 486 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → 0 ≤ ∏𝑘 ∈ 𝐴 𝐵)
2017adantlr 728 . . . . . . . 8 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 0 ≤ 𝐵)
2110, 20, 12ne0gt0d 11454 . . . . . . 7 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 0 < 𝐵)
2210, 21elrpd 13168 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℝ+)
23 fprodle.blec . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ≤ 𝐶)
2423adantlr 728 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐵 ≤ 𝐶)
25 divge1 13197 . . . . . 6 ((𝐵 ∈ ℝ+ ∧ 𝐶 ∈ ℝ ∧ 𝐵 ≤ 𝐶) → 1 ≤ (𝐶 / 𝐵))
2622, 8, 24, 25syl3anc 1398 . . . . 5 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 1 ≤ (𝐶 / 𝐵))
274, 6, 13, 26fprodge1 16171 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → 1 ≤ ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵))
281, 14, 16, 19, 27lemul2ad 12264 . . 3 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → (∏𝑘 ∈ 𝐴 𝐵 · 1) ≤ (∏𝑘 ∈ 𝐴 𝐵 · ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵)))
299recnd 11344 . . . . . 6 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ)
302, 5, 29fprodclf 16168 . . . . 5 (𝜑 → ∏𝑘 ∈ 𝐴 𝐵 ∈ ℂ)
3130mulridd 11333 . . . 4 (𝜑 → (∏𝑘 ∈ 𝐴 𝐵 · 1) = ∏𝑘 ∈ 𝐴 𝐵)
3231adantr 486 . . 3 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → (∏𝑘 ∈ 𝐴 𝐵 · 1) = ∏𝑘 ∈ 𝐴 𝐵)
337recnd 11344 . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐶 ∈ ℂ)
3433adantlr 728 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐶 ∈ ℂ)
3529adantlr 728 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ)
364, 6, 34, 35, 12fproddivf 16163 . . . . 5 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵) = (∏𝑘 ∈ 𝐴 𝐶 / ∏𝑘 ∈ 𝐴 𝐵))
3736oveq2d 7440 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → (∏𝑘 ∈ 𝐴 𝐵 · ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵)) = (∏𝑘 ∈ 𝐴 𝐵 · (∏𝑘 ∈ 𝐴 𝐶 / ∏𝑘 ∈ 𝐴 𝐵)))
382, 5, 33fprodclf 16168 . . . . . 6 (𝜑 → ∏𝑘 ∈ 𝐴 𝐶 ∈ ℂ)
3938adantr 486 . . . . 5 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 𝐶 ∈ ℂ)
4030adantr 486 . . . . 5 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 𝐵 ∈ ℂ)
414, 6, 35, 12fprodn0f 16167 . . . . 5 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 𝐵 ≠ 0)
4239, 40, 41divcan2d 12102 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → (∏𝑘 ∈ 𝐴 𝐵 · (∏𝑘 ∈ 𝐴 𝐶 / ∏𝑘 ∈ 𝐴 𝐵)) = ∏𝑘 ∈ 𝐴 𝐶)
4337, 42eqtrd 2795 . . 3 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → (∏𝑘 ∈ 𝐴 𝐵 · ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵)) = ∏𝑘 ∈ 𝐴 𝐶)
4428, 32, 433brtr3d 5135 . 2 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 𝐵 ≤ ∏𝑘 ∈ 𝐴 𝐶)
45 nne 2959 . . . . 5 (¬ 𝐵 ≠ 0 ↔ 𝐵 = 0)
4645rexbii 3109 . . . 4 (∃𝑘 ∈ 𝐴 ¬ 𝐵 ≠ 0 ↔ ∃𝑘 ∈ 𝐴 𝐵 = 0)
47 rexnal 3114 . . . 4 (∃𝑘 ∈ 𝐴 ¬ 𝐵 ≠ 0 ↔ ¬ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0)
48 nfv 1946 . . . . 5 Ⅎ𝑗 𝐵 = 0
49 nfcsb1v 3871 . . . . . 6 Ⅎ𝑘⦋𝑗 / 𝑘⦌𝐵
5049nfeq1 2937 . . . . 5 Ⅎ𝑘⦋𝑗 / 𝑘⦌𝐵 = 0
51 csbeq1a 3861 . . . . . 6 (𝑘 = 𝑗 → 𝐵 = ⦋𝑗 / 𝑘⦌𝐵)
5251eqeq1d 2762 . . . . 5 (𝑘 = 𝑗 → (𝐵 = 0 ↔ ⦋𝑗 / 𝑘⦌𝐵 = 0))
5348, 50, 52cbvrexw 3305 . . . 4 (∃𝑘 ∈ 𝐴 𝐵 = 0 ↔ ∃𝑗 ∈ 𝐴 ⦋𝑗 / 𝑘⦌𝐵 = 0)
5446, 47, 533bitr3i 304 . . 3 (¬ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0 ↔ ∃𝑗 ∈ 𝐴 ⦋𝑗 / 𝑘⦌𝐵 = 0)
55 nfv 1946 . . . . . . . 8 Ⅎ𝑘 𝑗 ∈ 𝐴
562, 55, 50nf3an 1933 . . . . . . 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 16170 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ 𝐴 ∧ ⦋𝑗 / 𝑘⦌𝐵 = 0) → ∏𝑘 ∈ 𝐴 𝐵 = 0)
6362rexlimdv3a 3167 . . . . 5 (𝜑 → (∃𝑗 ∈ 𝐴 ⦋𝑗 / 𝑘⦌𝐵 = 0 → ∏𝑘 ∈ 𝐴 𝐵 = 0))
6463imp 412 . . . 4 ((𝜑 ∧ ∃𝑗 ∈ 𝐴 ⦋𝑗 / 𝑘⦌𝐵 = 0) → ∏𝑘 ∈ 𝐴 𝐵 = 0)
65 0red 11318 . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 0 ∈ ℝ)
6665, 9, 7, 17, 23letrd 11474 . . . . . 6 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 0 ≤ 𝐶)
672, 5, 7, 66fprodge0 16169 . . . . 5 (𝜑 → 0 ≤ ∏𝑘 ∈ 𝐴 𝐶)
6867adantr 486 . . . 4 ((𝜑 ∧ ∃𝑗 ∈ 𝐴 ⦋𝑗 / 𝑘⦌𝐵 = 0) → 0 ≤ ∏𝑘 ∈ 𝐴 𝐶)
6964, 68eqbrtrd 5126 . . 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 1569  Ⅎwnf 1815   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  ∃wrex 3086  ⦋csb 3847   class class class wbr 5102  (class class class)co 7424  Fincfn 8981  ℂcc 11205  ℝcr 11206  0cc0 11207  1c1 11208   · cmul 11212   ≤ cle 11351   / cdiv 11980  ℝ+crp 13127  ∏cprod 16081
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5327  ax-pr 5391  ax-un 7755  ax-inf2 9649  ax-cnex 11263  ax-resscn 11264  ax-1cn 11265  ax-icn 11266  ax-addcl 11267  ax-addrcl 11268  ax-mulcl 11269  ax-mulrcl 11270  ax-mulcom 11271  ax-addass 11272  ax-mulass 11273  ax-distr 11274  ax-i2m1 11275  ax-1ne0 11276  ax-1rid 11277  ax-rnegex 11278  ax-rrecex 11279  ax-cnre 11280  ax-pre-lttri 11281  ax-pre-lttrn 11282  ax-pre-ltadd 11283  ax-pre-mulgt0 11284  ax-pre-sup 11285
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-pss 4013  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-int 4907  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  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 6307  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-isom 6552  df-riota 7381  df-ov 7427  df-oprab 7428  df-mpo 7429  df-om 7882  df-1st 8005  df-2nd 8006  df-frecs 8307  df-wrecs 8338  df-recs 8387  df-rdg 8426  df-1o 8484  df-er 8725  df-en 8982  df-dom 8983  df-sdom 8984  df-fin 8985  df-sup 9441  df-oi 9511  df-card 10027  df-pnf 11352  df-mnf 11353  df-xr 11354  df-ltxr 11355  df-le 11356  df-sub 11550  df-neg 11551  df-div 11981  df-nn 12343  df-2 12412  df-3 12413  df-n0 12614  df-z 12701  df-uz 12973  df-rp 13128  df-ico 13489  df-fz 13647  df-fzo 13796  df-seq 14152  df-exp 14212  df-hash 14482  df-cj 15275  df-re 15276  df-im 15277  df-sqrt 15411  df-abs 15412  df-clim 15664  df-prod 16082
This theorem is used by:  prmolefac  17233  aks4d1p1p2  43257  bcled  43365  bcle2d  43366  etransclem23  47403  hoidifhspdmvle  47766
  Copyright terms: Public domain W3C validator