mathematics_in_lean_source icon indicating copy to clipboard operation
mathematics_in_lean_source copied to clipboard

finite sets

Open PatrickMassot opened this issue 4 years ago • 3 comments

We need to explain the finset vs fintype vs finite mess somewhere, probably in Chapter 4.

PatrickMassot avatar Jul 03 '20 20:07 PatrickMassot

I'd rather save this for a chapter on discrete mathematics. We should have examples of various kinds of proof by induction, and combinatorial reasoning with finite sets, finite sums, cardinality, etc., etc. I think the subject matter all hangs together, and there is a coherent story there.

So maybe the next few chapters are:

  • types, structures, and number systems
  • algebra
  • topology
  • discrete mathematics

avigad avatar Jul 08 '20 01:07 avigad

I fear both algebra and topology make use of what you can discrete mathematics.

PatrickMassot avatar Jul 08 '20 10:07 PatrickMassot

Two options there:

  • Put the discrete math chapter first.
  • If the only uses are mild (like a straightforward definition by recursion or induction), just do them on the fly and leave the more elaborate stuff for later.

I still think it makes sense to group induction, finsets, finite sums and products together, and cardinality together, and take the time to do them thoroughly. It feels like a different topic from basic set theory.

avigad avatar Jul 09 '20 00:07 avigad

The wiki page now mentions the plan to have a discrete math chapter that does finiteness.

avigad avatar Jul 19 '23 19:07 avigad