Completion of orbits #
Utilities to complete orbits of functions into local permutations.
Suppose we have a function f : α → α
, and a set s
on which f
is injective.
We will construct a pair of functions toFun
and invFun
that agree with f
and its inverse
on s
, in such a way that forms a local permutation of α
. In particular, consider the diagram
... → l 2 → l 1 → l 0 → s \ f '' s → ... → f '' s \ s → r 0 → r 1 → r 2 → ...
To fill in orbits of f
, we construct a sequence of disjoint subsets of α
called l i
and r i
for each i : ℕ
, where #(l i) = #(s \ f '' s)
and #(r i) = #(f '' s \ s)
.
There are natural bijections along this diagram, mapping l (n + 1)
to l n
and r n
to
r (n + 1)
, and there are also bijections f '' s \ s → r 0
and l 0 → s \ f '' s
.
This yields a local permutation defined on s
, f '' s \ s
, the l i
, and the r i
.
Main declarations #
PartialPerm.complete
: A completion of an injective function into a partial permutation.
Creates a "sandbox" subset of t
on which we will define an extension of f
.
Equations
- PartialPerm.sandboxSubset hs ht = ⋯.choose
Instances For
Equations
- PartialPerm.sandboxSubsetEquiv hs ht = ⋯.some
Instances For
Considered an implementation detail; use lemmas about complete
instead.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Considered an implementation detail; use lemmas about complete
instead.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Considered an implementation detail; use lemmas about complete
instead.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Considered an implementation detail; use lemmas about complete
instead.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The domain on which we will define the completion of a function to a local permutation.
Equations
- PartialPerm.completeDomain hs ht = s ∪ f '' s ∪ PartialPerm.sandboxSubset hs ht
Instances For
Completes a function f
on a domain s
into a local permutation that agrees with f
on s
,
with domain contained in s ∪ (f '' s) ∪ t
.
Equations
- One or more equations did not get rendered due to their size.