Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > muval2 | Structured version Visualization version GIF version |
Description: The value of the Möbius function at a squarefree number. (Contributed by Mario Carneiro, 3-Oct-2014.) |
Ref | Expression |
---|---|
muval2 | ⊢ ((𝐴 ∈ ℕ ∧ (μ‘𝐴) ≠ 0) → (μ‘𝐴) = (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴}))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | df-ne 2941 | . . 3 ⊢ ((μ‘𝐴) ≠ 0 ↔ ¬ (μ‘𝐴) = 0) | |
2 | ifeqor 4490 | . . . . 5 ⊢ (if(∃𝑝 ∈ ℙ (𝑝↑2) ∥ 𝐴, 0, (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴}))) = 0 ∨ if(∃𝑝 ∈ ℙ (𝑝↑2) ∥ 𝐴, 0, (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴}))) = (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴}))) | |
3 | muval 26014 | . . . . . . 7 ⊢ (𝐴 ∈ ℕ → (μ‘𝐴) = if(∃𝑝 ∈ ℙ (𝑝↑2) ∥ 𝐴, 0, (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴})))) | |
4 | 3 | eqeq1d 2739 | . . . . . 6 ⊢ (𝐴 ∈ ℕ → ((μ‘𝐴) = 0 ↔ if(∃𝑝 ∈ ℙ (𝑝↑2) ∥ 𝐴, 0, (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴}))) = 0)) |
5 | 3 | eqeq1d 2739 | . . . . . 6 ⊢ (𝐴 ∈ ℕ → ((μ‘𝐴) = (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴})) ↔ if(∃𝑝 ∈ ℙ (𝑝↑2) ∥ 𝐴, 0, (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴}))) = (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴})))) |
6 | 4, 5 | orbi12d 919 | . . . . 5 ⊢ (𝐴 ∈ ℕ → (((μ‘𝐴) = 0 ∨ (μ‘𝐴) = (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴}))) ↔ (if(∃𝑝 ∈ ℙ (𝑝↑2) ∥ 𝐴, 0, (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴}))) = 0 ∨ if(∃𝑝 ∈ ℙ (𝑝↑2) ∥ 𝐴, 0, (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴}))) = (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴}))))) |
7 | 2, 6 | mpbiri 261 | . . . 4 ⊢ (𝐴 ∈ ℕ → ((μ‘𝐴) = 0 ∨ (μ‘𝐴) = (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴})))) |
8 | 7 | ord 864 | . . 3 ⊢ (𝐴 ∈ ℕ → (¬ (μ‘𝐴) = 0 → (μ‘𝐴) = (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴})))) |
9 | 1, 8 | syl5bi 245 | . 2 ⊢ (𝐴 ∈ ℕ → ((μ‘𝐴) ≠ 0 → (μ‘𝐴) = (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴})))) |
10 | 9 | imp 410 | 1 ⊢ ((𝐴 ∈ ℕ ∧ (μ‘𝐴) ≠ 0) → (μ‘𝐴) = (-1↑(♯‘{𝑝 ∈ ℙ ∣ 𝑝 ∥ 𝐴}))) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ∧ wa 399 ∨ wo 847 = wceq 1543 ∈ wcel 2110 ≠ wne 2940 ∃wrex 3062 {crab 3065 ifcif 4439 class class class wbr 5053 ‘cfv 6380 (class class class)co 7213 0cc0 10729 1c1 10730 -cneg 11063 ℕcn 11830 2c2 11885 ↑cexp 13635 ♯chash 13896 ∥ cdvds 15815 ℙcprime 16228 μcmu 25977 |
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 2112 ax-9 2120 ax-10 2141 ax-11 2158 ax-12 2175 ax-ext 2708 ax-sep 5192 ax-nul 5199 ax-pr 5322 ax-1cn 10787 ax-icn 10788 ax-addcl 10789 ax-mulcl 10791 ax-i2m1 10797 |
This theorem depends on definitions: df-bi 210 df-an 400 df-or 848 df-3an 1091 df-tru 1546 df-fal 1556 df-ex 1788 df-nf 1792 df-sb 2071 df-mo 2539 df-eu 2568 df-clab 2715 df-cleq 2729 df-clel 2816 df-nfc 2886 df-ne 2941 df-ral 3066 df-rex 3067 df-rab 3070 df-v 3410 df-dif 3869 df-un 3871 df-in 3873 df-ss 3883 df-nul 4238 df-if 4440 df-sn 4542 df-pr 4544 df-op 4548 df-uni 4820 df-br 5054 df-opab 5116 df-mpt 5136 df-id 5455 df-xp 5557 df-rel 5558 df-cnv 5559 df-co 5560 df-dm 5561 df-iota 6338 df-fun 6382 df-fv 6388 df-ov 7216 df-mu 25983 |
This theorem is referenced by: mumul 26063 musum 26073 |
Copyright terms: Public domain | W3C validator |