Commit 2024-02-23 00:32 ad2c78f5
View on Github →refactor(Data/Finsupp): Make Finsupp.filter
computable (#8979)
This doesn't have any significant downstream fallout, and removes some subsingleton elimination from one or two proofs.
This enables some trivial computations on factorizations, eg finding the odd prime factors:
/-- info: fun₀ | 3 => 2 | 5 => 1 -/
#guard_msgs in
#eval (Nat.factorization 720).filter Odd