| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > swrdnznd | Structured version Visualization version GIF version | ||
| 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 6963). (Contributed by AV, 2-Dec-2022.) (New usage is discouraged.) |
| Ref | Expression |
|---|---|
| swrdnznd | ⊢ (¬ (𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) → (𝑆 substr 〈𝐹, 𝐿〉) = ∅) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | opelxp 5702 | . . 3 ⊢ (〈𝐹, 𝐿〉 ∈ (ℤ × ℤ) ↔ (𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ)) | |
| 2 | 1 | bilani 510 | . 2 ⊢ ((𝑆 ∈ V ∧ 〈𝐹, 𝐿〉 ∈ (ℤ × ℤ)) → (𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ)) |
| 3 | df-substr 14849 | . . 3 ⊢ substr = (𝑠 ∈ V, 𝑏 ∈ (ℤ × ℤ) ↦ if(((1st ‘𝑏)..^(2nd ‘𝑏)) ⊆ dom 𝑠, (𝑥 ∈ (0..^((2nd ‘𝑏) − (1st ‘𝑏))) ↦ (𝑠‘(𝑥 + (1st ‘𝑏)))), ∅)) | |
| 4 | 3 | mpondm0 7709 | . 2 ⊢ (¬ (𝑆 ∈ V ∧ 〈𝐹, 𝐿〉 ∈ (ℤ × ℤ)) → (𝑆 substr 〈𝐹, 𝐿〉) = ∅) |
| 5 | 2, 4 | nsyl5 160 | 1 ⊢ (¬ (𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) → (𝑆 substr 〈𝐹, 𝐿〉) = ∅) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 → wi 4 ∧ wa 401 = wceq 1572 ∈ wcel 2156 Vcvv 3461 ⊆ wss 3907 ∅c0 4288 ifcif 4492 〈cop 4848 ↦ cmpt 5200 × cxp 5664 dom cdm 5666 ‘cfv 6578 (class class class)co 7467 1st c1st 8049 2nd c2nd 8050 0cc0 11255 + caddc 11258 − cmin 11596 ℤcz 12749 ..^cfzo 13844 substr csubstr 14848 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1834 ax-4 1848 ax-5 1951 ax-6 2009 ax-7 2050 ax-8 2158 ax-9 2166 ax-10 2189 ax-11 2206 ax-12 2225 ax-ext 2746 ax-sep 5263 ax-nul 5274 ax-pr 5406 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1106 df-tru 1575 df-fal 1585 df-ex 1819 df-nf 1823 df-sb 2110 df-mo 2576 df-eu 2606 df-clab 2753 df-cleq 2766 df-clel 2850 df-nfc 2924 df-ne 2971 df-ral 3092 df-rex 3102 df-rab 3424 df-v 3463 df-ss 3908 df-dif 4057 df-in 4101 df-un 4161 df-nul 4289 df-if 4493 df-sn 4596 df-pr 4598 df-op 4849 df-uni 4881 df-br 5117 df-opab 5182 df-xp 5672 df-dm 5676 df-iota 6532 df-fv 6586 df-ov 7470 df-oprab 7471 df-mpo 7472 df-substr 14849 |
| This theorem is used by: swrdnnn0nd 14866 |
| Copyright terms: Public domain | W3C validator |