Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > cshnz | Structured version Visualization version GIF version |
Description: A cyclical shift is the empty set if the number of shifts is not an integer. (Contributed by Alexander van der Vekens, 21-May-2018.) (Revised by AV, 17-Nov-2018.) |
Ref | Expression |
---|---|
cshnz | ⊢ (¬ 𝑁 ∈ ℤ → (𝑊 cyclShift 𝑁) = ∅) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | df-csh 14551 | . . 3 ⊢ cyclShift = (𝑤 ∈ {𝑓 ∣ ∃𝑙 ∈ ℕ0 𝑓 Fn (0..^𝑙)}, 𝑛 ∈ ℤ ↦ if(𝑤 = ∅, ∅, ((𝑤 substr 〈(𝑛 mod (♯‘𝑤)), (♯‘𝑤)〉) ++ (𝑤 prefix (𝑛 mod (♯‘𝑤)))))) | |
2 | 0ex 5240 | . . . 4 ⊢ ∅ ∈ V | |
3 | ovex 7340 | . . . 4 ⊢ ((𝑤 substr 〈(𝑛 mod (♯‘𝑤)), (♯‘𝑤)〉) ++ (𝑤 prefix (𝑛 mod (♯‘𝑤)))) ∈ V | |
4 | 2, 3 | ifex 4515 | . . 3 ⊢ if(𝑤 = ∅, ∅, ((𝑤 substr 〈(𝑛 mod (♯‘𝑤)), (♯‘𝑤)〉) ++ (𝑤 prefix (𝑛 mod (♯‘𝑤))))) ∈ V |
5 | 1, 4 | dmmpo 7943 | . 2 ⊢ dom cyclShift = ({𝑓 ∣ ∃𝑙 ∈ ℕ0 𝑓 Fn (0..^𝑙)} × ℤ) |
6 | id 22 | . . 3 ⊢ (¬ 𝑁 ∈ ℤ → ¬ 𝑁 ∈ ℤ) | |
7 | 6 | intnand 490 | . 2 ⊢ (¬ 𝑁 ∈ ℤ → ¬ (𝑊 ∈ {𝑓 ∣ ∃𝑙 ∈ ℕ0 𝑓 Fn (0..^𝑙)} ∧ 𝑁 ∈ ℤ)) |
8 | ndmovg 7487 | . 2 ⊢ ((dom cyclShift = ({𝑓 ∣ ∃𝑙 ∈ ℕ0 𝑓 Fn (0..^𝑙)} × ℤ) ∧ ¬ (𝑊 ∈ {𝑓 ∣ ∃𝑙 ∈ ℕ0 𝑓 Fn (0..^𝑙)} ∧ 𝑁 ∈ ℤ)) → (𝑊 cyclShift 𝑁) = ∅) | |
9 | 5, 7, 8 | sylancr 588 | 1 ⊢ (¬ 𝑁 ∈ ℤ → (𝑊 cyclShift 𝑁) = ∅) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ∧ wa 397 = wceq 1539 ∈ wcel 2104 {cab 2713 ∃wrex 3071 ∅c0 4262 ifcif 4465 〈cop 4571 × cxp 5598 dom cdm 5600 Fn wfn 6453 ‘cfv 6458 (class class class)co 7307 0cc0 10921 ℕ0cn0 12283 ℤcz 12369 ..^cfzo 13432 mod cmo 13639 ♯chash 14094 ++ cconcat 14322 substr csubstr 14402 prefix cpfx 14432 cyclShift ccsh 14550 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1911 ax-6 1969 ax-7 2009 ax-8 2106 ax-9 2114 ax-10 2135 ax-11 2152 ax-12 2169 ax-ext 2707 ax-sep 5232 ax-nul 5239 ax-pr 5361 ax-un 7620 |
This theorem depends on definitions: df-bi 206 df-an 398 df-or 846 df-3an 1089 df-tru 1542 df-fal 1552 df-ex 1780 df-nf 1784 df-sb 2066 df-mo 2538 df-eu 2567 df-clab 2714 df-cleq 2728 df-clel 2814 df-nfc 2887 df-ne 2942 df-ral 3063 df-rex 3072 df-rab 3306 df-v 3439 df-sbc 3722 df-csb 3838 df-dif 3895 df-un 3897 df-in 3899 df-ss 3909 df-nul 4263 df-if 4466 df-sn 4566 df-pr 4568 df-op 4572 df-uni 4845 df-iun 4933 df-br 5082 df-opab 5144 df-mpt 5165 df-id 5500 df-xp 5606 df-rel 5607 df-cnv 5608 df-co 5609 df-dm 5610 df-rn 5611 df-res 5612 df-ima 5613 df-iota 6410 df-fun 6460 df-fn 6461 df-f 6462 df-fv 6466 df-ov 7310 df-oprab 7311 df-mpo 7312 df-1st 7863 df-2nd 7864 df-csh 14551 |
This theorem is referenced by: 0csh0 14555 cshwcl 14560 |
Copyright terms: Public domain | W3C validator |