Zulip Chat Archive
Stream: new members
Topic: Multipliable of padicNorm
Sophia Rodriguez (Mar 08 2025 at 15:11):
Hi all! do we have
Multipliable fun (p : Nat.Primes) ↦ padicNorm (↑p) x
(x
is rational)? I am really confused by Multiset and List involved here. Like, since the padicNorm is 1 for any p
that is big enough, so I want a Multiset of Nat.Primes
for all primes less or equal to a given number (sth like {p : Nat.Primes // p.val ≤ m}
), but I failed to construct it.
Aaron Liu (Mar 08 2025 at 15:39):
docs#Nat.primesBelow is the primes strictly below a number
Sophia Rodriguez (Mar 09 2025 at 01:00):
Thanks! Nat.primesBelow
is mathematically the thing I want. But it is a Finset of ℕ, can I coercion it into a Finset of Nat.Primes?
Aaron Liu (Mar 09 2025 at 01:03):
Why do you want to use Nat.Primes
?
Sophia Rodriguez (Mar 09 2025 at 01:04):
cause I want to do tprod throughout prime numbers, something like
∏' p : Nat.Primes, padicNorm p x = |x|⁻¹
Aaron Liu (Mar 09 2025 at 01:17):
You can use docs#Finset.attach and docs#Finset.map to make it into a Finset Nat.Primes
.
Sophia Rodriguez (Mar 09 2025 at 01:26):
It works! thanks
Last updated: May 02 2025 at 03:31 UTC