Zulip Chat Archive

Stream: new members

Topic: set type


vxctyxeha (Sep 09 2025 at 04:35):

h32 : {1 - √2, 3 + √7, 1 + √2, 5} ⊆ p.roots
{1 - √2, 3 + √7, 1 + √2, 5} ≤ p.roots How to change symbols ⊆ to ≤

Matt Diamond (Sep 09 2025 at 04:45):

do you need to? did you try exact h32?

Ruben Van de Velde (Sep 09 2025 at 06:09):

That's a bad habit though. Does SetLike.le_def work?

Weiyi Wang (Sep 09 2025 at 12:02):

roots is a Multiset, right? I don't think you can do this change for Multiset because LE and subset are different for Multiset

Weiyi Wang (Sep 09 2025 at 12:02):

oh

Weiyi Wang (Sep 09 2025 at 12:02):

one direction is true,

Weiyi Wang (Sep 09 2025 at 12:03):

but it is not your direction :( https://leanprover-community.github.io/mathlib4_docs/Mathlib/Data/Multiset/Defs.html#Multiset.subset_of_le


Last updated: Dec 20 2025 at 21:32 UTC