Metamath Proof Explorer


Theorem swrdnznd

Description: The value of a subword operation for noninteger arguments is the empty set. (This is due to our definition of function values for out-of-domain arguments, see ndmfv ). (Contributed by AV, 2-Dec-2022) (New usage is discouraged.)

Ref Expression
Assertion swrdnznd ⊢ ¬ F ∈ ℤ ∧ L ∈ ℤ → S substr F L = ∅

Proof

Step Hyp Ref Expression
1 opelxp ⊢ F L ∈ ℤ × ℤ ↔ F ∈ ℤ ∧ L ∈ ℤ
2 1 bilani ⊢ S ∈ V ∧ F L ∈ ℤ × ℤ → F ∈ ℤ ∧ L ∈ ℤ
3 df-substr ⊢ substr = s ∈ V , b ∈ ℤ × ℤ ⟼ if 1 st ⁡ b ..^ 2 nd ⁡ b ⊆ dom ⁡ s x ∈ 0 ..^ 2 nd ⁡ b − 1 st ⁡ b ⟼ s ⁡ x + 1 st ⁡ b ∅
4 3 mpondm0 ⊢ ¬ S ∈ V ∧ F L ∈ ℤ × ℤ → S substr F L = ∅
5 2 4 nsyl5 ⊢ ¬ F ∈ ℤ ∧ L ∈ ℤ → S substr F L = ∅