Metamath Proof Explorer


Theorem repsw

Description: A function mapping a half-open range of nonnegative integers to a constant is a word consisting of one symbol repeated several times ("repeated symbol word"). (Contributed by AV, 4-Nov-2018)

Ref Expression
Assertion repsw ⊢ S ∈ V ∧ N ∈ ℕ 0 → S repeatS N ∈ Word V

Proof

Step Hyp Ref Expression
1 repsf ⊢ S ∈ V ∧ N ∈ ℕ 0 → S repeatS N : 0 ..^ N ⟶ V
2 iswrdi ⊢ S repeatS N : 0 ..^ N ⟶ V → S repeatS N ∈ Word V
3 1 2 syl ⊢ S ∈ V ∧ N ∈ ℕ 0 → S repeatS N ∈ Word V