Galois connections, insertions and coinsertions #
Galois connections are order-theoretic adjoints, i.e. a pair of functions u and l,
such that ∀ a b, l a ≤ b ↔ a ≤ u b.
Main definitions #
GaloisConnection: A Galois connection is a pair of functionslandusatisfyingl a ≤ b ↔ a ≤ u b. They are special cases of adjoint functors in category theory, but do not depend on the category theory library in mathlib.GaloisInsertion: A Galois insertion is a Galois connection wherel ∘ u = idGaloisCoinsertion: A Galois coinsertion is a Galois connection whereu ∘ l = id
A Galois connection is a pair of functions l and u satisfying
l a ≤ b ↔ a ≤ u b. They are special cases of adjoint functors in category theory,
but do not depend on the category theory library in mathlib.
Equations
- GaloisConnection l u = ∀ (a : α) (b : β), l a ≤ b ↔ a ≤ u b
Instances For
If (l, u) is a Galois connection, then the relation x ≤ u (l y) is a transitive relation.
If l is a closure operator (Submodule.span, Subgroup.closure, ...) and u is the coercion to
Set, this reads as "if U is in the closure of V and V is in the closure of W then U is
in the closure of W".
If there exists a b such that a = u a, then b = l a is one such element.
If there exists an a such that b = l a, then a = u b is one such element.
A Galois insertion is a Galois connection where l ∘ u = id. It also contains a constructive
choice function, to give better definitional equalities when lifting order structures. Dual
to GaloisCoinsertion
- choice (x : α) : u (l x) ≤ x → β
A constructive choice function for images of
l. - gc : GaloisConnection l u
The Galois connection associated to a Galois insertion.
Main property of a Galois insertion.
Property of the choice function.
Instances For
A constructor for a Galois insertion with the trivial choice function.
Equations
- GaloisInsertion.monotoneIntro hu hl hul hlu = { choice := fun (x : α) (x_1 : u (l x) ≤ x) => l x, gc := ⋯, le_l_u := ⋯, choice_eq := ⋯ }
Instances For
Make a GaloisInsertion l u from a GaloisConnection l u such that ∀ b, b ≤ l (u b)
Equations
- gc.toGaloisInsertion h = { choice := fun (x : α) (x_1 : u (l x) ≤ x) => l x, gc := gc, le_l_u := h, choice_eq := ⋯ }
Instances For
Lift the bottom along a Galois connection
Equations
- gc.liftOrderBot = { bot := l ⊥, bot_le := ⋯ }
Instances For
A Galois coinsertion is a Galois connection where u ∘ l = id. It also contains a constructive
choice function, to give better definitional equalities when lifting order structures. Dual to
GaloisInsertion
- choice (x : β) : x ≤ l (u x) → α
A constructive choice function for images of
u. - gc : GaloisConnection l u
The Galois connection associated to a Galois coinsertion.
Main property of a Galois coinsertion.
Property of the choice function.
Instances For
Make a GaloisInsertion between αᵒᵈ and βᵒᵈ from a GaloisCoinsertion between α and
β.
Instances For
Make a GaloisCoinsertion between αᵒᵈ and βᵒᵈ from a GaloisInsertion between α and
β.
Instances For
Make a GaloisInsertion between α and β from a GaloisCoinsertion between αᵒᵈ and
βᵒᵈ.
Instances For
Make a GaloisCoinsertion between α and β from a GaloisInsertion between αᵒᵈ and
βᵒᵈ.
Instances For
A constructor for a Galois coinsertion with the trivial choice function.
Equations
- GaloisCoinsertion.monotoneIntro hu hl hlu hul = (GaloisInsertion.monotoneIntro ⋯ ⋯ hlu hul).ofDual
Instances For
Make a GaloisCoinsertion l u from a GaloisConnection l u such that ∀ a, u (l a) ≤ a
Equations
- gc.toGaloisCoinsertion h = { choice := fun (x : β) (x_1 : x ≤ l (u x)) => u x, gc := gc, u_l_le := h, choice_eq := ⋯ }
Instances For
Lift the top along a Galois connection
Equations
- gc.liftOrderTop = { top := u ⊤, le_top := ⋯ }