Cloak and dagger
Chris Heunen
1 / 34
Cloak and dagger Chris Heunen 1 / 34 Algebra and coalgebra - - PowerPoint PPT Presentation
Cloak and dagger Chris Heunen 1 / 34 Algebra and coalgebra Increasing generality: Vector space with bilinear (co)multiplication (Co)monoid in monoidal category (Co)monad: (co)monoid in functor category (Co)algebras for a
1 / 34
◮ Vector space with bilinear (co)multiplication ◮ (Co)monoid in monoidal category ◮ (Co)monad: (co)monoid in functor category ◮ (Co)algebras for a (co)monad
2 / 34
◮ Situation involving secrecy or mystery
3 / 34
◮ Situation involving secrecy or mystery ◮ Purpose of cloak is to obscure presence or movement of dagger
3 / 34
◮ Situation involving secrecy or mystery ◮ Purpose of cloak is to obscure presence or movement of dagger ◮ Dagger, a concealable and silent weapon: dagger categories ◮ Cloak, worn to hide identity: Frobenius law
3 / 34
4 / 34
5 / 34
†
f
f†
5 / 34
†
f
f†
◮ Invertible computing: groupoid, f† = f−1
5 / 34
†
f
f†
◮ Invertible computing: groupoid, f† = f−1 ◮ Possibilistic computing: sets and relations, R† = Rop
5 / 34
†
f
f†
◮ Invertible computing: groupoid, f† = f−1 ◮ Possibilistic computing: sets and relations, R† = Rop ◮ Partial invertible computing: sets and partial injections
5 / 34
†
f
f†
◮ Invertible computing: groupoid, f† = f−1 ◮ Possibilistic computing: sets and relations, R† = Rop ◮ Partial invertible computing: sets and partial injections ◮ Probabilistic computing: doubly stochastic maps, f† = fT
5 / 34
†
f
f†
◮ Invertible computing: groupoid, f† = f−1 ◮ Possibilistic computing: sets and relations, R† = Rop ◮ Partial invertible computing: sets and partial injections ◮ Probabilistic computing: doubly stochastic maps, f† = fT ◮ Quantum computing: Hilbert spaces, f† = fT
5 / 34
†
f
f†
◮ Invertible computing: groupoid, f† = f−1 ◮ Possibilistic computing: sets and relations, R† = Rop ◮ Partial invertible computing: sets and partial injections ◮ Probabilistic computing: doubly stochastic maps, f† = fT ◮ Quantum computing: Hilbert spaces, f† = fT ◮ Second order: dagger functors F(f)† = F(f†)
5 / 34
†
f
f†
◮ Invertible computing: groupoid, f† = f−1 ◮ Possibilistic computing: sets and relations, R† = Rop ◮ Partial invertible computing: sets and partial injections ◮ Probabilistic computing: doubly stochastic maps, f† = fT ◮ Quantum computing: Hilbert spaces, f† = fT ◮ Second order: dagger functors F(f)† = F(f†) ◮ Unitary representations: [G, Hilb]†
5 / 34
◮ Terminology after (physics) notation
6 / 34
◮ Terminology after (physics) notation
◮ Evil: demand equality A† = A of objects “Homotopy type theory”
Univalent foundations program, 2013 6 / 34
◮ Terminology after (physics) notation
◮ Evil: demand equality A† = A of objects ◮ Dagger category theory different beast:
“Homotopy type theory”
Univalent foundations program, 2013 6 / 34
7 / 34
◮ dagger isomorphism (unitary): f−1 = f† ◮ dagger monic (isometry): f† ◦ f = id
7 / 34
◮ dagger isomorphism (unitary): f−1 = f† ◮ dagger monic (isometry): f† ◦ f = id ◮ dagger equalizer / kernel / biproduct
7 / 34
◮ dagger isomorphism (unitary): f−1 = f† ◮ dagger monic (isometry): f† ◦ f = id ◮ dagger equalizer / kernel / biproduct ◮ monoidal dagger category: (f ⊗ g)† = f† ⊗ g†, α−1 = α†
7 / 34
◮ dagger isomorphism (unitary): f−1 = f† ◮ dagger monic (isometry): f† ◦ f = id ◮ dagger equalizer / kernel / biproduct ◮ monoidal dagger category: (f ⊗ g)† = f† ⊗ g†, α−1 = α†
7 / 34
8 / 34
◮ algebra A with functional A → k, kernel without left ideals
9 / 34
◮ algebra A with functional A → k, kernel without left ideals ◮ algebra A with finitely many minimal right ideals
9 / 34
◮ algebra A with functional A → k, kernel without left ideals ◮ algebra A with finitely many minimal right ideals ◮ algebra A with nondegenerate A ⊗ A → k with [ab, c] = [a, bc]
9 / 34
◮ algebra A with functional A → k, kernel without left ideals ◮ algebra A with finitely many minimal right ideals ◮ algebra A with nondegenerate A ⊗ A → k with [ab, c] = [a, bc] ◮ algebra A with comultiplication δ: A → A ⊗ A satisfying
9 / 34
◮ algebra A with functional A → k, kernel without left ideals ◮ algebra A with finitely many minimal right ideals ◮ algebra A with nondegenerate A ⊗ A → k with [ab, c] = [a, bc] ◮ algebra A with comultiplication δ: A → A ⊗ A satisfying
◮ algebra A with equivalent left and right regular representations “Theorie der hyperkomplexen Gr¨
Sitzungsberichte der Preussischen Akademie der Wissenschaften 504–537, 1903
“On Frobeniusean algebras II”
Annals of Mathematics 42(1):1–21, 1941 9 / 34
◮ A has orthonormal basis {g ∈ G} ◮ multiplication g ⊗ h → gh ◮ unit e
10 / 34
◮ A has orthonormal basis {g ∈ G} ◮ multiplication g ⊗ h → gh ◮ unit e ◮ comultiplication g → h gh−1 ⊗ h ◮ both sides of Frobenius law evaluate to k gk−1 ⊗ kh on g ⊗ h
10 / 34
◮ left and right Artinian ◮ left and right self-injective
11 / 34
◮ left and right Artinian ◮ left and right self-injective ◮ Frobenius property is independent of base field k!
◮ Extension of scalars: if l extends k, then
◮ Restriction of scalars: if l extends k, then
11 / 34
◮ Number theory: commutative Frobenius algebras are Gorenstein “Modular elliptic curves and Fermat’s last theorem”
Annals of Mathematics 142(3):443–551, 1995 12 / 34
◮ Number theory: commutative Frobenius algebras are Gorenstein ◮ Coding theory:
◮ Hamming weight of linear code and dual code related ◮ code isomorphism that preserves Hamming weight is monomial
“Modular elliptic curves and Fermat’s last theorem”
Annals of Mathematics 142(3):443–551, 1995
“Combinatorial properties of elementary abelian groups”
Radcliffe College, Cambridge, 1962 12 / 34
◮ Number theory: commutative Frobenius algebras are Gorenstein ◮ Coding theory:
◮ Hamming weight of linear code and dual code related ◮ code isomorphism that preserves Hamming weight is monomial
◮ Geometry: cohomology rings of compact oriented manifolds are
“Modular elliptic curves and Fermat’s last theorem”
Annals of Mathematics 142(3):443–551, 1995
“Combinatorial properties of elementary abelian groups”
Radcliffe College, Cambridge, 1962 12 / 34
13 / 34
◮ Topological quantum field theory depends only on topology
“A geometric approach to two-dimensional conformal field theory”
University of Utrecht, 1989 13 / 34
◮ Topological quantum field theory depends only on topology
◮ RT construction turns modular tensor category into 3d TQFT “A geometric approach to two-dimensional conformal field theory”
University of Utrecht, 1989
“Invariants of 3-manifolds via link polynomials and quantum groups”
Inventiones Mathematicae 103(3):547–597, 1991 13 / 34
◮ Topological quantum field theory depends only on topology
◮ RT construction turns modular tensor category into 3d TQFT
“A geometric approach to two-dimensional conformal field theory”
University of Utrecht, 1989
“Invariants of 3-manifolds via link polynomials and quantum groups”
Inventiones Mathematicae 103(3):547–597, 1991
“P. L. homeomorphic manifolds are equivalent by elementary shellings”
European Journal of Combinatorics 12(2):129–145, 1991 13 / 34
14 / 34
15 / 34
15 / 34
◮ commutative: µ ◦ β = µ (in braided monoidal category) ◮ symmetric: η† ◦ µ ◦ β = η† ◦ µ (in braided monoidal category) ◮ special / strongly separable: µ ◦ µ† = id ◮ normalizable: µ ◦ µ† invertible, positive, and central
15 / 34
◮ objects are 1-dimensional compact manifolds ◮ arrows are 2-dimensional compact manifolds with boundary
16 / 34
◮ objects are 1-dimensional compact manifolds ◮ arrows are 2-dimensional compact manifolds with boundary
16 / 34
◮ objects are 1-dimensional compact manifolds ◮ arrows are 2-dimensional compact manifolds with boundary
“Frobenius algebras and 2D topological quantum field theories”
Cambridge University Press, 2003 16 / 34
◮ Mn is a monoid under µ: eij ⊗ ekl → δjkeil ◮ µ† : eij → k eik ⊗ ekj satisfies Frobenius law:
17 / 34
◮ Mn is a monoid under µ: eij ⊗ ekl → δjkeil ◮ µ† : eij → k eik ⊗ ekj satisfies Frobenius law:
◮ direct sums of Frobenius structures are Frobenius structures, so
i Mni are Frobenius
17 / 34
◮ Mn is a monoid under µ: eij ⊗ ekl → δjkeil ◮ µ† : eij → k eik ⊗ ekj satisfies Frobenius law:
◮ direct sums of Frobenius structures are Frobenius structures, so
i Mni are Frobenius ◮ conversely: all normalizable Frobenius structures are C* “Categorical formulation of finite-dimensional quantum algebras”
Communications in Mathematical Physics 304(3):765–796, 2011 17 / 34
◮ Mn is a monoid under µ: eij ⊗ ekl → δjkeil ◮ µ† : eij → k eik ⊗ ekj satisfies Frobenius law:
◮ direct sums of Frobenius structures are Frobenius structures, so
i Mni are Frobenius ◮ conversely: all normalizable Frobenius structures are C* ◮ in particular: commutative Frobenius structures are i M1
“Categorical formulation of finite-dimensional quantum algebras”
Communications in Mathematical Physics 304(3):765–796, 2011
“A new description of orthogonal bases”
Mathematical Structures in Computer Science 23(3):555–567, 2013 17 / 34
◮ Morphism set of groupoid G is monoid under
“Relative Frobenius algebras are groupoids”
Journal of Pure and Applied Algebra 217:114–124, 2013
“Quantum and classical structures in nondeterministic computation”
Quantum Interaction, LNAI 5494:143–157, 2009 18 / 34
◮ Morphism set of groupoid G is monoid under
◮ µ† = {(h, (h−1 ◦ f, f)) | cod(h) = cod(f)} satisfies Frobenius law “Relative Frobenius algebras are groupoids”
Journal of Pure and Applied Algebra 217:114–124, 2013
“Quantum and classical structures in nondeterministic computation”
Quantum Interaction, LNAI 5494:143–157, 2009 18 / 34
◮ Morphism set of groupoid G is monoid under
◮ µ† = {(h, (h−1 ◦ f, f)) | cod(h) = cod(f)} satisfies Frobenius law ◮ conversely: all dagger Frobenius structures are groupoids “Relative Frobenius algebras are groupoids”
Journal of Pure and Applied Algebra 217:114–124, 2013
“Quantum and classical structures in nondeterministic computation”
Quantum Interaction, LNAI 5494:143–157, 2009 18 / 34
19 / 34
“The geometry of tensor calculus I”
Advances in Mathematics 88(1):55–112, 1991 20 / 34
◮ Morphisms f : A → B depicted as boxes
B A
◮ Composition: stack boxes vertically ◮ Tensor product: stack boxes horizontally ◮ Dagger: turn box upside-down “The geometry of tensor calculus I”
Advances in Mathematics 88(1):55–112, 1991 20 / 34
◮ Morphisms f : A → B depicted as boxes
B A
◮ Composition: stack boxes vertically ◮ Tensor product: stack boxes horizontally ◮ Dagger: turn box upside-down
“The geometry of tensor calculus I”
Advances in Mathematics 88(1):55–112, 1991 20 / 34
“A survey of graphical languages for monoidal categories”
New Structures for Physics, LNP 813:289–355, 2011 21 / 34
“A survey of graphical languages for monoidal categories”
New Structures for Physics, LNP 813:289–355, 2011
“Finite-dimensional Hilbert spaces are complete for dagger compact categories”
Logical Methods in Computer Science 8(3:6):1–12, 2012 21 / 34
22 / 34
“Ordinal sums and equational doctrines”
Seminar on triples and categorical homology theory, LNCS 80:141–155, 1966
“Two-dimensional topological quantum field theories and Frobenius algebras”
Journal of Knot Theory and its Ramifications 5:569–587, 1996 22 / 34
23 / 34
23 / 34
24 / 34
A A∗ A
24 / 34
◮ Canonical duals:
i ei ⊗ e∗ i
25 / 34
◮ Canonical duals:
i ei ⊗ e∗ i ◮ Involution
25 / 34
◮ Canonical duals:
i ei ⊗ e∗ i ◮ Involution
◮ Canonical duals:
25 / 34
◮ Canonical duals:
i ei ⊗ e∗ i ◮ Involution
◮ Canonical duals:
◮ Involution on groupoid is precisely {(g, g−1) | g ∈ G}
25 / 34
◮ Canonical duals:
i ei ⊗ e∗ i ◮ Involution
◮ Canonical duals:
◮ Involution on groupoid is precisely {(g, g−1) | g ∈ G} ◮ Decorated graphical calculus:
h ◦ g h g−1 f g ◦ f
(h ◦ g) ◦ f = h ◦ (g ◦ f) h ◦ g f h g ◦ f f f idx idy f
f idy f−1 idx f 25 / 34
A∗ ⊗ A A∗ ⊗ A A∗ ⊗ A
A∗ ⊗ A
26 / 34
A∗ ⊗ A A∗ ⊗ A A∗ ⊗ A
A∗ ⊗ A
“On the theory of groups as depending on the equation θn = 1”
Philosophical Magazine 7(42):40–47, 1854 26 / 34
A∗ ⊗ A A∗ ⊗ A A∗ ⊗ A
A∗ ⊗ A
◮ is embedding:
“On the theory of groups as depending on the equation θn = 1”
Philosophical Magazine 7(42):40–47, 1854 26 / 34
A∗ ⊗ A A∗ ⊗ A A∗ ⊗ A
A∗ ⊗ A
◮ is embedding:
◮ preserves multiplication:
“On the theory of groups as depending on the equation θn = 1”
Philosophical Magazine 7(42):40–47, 1854 26 / 34
A∗ ⊗ A A∗ ⊗ A A∗ ⊗ A
A∗ ⊗ A
◮ is embedding:
◮ preserves multiplication:
◮ preserves unit:
“On the theory of groups as depending on the equation θn = 1”
Philosophical Magazine 7(42):40–47, 1854 26 / 34
A∗ A
A A∗ 27 / 34
A∗ A
A A∗
“Reversible monadic computing”
MFPS 2015
“Geometry of abstraction in quantum computation”
Dagstuhl Seminar Proceedings 09311, 2010 27 / 34
A∗ A
A A∗
“Reversible monadic computing”
MFPS 2015
“Geometry of abstraction in quantum computation”
Dagstuhl Seminar Proceedings 09311, 2010 27 / 34
28 / 34
◮ Let C be a monoidal
◮ A
◮ A
◮ Theorem: There is an adjunction between
29 / 34
◮ Let C be a monoidal dagger category ◮ A Frobenius monad is a Frobenius monoid in [C, C]† ◮ A Frobenius monad T on a C is strong when equipped with a
◮ Theorem: There is an equivalence between Frobenius monoids
29 / 34
“Frobenius monads and pseudomonoids”
Journal of Mathematical Physics 45:3930-3940, 2004
“Frobenius algebras and ambidextrous adjunctions”
Theory and Applications of Categories 16:84–122, 2006 30 / 34
“Frobenius monads and pseudomonoids”
Journal of Mathematical Physics 45:3930-3940, 2004
“Frobenius algebras and ambidextrous adjunctions”
Theory and Applications of Categories 16:84–122, 2006 30 / 34
“Frobenius monads and pseudomonoids”
Journal of Mathematical Physics 45:3930-3940, 2004
“Frobenius algebras and ambidextrous adjunctions”
Theory and Applications of Categories 16:84–122, 2006 30 / 34
31 / 34
31 / 34
◮ “Cloak and dagger”: Frobenius law and dagger categories
32 / 34
◮ “Cloak and dagger”: Frobenius law and dagger categories
◮ “Cloak is everywhere”: Frobenius is omnipotent
32 / 34
◮ “Cloak and dagger”: Frobenius law and dagger categories
◮ “Cloak is everywhere”: Frobenius is omnipotent
◮ “Cloak hides dagger”: Frobenius law is coherence condition
32 / 34
◮ “Cloak and dagger”: Frobenius law and dagger categories
◮ “Cloak is everywhere”: Frobenius is omnipotent
◮ “Cloak hides dagger”: Frobenius law is coherence condition
◮ “Dagger likes cloak”: Frobenius monads are dagger adjunctions
32 / 34
33 / 34
“Classical and quantum structuralism”
Semantic Techniques in Quantum Computation 29–69, 2009 33 / 34
◮ intercept exception e: execute fe, or f if no exception ◮ handler for T specifies EM-algebra (A, a) and f : A → A ◮ vertical arrows are Kleisli maps, dashed one EM-map “Classical and quantum structuralism”
Semantic Techniques in Quantum Computation 29–69, 2009
“Handling algebraic effects”
Logical Methods in Computer Science 9(4):23, 2013 33 / 34
◮ “handle outcome x: execute fx, or f if no measurement” ◮ handler for T specifies EM-algebra (A, a) and f : A → A ◮ vertical arrows are Kleisli maps, dashed one EM-map “Classical and quantum structuralism”
Semantic Techniques in Quantum Computation 29–69, 2009
“Handling algebraic effects”
Logical Methods in Computer Science 9(4):23, 2013 33 / 34
◮ Kleisli maps A → T(B) ‘build’ effectful computation ◮ FEM-algebras T(B) → B are destructors ‘handling’ the effects ◮ Effectful computation for Frobenius monad happens in FEM(T) “Classical and quantum structuralism”
Semantic Techniques in Quantum Computation 29–69, 2009
“Handling algebraic effects”
Logical Methods in Computer Science 9(4):23, 2013 33 / 34
34 / 34