| Mathbox for Thierry Arnoux |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > signshf | Structured version Visualization version GIF version | ||
| Description: 𝐻, corresponding to the word 𝐹 multiplied by (𝑥 − 𝐶), as a function. (Contributed by Thierry Arnoux, 29-Sep-2018.) |
| Ref | Expression |
|---|---|
| signsv.p | ⊢ ⨣ = (𝑎 ∈ {-1, 0, 1}, 𝑏 ∈ {-1, 0, 1} ↦ if(𝑏 = 0, 𝑎, 𝑏)) |
| signsv.w | ⊢ 𝑊 = {〈(Base‘ndx), {-1, 0, 1}〉, 〈(+g‘ndx), ⨣ 〉} |
| signsv.t | ⊢ 𝑇 = (𝑓 ∈ Word ℝ ↦ (𝑛 ∈ (0..^(♯‘𝑓)) ↦ (𝑊 Σg (𝑖 ∈ (0...𝑛) ↦ (sgn‘(𝑓‘𝑖)))))) |
| signsv.v | ⊢ 𝑉 = (𝑓 ∈ Word ℝ ↦ Σ𝑗 ∈ (1..^(♯‘𝑓))if(((𝑇‘𝑓)‘𝑗) ≠ ((𝑇‘𝑓)‘(𝑗 − 1)), 1, 0)) |
| signs.h | ⊢ 𝐻 = ((〈“0”〉 ++ 𝐹) ∘f − ((𝐹 ++ 〈“0”〉) ∘f/c · 𝐶)) |
| Ref | Expression |
|---|---|
| signshf | ⊢ ((𝐹 ∈ Word ℝ ∧ 𝐶 ∈ ℝ+) → 𝐻:(0..^((♯‘𝐹) + 1))⟶ℝ) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | resubcl 11443 | . . . 4 ⊢ ((𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ) → (𝑥 − 𝑦) ∈ ℝ) | |
| 2 | 1 | adantl 481 | . . 3 ⊢ (((𝐹 ∈ Word ℝ ∧ 𝐶 ∈ ℝ+) ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → (𝑥 − 𝑦) ∈ ℝ) |
| 3 | 0re 11132 | . . . . . . . 8 ⊢ 0 ∈ ℝ | |
| 4 | s1cl 14524 | . . . . . . . 8 ⊢ (0 ∈ ℝ → 〈“0”〉 ∈ Word ℝ) | |
| 5 | 3, 4 | ax-mp 5 | . . . . . . 7 ⊢ 〈“0”〉 ∈ Word ℝ |
| 6 | ccatcl 14495 | . . . . . . 7 ⊢ ((〈“0”〉 ∈ Word ℝ ∧ 𝐹 ∈ Word ℝ) → (〈“0”〉 ++ 𝐹) ∈ Word ℝ) | |
| 7 | 5, 6 | mpan 690 | . . . . . 6 ⊢ (𝐹 ∈ Word ℝ → (〈“0”〉 ++ 𝐹) ∈ Word ℝ) |
| 8 | wrdf 14439 | . . . . . 6 ⊢ ((〈“0”〉 ++ 𝐹) ∈ Word ℝ → (〈“0”〉 ++ 𝐹):(0..^(♯‘(〈“0”〉 ++ 𝐹)))⟶ℝ) | |
| 9 | 7, 8 | syl 17 | . . . . 5 ⊢ (𝐹 ∈ Word ℝ → (〈“0”〉 ++ 𝐹):(0..^(♯‘(〈“0”〉 ++ 𝐹)))⟶ℝ) |
| 10 | 1cnd 11125 | . . . . . . . 8 ⊢ (𝐹 ∈ Word ℝ → 1 ∈ ℂ) | |
| 11 | lencl 14454 | . . . . . . . . 9 ⊢ (𝐹 ∈ Word ℝ → (♯‘𝐹) ∈ ℕ0) | |
| 12 | 11 | nn0cnd 12462 | . . . . . . . 8 ⊢ (𝐹 ∈ Word ℝ → (♯‘𝐹) ∈ ℂ) |
| 13 | ccatlen 14496 | . . . . . . . . . 10 ⊢ ((〈“0”〉 ∈ Word ℝ ∧ 𝐹 ∈ Word ℝ) → (♯‘(〈“0”〉 ++ 𝐹)) = ((♯‘〈“0”〉) + (♯‘𝐹))) | |
| 14 | 5, 13 | mpan 690 | . . . . . . . . 9 ⊢ (𝐹 ∈ Word ℝ → (♯‘(〈“0”〉 ++ 𝐹)) = ((♯‘〈“0”〉) + (♯‘𝐹))) |
| 15 | s1len 14528 | . . . . . . . . . 10 ⊢ (♯‘〈“0”〉) = 1 | |
| 16 | 15 | oveq1i 7366 | . . . . . . . . 9 ⊢ ((♯‘〈“0”〉) + (♯‘𝐹)) = (1 + (♯‘𝐹)) |
| 17 | 14, 16 | eqtrdi 2785 | . . . . . . . 8 ⊢ (𝐹 ∈ Word ℝ → (♯‘(〈“0”〉 ++ 𝐹)) = (1 + (♯‘𝐹))) |
| 18 | 10, 12, 17 | comraddd 11345 | . . . . . . 7 ⊢ (𝐹 ∈ Word ℝ → (♯‘(〈“0”〉 ++ 𝐹)) = ((♯‘𝐹) + 1)) |
| 19 | 18 | oveq2d 7372 | . . . . . 6 ⊢ (𝐹 ∈ Word ℝ → (0..^(♯‘(〈“0”〉 ++ 𝐹))) = (0..^((♯‘𝐹) + 1))) |
| 20 | 19 | feq2d 6644 | . . . . 5 ⊢ (𝐹 ∈ Word ℝ → ((〈“0”〉 ++ 𝐹):(0..^(♯‘(〈“0”〉 ++ 𝐹)))⟶ℝ ↔ (〈“0”〉 ++ 𝐹):(0..^((♯‘𝐹) + 1))⟶ℝ)) |
| 21 | 9, 20 | mpbid 232 | . . . 4 ⊢ (𝐹 ∈ Word ℝ → (〈“0”〉 ++ 𝐹):(0..^((♯‘𝐹) + 1))⟶ℝ) |
| 22 | 21 | adantr 480 | . . 3 ⊢ ((𝐹 ∈ Word ℝ ∧ 𝐶 ∈ ℝ+) → (〈“0”〉 ++ 𝐹):(0..^((♯‘𝐹) + 1))⟶ℝ) |
| 23 | remulcl 11109 | . . . . 5 ⊢ ((𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ) → (𝑥 · 𝑦) ∈ ℝ) | |
| 24 | 23 | adantl 481 | . . . 4 ⊢ (((𝐹 ∈ Word ℝ ∧ 𝐶 ∈ ℝ+) ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → (𝑥 · 𝑦) ∈ ℝ) |
| 25 | ccatcl 14495 | . . . . . . . 8 ⊢ ((𝐹 ∈ Word ℝ ∧ 〈“0”〉 ∈ Word ℝ) → (𝐹 ++ 〈“0”〉) ∈ Word ℝ) | |
| 26 | 5, 25 | mpan2 691 | . . . . . . 7 ⊢ (𝐹 ∈ Word ℝ → (𝐹 ++ 〈“0”〉) ∈ Word ℝ) |
| 27 | wrdf 14439 | . . . . . . 7 ⊢ ((𝐹 ++ 〈“0”〉) ∈ Word ℝ → (𝐹 ++ 〈“0”〉):(0..^(♯‘(𝐹 ++ 〈“0”〉)))⟶ℝ) | |
| 28 | 26, 27 | syl 17 | . . . . . 6 ⊢ (𝐹 ∈ Word ℝ → (𝐹 ++ 〈“0”〉):(0..^(♯‘(𝐹 ++ 〈“0”〉)))⟶ℝ) |
| 29 | ccatws1len 14542 | . . . . . . . 8 ⊢ (𝐹 ∈ Word ℝ → (♯‘(𝐹 ++ 〈“0”〉)) = ((♯‘𝐹) + 1)) | |
| 30 | 29 | oveq2d 7372 | . . . . . . 7 ⊢ (𝐹 ∈ Word ℝ → (0..^(♯‘(𝐹 ++ 〈“0”〉))) = (0..^((♯‘𝐹) + 1))) |
| 31 | 30 | feq2d 6644 | . . . . . 6 ⊢ (𝐹 ∈ Word ℝ → ((𝐹 ++ 〈“0”〉):(0..^(♯‘(𝐹 ++ 〈“0”〉)))⟶ℝ ↔ (𝐹 ++ 〈“0”〉):(0..^((♯‘𝐹) + 1))⟶ℝ)) |
| 32 | 28, 31 | mpbid 232 | . . . . 5 ⊢ (𝐹 ∈ Word ℝ → (𝐹 ++ 〈“0”〉):(0..^((♯‘𝐹) + 1))⟶ℝ) |
| 33 | 32 | adantr 480 | . . . 4 ⊢ ((𝐹 ∈ Word ℝ ∧ 𝐶 ∈ ℝ+) → (𝐹 ++ 〈“0”〉):(0..^((♯‘𝐹) + 1))⟶ℝ) |
| 34 | ovexd 7391 | . . . 4 ⊢ ((𝐹 ∈ Word ℝ ∧ 𝐶 ∈ ℝ+) → (0..^((♯‘𝐹) + 1)) ∈ V) | |
| 35 | rpre 12912 | . . . . 5 ⊢ (𝐶 ∈ ℝ+ → 𝐶 ∈ ℝ) | |
| 36 | 35 | adantl 481 | . . . 4 ⊢ ((𝐹 ∈ Word ℝ ∧ 𝐶 ∈ ℝ+) → 𝐶 ∈ ℝ) |
| 37 | 24, 33, 34, 36 | ofcf 34209 | . . 3 ⊢ ((𝐹 ∈ Word ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐹 ++ 〈“0”〉) ∘f/c · 𝐶):(0..^((♯‘𝐹) + 1))⟶ℝ) |
| 38 | inidm 4177 | . . 3 ⊢ ((0..^((♯‘𝐹) + 1)) ∩ (0..^((♯‘𝐹) + 1))) = (0..^((♯‘𝐹) + 1)) | |
| 39 | 2, 22, 37, 34, 34, 38 | off 7638 | . 2 ⊢ ((𝐹 ∈ Word ℝ ∧ 𝐶 ∈ ℝ+) → ((〈“0”〉 ++ 𝐹) ∘f − ((𝐹 ++ 〈“0”〉) ∘f/c · 𝐶)):(0..^((♯‘𝐹) + 1))⟶ℝ) |
| 40 | signs.h | . . 3 ⊢ 𝐻 = ((〈“0”〉 ++ 𝐹) ∘f − ((𝐹 ++ 〈“0”〉) ∘f/c · 𝐶)) | |
| 41 | 40 | feq1i 6651 | . 2 ⊢ (𝐻:(0..^((♯‘𝐹) + 1))⟶ℝ ↔ ((〈“0”〉 ++ 𝐹) ∘f − ((𝐹 ++ 〈“0”〉) ∘f/c · 𝐶)):(0..^((♯‘𝐹) + 1))⟶ℝ) |
| 42 | 39, 41 | sylibr 234 | 1 ⊢ ((𝐹 ∈ Word ℝ ∧ 𝐶 ∈ ℝ+) → 𝐻:(0..^((♯‘𝐹) + 1))⟶ℝ) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 = wceq 1541 ∈ wcel 2113 ≠ wne 2930 Vcvv 3438 ifcif 4477 {cpr 4580 {ctp 4582 〈cop 4584 ↦ cmpt 5177 ⟶wf 6486 ‘cfv 6490 (class class class)co 7356 ∈ cmpo 7358 ∘f cof 7618 ℝcr 11023 0cc0 11024 1c1 11025 + caddc 11027 · cmul 11029 − cmin 11362 -cneg 11363 ℝ+crp 12903 ...cfz 13421 ..^cfzo 13568 ♯chash 14251 Word cword 14434 ++ cconcat 14491 〈“cs1 14517 sgncsgn 15007 Σcsu 15607 ndxcnx 17118 Basecbs 17134 +gcplusg 17175 Σg cgsu 17358 ∘f/c cofc 34201 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1911 ax-6 1968 ax-7 2009 ax-8 2115 ax-9 2123 ax-10 2146 ax-11 2162 ax-12 2182 ax-ext 2706 ax-rep 5222 ax-sep 5239 ax-nul 5249 ax-pow 5308 ax-pr 5375 ax-un 7678 ax-cnex 11080 ax-resscn 11081 ax-1cn 11082 ax-icn 11083 ax-addcl 11084 ax-addrcl 11085 ax-mulcl 11086 ax-mulrcl 11087 ax-mulcom 11088 ax-addass 11089 ax-mulass 11090 ax-distr 11091 ax-i2m1 11092 ax-1ne0 11093 ax-1rid 11094 ax-rnegex 11095 ax-rrecex 11096 ax-cnre 11097 ax-pre-lttri 11098 ax-pre-lttrn 11099 ax-pre-ltadd 11100 ax-pre-mulgt0 11101 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3or 1087 df-3an 1088 df-tru 1544 df-fal 1554 df-ex 1781 df-nf 1785 df-sb 2068 df-mo 2537 df-eu 2567 df-clab 2713 df-cleq 2726 df-clel 2809 df-nfc 2883 df-ne 2931 df-nel 3035 df-ral 3050 df-rex 3059 df-reu 3349 df-rab 3398 df-v 3440 df-sbc 3739 df-csb 3848 df-dif 3902 df-un 3904 df-in 3906 df-ss 3916 df-pss 3919 df-nul 4284 df-if 4478 df-pw 4554 df-sn 4579 df-pr 4581 df-op 4585 df-uni 4862 df-int 4901 df-iun 4946 df-br 5097 df-opab 5159 df-mpt 5178 df-tr 5204 df-id 5517 df-eprel 5522 df-po 5530 df-so 5531 df-fr 5575 df-we 5577 df-xp 5628 df-rel 5629 df-cnv 5630 df-co 5631 df-dm 5632 df-rn 5633 df-res 5634 df-ima 5635 df-pred 6257 df-ord 6318 df-on 6319 df-lim 6320 df-suc 6321 df-iota 6446 df-fun 6492 df-fn 6493 df-f 6494 df-f1 6495 df-fo 6496 df-f1o 6497 df-fv 6498 df-riota 7313 df-ov 7359 df-oprab 7360 df-mpo 7361 df-of 7620 df-om 7807 df-1st 7931 df-2nd 7932 df-frecs 8221 df-wrecs 8252 df-recs 8301 df-rdg 8339 df-1o 8395 df-er 8633 df-en 8882 df-dom 8883 df-sdom 8884 df-fin 8885 df-card 9849 df-pnf 11166 df-mnf 11167 df-xr 11168 df-ltxr 11169 df-le 11170 df-sub 11364 df-neg 11365 df-nn 12144 df-n0 12400 df-z 12487 df-uz 12750 df-rp 12904 df-fz 13422 df-fzo 13569 df-hash 14252 df-word 14435 df-concat 14492 df-s1 14518 df-ofc 34202 |
| This theorem is referenced by: signshwrd 34695 signshlen 34696 |
| Copyright terms: Public domain | W3C validator |