Zulip Chat Archive
Stream: general
Topic: set.sigma ?
Peter Nelson (Mar 29 2021 at 18:40):
Is there a reason finset.sigma
is defined in mathlib but set.sigma
isn't?
https://leanprover-community.github.io/mathlib_docs/data/finset/basic.html#finset.sigma
Yury G. Kudryashov (Mar 29 2021 at 18:44):
Nobody needed it? def set.sigma {α : Type*} {β : α → Type*} (s : set α) (t : α → set β) := {x : Σ a, β a | x.1 ∈ s ∧ x.2 ∈ t x.1}
Peter Nelson (Mar 29 2021 at 18:45):
yup - that's what I've been using. With finsum
it will likely be useful for lemmas like finsum_in_sigma
that reverse the order of summation.
Peter Nelson (Mar 29 2021 at 18:46):
Was just making sure there isn't a better reason
Yaël Dillies (Feb 26 2022 at 11:03):
Kevin Buzzard (Feb 26 2022 at 14:29):
@Wrenna Robson you're not the only person using finsum
-- the matroid people like it too.
Wrenna Robson (Feb 26 2022 at 14:49):
I don't know what a matroid is but great! Would be good to compare notes.
Kevin Buzzard (Feb 26 2022 at 15:00):
Come to London Learning Lean on and @Alena Gusakov will tell you!
Wrenna Robson (Feb 28 2022 at 13:33):
Ah, it's hybrid - interesting.
Last updated: Dec 20 2023 at 11:08 UTC