Description: The first symbol of a nonempty "repeated symbol word". (Contributed by AV, 4-Nov-2018)
Ref | Expression | ||
---|---|---|---|
Assertion | repswfsts | ⊢ ( ( 𝑆 ∈ 𝑉 ∧ 𝑁 ∈ ℕ ) → ( ( 𝑆 repeatS 𝑁 ) ‘ 0 ) = 𝑆 ) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | simpl | ⊢ ( ( 𝑆 ∈ 𝑉 ∧ 𝑁 ∈ ℕ ) → 𝑆 ∈ 𝑉 ) | |
2 | nnnn0 | ⊢ ( 𝑁 ∈ ℕ → 𝑁 ∈ ℕ0 ) | |
3 | 2 | adantl | ⊢ ( ( 𝑆 ∈ 𝑉 ∧ 𝑁 ∈ ℕ ) → 𝑁 ∈ ℕ0 ) |
4 | lbfzo0 | ⊢ ( 0 ∈ ( 0 ..^ 𝑁 ) ↔ 𝑁 ∈ ℕ ) | |
5 | 4 | biimpri | ⊢ ( 𝑁 ∈ ℕ → 0 ∈ ( 0 ..^ 𝑁 ) ) |
6 | 5 | adantl | ⊢ ( ( 𝑆 ∈ 𝑉 ∧ 𝑁 ∈ ℕ ) → 0 ∈ ( 0 ..^ 𝑁 ) ) |
7 | repswsymb | ⊢ ( ( 𝑆 ∈ 𝑉 ∧ 𝑁 ∈ ℕ0 ∧ 0 ∈ ( 0 ..^ 𝑁 ) ) → ( ( 𝑆 repeatS 𝑁 ) ‘ 0 ) = 𝑆 ) | |
8 | 1 3 6 7 | syl3anc | ⊢ ( ( 𝑆 ∈ 𝑉 ∧ 𝑁 ∈ ℕ ) → ( ( 𝑆 repeatS 𝑁 ) ‘ 0 ) = 𝑆 ) |