Sets
StructureSet#
A set is a collection of elements of some type α.
To build a set (an element of Set α) out of a predicate p : α → Prop, use the set builder
notation {a | p a}. To get a predicate α → Prop from a set s : Set α, use the ∈ notation,
as in a ∈ s or (· ∈ s).
Set.{u} (α : Type u) : Type u
Sources
Used by 27
StructureFinite set#
Finset α is the type of finite sets of elements of α. It is implemented
as a multiset (a list up to permutation) which has no duplicate elements.
Finset.{u_3} (α : Type u_3) : Type u_3
Sources
Uses 1 · Used by 110
DefinitionMultiset#
Multiset α is the quotient of List α by list permutation. The result
is a type of finite sets with duplicates allowed.
Multiset.{u} (α : Type u) : Type u
Sources
Uses 1 · Used by 5
DefinitionOrdered set#
An Ordset α is a finite set of values, represented as a tree. The operations on this type
maintain that the tree is balanced and correctly stores subtree sizes at each level. The
correctness property of the tree is baked into the type, so all operations on this type are correct
by construction.
Ordset.{u_2} (α : Type u_2) [Preorder α] : Type u_2
Sources
Uses 1
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.