Module docstring
{"# Well-founded sets
This file introduces versions of WellFounded and WellQuasiOrdered for sets.
Main Definitions
Set.WellFoundedOn s rindicates that the relationris well-founded when restricted to the sets.Set.IsWF sindicates that<is well-founded when restricted tos.Set.PartiallyWellOrderedOn s rindicates that the relationris partially well-ordered (also known as well quasi-ordered) when restricted to the sets.Set.IsPWO sindicates that any infinite sequence of elements inscontains an infinite monotone subsequence. Note that this is equivalent to containing only two comparable elements.
Main Results
- Higman's Lemma, 
Set.PartiallyWellOrderedOn.partiallyWellOrderedOn_sublistForall₂, shows that ifris partially well-ordered ons, thenList.SublistForall₂is partially well-ordered on the set of lists of elements ofs. The result was originally published by Higman, but this proof more closely follows Nash-Williams. Set.wellFoundedOn_iffrelateswell_founded_onto the well-foundedness of a relation on the original type, to avoid dealing with subtypes.Set.IsWF.monoshows that a subset of a well-founded subset is well-founded.Set.IsWF.unionshows that the union of two well-founded subsets is well-founded.Finset.isWFshows that allFinsets are well-founded.
TODO
- Prove that 
sis partial well ordered iff it has no infinite descending chain or antichain. - Rename 
Set.PartiallyWellOrderedOntoSet.WellQuasiOrderedOnandSet.IsPWOtoSet.IsWQO. 
References
- [Higman, Ordering by Divisibility in Abstract Algebras][Higman52]
 - [Nash-Williams, On Well-Quasi-Ordering Finite Trees][Nash-Williams63] ","### Relations well-founded on sets ","### Sets well-founded w.r.t. the strict inequality ","### Partially well-ordered sets "}