| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > fser0const | GIF version | ||
| Description: Simplifying an expression which turns out just to be a constant zero sequence. (Contributed by Jim Kingdon, 16-Sep-2022.) |
| Ref | Expression |
|---|---|
| fser0const.z | ⊢ 𝑍 = (ℤ≥‘𝑀) |
| Ref | Expression |
|---|---|
| fser0const | ⊢ (𝑁 ∈ 𝑍 → (𝑛 ∈ 𝑍 ↦ if(𝑛 ≤ 𝑁, ((𝑍 × {0})‘𝑛), 0)) = (𝑍 × {0})) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | simpr 110 | . . . . . 6 ⊢ (((𝑁 ∈ 𝑍 ∧ 𝑛 ∈ 𝑍) ∧ 𝑛 ≤ 𝑁) → 𝑛 ≤ 𝑁) | |
| 2 | 1 | iftrued 3613 | . . . . 5 ⊢ (((𝑁 ∈ 𝑍 ∧ 𝑛 ∈ 𝑍) ∧ 𝑛 ≤ 𝑁) → if(𝑛 ≤ 𝑁, ((𝑍 × {0})‘𝑛), 0) = ((𝑍 × {0})‘𝑛)) |
| 3 | c0ex 8178 | . . . . . . 7 ⊢ 0 ∈ V | |
| 4 | 3 | fvconst2 5873 | . . . . . 6 ⊢ (𝑛 ∈ 𝑍 → ((𝑍 × {0})‘𝑛) = 0) |
| 5 | 4 | ad2antlr 489 | . . . . 5 ⊢ (((𝑁 ∈ 𝑍 ∧ 𝑛 ∈ 𝑍) ∧ 𝑛 ≤ 𝑁) → ((𝑍 × {0})‘𝑛) = 0) |
| 6 | 2, 5 | eqtrd 2263 | . . . 4 ⊢ (((𝑁 ∈ 𝑍 ∧ 𝑛 ∈ 𝑍) ∧ 𝑛 ≤ 𝑁) → if(𝑛 ≤ 𝑁, ((𝑍 × {0})‘𝑛), 0) = 0) |
| 7 | simpr 110 | . . . . 5 ⊢ (((𝑁 ∈ 𝑍 ∧ 𝑛 ∈ 𝑍) ∧ ¬ 𝑛 ≤ 𝑁) → ¬ 𝑛 ≤ 𝑁) | |
| 8 | 7 | iffalsed 3616 | . . . 4 ⊢ (((𝑁 ∈ 𝑍 ∧ 𝑛 ∈ 𝑍) ∧ ¬ 𝑛 ≤ 𝑁) → if(𝑛 ≤ 𝑁, ((𝑍 × {0})‘𝑛), 0) = 0) |
| 9 | eluzelz 9770 | . . . . . . 7 ⊢ (𝑛 ∈ (ℤ≥‘𝑀) → 𝑛 ∈ ℤ) | |
| 10 | fser0const.z | . . . . . . 7 ⊢ 𝑍 = (ℤ≥‘𝑀) | |
| 11 | 9, 10 | eleq2s 2325 | . . . . . 6 ⊢ (𝑛 ∈ 𝑍 → 𝑛 ∈ ℤ) |
| 12 | eluzelz 9770 | . . . . . . 7 ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → 𝑁 ∈ ℤ) | |
| 13 | 12, 10 | eleq2s 2325 | . . . . . 6 ⊢ (𝑁 ∈ 𝑍 → 𝑁 ∈ ℤ) |
| 14 | zdcle 9561 | . . . . . 6 ⊢ ((𝑛 ∈ ℤ ∧ 𝑁 ∈ ℤ) → DECID 𝑛 ≤ 𝑁) | |
| 15 | 11, 13, 14 | syl2anr 290 | . . . . 5 ⊢ ((𝑁 ∈ 𝑍 ∧ 𝑛 ∈ 𝑍) → DECID 𝑛 ≤ 𝑁) |
| 16 | exmiddc 843 | . . . . 5 ⊢ (DECID 𝑛 ≤ 𝑁 → (𝑛 ≤ 𝑁 ∨ ¬ 𝑛 ≤ 𝑁)) | |
| 17 | 15, 16 | syl 14 | . . . 4 ⊢ ((𝑁 ∈ 𝑍 ∧ 𝑛 ∈ 𝑍) → (𝑛 ≤ 𝑁 ∨ ¬ 𝑛 ≤ 𝑁)) |
| 18 | 6, 8, 17 | mpjaodan 805 | . . 3 ⊢ ((𝑁 ∈ 𝑍 ∧ 𝑛 ∈ 𝑍) → if(𝑛 ≤ 𝑁, ((𝑍 × {0})‘𝑛), 0) = 0) |
| 19 | 18 | mpteq2dva 4180 | . 2 ⊢ (𝑁 ∈ 𝑍 → (𝑛 ∈ 𝑍 ↦ if(𝑛 ≤ 𝑁, ((𝑍 × {0})‘𝑛), 0)) = (𝑛 ∈ 𝑍 ↦ 0)) |
| 20 | fconstmpt 4775 | . 2 ⊢ (𝑍 × {0}) = (𝑛 ∈ 𝑍 ↦ 0) | |
| 21 | 19, 20 | eqtr4di 2281 | 1 ⊢ (𝑁 ∈ 𝑍 → (𝑛 ∈ 𝑍 ↦ if(𝑛 ≤ 𝑁, ((𝑍 × {0})‘𝑛), 0)) = (𝑍 × {0})) |
| Colors of variables: wff set class |
| Syntax hints: ¬ wn 3 → wi 4 ∧ wa 104 ∨ wo 715 DECID wdc 841 = wceq 1397 ∈ wcel 2201 ifcif 3604 {csn 3670 class class class wbr 4089 ↦ cmpt 4151 × cxp 4725 ‘cfv 5328 0cc0 8037 ≤ cle 8220 ℤcz 9484 ℤ≥cuz 9760 |
| 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 619 ax-in2 620 ax-io 716 ax-5 1495 ax-7 1496 ax-gen 1497 ax-ie1 1541 ax-ie2 1542 ax-8 1552 ax-10 1553 ax-11 1554 ax-i12 1555 ax-bndl 1557 ax-4 1558 ax-17 1574 ax-i9 1578 ax-ial 1582 ax-i5r 1583 ax-13 2203 ax-14 2204 ax-ext 2212 ax-sep 4208 ax-pow 4266 ax-pr 4301 ax-un 4532 ax-setind 4637 ax-cnex 8128 ax-resscn 8129 ax-1cn 8130 ax-1re 8131 ax-icn 8132 ax-addcl 8133 ax-addrcl 8134 ax-mulcl 8135 ax-addcom 8137 ax-addass 8139 ax-distr 8141 ax-i2m1 8142 ax-0lt1 8143 ax-0id 8145 ax-rnegex 8146 ax-cnre 8148 ax-pre-ltirr 8149 ax-pre-ltwlin 8150 ax-pre-lttrn 8151 ax-pre-ltadd 8153 |
| This theorem depends on definitions: df-bi 117 df-dc 842 df-3or 1005 df-3an 1006 df-tru 1400 df-fal 1403 df-nf 1509 df-sb 1810 df-eu 2081 df-mo 2082 df-clab 2217 df-cleq 2223 df-clel 2226 df-nfc 2362 df-ne 2402 df-nel 2497 df-ral 2514 df-rex 2515 df-reu 2516 df-rab 2518 df-v 2803 df-sbc 3031 df-dif 3201 df-un 3203 df-in 3205 df-ss 3212 df-if 3605 df-pw 3655 df-sn 3676 df-pr 3677 df-op 3679 df-uni 3895 df-int 3930 df-br 4090 df-opab 4152 df-mpt 4153 df-id 4392 df-xp 4733 df-rel 4734 df-cnv 4735 df-co 4736 df-dm 4737 df-rn 4738 df-res 4739 df-ima 4740 df-iota 5288 df-fun 5330 df-fn 5331 df-f 5332 df-fv 5336 df-riota 5976 df-ov 6026 df-oprab 6027 df-mpo 6028 df-pnf 8221 df-mnf 8222 df-xr 8223 df-ltxr 8224 df-le 8225 df-sub 8357 df-neg 8358 df-inn 9149 df-n0 9408 df-z 9485 df-uz 9761 |
| This theorem is referenced by: isumz 11973 |
| Copyright terms: Public domain | W3C validator |