Equations
- Set.IndexedPartition.instFunLike = { coe := Set.IndexedPartition.toFun, coe_injective' := ⋯ }
Transfer a partition across a set equality.
Instances For
Equations
- Set.IndexedPartition.copyEquiv h_eq = { toFun := fun (P : s.IndexedPartition ι) => P.copy h_eq, invFun := fun (P : t.IndexedPartition ι) => P.copy ⋯, left_inv := ⋯, right_inv := ⋯ }
Instances For
Intersect a partition with a smaller set
Equations
Instances For
IndexedPartition.LE P Q, written P ≤ Q, means that every cell of P is contained in the corresponding cell of Q.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
The partition of s with part i equal to s and the other parts empty.
Equations
Instances For
Turn a partition of s into a partition of t by intersecting each part with t,
then adding the elements of t \ s into part i.
Instances For
A version of shift where the new ground set is required to be a superset.
Has better simp lemmas than shift.
Instances For
Remove the elements of t from each cell of a partition of s to get a partition of s \ t.
Instances For
A partition is nontrivial if all cells are nonempty. If there are at least three indices,
this is not the negation of Partition.Trivial. Better name?
- nonempty (i : ι) : (P i).Nonempty
Instances For
Equations
Instances For
Equations
Instances For
Instances For
If b is true, then P.symm, otherwise P.
Instances For
The bipartition of t with a subset s on side i, and t \ s on side !i.
Equations
Instances For
The bipartition whose i side is P b ∩ Q c and whose (!i) side is P !b ∪ Q !c.
Varying b, c and i give the eight possible bipartitions arising from the 2x2 grid given
by P and Q.
Equations
Instances For
The bipartition whose true side is P true ∩ Q true and whose false side is
P false ∪ Q false
Instances For
The bipartition whose true side is P true ∪ Q true and whose false side is
P false ∩ Q false