Zulip Chat Archive
Stream: Is there code for X?
Topic: The sigma algebra of countable and cocountable Sets
Bolton Bailey (Jan 16 2026 at 00:27):
Do we have the concept described on this page in mathlib somewhere?
Yury G. Kudryashov (Jan 16 2026 at 00:37):
You can define it in 1 line: .generateFrom (Set.range fun x => {x})
Yury G. Kudryashov (Jan 16 2026 at 00:39):
(if you don't care about defeq)
Yury G. Kudryashov (Jan 16 2026 at 00:42):
I haven't found it as a definition or as a part of a theorem.
Yury G. Kudryashov (Jan 16 2026 at 00:42):
So, if you need some API about it, then you have to prove it (possibly, by reusing theorems about generateFrom).
Last updated: Feb 28 2026 at 14:05 UTC