| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > isumlessdc | GIF version | ||
| Description: A finite sum of nonnegative numbers is less than or equal to its limit. (Contributed by Mario Carneiro, 24-Apr-2014.) |
| Ref | Expression |
|---|---|
| isumless.1 | ⊢ 𝑍 = (ℤ≥‘𝑀) |
| isumless.2 | ⊢ (𝜑 → 𝑀 ∈ ℤ) |
| isumless.3 | ⊢ (𝜑 → 𝐴 ∈ Fin) |
| isumless.4 | ⊢ (𝜑 → 𝐴 ⊆ 𝑍) |
| isumless.5 | ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → (𝐹‘𝑘) = 𝐵) |
| isumless.dc | ⊢ (𝜑 → ∀𝑘 ∈ 𝑍 DECID 𝑘 ∈ 𝐴) |
| isumless.6 | ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → 𝐵 ∈ ℝ) |
| isumless.7 | ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → 0 ≤ 𝐵) |
| isumless.8 | ⊢ (𝜑 → seq𝑀( + , 𝐹) ∈ dom ⇝ ) |
| Ref | Expression |
|---|---|
| isumlessdc | ⊢ (𝜑 → Σ𝑘 ∈ 𝐴 𝐵 ≤ Σ𝑘 ∈ 𝑍 𝐵) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | isumless.4 | . . 3 ⊢ (𝜑 → 𝐴 ⊆ 𝑍) | |
| 2 | isumless.dc | . . 3 ⊢ (𝜑 → ∀𝑘 ∈ 𝑍 DECID 𝑘 ∈ 𝐴) | |
| 3 | 1 | sselda 3204 | . . . . 5 ⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝑘 ∈ 𝑍) |
| 4 | isumless.6 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → 𝐵 ∈ ℝ) | |
| 5 | 4 | recnd 8143 | . . . . 5 ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → 𝐵 ∈ ℂ) |
| 6 | 3, 5 | syldan 282 | . . . 4 ⊢ ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ) |
| 7 | 6 | ralrimiva 2583 | . . 3 ⊢ (𝜑 → ∀𝑘 ∈ 𝐴 𝐵 ∈ ℂ) |
| 8 | isumless.2 | . . . . 5 ⊢ (𝜑 → 𝑀 ∈ ℤ) | |
| 9 | isumless.1 | . . . . . . 7 ⊢ 𝑍 = (ℤ≥‘𝑀) | |
| 10 | 9 | eqimssi 3260 | . . . . . 6 ⊢ 𝑍 ⊆ (ℤ≥‘𝑀) |
| 11 | 10 | a1i 9 | . . . . 5 ⊢ (𝜑 → 𝑍 ⊆ (ℤ≥‘𝑀)) |
| 12 | 9 | eleq2i 2276 | . . . . . . . . . 10 ⊢ (𝑘 ∈ 𝑍 ↔ 𝑘 ∈ (ℤ≥‘𝑀)) |
| 13 | 12 | biimpri 133 | . . . . . . . . 9 ⊢ (𝑘 ∈ (ℤ≥‘𝑀) → 𝑘 ∈ 𝑍) |
| 14 | 13 | orcd 737 | . . . . . . . 8 ⊢ (𝑘 ∈ (ℤ≥‘𝑀) → (𝑘 ∈ 𝑍 ∨ ¬ 𝑘 ∈ 𝑍)) |
| 15 | df-dc 839 | . . . . . . . 8 ⊢ (DECID 𝑘 ∈ 𝑍 ↔ (𝑘 ∈ 𝑍 ∨ ¬ 𝑘 ∈ 𝑍)) | |
| 16 | 14, 15 | sylibr 134 | . . . . . . 7 ⊢ (𝑘 ∈ (ℤ≥‘𝑀) → DECID 𝑘 ∈ 𝑍) |
| 17 | 16 | rgen 2563 | . . . . . 6 ⊢ ∀𝑘 ∈ (ℤ≥‘𝑀)DECID 𝑘 ∈ 𝑍 |
| 18 | 17 | a1i 9 | . . . . 5 ⊢ (𝜑 → ∀𝑘 ∈ (ℤ≥‘𝑀)DECID 𝑘 ∈ 𝑍) |
| 19 | 8, 11, 18 | 3jca 1182 | . . . 4 ⊢ (𝜑 → (𝑀 ∈ ℤ ∧ 𝑍 ⊆ (ℤ≥‘𝑀) ∧ ∀𝑘 ∈ (ℤ≥‘𝑀)DECID 𝑘 ∈ 𝑍)) |
| 20 | 19 | orcd 737 | . . 3 ⊢ (𝜑 → ((𝑀 ∈ ℤ ∧ 𝑍 ⊆ (ℤ≥‘𝑀) ∧ ∀𝑘 ∈ (ℤ≥‘𝑀)DECID 𝑘 ∈ 𝑍) ∨ 𝑍 ∈ Fin)) |
| 21 | 1, 2, 7, 20 | isumss2 11870 | . 2 ⊢ (𝜑 → Σ𝑘 ∈ 𝐴 𝐵 = Σ𝑘 ∈ 𝑍 if(𝑘 ∈ 𝐴, 𝐵, 0)) |
| 22 | simpr 110 | . . . . 5 ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → 𝑘 ∈ 𝑍) | |
| 23 | isumless.5 | . . . . . . . 8 ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → (𝐹‘𝑘) = 𝐵) | |
| 24 | 23, 4 | eqeltrd 2286 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → (𝐹‘𝑘) ∈ ℝ) |
| 25 | 24 | adantr 276 | . . . . . 6 ⊢ (((𝜑 ∧ 𝑘 ∈ 𝑍) ∧ 𝑘 ∈ 𝐴) → (𝐹‘𝑘) ∈ ℝ) |
| 26 | 0red 8115 | . . . . . 6 ⊢ (((𝜑 ∧ 𝑘 ∈ 𝑍) ∧ ¬ 𝑘 ∈ 𝐴) → 0 ∈ ℝ) | |
| 27 | 2 | r19.21bi 2598 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → DECID 𝑘 ∈ 𝐴) |
| 28 | 25, 26, 27 | ifcldadc 3612 | . . . . 5 ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → if(𝑘 ∈ 𝐴, (𝐹‘𝑘), 0) ∈ ℝ) |
| 29 | eleq1w 2270 | . . . . . . 7 ⊢ (𝑗 = 𝑘 → (𝑗 ∈ 𝐴 ↔ 𝑘 ∈ 𝐴)) | |
| 30 | fveq2 5603 | . . . . . . 7 ⊢ (𝑗 = 𝑘 → (𝐹‘𝑗) = (𝐹‘𝑘)) | |
| 31 | 29, 30 | ifbieq1d 3605 | . . . . . 6 ⊢ (𝑗 = 𝑘 → if(𝑗 ∈ 𝐴, (𝐹‘𝑗), 0) = if(𝑘 ∈ 𝐴, (𝐹‘𝑘), 0)) |
| 32 | eqid 2209 | . . . . . 6 ⊢ (𝑗 ∈ 𝑍 ↦ if(𝑗 ∈ 𝐴, (𝐹‘𝑗), 0)) = (𝑗 ∈ 𝑍 ↦ if(𝑗 ∈ 𝐴, (𝐹‘𝑗), 0)) | |
| 33 | 31, 32 | fvmptg 5683 | . . . . 5 ⊢ ((𝑘 ∈ 𝑍 ∧ if(𝑘 ∈ 𝐴, (𝐹‘𝑘), 0) ∈ ℝ) → ((𝑗 ∈ 𝑍 ↦ if(𝑗 ∈ 𝐴, (𝐹‘𝑗), 0))‘𝑘) = if(𝑘 ∈ 𝐴, (𝐹‘𝑘), 0)) |
| 34 | 22, 28, 33 | syl2anc 411 | . . . 4 ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → ((𝑗 ∈ 𝑍 ↦ if(𝑗 ∈ 𝐴, (𝐹‘𝑗), 0))‘𝑘) = if(𝑘 ∈ 𝐴, (𝐹‘𝑘), 0)) |
| 35 | 23 | ifeq1d 3600 | . . . 4 ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → if(𝑘 ∈ 𝐴, (𝐹‘𝑘), 0) = if(𝑘 ∈ 𝐴, 𝐵, 0)) |
| 36 | 34, 35 | eqtrd 2242 | . . 3 ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → ((𝑗 ∈ 𝑍 ↦ if(𝑗 ∈ 𝐴, (𝐹‘𝑗), 0))‘𝑘) = if(𝑘 ∈ 𝐴, 𝐵, 0)) |
| 37 | 35, 28 | eqeltrrd 2287 | . . 3 ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → if(𝑘 ∈ 𝐴, 𝐵, 0) ∈ ℝ) |
| 38 | 4 | leidd 8629 | . . . 4 ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → 𝐵 ≤ 𝐵) |
| 39 | isumless.7 | . . . 4 ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → 0 ≤ 𝐵) | |
| 40 | breq1 4065 | . . . . 5 ⊢ (𝐵 = if(𝑘 ∈ 𝐴, 𝐵, 0) → (𝐵 ≤ 𝐵 ↔ if(𝑘 ∈ 𝐴, 𝐵, 0) ≤ 𝐵)) | |
| 41 | breq1 4065 | . . . . 5 ⊢ (0 = if(𝑘 ∈ 𝐴, 𝐵, 0) → (0 ≤ 𝐵 ↔ if(𝑘 ∈ 𝐴, 𝐵, 0) ≤ 𝐵)) | |
| 42 | 40, 41 | ifbothdc 3617 | . . . 4 ⊢ ((𝐵 ≤ 𝐵 ∧ 0 ≤ 𝐵 ∧ DECID 𝑘 ∈ 𝐴) → if(𝑘 ∈ 𝐴, 𝐵, 0) ≤ 𝐵) |
| 43 | 38, 39, 27, 42 | syl3anc 1252 | . . 3 ⊢ ((𝜑 ∧ 𝑘 ∈ 𝑍) → if(𝑘 ∈ 𝐴, 𝐵, 0) ≤ 𝐵) |
| 44 | isumless.3 | . . . 4 ⊢ (𝜑 → 𝐴 ∈ Fin) | |
| 45 | 13, 27 | sylan2 286 | . . . 4 ⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑀)) → DECID 𝑘 ∈ 𝐴) |
| 46 | 9, 8, 44, 1, 45, 36, 6 | fsum3cvg3 11873 | . . 3 ⊢ (𝜑 → seq𝑀( + , (𝑗 ∈ 𝑍 ↦ if(𝑗 ∈ 𝐴, (𝐹‘𝑗), 0))) ∈ dom ⇝ ) |
| 47 | isumless.8 | . . 3 ⊢ (𝜑 → seq𝑀( + , 𝐹) ∈ dom ⇝ ) | |
| 48 | 9, 8, 36, 37, 23, 4, 43, 46, 47 | isumle 11972 | . 2 ⊢ (𝜑 → Σ𝑘 ∈ 𝑍 if(𝑘 ∈ 𝐴, 𝐵, 0) ≤ Σ𝑘 ∈ 𝑍 𝐵) |
| 49 | 21, 48 | eqbrtrd 4084 | 1 ⊢ (𝜑 → Σ𝑘 ∈ 𝐴 𝐵 ≤ Σ𝑘 ∈ 𝑍 𝐵) |
| Colors of variables: wff set class |
| Syntax hints: ¬ wn 3 → wi 4 ∧ wa 104 ∨ wo 712 DECID wdc 838 ∧ w3a 983 = wceq 1375 ∈ wcel 2180 ∀wral 2488 ⊆ wss 3177 ifcif 3582 class class class wbr 4062 ↦ cmpt 4124 dom cdm 4696 ‘cfv 5294 Fincfn 6857 ℂcc 7965 ℝcr 7966 0cc0 7967 + caddc 7970 ≤ cle 8150 ℤcz 9414 ℤ≥cuz 9690 seqcseq 10636 ⇝ cli 11755 Σcsu 11830 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-in1 617 ax-in2 618 ax-io 713 ax-5 1473 ax-7 1474 ax-gen 1475 ax-ie1 1519 ax-ie2 1520 ax-8 1530 ax-10 1531 ax-11 1532 ax-i12 1533 ax-bndl 1535 ax-4 1536 ax-17 1552 ax-i9 1556 ax-ial 1560 ax-i5r 1561 ax-13 2182 ax-14 2183 ax-ext 2191 ax-coll 4178 ax-sep 4181 ax-nul 4189 ax-pow 4237 ax-pr 4272 ax-un 4501 ax-setind 4606 ax-iinf 4657 ax-cnex 8058 ax-resscn 8059 ax-1cn 8060 ax-1re 8061 ax-icn 8062 ax-addcl 8063 ax-addrcl 8064 ax-mulcl 8065 ax-mulrcl 8066 ax-addcom 8067 ax-mulcom 8068 ax-addass 8069 ax-mulass 8070 ax-distr 8071 ax-i2m1 8072 ax-0lt1 8073 ax-1rid 8074 ax-0id 8075 ax-rnegex 8076 ax-precex 8077 ax-cnre 8078 ax-pre-ltirr 8079 ax-pre-ltwlin 8080 ax-pre-lttrn 8081 ax-pre-apti 8082 ax-pre-ltadd 8083 ax-pre-mulgt0 8084 ax-pre-mulext 8085 ax-arch 8086 ax-caucvg 8087 |
| This theorem depends on definitions: df-bi 117 df-dc 839 df-3or 984 df-3an 985 df-tru 1378 df-fal 1381 df-nf 1487 df-sb 1789 df-eu 2060 df-mo 2061 df-clab 2196 df-cleq 2202 df-clel 2205 df-nfc 2341 df-ne 2381 df-nel 2476 df-ral 2493 df-rex 2494 df-reu 2495 df-rmo 2496 df-rab 2497 df-v 2781 df-sbc 3009 df-csb 3105 df-dif 3179 df-un 3181 df-in 3183 df-ss 3190 df-nul 3472 df-if 3583 df-pw 3631 df-sn 3652 df-pr 3653 df-op 3655 df-uni 3868 df-int 3903 df-iun 3946 df-br 4063 df-opab 4125 df-mpt 4126 df-tr 4162 df-id 4361 df-po 4364 df-iso 4365 df-iord 4434 df-on 4436 df-ilim 4437 df-suc 4439 df-iom 4660 df-xp 4702 df-rel 4703 df-cnv 4704 df-co 4705 df-dm 4706 df-rn 4707 df-res 4708 df-ima 4709 df-iota 5254 df-fun 5296 df-fn 5297 df-f 5298 df-f1 5299 df-fo 5300 df-f1o 5301 df-fv 5302 df-isom 5303 df-riota 5927 df-ov 5977 df-oprab 5978 df-mpo 5979 df-1st 6256 df-2nd 6257 df-recs 6421 df-irdg 6486 df-frec 6507 df-1o 6532 df-oadd 6536 df-er 6650 df-en 6858 df-dom 6859 df-fin 6860 df-sup 7119 df-pnf 8151 df-mnf 8152 df-xr 8153 df-ltxr 8154 df-le 8155 df-sub 8287 df-neg 8288 df-reap 8690 df-ap 8697 df-div 8788 df-inn 9079 df-2 9137 df-3 9138 df-4 9139 df-n0 9338 df-z 9415 df-uz 9691 df-q 9783 df-rp 9818 df-fz 10173 df-fzo 10307 df-seqfrec 10637 df-exp 10728 df-ihash 10965 df-cj 11319 df-re 11320 df-im 11321 df-rsqrt 11475 df-abs 11476 df-clim 11756 df-sumdc 11831 |
| This theorem is referenced by: mertenslemi1 12012 |
| Copyright terms: Public domain | W3C validator |