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

Theorem fprodle 16192
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 11336 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → 1 ∈ ℝ)
2 fprodle.kph . . . . . 6 Ⅎ𝑘𝜑
3 nfra1 3290 . . . . . 6 Ⅎ𝑘∀𝑘 ∈ 𝐴 𝐵 ≠ 0
42, 3nfan 1934 . . . . 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 3255 . . . . . . 7 ((∀𝑘 ∈ 𝐴 𝐵 ≠ 0 ∧ 𝑘 ∈ 𝐴) → 𝐵 ≠ 0)
1211adantll 727 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐵 ≠ 0)
138, 10, 12redivcld 12172 . . . . 5 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → (𝐶 / 𝐵) ∈ ℝ)
144, 6, 13fprodreclf 16155 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵) ∈ ℝ)
152, 5, 9fprodreclf 16155 . . . . 5 (𝜑 → ∏𝑘 ∈ 𝐴 𝐵 ∈ ℝ)
1615adantr 486 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 𝐵 ∈ ℝ)
17 fprodle.0l3b . . . . . 6 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 0 ≤ 𝐵)
182, 5, 9, 17fprodge0 16189 . . . . 5 (𝜑 → 0 ≤ ∏𝑘 ∈ 𝐴 𝐵)
1918adantr 486 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → 0 ≤ ∏𝑘 ∈ 𝐴 𝐵)
2017adantlr 728 . . . . . . . 8 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 0 ≤ 𝐵)
2110, 20, 12ne0gt0d 11474 . . . . . . 7 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 0 < 𝐵)
2210, 21elrpd 13188 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℝ+)
23 fprodle.blec . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ≤ 𝐶)
2423adantlr 728 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐵 ≤ 𝐶)
25 divge1 13217 . . . . . 6 ((𝐵 ∈ ℝ+ ∧ 𝐶 ∈ ℝ ∧ 𝐵 ≤ 𝐶) → 1 ≤ (𝐶 / 𝐵))
2622, 8, 24, 25syl3anc 1399 . . . . 5 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 1 ≤ (𝐶 / 𝐵))
274, 6, 13, 26fprodge1 16191 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → 1 ≤ ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵))
281, 14, 16, 19, 27lemul2ad 12284 . . 3 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → (∏𝑘 ∈ 𝐴 𝐵 · 1) ≤ (∏𝑘 ∈ 𝐴 𝐵 · ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵)))
299recnd 11364 . . . . . 6 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ)
302, 5, 29fprodclf 16188 . . . . 5 (𝜑 → ∏𝑘 ∈ 𝐴 𝐵 ∈ ℂ)
3130mulridd 11353 . . . 4 (𝜑 → (∏𝑘 ∈ 𝐴 𝐵 · 1) = ∏𝑘 ∈ 𝐴 𝐵)
3231adantr 486 . . 3 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → (∏𝑘 ∈ 𝐴 𝐵 · 1) = ∏𝑘 ∈ 𝐴 𝐵)
337recnd 11364 . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐶 ∈ ℂ)
3433adantlr 728 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐶 ∈ ℂ)
3529adantlr 728 . . . . . 6 (((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ)
364, 6, 34, 35, 12fproddivf 16183 . . . . 5 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵) = (∏𝑘 ∈ 𝐴 𝐶 / ∏𝑘 ∈ 𝐴 𝐵))
3736oveq2d 7459 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → (∏𝑘 ∈ 𝐴 𝐵 · ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵)) = (∏𝑘 ∈ 𝐴 𝐵 · (∏𝑘 ∈ 𝐴 𝐶 / ∏𝑘 ∈ 𝐴 𝐵)))
382, 5, 33fprodclf 16188 . . . . . 6 (𝜑 → ∏𝑘 ∈ 𝐴 𝐶 ∈ ℂ)
3938adantr 486 . . . . 5 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 𝐶 ∈ ℂ)
4030adantr 486 . . . . 5 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 𝐵 ∈ ℂ)
414, 6, 35, 12fprodn0f 16187 . . . . 5 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 𝐵 ≠ 0)
4239, 40, 41divcan2d 12122 . . . 4 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → (∏𝑘 ∈ 𝐴 𝐵 · (∏𝑘 ∈ 𝐴 𝐶 / ∏𝑘 ∈ 𝐴 𝐵)) = ∏𝑘 ∈ 𝐴 𝐶)
4337, 42eqtrd 2798 . . 3 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → (∏𝑘 ∈ 𝐴 𝐵 · ∏𝑘 ∈ 𝐴 (𝐶 / 𝐵)) = ∏𝑘 ∈ 𝐴 𝐶)
4428, 32, 433brtr3d 5139 . 2 ((𝜑 ∧ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0) → ∏𝑘 ∈ 𝐴 𝐵 ≤ ∏𝑘 ∈ 𝐴 𝐶)
45 nne 2963 . . . . 5 (¬ 𝐵 ≠ 0 ↔ 𝐵 = 0)
4645rexbii 3113 . . . 4 (∃𝑘 ∈ 𝐴 ¬ 𝐵 ≠ 0 ↔ ∃𝑘 ∈ 𝐴 𝐵 = 0)
47 rexnal 3118 . . . 4 (∃𝑘 ∈ 𝐴 ¬ 𝐵 ≠ 0 ↔ ¬ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0)
48 nfv 1949 . . . . 5 Ⅎ𝑗 𝐵 = 0
49 nfcsb1v 3875 . . . . . 6 Ⅎ𝑘⦋𝑗 / 𝑘⦌𝐵
5049nfeq1 2941 . . . . 5 Ⅎ𝑘⦋𝑗 / 𝑘⦌𝐵 = 0
51 csbeq1a 3865 . . . . . 6 (𝑘 = 𝑗 → 𝐵 = ⦋𝑗 / 𝑘⦌𝐵)
5251eqeq1d 2765 . . . . 5 (𝑘 = 𝑗 → (𝐵 = 0 ↔ ⦋𝑗 / 𝑘⦌𝐵 = 0))
5348, 50, 52cbvrexw 3309 . . . 4 (∃𝑘 ∈ 𝐴 𝐵 = 0 ↔ ∃𝑗 ∈ 𝐴 ⦋𝑗 / 𝑘⦌𝐵 = 0)
5446, 47, 533bitr3i 304 . . 3 (¬ ∀𝑘 ∈ 𝐴 𝐵 ≠ 0 ↔ ∃𝑗 ∈ 𝐴 ⦋𝑗 / 𝑘⦌𝐵 = 0)
55 nfv 1949 . . . . . . . 8 Ⅎ𝑘 𝑗 ∈ 𝐴
562, 55, 50nf3an 1936 . . . . . . 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 16190 . . . . . 6 ((𝜑 ∧ 𝑗 ∈ 𝐴 ∧ ⦋𝑗 / 𝑘⦌𝐵 = 0) → ∏𝑘 ∈ 𝐴 𝐵 = 0)
6362rexlimdv3a 3171 . . . . 5 (𝜑 → (∃𝑗 ∈ 𝐴 ⦋𝑗 / 𝑘⦌𝐵 = 0 → ∏𝑘 ∈ 𝐴 𝐵 = 0))
6463imp 412 . . . 4 ((𝜑 ∧ ∃𝑗 ∈ 𝐴 ⦋𝑗 / 𝑘⦌𝐵 = 0) → ∏𝑘 ∈ 𝐴 𝐵 = 0)
65 0red 11338 . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 0 ∈ ℝ)
6665, 9, 7, 17, 23letrd 11494 . . . . . 6 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 0 ≤ 𝐶)
672, 5, 7, 66fprodge0 16189 . . . . 5 (𝜑 → 0 ≤ ∏𝑘 ∈ 𝐴 𝐶)
6867adantr 486 . . . 4 ((𝜑 ∧ ∃𝑗 ∈ 𝐴 ⦋𝑗 / 𝑘⦌𝐵 = 0) → 0 ≤ ∏𝑘 ∈ 𝐴 𝐶)
6964, 68eqbrtrd 5130 . . 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 2147   ≠ wne 2959  ∀wral 3080  ∃wrex 3090  ⦋csb 3851   class class class wbr 5106  (class class class)co 7443  Fincfn 9001  ℂcc 11225  ℝcr 11226  0cc0 11227  1c1 11228   · cmul 11232   ≤ cle 11371   / cdiv 12000  ℝ+crp 13147  ∏cprod 16101
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7775  ax-inf2 9669  ax-cnex 11283  ax-resscn 11284  ax-1cn 11285  ax-icn 11286  ax-addcl 11287  ax-addrcl 11288  ax-mulcl 11289  ax-mulrcl 11290  ax-mulcom 11291  ax-addass 11292  ax-mulass 11293  ax-distr 11294  ax-i2m1 11295  ax-1ne0 11296  ax-1rid 11297  ax-rnegex 11298  ax-rrecex 11299  ax-cnre 11300  ax-pre-lttri 11301  ax-pre-lttrn 11302  ax-pre-ltadd 11303  ax-pre-mulgt0 11304  ax-pre-sup 11305
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-int 4911  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-se 5609  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6322  df-ord 6383  df-on 6384  df-lim 6385  df-suc 6386  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-f1 6563  df-fo 6564  df-f1o 6565  df-fv 6566  df-isom 6567  df-riota 7400  df-ov 7446  df-oprab 7447  df-mpo 7448  df-om 7902  df-1st 8025  df-2nd 8026  df-frecs 8327  df-wrecs 8358  df-recs 8407  df-rdg 8446  df-1o 8504  df-er 8745  df-en 9002  df-dom 9003  df-sdom 9004  df-fin 9005  df-sup 9461  df-oi 9531  df-card 10047  df-pnf 11372  df-mnf 11373  df-xr 11374  df-ltxr 11375  df-le 11376  df-sub 11570  df-neg 11571  df-div 12001  df-nn 12363  df-2 12432  df-3 12433  df-n0 12634  df-z 12721  df-uz 12993  df-rp 13148  df-ico 13509  df-fz 13667  df-fzo 13816  df-seq 14172  df-exp 14232  df-hash 14502  df-cj 15295  df-re 15296  df-im 15297  df-sqrt 15431  df-abs 15432  df-clim 15684  df-prod 16102
This theorem is used by:  prmolefac  17253  aks4d1p1p2  43312  bcled  43420  bcle2d  43421  etransclem23  47472  hoidifhspdmvle  47835
  Copyright terms: Public domain W3C validator