Metamath Proof Explorer


Theorem swrdrn

Description: The range of a subword of a word is a subset of the set of symbols for the word. (Contributed by AV, 13-Nov-2018)

Ref Expression
Assertion swrdrn ⊢ W ∈ Word V ∧ M ∈ 0 … N ∧ N ∈ 0 … W → ran ⁡ W substr M N ⊆ V

Proof

Step Hyp Ref Expression
1 swrdf ⊢ W ∈ Word V ∧ M ∈ 0 … N ∧ N ∈ 0 … W → W substr M N : 0 ..^ N − M ⟶ V
2 1 frnd ⊢ W ∈ Word V ∧ M ∈ 0 … N ∧ N ∈ 0 … W → ran ⁡ W substr M N ⊆ V