Mathbox for Thierry Arnoux |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > Mathboxes > sseqfn | Structured version Visualization version GIF version |
Description: A strong recursive sequence is a function over the nonnegative integers. (Contributed by Thierry Arnoux, 23-Apr-2019.) |
Ref | Expression |
---|---|
sseqval.1 | ⊢ (𝜑 → 𝑆 ∈ V) |
sseqval.2 | ⊢ (𝜑 → 𝑀 ∈ Word 𝑆) |
sseqval.3 | ⊢ 𝑊 = (Word 𝑆 ∩ (◡♯ “ (ℤ≥‘(♯‘𝑀)))) |
sseqval.4 | ⊢ (𝜑 → 𝐹:𝑊⟶𝑆) |
Ref | Expression |
---|---|
sseqfn | ⊢ (𝜑 → (𝑀seqstr𝐹) Fn ℕ0) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | sseqval.2 | . . . 4 ⊢ (𝜑 → 𝑀 ∈ Word 𝑆) | |
2 | wrdfn 14116 | . . . 4 ⊢ (𝑀 ∈ Word 𝑆 → 𝑀 Fn (0..^(♯‘𝑀))) | |
3 | 1, 2 | syl 17 | . . 3 ⊢ (𝜑 → 𝑀 Fn (0..^(♯‘𝑀))) |
4 | fvex 6752 | . . . . . 6 ⊢ (𝑥‘((♯‘𝑥) − 1)) ∈ V | |
5 | df-lsw 14151 | . . . . . 6 ⊢ lastS = (𝑥 ∈ V ↦ (𝑥‘((♯‘𝑥) − 1))) | |
6 | 4, 5 | fnmpti 6543 | . . . . 5 ⊢ lastS Fn V |
7 | 6 | a1i 11 | . . . 4 ⊢ (𝜑 → lastS Fn V) |
8 | lencl 14121 | . . . . . 6 ⊢ (𝑀 ∈ Word 𝑆 → (♯‘𝑀) ∈ ℕ0) | |
9 | 8 | nn0zd 12310 | . . . . 5 ⊢ (𝑀 ∈ Word 𝑆 → (♯‘𝑀) ∈ ℤ) |
10 | seqfn 13618 | . . . . 5 ⊢ ((♯‘𝑀) ∈ ℤ → seq(♯‘𝑀)((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ++ 〈“(𝐹‘𝑥)”〉)), (ℕ0 × {(𝑀 ++ 〈“(𝐹‘𝑀)”〉)})) Fn (ℤ≥‘(♯‘𝑀))) | |
11 | 1, 9, 10 | 3syl 18 | . . . 4 ⊢ (𝜑 → seq(♯‘𝑀)((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ++ 〈“(𝐹‘𝑥)”〉)), (ℕ0 × {(𝑀 ++ 〈“(𝐹‘𝑀)”〉)})) Fn (ℤ≥‘(♯‘𝑀))) |
12 | ssv 3942 | . . . . 5 ⊢ ran seq(♯‘𝑀)((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ++ 〈“(𝐹‘𝑥)”〉)), (ℕ0 × {(𝑀 ++ 〈“(𝐹‘𝑀)”〉)})) ⊆ V | |
13 | 12 | a1i 11 | . . . 4 ⊢ (𝜑 → ran seq(♯‘𝑀)((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ++ 〈“(𝐹‘𝑥)”〉)), (ℕ0 × {(𝑀 ++ 〈“(𝐹‘𝑀)”〉)})) ⊆ V) |
14 | fnco 6516 | . . . 4 ⊢ ((lastS Fn V ∧ seq(♯‘𝑀)((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ++ 〈“(𝐹‘𝑥)”〉)), (ℕ0 × {(𝑀 ++ 〈“(𝐹‘𝑀)”〉)})) Fn (ℤ≥‘(♯‘𝑀)) ∧ ran seq(♯‘𝑀)((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ++ 〈“(𝐹‘𝑥)”〉)), (ℕ0 × {(𝑀 ++ 〈“(𝐹‘𝑀)”〉)})) ⊆ V) → (lastS ∘ seq(♯‘𝑀)((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ++ 〈“(𝐹‘𝑥)”〉)), (ℕ0 × {(𝑀 ++ 〈“(𝐹‘𝑀)”〉)}))) Fn (ℤ≥‘(♯‘𝑀))) | |
15 | 7, 11, 13, 14 | syl3anc 1373 | . . 3 ⊢ (𝜑 → (lastS ∘ seq(♯‘𝑀)((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ++ 〈“(𝐹‘𝑥)”〉)), (ℕ0 × {(𝑀 ++ 〈“(𝐹‘𝑀)”〉)}))) Fn (ℤ≥‘(♯‘𝑀))) |
16 | fzouzdisj 13308 | . . . 4 ⊢ ((0..^(♯‘𝑀)) ∩ (ℤ≥‘(♯‘𝑀))) = ∅ | |
17 | 16 | a1i 11 | . . 3 ⊢ (𝜑 → ((0..^(♯‘𝑀)) ∩ (ℤ≥‘(♯‘𝑀))) = ∅) |
18 | 3, 15, 17 | fnund 6513 | . 2 ⊢ (𝜑 → (𝑀 ∪ (lastS ∘ seq(♯‘𝑀)((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ++ 〈“(𝐹‘𝑥)”〉)), (ℕ0 × {(𝑀 ++ 〈“(𝐹‘𝑀)”〉)})))) Fn ((0..^(♯‘𝑀)) ∪ (ℤ≥‘(♯‘𝑀)))) |
19 | sseqval.1 | . . . 4 ⊢ (𝜑 → 𝑆 ∈ V) | |
20 | sseqval.3 | . . . 4 ⊢ 𝑊 = (Word 𝑆 ∩ (◡♯ “ (ℤ≥‘(♯‘𝑀)))) | |
21 | sseqval.4 | . . . 4 ⊢ (𝜑 → 𝐹:𝑊⟶𝑆) | |
22 | 19, 1, 20, 21 | sseqval 32099 | . . 3 ⊢ (𝜑 → (𝑀seqstr𝐹) = (𝑀 ∪ (lastS ∘ seq(♯‘𝑀)((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ++ 〈“(𝐹‘𝑥)”〉)), (ℕ0 × {(𝑀 ++ 〈“(𝐹‘𝑀)”〉)}))))) |
23 | nn0uz 12506 | . . . 4 ⊢ ℕ0 = (ℤ≥‘0) | |
24 | elnn0uz 12509 | . . . . . 6 ⊢ ((♯‘𝑀) ∈ ℕ0 ↔ (♯‘𝑀) ∈ (ℤ≥‘0)) | |
25 | fzouzsplit 13307 | . . . . . 6 ⊢ ((♯‘𝑀) ∈ (ℤ≥‘0) → (ℤ≥‘0) = ((0..^(♯‘𝑀)) ∪ (ℤ≥‘(♯‘𝑀)))) | |
26 | 24, 25 | sylbi 220 | . . . . 5 ⊢ ((♯‘𝑀) ∈ ℕ0 → (ℤ≥‘0) = ((0..^(♯‘𝑀)) ∪ (ℤ≥‘(♯‘𝑀)))) |
27 | 1, 8, 26 | 3syl 18 | . . . 4 ⊢ (𝜑 → (ℤ≥‘0) = ((0..^(♯‘𝑀)) ∪ (ℤ≥‘(♯‘𝑀)))) |
28 | 23, 27 | syl5eq 2792 | . . 3 ⊢ (𝜑 → ℕ0 = ((0..^(♯‘𝑀)) ∪ (ℤ≥‘(♯‘𝑀)))) |
29 | 22, 28 | fneq12d 6495 | . 2 ⊢ (𝜑 → ((𝑀seqstr𝐹) Fn ℕ0 ↔ (𝑀 ∪ (lastS ∘ seq(♯‘𝑀)((𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑥 ++ 〈“(𝐹‘𝑥)”〉)), (ℕ0 × {(𝑀 ++ 〈“(𝐹‘𝑀)”〉)})))) Fn ((0..^(♯‘𝑀)) ∪ (ℤ≥‘(♯‘𝑀))))) |
30 | 18, 29 | mpbird 260 | 1 ⊢ (𝜑 → (𝑀seqstr𝐹) Fn ℕ0) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 = wceq 1543 ∈ wcel 2112 Vcvv 3423 ∪ cun 3881 ∩ cin 3882 ⊆ wss 3883 ∅c0 4254 {csn 4558 × cxp 5567 ◡ccnv 5568 ran crn 5570 “ cima 5572 ∘ ccom 5573 Fn wfn 6396 ⟶wf 6397 ‘cfv 6401 (class class class)co 7235 ∈ cmpo 7237 0cc0 10759 1c1 10760 − cmin 11092 ℕ0cn0 12120 ℤcz 12206 ℤ≥cuz 12468 ..^cfzo 13268 seqcseq 13606 ♯chash 13929 Word cword 14102 lastSclsw 14150 ++ cconcat 14158 〈“cs1 14185 seqstrcsseq 32094 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1803 ax-4 1817 ax-5 1918 ax-6 1976 ax-7 2016 ax-8 2114 ax-9 2122 ax-10 2143 ax-11 2160 ax-12 2177 ax-ext 2710 ax-rep 5196 ax-sep 5209 ax-nul 5216 ax-pow 5275 ax-pr 5339 ax-un 7545 ax-inf2 9286 ax-cnex 10815 ax-resscn 10816 ax-1cn 10817 ax-icn 10818 ax-addcl 10819 ax-addrcl 10820 ax-mulcl 10821 ax-mulrcl 10822 ax-mulcom 10823 ax-addass 10824 ax-mulass 10825 ax-distr 10826 ax-i2m1 10827 ax-1ne0 10828 ax-1rid 10829 ax-rnegex 10830 ax-rrecex 10831 ax-cnre 10832 ax-pre-lttri 10833 ax-pre-lttrn 10834 ax-pre-ltadd 10835 ax-pre-mulgt0 10836 |
This theorem depends on definitions: df-bi 210 df-an 400 df-or 848 df-3or 1090 df-3an 1091 df-tru 1546 df-fal 1556 df-ex 1788 df-nf 1792 df-sb 2073 df-mo 2541 df-eu 2570 df-clab 2717 df-cleq 2731 df-clel 2818 df-nfc 2889 df-ne 2944 df-nel 3050 df-ral 3069 df-rex 3070 df-reu 3071 df-rab 3073 df-v 3425 df-sbc 3712 df-csb 3829 df-dif 3886 df-un 3888 df-in 3890 df-ss 3900 df-pss 3902 df-nul 4255 df-if 4457 df-pw 4532 df-sn 4559 df-pr 4561 df-tp 4563 df-op 4565 df-uni 4837 df-int 4877 df-iun 4923 df-br 5071 df-opab 5133 df-mpt 5153 df-tr 5179 df-id 5472 df-eprel 5478 df-po 5486 df-so 5487 df-fr 5527 df-we 5529 df-xp 5575 df-rel 5576 df-cnv 5577 df-co 5578 df-dm 5579 df-rn 5580 df-res 5581 df-ima 5582 df-pred 6179 df-ord 6237 df-on 6238 df-lim 6239 df-suc 6240 df-iota 6359 df-fun 6403 df-fn 6404 df-f 6405 df-f1 6406 df-fo 6407 df-f1o 6408 df-fv 6409 df-riota 7192 df-ov 7238 df-oprab 7239 df-mpo 7240 df-om 7667 df-1st 7783 df-2nd 7784 df-wrecs 8071 df-recs 8132 df-rdg 8170 df-1o 8226 df-er 8415 df-map 8534 df-en 8651 df-dom 8652 df-sdom 8653 df-fin 8654 df-card 9585 df-pnf 10899 df-mnf 10900 df-xr 10901 df-ltxr 10902 df-le 10903 df-sub 11094 df-neg 11095 df-nn 11861 df-n0 12121 df-z 12207 df-uz 12469 df-fz 13126 df-fzo 13269 df-seq 13607 df-hash 13930 df-word 14103 df-lsw 14151 df-s1 14186 df-sseq 32095 |
This theorem is referenced by: sseqfres 32104 |
Copyright terms: Public domain | W3C validator |