Mathlib.Algebra.Group.Action.Equidecomp
41 declarations. Mathlib docs · Source
Equidecompositions
This file develops the basic theory of equidecompositions.
Main Definitions
Let G be a group acting on a space X, and A B : Set X.
An equidecomposition of A and B is typically defined as a finite partition of A together
with a finite list of elements of G of the same size such that applying each element to the
matching piece of the partition yields a partition of B.
This yields a bijection f : A ≃ B where, given a : A, f a = γ • a for γ : G the group
element for a's piece of the partition. Reversing this is easy, and so we get an equivalent
(up to the choice of group elements) definition: an Equidecomposition of A and B is a
bijection f : A ≃ B such that for some S : Finset G, f a ∈ S • a for all a.
We take this as our definition as it is easier to work with. It is implemented as an element
PartialEquiv X X with source A and target B.
Implementation notes
-
Equidecompositions are implemented as elements of
PartialEquiv X Xtogether with aFinsetof elements of the acting group and a proof that every point in the source is moved by an element in the finset. -
The requirement that
Gbe a group is relaxed where possible. -
We introduce a non-standard predicate,
IsDecompOn, to state that a function satisfies the main combinatorial property of equidecompositions, even if it is not injective or surjective.
TODO
- Prove that if two sets equidecompose into subsets of each other, they are equidecomposable (Schroeder-Bernstein type theorem)
- Define equidecomposability into subsets as a preorder on sets and prove that its induced equivalence relation is equidecomposability.
- Prove the definition of equidecomposition used here is equivalent to the more familiar one using partitions.
def Equidecomp.ctorIdx E1 #
{X : Type u_1} → {G : Type u_2} → {inst : SMul G X} → Equidecomp X G → ℕ
theorem Equidecomp.mk.injEq E0 #
∀ {X : Type u_1} {G : Type u_2} [inst : SMul G X] (toPartialEquiv : PartialEquiv X X)
(isDecompOn' : ∃ S, Equidecomp.IsDecompOn (↑toPartialEquiv) toPartialEquiv.source S)
(toPartialEquiv_1 : PartialEquiv X X)
(isDecompOn'_1 : ∃ S, Equidecomp.IsDecompOn (↑toPartialEquiv_1) toPartialEquiv_1.source S),
({ toPartialEquiv := toPartialEquiv, isDecompOn' := isDecompOn' } =
{ toPartialEquiv := toPartialEquiv_1, isDecompOn' := isDecompOn'_1 }) =
(toPartialEquiv = toPartialEquiv_1)
theorem Equidecomp.mk.inj E1 #
∀ {X : Type u_1} {G : Type u_2} {inst : SMul G X} {toPartialEquiv : PartialEquiv X X}
{isDecompOn' : ∃ S, Equidecomp.IsDecompOn (↑toPartialEquiv) toPartialEquiv.source S}
{toPartialEquiv_1 : PartialEquiv X X}
{isDecompOn'_1 : ∃ S, Equidecomp.IsDecompOn (↑toPartialEquiv_1) toPartialEquiv_1.source S},
{ toPartialEquiv := toPartialEquiv, isDecompOn' := isDecompOn' } =
{ toPartialEquiv := toPartialEquiv_1, isDecompOn' := isDecompOn'_1 } →
toPartialEquiv = toPartialEquiv_1
def Equidecomp.IsDecompOn E1 #
{X : Type u_1} → {G : Type u_2} → [SMul G X] → (X → X) → Set X → Finset G → Prop
Let G act on a space X and A : Set X. We say f : X → X is a decomposition on A
as witnessed by some S : Finset G if for all a ∈ A, the value f a can be obtained
by applying some element of S to a instead.
More familiarly, the restriction of f to A is the result of partitioning A into finitely many
pieces, then applying a single element of G to each piece.
structure Equidecomp E1 #
(X : Type u_1) → (G : Type u_2) → [SMul G X] → Type u_1
Let G act on a space X. An Equidecomposition with respect to X and G is a partial
bijection f : PartialEquiv X X with the property that for some set elements : Finset G,
(which we record), for each a ∈ f.source, f a can be obtained by applying some g ∈ elements
instead. We call f an equidecomposition of f.source with f.target.
More familiarly, f is the result of partitioning f.source into finitely many pieces,
then applying a single element of G to each to get a partition of f.target.
abbrev Equidecomp.toPartialEquiv E1 #
{X : Type u_1} → {G : Type u_2} → [inst : SMul G X] → Equidecomp X G → PartialEquiv X X
ctor Equidecomp.mk E0 #
{X : Type u_1} →
{G : Type u_2} →
[inst : SMul G X] →
(toPartialEquiv : PartialEquiv X X) →
(∃ S, Equidecomp.IsDecompOn (↑toPartialEquiv) toPartialEquiv.source S) → Equidecomp X G
theorem Equidecomp.isDecompOn' E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : SMul G X] (self : Equidecomp X G),
∃ S, Equidecomp.IsDecompOn (↑self.toPartialEquiv) self.source S
instance Equidecomp.instCoeFunForall E0 #
{X : Type u_1} → {G : Type u_2} → [inst : SMul G X] → CoeFun (Equidecomp X G) fun x ↦ X → X
Note that Equidecomp X G is not FunLike.
def Equidecomp.witness E1 #
{X : Type u_1} → {G : Type u_2} → [inst : SMul G X] → Equidecomp X G → Finset G
A finite set of group elements witnessing that f is an equidecomposition.
theorem Equidecomp.isDecompOn E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : SMul G X] (f : Equidecomp X G),
Equidecomp.IsDecompOn (↑f.toPartialEquiv) f.source f.witness
theorem Equidecomp.apply_mem_target E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : SMul G X] {f : Equidecomp X G} {x : X},
x ∈ f.source → ↑f.toPartialEquiv x ∈ f.target
theorem Equidecomp.toPartialEquiv_injective E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : SMul G X], Function.Injective Equidecomp.toPartialEquiv
theorem Equidecomp.IsDecompOn.mono E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : SMul G X] {f f' : X → X} {A A' : Set X} {S : Finset G},
Equidecomp.IsDecompOn f A S → A' ⊆ A → Set.EqOn f f' A' → Equidecomp.IsDecompOn f' A' S
def Equidecomp.restr E1 #
{X : Type u_1} → {G : Type u_2} → [inst : SMul G X] → Equidecomp X G → Set X → Equidecomp X G
The restriction of an equidecomposition as an equidecomposition.
theorem Equidecomp.restr_invFun E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : SMul G X] (f : Equidecomp X G) (A : Set X) (a : X),
(f.restr A).invFun a = ↑f.symm a
theorem Equidecomp.restr_toFun E0 #
∀ {X : Type u_1} {G : Type u_2} [inst : SMul G X] (f : Equidecomp X G) (A : Set X) (a : X),
↑(f.restr A).toPartialEquiv a = ↑f.toPartialEquiv a
theorem Equidecomp.restr_source E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : SMul G X] (f : Equidecomp X G) (A : Set X), (f.restr A).source = f.source ∩ A
theorem Equidecomp.restr_target E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : SMul G X] (f : Equidecomp X G) (A : Set X),
(f.restr A).target = f.target ∩ ↑f.symm ⁻¹' A
theorem Equidecomp.toPartialEquiv_restr E0 #
∀ {X : Type u_1} {G : Type u_2} [inst : SMul G X] (f : Equidecomp X G) (A : Set X),
(f.restr A).toPartialEquiv = f.restr A
theorem Equidecomp.source_restr E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : SMul G X] (f : Equidecomp X G) {A : Set X},
A ⊆ f.source → (f.restr A).source = A
theorem Equidecomp.restr_of_source_subset E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : SMul G X] {f : Equidecomp X G} {A : Set X}, f.source ⊆ A → f.restr A = f
theorem Equidecomp.restr_univ E0 #
∀ {X : Type u_1} {G : Type u_2} [inst : SMul G X] (f : Equidecomp X G), f.restr Set.univ = f
def Equidecomp.refl E1 #
(X : Type u_1) → (G : Type u_2) → [inst : Monoid G] → [inst_1 : MulAction G X] → Equidecomp X G
The identity function is an equidecomposition of the space with itself.
theorem Equidecomp.refl_toPartialEquiv E0 #
∀ (X : Type u_1) (G : Type u_2) [inst : Monoid G] [inst_1 : MulAction G X],
(Equidecomp.refl X G).toPartialEquiv = PartialEquiv.refl X
theorem Equidecomp.IsDecompOn.comp' E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : Monoid G] [inst_1 : MulAction G X] {g f : X → X} {B A : Set X} {T S : Finset G},
Equidecomp.IsDecompOn g B T → Equidecomp.IsDecompOn f A S → Equidecomp.IsDecompOn (g ∘ f) (A ∩ f ⁻¹' B) (T * S)
theorem Equidecomp.IsDecompOn.comp E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : Monoid G] [inst_1 : MulAction G X] {g f : X → X} {B A : Set X} {T S : Finset G},
Equidecomp.IsDecompOn g B T → Equidecomp.IsDecompOn f A S → Set.MapsTo f A B → Equidecomp.IsDecompOn (g ∘ f) A (T * S)
def Equidecomp.trans E1 #
{X : Type u_1} →
{G : Type u_2} → [inst : Monoid G] → [inst_1 : MulAction G X] → Equidecomp X G → Equidecomp X G → Equidecomp X G
The composition of two equidecompositions as an equidecomposition.
theorem Equidecomp.trans_toPartialEquiv E0 #
∀ {X : Type u_1} {G : Type u_2} [inst : Monoid G] [inst_1 : MulAction G X] (f g : Equidecomp X G),
(f.trans g).toPartialEquiv = f.trans g.toPartialEquiv
theorem Equidecomp.IsDecompOn.of_leftInvOn E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : Group G] [inst_1 : MulAction G X] {f g : X → X} {A : Set X} {S : Finset G},
Equidecomp.IsDecompOn f A S → Set.LeftInvOn g f A → Equidecomp.IsDecompOn g (f '' A) S⁻¹
def Equidecomp.symm E1 #
{X : Type u_1} → {G : Type u_2} → [inst : Group G] → [inst_1 : MulAction G X] → Equidecomp X G → Equidecomp X G
The inverse function of an equidecomposition as an equidecomposition.
theorem Equidecomp.symm_toPartialEquiv E0 #
∀ {X : Type u_1} {G : Type u_2} [inst : Group G] [inst_1 : MulAction G X] (f : Equidecomp X G),
f.symm.toPartialEquiv = f.symm
theorem Equidecomp.map_target E0 #
∀ {X : Type u_1} {G : Type u_2} [inst : Group G] [inst_1 : MulAction G X] {f : Equidecomp X G} {x : X},
x ∈ f.target → ↑f.symm.toPartialEquiv x ∈ f.source
theorem Equidecomp.left_inv E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : Group G] [inst_1 : MulAction G X] {f : Equidecomp X G} {x : X},
x ∈ f.source → ↑f.symm (↑f.toPartialEquiv x) = x
theorem Equidecomp.right_inv E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : Group G] [inst_1 : MulAction G X] {f : Equidecomp X G} {x : X},
x ∈ f.target → ↑f.toPartialEquiv (↑f.symm x) = x
theorem Equidecomp.symm_symm E0 #
∀ {X : Type u_1} {G : Type u_2} [inst : Group G] [inst_1 : MulAction G X] (f : Equidecomp X G), f.symm.symm = f
theorem Equidecomp.symm_apply_eq E0 #
∀ {X : Type u_1} {G : Type u_2} [inst : Group G] [inst_1 : MulAction G X] (f : Equidecomp X G) {x y : X},
x ∈ f.target → y ∈ f.source → (↑f.symm.toPartialEquiv x = y ↔ x = ↑f.toPartialEquiv y)
theorem Equidecomp.symm_involutive E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : Group G] [inst_1 : MulAction G X], Function.Involutive Equidecomp.symm
theorem Equidecomp.symm_bijective E1 #
∀ {X : Type u_1} {G : Type u_2} [inst : Group G] [inst_1 : MulAction G X], Function.Bijective Equidecomp.symm
theorem Equidecomp.refl_symm E0 #
∀ {X : Type u_1} {G : Type u_2} [inst : Group G] [inst_1 : MulAction G X],
(Equidecomp.refl X G).symm = Equidecomp.refl X G
theorem Equidecomp.restr_refl_symm E0 #
∀ {X : Type u_1} {G : Type u_2} [inst : Group G] [inst_1 : MulAction G X] (A : Set X),
((Equidecomp.refl X G).restr A).symm = (Equidecomp.refl X G).restr A