Metamath Proof Explorer < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >  swrdnznd Structured version   Visualization version   GIF version

Theorem swrdnznd 13999
 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 6679). (Contributed by AV, 2-Dec-2022.) (New usage is discouraged.)
Assertion
Ref Expression
swrdnznd (¬ (𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) → (𝑆 substr ⟨𝐹, 𝐿⟩) = ∅)

Proof of Theorem swrdnznd
Dummy variables 𝑠 𝑏 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 opelxp 5559 . . . 4 (⟨𝐹, 𝐿⟩ ∈ (ℤ × ℤ) ↔ (𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ))
21biimpi 219 . . 3 (⟨𝐹, 𝐿⟩ ∈ (ℤ × ℤ) → (𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ))
32adantl 485 . 2 ((𝑆 ∈ V ∧ ⟨𝐹, 𝐿⟩ ∈ (ℤ × ℤ)) → (𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ))
4 df-substr 13998 . . 3 substr = (𝑠 ∈ V, 𝑏 ∈ (ℤ × ℤ) ↦ if(((1st𝑏)..^(2nd𝑏)) ⊆ dom 𝑠, (𝑥 ∈ (0..^((2nd𝑏) − (1st𝑏))) ↦ (𝑠‘(𝑥 + (1st𝑏)))), ∅))
54mpondm0 7370 . 2 (¬ (𝑆 ∈ V ∧ ⟨𝐹, 𝐿⟩ ∈ (ℤ × ℤ)) → (𝑆 substr ⟨𝐹, 𝐿⟩) = ∅)
63, 5nsyl5 162 1 (¬ (𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) → (𝑆 substr ⟨𝐹, 𝐿⟩) = ∅)
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ∧ wa 399   = wceq 1538   ∈ wcel 2112  Vcvv 3444   ⊆ wss 3884  ∅c0 4246  ifcif 4428  ⟨cop 4534   ↦ cmpt 5113   × cxp 5521  dom cdm 5523  ‘cfv 6328  (class class class)co 7139  1st c1st 7673  2nd c2nd 7674  0cc0 10530   + caddc 10533   − cmin 10863  ℤcz 11973  ..^cfzo 13032   substr csubstr 13997 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2773  ax-sep 5170  ax-nul 5177  ax-pow 5234  ax-pr 5298 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2601  df-eu 2632  df-clab 2780  df-cleq 2794  df-clel 2873  df-nfc 2941  df-ral 3114  df-rex 3115  df-v 3446  df-dif 3887  df-un 3889  df-in 3891  df-ss 3901  df-nul 4247  df-if 4429  df-sn 4529  df-pr 4531  df-op 4535  df-uni 4804  df-br 5034  df-opab 5096  df-xp 5529  df-dm 5533  df-iota 6287  df-fv 6336  df-ov 7142  df-oprab 7143  df-mpo 7144  df-substr 13998 This theorem is referenced by:  swrdnnn0nd  14013
 Copyright terms: Public domain W3C validator