| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > wrdred1 | Structured version Visualization version GIF version | ||
| Description: A word truncated by a symbol is a word. (Contributed by AV, 29-Jan-2021.) |
| Ref | Expression |
|---|---|
| wrdred1 | ⊢ (𝐹 ∈ Word 𝑆 → (𝐹 ↾ (0..^((♯‘𝐹) − 1))) ∈ Word 𝑆) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | wrdf 14701 | . 2 ⊢ (𝐹 ∈ Word 𝑆 → 𝐹:(0..^(♯‘𝐹))⟶𝑆) | |
| 2 | lencl 14716 | . 2 ⊢ (𝐹 ∈ Word 𝑆 → (♯‘𝐹) ∈ ℕ0) | |
| 3 | nn0z 12754 | . . . . 5 ⊢ ((♯‘𝐹) ∈ ℕ0 → (♯‘𝐹) ∈ ℤ) | |
| 4 | fzossrbm1 13860 | . . . . 5 ⊢ ((♯‘𝐹) ∈ ℤ → (0..^((♯‘𝐹) − 1)) ⊆ (0..^(♯‘𝐹))) | |
| 5 | 3, 4 | syl 18 | . . . 4 ⊢ ((♯‘𝐹) ∈ ℕ0 → (0..^((♯‘𝐹) − 1)) ⊆ (0..^(♯‘𝐹))) |
| 6 | fssres 6775 | . . . 4 ⊢ ((𝐹:(0..^(♯‘𝐹))⟶𝑆 ∧ (0..^((♯‘𝐹) − 1)) ⊆ (0..^(♯‘𝐹))) → (𝐹 ↾ (0..^((♯‘𝐹) − 1))):(0..^((♯‘𝐹) − 1))⟶𝑆) | |
| 7 | 5, 6 | sylan2 605 | . . 3 ⊢ ((𝐹:(0..^(♯‘𝐹))⟶𝑆 ∧ (♯‘𝐹) ∈ ℕ0) → (𝐹 ↾ (0..^((♯‘𝐹) − 1))):(0..^((♯‘𝐹) − 1))⟶𝑆) |
| 8 | iswrdi 14700 | . . 3 ⊢ ((𝐹 ↾ (0..^((♯‘𝐹) − 1))):(0..^((♯‘𝐹) − 1))⟶𝑆 → (𝐹 ↾ (0..^((♯‘𝐹) − 1))) ∈ Word 𝑆) | |
| 9 | 7, 8 | syl 18 | . 2 ⊢ ((𝐹:(0..^(♯‘𝐹))⟶𝑆 ∧ (♯‘𝐹) ∈ ℕ0) → (𝐹 ↾ (0..^((♯‘𝐹) − 1))) ∈ Word 𝑆) |
| 10 | 1, 2, 9 | syl2anc 596 | 1 ⊢ (𝐹 ∈ Word 𝑆 → (𝐹 ↾ (0..^((♯‘𝐹) − 1))) ∈ Word 𝑆) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 ∈ wcel 2148 ⊆ wss 3897 ↾ cres 5657 ⟶wf 6559 ‘cfv 6563 (class class class)co 7448 0cc0 11236 1c1 11237 − cmin 11577 ℕ0cn0 12643 ℤcz 12730 ..^cfzo 13825 ♯chash 14512 Word cword 14696 |
| 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 2150 ax-9 2158 ax-10 2181 ax-11 2198 ax-12 2217 ax-ext 2736 ax-rep 5235 ax-sep 5252 ax-nul 5263 ax-pow 5331 ax-pr 5395 ax-un 7780 ax-cnex 11292 ax-resscn 11293 ax-1cn 11294 ax-icn 11295 ax-addcl 11296 ax-addrcl 11297 ax-mulcl 11298 ax-mulrcl 11299 ax-mulcom 11300 ax-addass 11301 ax-mulass 11302 ax-distr 11303 ax-i2m1 11304 ax-1ne0 11305 ax-1rid 11306 ax-rnegex 11307 ax-rrecex 11308 ax-cnre 11309 ax-pre-lttri 11310 ax-pre-lttrn 11311 ax-pre-ltadd 11312 ax-pre-mulgt0 11313 |
| 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 2568 df-eu 2598 df-clab 2743 df-cleq 2756 df-clel 2840 df-nfc 2914 df-ne 2961 df-nel 3067 df-ral 3082 df-rex 3092 df-reu 3367 df-rab 3414 df-v 3453 df-sbc 3740 df-csb 3849 df-ss 3898 df-pss 4014 df-dif 4047 df-in 4091 df-un 4151 df-nul 4279 df-if 4483 df-pw 4559 df-sn 4586 df-pr 4588 df-op 4838 df-uni 4870 df-int 4910 df-iun 4955 df-br 5106 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-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 6327 df-ord 6388 df-on 6389 df-lim 6390 df-suc 6391 df-iota 6517 df-fun 6565 df-fn 6566 df-f 6567 df-f1 6568 df-fo 6569 df-f1o 6570 df-fv 6571 df-riota 7405 df-ov 7451 df-oprab 7452 df-mpo 7453 df-om 7909 df-1st 8032 df-2nd 8033 df-frecs 8334 df-wrecs 8365 df-recs 8414 df-rdg 8453 df-1o 8511 df-er 8752 df-en 9009 df-dom 9010 df-sdom 9011 df-fin 9012 df-card 10054 df-pnf 11381 df-mnf 11382 df-xr 11383 df-ltxr 11384 df-le 11385 df-sub 11579 df-neg 11580 df-nn 12373 df-n0 12644 df-z 12731 df-uz 13003 df-fz 13677 df-fzo 13826 df-hash 14513 df-word 14697 |
| This theorem is used by: redwlk 30304 |
| Copyright terms: Public domain | W3C validator |