Zulip Chat Archive
Stream: mathlib4
Topic: type resolution issue in !4#3043
Arien Malec (Mar 23 2023 at 16:06):
In Data.Nat.Factorization.Prime.Basic
we have factors_count_eq
that isn't simp
/rw
where it is supposed to. Could I ask someone to take a look? An example is on line 91, pretty clearly documented.
Could the issue be the difference between BEq
and DecidableEq
between Lean 3 and Lean 4 for List.count
?
Arien Malec (Mar 23 2023 at 16:38):
and
Arien Malec (Mar 24 2023 at 04:12):
Another request for someone to look at this -- I think the same issue arises at line 78.
Arien Malec (Mar 24 2023 at 04:22):
Another example at 272: docs4#List.count wants [inst BEq]
, docs4#List.count_singleton' wants [inst DecidableEq]
Arien Malec (Mar 24 2023 at 17:31):
Is there a flavor of docs4#List.count that takes a DecidableEq
prop?
Arien Malec (Mar 24 2023 at 17:33):
There's docs4#List.Perm.countp_eq
Last updated: Dec 20 2023 at 11:08 UTC