Mathlib.Algebra.Quandle
146 declarations. Mathlib docs · Source
Racks and Quandles
This file defines racks and quandles, algebraic structures for sets
that bijectively act on themselves with a self-distributivity
property. If R is a rack and act : R → (R ≃ R) is the self-action,
then the self-distributivity is, equivalently, that
act (act x y) = act x * act y * (act x)⁻¹
where multiplication is composition in R ≃ R as a group.
Quandles are racks such that act x x = x for all x.
One example of a quandle (not yet in mathlib) is the action of a Lie
algebra on itself, defined by act x y = Ad (exp x) y.
Quandles and racks were independently developed by multiple mathematicians. David Joyce introduced quandles in his thesis [Joyce1982] to define an algebraic invariant of knot and link complements that is analogous to the fundamental group of the exterior, and he showed that the quandle associated to an oriented knot is invariant up to orientation-reversed mirror image. Racks were used by Fenn and Rourke for framed codimension-2 knots and links in [FennRourke1992]. Unital shelves are discussed in [crans2017].
The name "rack" came from wordplay by Conway and Wraith for the "wrack and ruin" of forgetting everything but the conjugation operation for a group.
Main definitions
Shelfis a type with a self-distributive actionUnitalShelfis a shelf with a left and right unitRackis a shelf whose action for each element is invertibleQuandleis a rack whose action for an element fixes that elementQuandle.conjdefines a quandle of a group acting on itself by conjugation.ShelfHomis homomorphisms of shelves, racks, and quandles.Rack.EnvelGroupgives the universal group the rack maps to as a conjugation quandle.Rack.oppositeRackgives the rack with the action replaced by its inverse.
Main statements
Rack.EnvelGroupis left adjoint toQuandle.Conj(toEnvelGroup.map). The universality statements aretoEnvelGroup.univandtoEnvelGroup.univ_uniq.
Implementation notes
"Unital racks" are uninteresting (see Rack.assoc_iff_id, UnitalShelf.assoc), so we do not
define them.
Notation
The following notation is localized in quandles:
x ◃ yisShelf.act x yx ◃⁻¹ yisRack.inv_act x yS →◃ S'isShelfHom S S'
Use open quandles to use these.
TODO
- If
gis the Lie algebra of a Lie groupG, then(x ◃ y) = Ad (exp x) xforms a quandle. - If
Xis a symmetric space, then each point has a corresponding involution that acts onX, forming a quandle. - Alexander quandle with
a ◃ b = t * b + (1 - t) * b, withaandbelements of a module overZ[t,t⁻¹]. - If
Gis a group,Ha subgroup, andzinH, then there is a quandle(G/H;z)defined byyH ◃ xH = yzy⁻¹xH. Every homogeneous quandle (i.e., a quandleQwhose automorphism group acts transitively onQas a set) is isomorphic to such a quandle. There is a generalization to this arbitrary quandles in [Joyce's paper (Theorem 7.2)][Joyce1982].
Tags
rack, quandle
Universal enveloping group of a rack
The universal enveloping group EnvelGroup R of a rack R is the
universal group such that every rack homomorphism R →◃ conj G is
induced by a unique group homomorphism EnvelGroup R →* G.
For quandles, Joyce called this group AdConj R.
The EnvelGroup functor is left adjoint to the Conj forgetful
functor, and the way we construct the enveloping group is via a
technique that should work for left adjoints of forgetful functors in
general. It involves thinking a little about 2-categories, but the
payoff is that the map EnvelGroup R →* G has a nice description.
Let's think of a group as being a one-object category. The first step
is to define PreEnvelGroup, which gives formal expressions for all
the 1-morphisms and includes the unit element, elements of R,
multiplication, and inverses. To introduce relations, the second step
is to define PreEnvelGroupRel', which gives formal expressions
for all 2-morphisms between the 1-morphisms. The 2-morphisms include
associativity, multiplication by the unit, multiplication by inverses,
compatibility with multiplication and inverses (congr_mul and
congr_inv), the axioms for an equivalence relation, and,
importantly, the relationship between conjugation and the rack action
(see Rack.ad_conj).
None of this forms a 2-category yet, for example due to lack of
associativity of trans. The PreEnvelGroupRel relation is a
Prop-valued version of PreEnvelGroupRel', and making it
Prop-valued essentially introduces enough 3-isomorphisms so that
every pair of compatible 2-morphisms is isomorphic. Now, while
composition in PreEnvelGroup does not strictly satisfy the category
axioms, PreEnvelGroup and PreEnvelGroupRel' do form a weak
2-category.
Since we just want a 1-category, the last step is to quotient
PreEnvelGroup by PreEnvelGroupRel', and the result is the
group EnvelGroup.
For a homomorphism f : R →◃ Conj G, how does
EnvelGroup.map f : EnvelGroup R →* G work? Let's think of G as
being a 2-category with one object, a 1-morphism per element of G,
and a single 2-morphism called Eq.refl for each 1-morphism. We
define the map using a "higher Quotient.lift" -- not only do we
evaluate elements of PreEnvelGroup as expressions in G (this is
toEnvelGroup.mapAux), but we evaluate elements of
PreEnvelGroup' as expressions of 2-morphisms of G (this is
toEnvelGroup.mapAux.well_def). That is to say,
toEnvelGroup.mapAux.well_def recursively evaluates formal
expressions of 2-morphisms as equality proofs in G. Now that all
morphisms are accounted for, the map descends to a homomorphism
EnvelGroup R →* G.
Note: Type-valued relations are not common. The fact it is
Type-valued is what makes toEnvelGroup.mapAux.well_def have
well-founded recursion.
theorem Rack.PreEnvelGroup.brecOn.eq E1 #
∀ {R : Type u} {motive : Rack.PreEnvelGroup R → Sort u_1} (t : Rack.PreEnvelGroup R)
(F_1 : (t : Rack.PreEnvelGroup R) → Rack.PreEnvelGroup.below t → motive t),
Rack.PreEnvelGroup.brecOn t F_1 = F_1 t (Rack.PreEnvelGroup.brecOn.go t F_1).2
theorem Rack.PreEnvelGroupRel'.trans.inj E1 #
∀ {R : Type u} {inst : Rack R} {a b c : Rack.PreEnvelGroup R} {hab : Rack.PreEnvelGroupRel' R a b}
{hbc : Rack.PreEnvelGroupRel' R b c} {b_1 : Rack.PreEnvelGroup R} {hab_1 : Rack.PreEnvelGroupRel' R a b_1}
{hbc_1 : Rack.PreEnvelGroupRel' R b_1 c}, hab.trans hbc = hab_1.trans hbc_1 → b = b_1 ∧ hab ≍ hab_1 ∧ hbc ≍ hbc_1
abbrev Rack.PreEnvelGroupRel'.brecOn.go E1 #
{R : Type u} →
[inst : Rack R] →
{motive : (a a_1 : Rack.PreEnvelGroup R) → Rack.PreEnvelGroupRel' R a a_1 → Sort u_1} →
{a a_1 : Rack.PreEnvelGroup R} →
(t : Rack.PreEnvelGroupRel' R a a_1) →
((a a_2 : Rack.PreEnvelGroup R) →
(t : Rack.PreEnvelGroupRel' R a a_2) → Rack.PreEnvelGroupRel'.below t → motive a a_2 t) →
motive a a_1 t ×' Rack.PreEnvelGroupRel'.below t
def ShelfHom.ctorIdx E1 #
{S₁ : Type u_1} → {S₂ : Type u_2} → {inst : Shelf S₁} → {inst_1 : Shelf S₂} → ShelfHom S₁ S₂ → ℕ
def Rack.PreEnvelGroupRel'.ctorIdx E1 #
{R : Type u} → {inst : Rack R} → {a a_1 : Rack.PreEnvelGroup R} → Rack.PreEnvelGroupRel' R a a_1 → ℕ
theorem Rack.toEnvelGroup.mapAux.match_1.congr_eq_1 E1 #
∀ {R : Type u_1} (motive : Rack.PreEnvelGroup R → Sort u_2) (x : Rack.PreEnvelGroup R)
(h_1 : Unit → motive Rack.PreEnvelGroup.unit) (h_2 : (x : R) → motive (Rack.PreEnvelGroup.incl x))
(h_3 : (a b : Rack.PreEnvelGroup R) → motive (a.mul b)) (h_4 : (a : Rack.PreEnvelGroup R) → motive a.inv),
x = Rack.PreEnvelGroup.unit →
(match x with
| Rack.PreEnvelGroup.unit => h_1 ()
| Rack.PreEnvelGroup.incl x => h_2 x
| a.mul b => h_3 a b
| a.inv => h_4 a) ≍
h_1 ()
theorem Rack.toEnvelGroup.mapAux.match_1.congr_eq_4 E1 #
∀ {R : Type u_1} (motive : Rack.PreEnvelGroup R → Sort u_2) (x : Rack.PreEnvelGroup R)
(h_1 : Unit → motive Rack.PreEnvelGroup.unit) (h_2 : (x : R) → motive (Rack.PreEnvelGroup.incl x))
(h_3 : (a b : Rack.PreEnvelGroup R) → motive (a.mul b)) (h_4 : (a : Rack.PreEnvelGroup R) → motive a.inv)
(a : Rack.PreEnvelGroup R),
x = a.inv →
(match x with
| Rack.PreEnvelGroup.unit => h_1 ()
| Rack.PreEnvelGroup.incl x => h_2 x
| a.mul b => h_3 a b
| a.inv => h_4 a) ≍
h_4 a
abbrev Rack.PreEnvelGroupRel'.ctorElimType E1 #
{R : Type u} →
[inst : Rack R] →
{motive : (a a_1 : Rack.PreEnvelGroup R) → Rack.PreEnvelGroupRel' R a a_1 → Sort u_1} →
ℕ →
Sort
(max 1 (imax (u + 1) u_1) (imax (u + 1) (u + 1) u_1) (imax (u + 1) (u + 1) (u + 1) u_1)
(imax (u + 1) (u + 1) (u + 1) (u + 1) (u + 1) u_1)
(imax (u + 1) (u + 1) (u + 1) (u + 1) (u + 1) (u + 1) u_1))
theorem Rack.PreEnvelGroupRel'.congr_inv.inj E1 #
∀ {R : Type u} {inst : Rack R} {a a' : Rack.PreEnvelGroup R} {ha ha_1 : Rack.PreEnvelGroupRel' R a a'},
ha.congr_inv = ha_1.congr_inv → ha = ha_1
theorem Rack.PreEnvelGroupRel'.congr_inv.injEq E0 #
∀ {R : Type u} [inst : Rack R] {a a' : Rack.PreEnvelGroup R} (ha ha_1 : Rack.PreEnvelGroupRel' R a a'),
(ha.congr_inv = ha_1.congr_inv) = (ha = ha_1)
theorem Rack.PreEnvelGroupRel'.congr_mul.injEq E0 #
∀ {R : Type u} [inst : Rack R] {a b a' b' : Rack.PreEnvelGroup R} (ha : Rack.PreEnvelGroupRel' R a a')
(hb : Rack.PreEnvelGroupRel' R b b') (ha_1 : Rack.PreEnvelGroupRel' R a a') (hb_1 : Rack.PreEnvelGroupRel' R b b'),
(ha.congr_mul hb = ha_1.congr_mul hb_1) = (ha = ha_1 ∧ hb = hb_1)
theorem Rack.PreEnvelGroupRel'.symm.inj E1 #
∀ {R : Type u} {inst : Rack R} {a b : Rack.PreEnvelGroup R} {hab hab_1 : Rack.PreEnvelGroupRel' R a b},
hab.symm = hab_1.symm → hab = hab_1
theorem Rack.toEnvelGroup.mapAux.match_1.congr_eq_3 E1 #
∀ {R : Type u_1} (motive : Rack.PreEnvelGroup R → Sort u_2) (x : Rack.PreEnvelGroup R)
(h_1 : Unit → motive Rack.PreEnvelGroup.unit) (h_2 : (x : R) → motive (Rack.PreEnvelGroup.incl x))
(h_3 : (a b : Rack.PreEnvelGroup R) → motive (a.mul b)) (h_4 : (a : Rack.PreEnvelGroup R) → motive a.inv)
(a b : Rack.PreEnvelGroup R),
x = a.mul b →
(match x with
| Rack.PreEnvelGroup.unit => h_1 ()
| Rack.PreEnvelGroup.incl x => h_2 x
| a.mul b => h_3 a b
| a.inv => h_4 a) ≍
h_3 a b
theorem Rack.PreEnvelGroup.mul.injEq E0 #
∀ {R : Type u} (a b a_1 b_1 : Rack.PreEnvelGroup R), (a.mul b = a_1.mul b_1) = (a = a_1 ∧ b = b_1)
def Quandle.ctorIdx E1 #
{α : Type u_1} → Quandle α → ℕ
def Rack.PreEnvelGroup.ctorIdx E1 #
{R : Type u} → Rack.PreEnvelGroup R → ℕ
abbrev Rack.PreEnvelGroup.brecOn.go E1 #
{R : Type u} →
{motive : Rack.PreEnvelGroup R → Sort u_1} →
(t : Rack.PreEnvelGroup R) →
((t : Rack.PreEnvelGroup R) → Rack.PreEnvelGroup.below t → motive t) → motive t ×' Rack.PreEnvelGroup.below t
def Rack.ctorIdx E1 #
{α : Type u} → Rack α → ℕ
theorem ShelfHom.mk.injEq E0 #
∀ {S₁ : Type u_1} {S₂ : Type u_2} [inst : Shelf S₁] [inst_1 : Shelf S₂] (toFun : S₁ → S₂)
(map_act' : ∀ {x y : S₁}, toFun (Shelf.act x y) = Shelf.act (toFun x) (toFun y)) (toFun_1 : S₁ → S₂)
(map_act'_1 : ∀ {x y : S₁}, toFun_1 (Shelf.act x y) = Shelf.act (toFun_1 x) (toFun_1 y)),
({ toFun := toFun, map_act' := map_act' } = { toFun := toFun_1, map_act' := map_act'_1 }) = (toFun = toFun_1)
def Shelf.ctorIdx E1 #
{α : Type u} → Shelf α → ℕ
theorem Rack.PreEnvelGroup.incl.injEq E0 #
∀ {R : Type u} (x x_1 : R), (Rack.PreEnvelGroup.incl x = Rack.PreEnvelGroup.incl x_1) = (x = x_1)
theorem Rack.PreEnvelGroupRel'.symm.injEq E0 #
∀ {R : Type u} [inst : Rack R] {a b : Rack.PreEnvelGroup R} (hab hab_1 : Rack.PreEnvelGroupRel' R a b),
(hab.symm = hab_1.symm) = (hab = hab_1)
theorem ShelfHom.mk.inj E1 #
∀ {S₁ : Type u_1} {S₂ : Type u_2} {inst : Shelf S₁} {inst_1 : Shelf S₂} {toFun : S₁ → S₂}
{map_act' : ∀ {x y : S₁}, toFun (Shelf.act x y) = Shelf.act (toFun x) (toFun y)} {toFun_1 : S₁ → S₂}
{map_act'_1 : ∀ {x y : S₁}, toFun_1 (Shelf.act x y) = Shelf.act (toFun_1 x) (toFun_1 y)},
{ toFun := toFun, map_act' := map_act' } = { toFun := toFun_1, map_act' := map_act'_1 } → toFun = toFun_1
theorem Rack.PreEnvelGroup.incl.inj E1 #
∀ {R : Type u} {x x_1 : R}, Rack.PreEnvelGroup.incl x = Rack.PreEnvelGroup.incl x_1 → x = x_1
theorem Rack.PreEnvelGroupRel'.congr_mul.inj E1 #
∀ {R : Type u} {inst : Rack R} {a b a' b' : Rack.PreEnvelGroup R} {ha : Rack.PreEnvelGroupRel' R a a'}
{hb : Rack.PreEnvelGroupRel' R b b'} {ha_1 : Rack.PreEnvelGroupRel' R a a'} {hb_1 : Rack.PreEnvelGroupRel' R b b'},
ha.congr_mul hb = ha_1.congr_mul hb_1 → ha = ha_1 ∧ hb = hb_1
theorem Rack.PreEnvelGroupRel'.trans.injEq E0 #
∀ {R : Type u} [inst : Rack R] {a b c : Rack.PreEnvelGroup R} (hab : Rack.PreEnvelGroupRel' R a b)
(hbc : Rack.PreEnvelGroupRel' R b c) (b_1 : Rack.PreEnvelGroup R) (hab_1 : Rack.PreEnvelGroupRel' R a b_1)
(hbc_1 : Rack.PreEnvelGroupRel' R b_1 c), (hab.trans hbc = hab_1.trans hbc_1) = (b = b_1 ∧ hab ≍ hab_1 ∧ hbc ≍ hbc_1)
abbrev Rack.PreEnvelGroup.ctorElimType E1 #
{R : Type u} →
{motive : Rack.PreEnvelGroup R → Sort u_1} → ℕ → Sort (max 1 u_1 (imax (u + 1) u_1) (imax (u + 1) (u + 1) u_1))
theorem Rack.PreEnvelGroup.inv.injEq E0 #
∀ {R : Type u} (a a_1 : Rack.PreEnvelGroup R), (a.inv = a_1.inv) = (a = a_1)
theorem Rack.PreEnvelGroupRel'.brecOn.eq E1 #
∀ {R : Type u} [inst : Rack R] {motive : (a a_1 : Rack.PreEnvelGroup R) → Rack.PreEnvelGroupRel' R a a_1 → Sort u_1}
{a a_1 : Rack.PreEnvelGroup R} (t : Rack.PreEnvelGroupRel' R a a_1)
(F_1 :
(a a_2 : Rack.PreEnvelGroup R) →
(t : Rack.PreEnvelGroupRel' R a a_2) → Rack.PreEnvelGroupRel'.below t → motive a a_2 t),
Rack.PreEnvelGroupRel'.brecOn t F_1 = F_1 a a_1 t (Rack.PreEnvelGroupRel'.brecOn.go t F_1).2
theorem Rack.PreEnvelGroup.mul.inj E1 #
∀ {R : Type u} {a b a_1 b_1 : Rack.PreEnvelGroup R}, a.mul b = a_1.mul b_1 → a = a_1 ∧ b = b_1
theorem Rack.toEnvelGroup.mapAux.match_1.congr_eq_2 E1 #
∀ {R : Type u_1} (motive : Rack.PreEnvelGroup R → Sort u_2) (x : Rack.PreEnvelGroup R)
(h_1 : Unit → motive Rack.PreEnvelGroup.unit) (h_2 : (x : R) → motive (Rack.PreEnvelGroup.incl x))
(h_3 : (a b : Rack.PreEnvelGroup R) → motive (a.mul b)) (h_4 : (a : Rack.PreEnvelGroup R) → motive a.inv) (x_1 : R),
x = Rack.PreEnvelGroup.incl x_1 →
(match x with
| Rack.PreEnvelGroup.unit => h_1 ()
| Rack.PreEnvelGroup.incl x => h_2 x
| a.mul b => h_3 a b
| a.inv => h_4 a) ≍
h_2 x_1
def UnitalShelf.ctorIdx E1 #
{α : Type u} → UnitalShelf α → ℕ
theorem Rack.PreEnvelGroup.inv.inj E1 #
∀ {R : Type u} {a a_1 : Rack.PreEnvelGroup R}, a.inv = a_1.inv → a = a_1
class Shelf E3 #
Type u → Type u
A Shelf is a structure with a self-distributive binary operation. The binary operation is regarded as a left action of the type on itself.
ctor Shelf.mk E0 #
{α : Type u} → (act : α → α → α) → (∀ {x y z : α}, act x (act y z) = act (act x y) (act x z)) → Shelf α
abbrev Shelf.act E1 #
{α : Type u} → [self : Shelf α] → α → α → α
The action of the Shelf over α
theorem Shelf.self_distrib E1 #
∀ {α : Type u} [self : Shelf α] {x y z : α}, Shelf.act x (Shelf.act y z) = Shelf.act (Shelf.act x y) (Shelf.act x z)
A verification that act is self-distributive
class UnitalShelf E3 #
Type u → Type u
A unital shelf is a shelf equipped with an element 1 such that, for all elements x,
we have both x ◃ 1 and 1 ◃ x equal x.
instance UnitalShelf.toOne E0 #
{α : Type u} → [self : UnitalShelf α] → One α
instance UnitalShelf.toShelf E0 #
{α : Type u} → [self : UnitalShelf α] → Shelf α
ctor UnitalShelf.mk E0 #
{α : Type u} →
[toShelf : Shelf α] →
[toOne : One α] → (∀ (a : α), Shelf.act 1 a = a) → (∀ (a : α), Shelf.act a 1 = a) → UnitalShelf α
theorem UnitalShelf.one_act E1 #
∀ {α : Type u} [self : UnitalShelf α] (a : α), Shelf.act 1 a = a
theorem UnitalShelf.act_one E1 #
∀ {α : Type u} [self : UnitalShelf α] (a : α), Shelf.act a 1 = a
structure ShelfHom E3 #
(S₁ : Type u_1) → (S₂ : Type u_2) → [Shelf S₁] → [Shelf S₂] → Type (max u_1 u_2)
The type of homomorphisms between shelves. This is also the notion of rack and quandle homomorphisms.
theorem ShelfHom.ext_iff E0 #
∀ {S₁ : Type u_1} {S₂ : Type u_2} {inst : Shelf S₁} {inst_1 : Shelf S₂} {x y : ShelfHom S₁ S₂},
x = y ↔ x.toFun = y.toFun
theorem ShelfHom.ext E1 #
∀ {S₁ : Type u_1} {S₂ : Type u_2} {inst : Shelf S₁} {inst_1 : Shelf S₂} {x y : ShelfHom S₁ S₂},
x.toFun = y.toFun → x = y
ctor ShelfHom.mk E0 #
{S₁ : Type u_1} →
{S₂ : Type u_2} →
[inst : Shelf S₁] →
[inst_1 : Shelf S₂] →
(toFun : S₁ → S₂) → (∀ {x y : S₁}, toFun (Shelf.act x y) = Shelf.act (toFun x) (toFun y)) → ShelfHom S₁ S₂
abbrev ShelfHom.toFun E1 #
{S₁ : Type u_1} → {S₂ : Type u_2} → [inst : Shelf S₁] → [inst_1 : Shelf S₂] → ShelfHom S₁ S₂ → S₁ → S₂
The function under the Shelf Homomorphism
theorem ShelfHom.map_act' E0 #
∀ {S₁ : Type u_1} {S₂ : Type u_2} [inst : Shelf S₁] [inst_1 : Shelf S₂] (self : ShelfHom S₁ S₂) {x y : S₁},
self.toFun (Shelf.act x y) = Shelf.act (self.toFun x) (self.toFun y)
The homomorphism property of a Shelf Homomorphism
class Rack E3 #
Type u → Type u
A rack is an automorphic set (a set with an action on itself by bijections) that is self-distributive. It is a shelf such that each element's action is invertible.
The notations x ◃ y and x ◃⁻¹ y denote the action and the
inverse action, respectively, and they are right associative.
instance Rack.toShelf E0 #
{α : Type u} → [self : Rack α] → Shelf α
ctor Rack.mk E0 #
{α : Type u} →
[toShelf : Shelf α] →
(invAct : α → α → α) →
(∀ (x : α), Function.LeftInverse (invAct x) (Shelf.act x)) →
(∀ (x : α), Function.RightInverse (invAct x) (Shelf.act x)) → Rack α
abbrev Rack.invAct E1 #
{α : Type u} → [self : Rack α] → α → α → α
The inverse actions of the elements
theorem Rack.left_inv E1 #
∀ {α : Type u} [self : Rack α] (x : α), Function.LeftInverse (Rack.invAct x) (Shelf.act x)
Proof of left inverse
theorem Rack.right_inv E1 #
∀ {α : Type u} [self : Rack α] (x : α), Function.RightInverse (Rack.invAct x) (Shelf.act x)
Proof of right inverse
def Quandles.«term_◃_» E1 #
Lean.TrailingParserDescr
Action of a Shelf
def Quandles.«term_◃⁻¹_» E1 #
Lean.TrailingParserDescr
Inverse Action of a Rack
def Quandles.«term_→◃_» E1 #
Lean.TrailingParserDescr
Shelf Homomorphism
theorem UnitalShelf.act_act_self_eq E0 #
∀ {S : Type u_1} [inst : UnitalShelf S] (x y : S), Shelf.act (Shelf.act x y) x = Shelf.act x y
A monoid is graphic if, for all x and y, the graphic identity
(x * y) * x = x * y holds. For a unital shelf, this graphic
identity holds.
theorem UnitalShelf.act_idem E1 #
∀ {S : Type u_1} [inst : UnitalShelf S] (x : S), Shelf.act x x = x
theorem UnitalShelf.act_self_act_eq E0 #
∀ {S : Type u_1} [inst : UnitalShelf S] (x y : S), Shelf.act x (Shelf.act x y) = Shelf.act x y
theorem UnitalShelf.assoc E1 #
∀ {S : Type u_1} [inst : UnitalShelf S] (x y z : S), Shelf.act (Shelf.act x y) z = Shelf.act x (Shelf.act y z)
The associativity of a unital shelf comes for free.
def Rack.act' E1 #
{R : Type u_1} → [Rack R] → R → R ≃ R
A rack acts on itself by equivalences.
theorem Rack.act'_apply E0 #
∀ {R : Type u_1} [inst : Rack R] (x y : R), (Rack.act' x) y = Shelf.act x y
theorem Rack.act'_symm_apply E0 #
∀ {R : Type u_1} [inst : Rack R] (x y : R), (Rack.act' x).symm y = Rack.invAct x y
theorem Rack.invAct_apply E0 #
∀ {R : Type u_1} [inst : Rack R] (x y : R), (Rack.act' x)⁻¹ y = Rack.invAct x y
theorem Rack.invAct_act_eq E0 #
∀ {R : Type u_1} [inst : Rack R] (x y : R), Rack.invAct x (Shelf.act x y) = y
theorem Rack.act_invAct_eq E0 #
∀ {R : Type u_1} [inst : Rack R] (x y : R), Shelf.act x (Rack.invAct x y) = y
theorem Rack.left_cancel E1 #
∀ {R : Type u_1} [inst : Rack R] (x : R) {y y' : R}, Shelf.act x y = Shelf.act x y' ↔ y = y'
theorem Rack.left_cancel_inv E1 #
∀ {R : Type u_1} [inst : Rack R] (x : R) {y y' : R}, Rack.invAct x y = Rack.invAct x y' ↔ y = y'
theorem Rack.self_distrib_inv E1 #
∀ {R : Type u_1} [inst : Rack R] {x y z : R},
Rack.invAct x (Rack.invAct y z) = Rack.invAct (Rack.invAct x y) (Rack.invAct x z)
theorem Rack.ad_conj E1 #
∀ {R : Type u_2} [inst : Rack R] (x y : R), Rack.act' (Shelf.act x y) = Rack.act' x * Rack.act' y * (Rack.act' x)⁻¹
The adjoint action of a rack on itself is op', and the adjoint
action of x ◃ y is the conjugate of the action of y by the action
of x. It is another way to understand the self-distributivity axiom.
This is used in the natural rack homomorphism toConj from R to
Conj (R ≃ R) defined by op'.
instance Rack.oppositeRack E3 #
{R : Type u_1} → [Rack R] → Rack Rᵐᵒᵖ
The opposite rack, swapping the roles of ◃ and ◃⁻¹.
theorem Rack.op_act_op_eq E0 #
∀ {R : Type u_1} [inst : Rack R] {x y : R},
Shelf.act (MulOpposite.op x) (MulOpposite.op y) = MulOpposite.op (Rack.invAct x y)
theorem Rack.op_invAct_op_eq E0 #
∀ {R : Type u_1} [inst : Rack R] {x y : R},
Rack.invAct (MulOpposite.op x) (MulOpposite.op y) = MulOpposite.op (Shelf.act x y)
theorem Rack.self_act_act_eq E0 #
∀ {R : Type u_1} [inst : Rack R] {x y : R}, Shelf.act (Shelf.act x x) y = Shelf.act x y
theorem Rack.self_invAct_invAct_eq E0 #
∀ {R : Type u_1} [inst : Rack R] {x y : R}, Rack.invAct (Rack.invAct x x) y = Rack.invAct x y
theorem Rack.self_act_invAct_eq E0 #
∀ {R : Type u_1} [inst : Rack R] {x y : R}, Rack.invAct (Shelf.act x x) y = Rack.invAct x y
theorem Rack.self_invAct_act_eq E0 #
∀ {R : Type u_1} [inst : Rack R] {x y : R}, Shelf.act (Rack.invAct x x) y = Shelf.act x y
theorem Rack.self_act_eq_iff_eq E0 #
∀ {R : Type u_1} [inst : Rack R] {x y : R}, Shelf.act x x = Shelf.act y y ↔ x = y
theorem Rack.self_invAct_eq_iff_eq E0 #
∀ {R : Type u_1} [inst : Rack R] {x y : R}, Rack.invAct x x = Rack.invAct y y ↔ x = y
def Rack.selfApplyEquiv E1 #
(R : Type u_2) → [Rack R] → R ≃ R
The map x ↦ x ◃ x is a bijection. (This has applications for the
regular isotopy version of the Reidemeister I move for knot diagrams.)
def Rack.IsInvolutory E1 #
(R : Type u_2) → [Rack R] → Prop
An involutory rack is one for which Rack.oppositeRack R x is an involution for every x.
theorem Rack.involutory_invAct_eq_act E1 #
∀ {R : Type u_2} [inst : Rack R], Rack.IsInvolutory R → ∀ (x y : R), Rack.invAct x y = Shelf.act x y
def Rack.IsAbelian E1 #
(R : Type u_2) → [Rack R] → Prop
An abelian rack is one for which the mediality axiom holds.
theorem Rack.assoc_iff_id E1 #
∀ {R : Type u_2} [inst : Rack R] {x y z : R},
Shelf.act x (Shelf.act y z) = Shelf.act (Shelf.act x y) z ↔ Shelf.act x z = z
Associative racks are uninteresting.
instance ShelfHom.instFunLike E0 #
{S₁ : Type u_1} → {S₂ : Type u_2} → [inst : Shelf S₁] → [inst_1 : Shelf S₂] → FunLike (ShelfHom S₁ S₂) S₁ S₂
theorem ShelfHom.toFun_eq_coe E0 #
∀ {S₁ : Type u_1} {S₂ : Type u_2} [inst : Shelf S₁] [inst_1 : Shelf S₂] (f : ShelfHom S₁ S₂), f.toFun = ⇑f
theorem ShelfHom.map_act E0 #
∀ {S₁ : Type u_1} {S₂ : Type u_2} [inst : Shelf S₁] [inst_1 : Shelf S₂] (f : ShelfHom S₁ S₂) {x y : S₁},
f (Shelf.act x y) = Shelf.act (f x) (f y)
def ShelfHom.id E1 #
(S : Type u_4) → [inst : Shelf S] → ShelfHom S S
The identity homomorphism
instance ShelfHom.inhabited E0 #
(S : Type u_4) → [inst : Shelf S] → Inhabited (ShelfHom S S)
def ShelfHom.comp E1 #
{S₁ : Type u_1} →
{S₂ : Type u_2} →
{S₃ : Type u_3} →
[inst : Shelf S₁] → [inst_1 : Shelf S₂] → [inst_2 : Shelf S₃] → ShelfHom S₂ S₃ → ShelfHom S₁ S₂ → ShelfHom S₁ S₃
The composition of shelf homomorphisms
theorem ShelfHom.comp_apply E0 #
∀ {S₁ : Type u_1} {S₂ : Type u_2} {S₃ : Type u_3} [inst : Shelf S₁] [inst_1 : Shelf S₂] [inst_2 : Shelf S₃]
(g : ShelfHom S₂ S₃) (f : ShelfHom S₁ S₂) (x : S₁), (g.comp f) x = g (f x)
class Quandle E3 #
Type u_1 → Type u_1
A quandle is a rack such that each automorphism fixes its corresponding element.
instance Quandle.toRack E0 #
{α : Type u_1} → [self : Quandle α] → Rack α
ctor Quandle.mk E0 #
{α : Type u_1} → [toRack : Rack α] → (∀ {x : α}, Shelf.act x x = x) → Quandle α
theorem Quandle.fix E0 #
∀ {α : Type u_1} [self : Quandle α] {x : α}, Shelf.act x x = x
The fixing property of a Quandle
theorem Quandle.fix_inv E0 #
∀ {Q : Type u_1} [inst : Quandle Q] {x : Q}, Rack.invAct x x = x
instance Quandle.oppositeQuandle E0 #
{Q : Type u_1} → [Quandle Q] → Quandle Qᵐᵒᵖ
abbrev Quandle.Conj E3 #
Type u_2 → Type u_2
The conjugation quandle of a group. Each element of the group acts by the corresponding inner automorphism.
instance Quandle.Conj.quandle E0 #
(G : Type u_2) → [Group G] → Quandle (Quandle.Conj G)
theorem Quandle.conj_act_eq_conj E0 #
∀ {G : Type u_2} [inst : Group G] (x y : Quandle.Conj G), Shelf.act x y = x * y * x⁻¹
theorem Quandle.conj_swap E1 #
∀ {G : Type u_2} [inst : Group G] (x y : Quandle.Conj G), Shelf.act x y = y ↔ Shelf.act y x = x
def Quandle.Conj.map E1 #
{G : Type u_2} →
{H : Type u_3} → [inst : Group G] → [inst_1 : Group H] → (G →* H) → ShelfHom (Quandle.Conj G) (Quandle.Conj H)
Conj is functorial
def Quandle.Dihedral E1 #
ℕ → Type
The dihedral quandle. This is the conjugation quandle of the dihedral group restricted to flips.
Used for Fox n-colorings of knots.
def Quandle.dihedralAct E1 #
(n : ℕ) → ZMod n → ZMod n → ZMod n
The operation for the dihedral quandle. It does not need to be an equivalence
because it is an involution (see dihedralAct.inv).
theorem Quandle.dihedralAct.inv E1 #
∀ (n : ℕ) (a : ZMod n), Function.Involutive (Quandle.dihedralAct n a)
instance Quandle.instDihedral E0 #
(n : ℕ) → Quandle (Quandle.Dihedral n)
def Rack.toConj E1 #
(R : Type u_1) → [inst : Rack R] → ShelfHom R (Quandle.Conj (R ≃ R))
This is the natural rack homomorphism to the conjugation quandle of the group R ≃ R
that acts on the rack.
inductive Rack.PreEnvelGroup E1 #
Type u → Type u
Free generators of the enveloping group.
ctor Rack.PreEnvelGroup.unit E0 #
{R : Type u} → Rack.PreEnvelGroup R
ctor Rack.PreEnvelGroup.incl E0 #
{R : Type u} → R → Rack.PreEnvelGroup R
ctor Rack.PreEnvelGroup.mul E0 #
{R : Type u} → Rack.PreEnvelGroup R → Rack.PreEnvelGroup R → Rack.PreEnvelGroup R
ctor Rack.PreEnvelGroup.inv E0 #
{R : Type u} → Rack.PreEnvelGroup R → Rack.PreEnvelGroup R
instance Rack.PreEnvelGroup.inhabited E0 #
(R : Type u) → Inhabited (Rack.PreEnvelGroup R)
inductive Rack.PreEnvelGroupRel' E1 #
(R : Type u) → [Rack R] → Rack.PreEnvelGroup R → Rack.PreEnvelGroup R → Type u
Relations for the enveloping group. This is a type-valued relation because
toEnvelGroup.mapAux.well_def inducts on it to show toEnvelGroup.map
is well-defined. The relation PreEnvelGroupRel is the Prop-valued version,
which is used to define EnvelGroup itself.
ctor Rack.PreEnvelGroupRel'.refl E0 #
{R : Type u} → [inst : Rack R] → {a : Rack.PreEnvelGroup R} → Rack.PreEnvelGroupRel' R a a
ctor Rack.PreEnvelGroupRel'.symm E0 #
{R : Type u} →
[inst : Rack R] → {a b : Rack.PreEnvelGroup R} → Rack.PreEnvelGroupRel' R a b → Rack.PreEnvelGroupRel' R b a
ctor Rack.PreEnvelGroupRel'.trans E0 #
{R : Type u} →
[inst : Rack R] →
{a b c : Rack.PreEnvelGroup R} →
Rack.PreEnvelGroupRel' R a b → Rack.PreEnvelGroupRel' R b c → Rack.PreEnvelGroupRel' R a c
ctor Rack.PreEnvelGroupRel'.congr_mul E0 #
{R : Type u} →
[inst : Rack R] →
{a b a' b' : Rack.PreEnvelGroup R} →
Rack.PreEnvelGroupRel' R a a' → Rack.PreEnvelGroupRel' R b b' → Rack.PreEnvelGroupRel' R (a.mul b) (a'.mul b')
ctor Rack.PreEnvelGroupRel'.congr_inv E0 #
{R : Type u} →
[inst : Rack R] →
{a a' : Rack.PreEnvelGroup R} → Rack.PreEnvelGroupRel' R a a' → Rack.PreEnvelGroupRel' R a.inv a'.inv
ctor Rack.PreEnvelGroupRel'.assoc E0 #
{R : Type u} →
[inst : Rack R] → (a b c : Rack.PreEnvelGroup R) → Rack.PreEnvelGroupRel' R ((a.mul b).mul c) (a.mul (b.mul c))
ctor Rack.PreEnvelGroupRel'.one_mul E0 #
{R : Type u} → [inst : Rack R] → (a : Rack.PreEnvelGroup R) → Rack.PreEnvelGroupRel' R (Rack.PreEnvelGroup.unit.mul a) a
ctor Rack.PreEnvelGroupRel'.mul_one E0 #
{R : Type u} → [inst : Rack R] → (a : Rack.PreEnvelGroup R) → Rack.PreEnvelGroupRel' R (a.mul Rack.PreEnvelGroup.unit) a
ctor Rack.PreEnvelGroupRel'.inv_mul_cancel E0 #
{R : Type u} →
[inst : Rack R] → (a : Rack.PreEnvelGroup R) → Rack.PreEnvelGroupRel' R (a.inv.mul a) Rack.PreEnvelGroup.unit
ctor Rack.PreEnvelGroupRel'.act_incl E0 #
{R : Type u} →
[inst : Rack R] →
(x y : R) →
Rack.PreEnvelGroupRel' R
(((Rack.PreEnvelGroup.incl x).mul (Rack.PreEnvelGroup.incl y)).mul (Rack.PreEnvelGroup.incl x).inv)
(Rack.PreEnvelGroup.incl (Shelf.act x y))
instance Rack.PreEnvelGroupRel'.inhabited E0 #
(R : Type u) → [inst : Rack R] → Inhabited (Rack.PreEnvelGroupRel' R Rack.PreEnvelGroup.unit Rack.PreEnvelGroup.unit)
inductive Rack.PreEnvelGroupRel E1 #
(R : Type u) → [Rack R] → Rack.PreEnvelGroup R → Rack.PreEnvelGroup R → Prop
The PreEnvelGroupRel relation as a Prop. Used as the relation for PreEnvelGroup.setoid.
ctor Rack.PreEnvelGroupRel.rel E0 #
∀ {R : Type u} [inst : Rack R] {a b : Rack.PreEnvelGroup R} (r : Rack.PreEnvelGroupRel' R a b),
Rack.PreEnvelGroupRel R a b
theorem Rack.PreEnvelGroupRel'.rel E1 #
∀ {R : Type u} [inst : Rack R] {a b : Rack.PreEnvelGroup R} (a_1 : Rack.PreEnvelGroupRel' R a b),
Rack.PreEnvelGroupRel R a b
A quick way to convert a PreEnvelGroupRel' to a PreEnvelGroupRel.
theorem Rack.PreEnvelGroupRel.refl E1 #
∀ {R : Type u} [inst : Rack R] {a : Rack.PreEnvelGroup R}, Rack.PreEnvelGroupRel R a a
theorem Rack.PreEnvelGroupRel.symm E1 #
∀ {R : Type u} [inst : Rack R] {a b : Rack.PreEnvelGroup R}, Rack.PreEnvelGroupRel R a b → Rack.PreEnvelGroupRel R b a
theorem Rack.PreEnvelGroupRel.trans E1 #
∀ {R : Type u} [inst : Rack R] {a b c : Rack.PreEnvelGroup R},
Rack.PreEnvelGroupRel R a b → Rack.PreEnvelGroupRel R b c → Rack.PreEnvelGroupRel R a c
instance Rack.PreEnvelGroup.setoid E0 #
(R : Type u_1) → [Rack R] → Setoid (Rack.PreEnvelGroup R)
def Rack.EnvelGroup E3 #
(R : Type u_1) → [Rack R] → Type u_1
The universal enveloping group for the rack R.
instance Rack.instDivInvMonoidEnvelGroup E0 #
(R : Type u_1) → [inst : Rack R] → DivInvMonoid (Rack.EnvelGroup R)
instance Rack.instGroupEnvelGroup E0 #
(R : Type u_1) → [inst : Rack R] → Group (Rack.EnvelGroup R)
instance Rack.EnvelGroup.inhabited E0 #
(R : Type u_1) → [inst : Rack R] → Inhabited (Rack.EnvelGroup R)
def Rack.toEnvelGroup E1 #
(R : Type u_1) → [inst : Rack R] → ShelfHom R (Quandle.Conj (Rack.EnvelGroup R))
The canonical homomorphism from a rack to its enveloping group.
Satisfies universal properties given by toEnvelGroup.map and toEnvelGroup.univ.
def Rack.toEnvelGroup.mapAux E0 #
{R : Type u_1} →
[inst : Rack R] → {G : Type u_2} → [inst_1 : Group G] → ShelfHom R (Quandle.Conj G) → Rack.PreEnvelGroup R → G
The preliminary definition of the induced map from the enveloping group.
See toEnvelGroup.map.
theorem Rack.toEnvelGroup.mapAux.well_def E0 #
∀ {R : Type u_1} [inst : Rack R] {G : Type u_2} [inst_1 : Group G] (f : ShelfHom R (Quandle.Conj G))
{a b : Rack.PreEnvelGroup R} (a_1 : Rack.PreEnvelGroupRel' R a b),
Rack.toEnvelGroup.mapAux f a = Rack.toEnvelGroup.mapAux f b
Show that toEnvelGroup.mapAux sends equivalent expressions to equal terms.
def Rack.toEnvelGroup.map E3 #
{R : Type u_1} →
[inst : Rack R] → {G : Type u_2} → [inst_1 : Group G] → ShelfHom R (Quandle.Conj G) ≃ (Rack.EnvelGroup R →* G)
Given a map from a rack to a group, lift it to being a map from the enveloping group.
More precisely, the EnvelGroup functor is left adjoint to Quandle.Conj.
theorem Rack.toEnvelGroup.univ E3 #
∀ (R : Type u_1) [inst : Rack R] (G : Type u_2) [inst_1 : Group G] (f : ShelfHom R (Quandle.Conj G)),
(Quandle.Conj.map (Rack.toEnvelGroup.map f)).comp (Rack.toEnvelGroup R) = f
Given a homomorphism from a rack to a group, it factors through the enveloping group.
theorem Rack.toEnvelGroup.univ_uniq E3 #
∀ (R : Type u_1) [inst : Rack R] (G : Type u_2) [inst_1 : Group G] (f : ShelfHom R (Quandle.Conj G))
(g : Rack.EnvelGroup R →* G), f = (Quandle.Conj.map g).comp (Rack.toEnvelGroup R) → g = Rack.toEnvelGroup.map f
The homomorphism toEnvelGroup.map f is the unique map that fits into the commutative
triangle in toEnvelGroup.univ.
def Rack.envelAction E1 #
{R : Type u_1} → [inst : Rack R] → Rack.EnvelGroup R →* R ≃ R
The induced group homomorphism from the enveloping group into bijections of the rack,
using Rack.toConj. Satisfies the property envelAction_prop.
This gives the rack R the structure of an augmented rack over EnvelGroup R.
theorem Rack.envelAction_prop E0 #
∀ {R : Type u_1} [inst : Rack R] (x y : R), (Rack.envelAction ((Rack.toEnvelGroup R) x)) y = Shelf.act x y