a fibrational approach to automata theory - coalg · a fibrational approach to automata theory...
TRANSCRIPT
![Page 1: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/1.jpg)
A Fibrational Approach to Automata TheoryEilenberg-type Correspondences in One
Liang-Ting Chen Henning Urbat
TU Braunschweig
CALCO 2015
![Page 2: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/2.jpg)
Motivation: a zoo of Eilenberg’s variety theorems
Algebraic description of regular languages:⌣ Eilenberg’s variety theorem (Eilenberg, 1974),
and a long list of variants⌣ (Reutenauer, 1980)⌣ (Pin, 1995) … (Polák, 2001) (Straubing, 2002) (Gehrke et al., 2009)
![Page 3: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/3.jpg)
Motivation: a zoo of Eilenberg’s variety theorems
Algebraic description of regular languages:⌣ Eilenberg’s variety theorem (Eilenberg, 1974),
and a long list of variants⌣ (Reutenauer, 1980)⌣ (Pin, 1995) … (Polák, 2001) (Straubing, 2002) (Gehrke et al., 2009)
![Page 4: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/4.jpg)
Motivation: coalgebraic unification
Can we unify all of them?⌣ General (Local) Variety Theorem (Adámek et al., 2014 &
2015)⌢ Highly technical.⌢ Two independent arguments.⌢ An interesting instance (Straubing, 2002) is missing.
Goal
1 General Local Variety Theorem=⇒ General Variety Theorem.
2 Cover all interesting instances.
![Page 5: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/5.jpg)
Motivation: coalgebraic unification
Can we unify all of them?⌣ General (Local) Variety Theorem (Adámek et al., 2014 &
2015)⌢ Highly technical.⌢ Two independent arguments.⌢ An interesting instance (Straubing, 2002) is missing.
Goal
1 General Local Variety Theorem=⇒ General Variety Theorem.
2 Cover all interesting instances.
![Page 6: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/6.jpg)
Motivation: coalgebraic unification
Can we unify all of them?⌣ General (Local) Variety Theorem (Adámek et al., 2014 &
2015)⌢ Highly technical.⌢ Two independent arguments.⌢ An interesting instance (Straubing, 2002) is missing.
Goal
1 General Local Variety Theorem=⇒ General Variety Theorem.
2 Cover all interesting instances.
![Page 7: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/7.jpg)
Background
DefinitionA variety of regular languages is a set of regular languages closedunderBoolean ops. ∩, ∪, (−)∁, ∅, Σ∗,∆∗, . . .
Derivatives a−1L = {w ∈ Σ∗ | aw ∈ L } and La−1
Preimages f−1(L) for any monoid homomorphism ∆∗ f−→ Σ∗.
Example
1 The variety of all regular languages.2 The variety of star-free languages.
![Page 8: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/8.jpg)
Background
DefinitionA variety of regular languages is a set of regular languages closedunderBoolean ops. ∩, ∪, (−)∁, ∅, Σ∗,∆∗, . . .
Derivatives a−1L = {w ∈ Σ∗ | aw ∈ L } and La−1
Preimages f−1(L) for any monoid homomorphism ∆∗ f−→ Σ∗.
Example
1 The variety of all regular languages.2 The variety of star-free languages.
![Page 9: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/9.jpg)
Pseudovarieties of monoids
DefinitionA pseudovariety of monoids is a class of finite monoids closedunder
1 finite products,2 submonoids, and3 quotients.
Example
1 The pseudovariety of all finite monoids.2 The pseudovariety of aperiodic monoids.
![Page 10: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/10.jpg)
A centerpiece of algebraic automata theory ...
Theorem (Eilenberg, 1974)(
varietiesof regular languages
)∼=
(pseudovarieties of
monoids
)
And, this is not the only interesting class of regular languages.
![Page 11: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/11.jpg)
Pin’s variety theorem
A positive variety is closed under ∩,∪, derivatives, and preimages.
Theorem (Pin, 1995)(
positive varietiesof regular languages
)∼=
(pseudovarieties ofordered monoids
)
![Page 12: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/12.jpg)
Polák’s variety theorem
A disjunctive variety is closed under ∪, derivatives, and preimages.
Theorem (Polák, 2001)
(disjunctive varietiesof regular languages
)∼=
(pseudovarieties of
idempotent semirings
)
![Page 13: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/13.jpg)
Reutenauer’s variety theorem
An xor variety is closed under symmetric differences ⊕, derivatives,and preimages.
Theorem (Reutenauer, 1980)
(xor varieties
of regular languages
)∼=
(pseudovarieties ofalgebras over Z2
)
![Page 14: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/14.jpg)
Local Eilenberg theorems
1 A local variety over Σ is a class of languages L ⊆ Σ∗ closedunder ∪,∩, (−)∁, ∅,Σ∗ and derivatives.
2 A local pseudovariety over Σ is a class of M ↞ Σ∗ closedunder quotients and subdirect products.
Theorem (Gehrke, Grigorieff and Pin, 2008)For each alphabet Σ,(
local varieties ofregular languages over Σ
)∼=
(local pseudovarieties
of monoid over Σ
)
![Page 15: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/15.jpg)
Local Eilenberg theorems
1 A local variety over Σ is a class of languages L ⊆ Σ∗ closedunder ∪,∩, (−)∁, ∅,Σ∗ and derivatives.
2 A local pseudovariety over Σ is a class of M ↞ Σ∗ closedunder quotients and subdirect products.
Theorem (Gehrke, Grigorieff and Pin, 2008)For each alphabet Σ,(
local varieties ofregular languages over Σ
)∼=
(local pseudovarieties
of monoid over Σ
)
![Page 16: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/16.jpg)
Category theorists: Veni, vidi, vici
Let C and D be predual categories. General Local Variety Theorem:
Theorem (Adámek, Milius, Myers, and Urbat, 2014)
(local varieties of regularC-languages over Σ
)∼=
(local pseudovarietiesof D-monoid over Σ
)
General Variety Theorem:
Theorem (Adámek, Milius, Myers, and Urbat, 2015)(
varieties ofregular C-languages
)∼=
(pseudovarietiesof D-monoid
)
![Page 17: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/17.jpg)
Instances of General Local Variety Theorem
C/D local var. closed underBool/Set ¬,∩,∪, ∅,Σ∗
DistLat/Pos ∩,∪, ∅,Σ∗
∨-SLat/∨-SLat ∪, ∅Z2-Vec/Z2-Vec ⊕, ∅BR/Set∗ ⊕, ∪, ∅
Organising local varieties as an opfibration to get non-localcorrespondences.
![Page 18: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/18.jpg)
An opfibration of local varieties, informally
1 f∗(V) is the “largest” local variety closed under f-preimages.2 p is equivalent to a functor Free(MonD) → Pos.
![Page 19: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/19.jpg)
An opfibration of local varieties, informally
1 f∗(V) is the “largest” local variety closed under f-preimages.2 p is equivalent to a functor Free(MonD) → Pos.
![Page 20: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/20.jpg)
An opfibration of local varieties of regular languages
DefinitionThe category LAN consists of
objects (Σ,V), a local variety V of regular languages of Σ;morphisms (Σ,V) f−→ (∆,W), a morphism Σ∗ f−→ ∆∗ s.t. V is
closed under f-preimagesW��
��
//________ V��
��
Reg(∆)f−1
// Reg(Σ)
with a projection p : LAN → Free(MonD).
![Page 21: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/21.jpg)
Opfibrations of local pseudovarieties of monoids
DefinitionThe category LPV consists of
objects (Σ,P), a local pseudovariety V of monoids over Σmorphisms (Σ,P) f−→ (∆,Q), a monoid morphism f such that:
ΨΣ∗ f //
∃ eM∈P
����
Ψ∆∗
∀ eN∈Q
����
M //______ Nwith a projection p : LPV → Free(MonD).
![Page 22: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/22.jpg)
An opfibrations of local varieties and related structures
LAN
p
%%KKK
KKKK
KKKK
KKKK
KKK LPV
q
��
Free(MonD)
FLan the opfibration of local varieties of languages in C.LPV the opfibration of local pseudovarieties of D-monoids.
PFMon the opfibration of finitely generated profiniteD-monoids .
![Page 23: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/23.jpg)
An opfibrations of local varieties and related structures
LPV
q
��
∼=Lim
// PFMon
q′
xxqqqqqq
qqqqqq
qqqqqq
q
Free(MonD)
FLan the opfibration of local varieties of languages in C.LPV the opfibration of local pseudovarieties of D-monoids.
PFMon the opfibration of finitely generated profiniteD-monoids .
![Page 24: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/24.jpg)
The connection between local and global
LAN
p
%%KKK
KKKK
KKKK
KKKK
KKK
∼= // LPV
q
��
Free(MonD)
Theorem (Fibrational Variety Isomorphism)Opfibrations LAN and LPV are isomorphic.
![Page 25: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/25.jpg)
The key observation
LAN∼= // LPV
∼= // PFMon
Free(MonD)
eeKKKKKKKKKKKKKKKKKK
88qqqqqqqqqqqqqqqqqqq
Global sections ofLAN varieties of regular languages in C
PFMon profinite equational theories of D-monoids
Corollary(
varieties ofregular C-languages
)∼=
(profinite equational
theories of D-monoid
)
![Page 26: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/26.jpg)
The key observation
LAN∼= // LPV
∼= // PFMon
Free(MonD)
eeKKKKKKKKKKKKKKKKKK
88qqqqqqqqqqqqqqqqqqq
Global sections ofLAN varieties of regular languages in C
PFMon profinite equational theories of D-monoids
Corollary(
varieties ofregular C-languages
)∼=
(profinite equational
theories of D-monoid
)
![Page 27: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/27.jpg)
Correspondence between pseudovarieties and profiniteequations
Modification of (Reiterman, 1982) & (Banaschewski, 1983):
Theorem(profinite equational
theories of D-monoid
)∼=
(pseudovarietiesof D-monoids
)
![Page 28: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/28.jpg)
General Variety Theorem as a corollary
Corollary(
varieties of regularC-languages
)∼=
(pseudovarietiesof D-monoids
)
Proof.By Fibrational Isomorphism and Reiterman’s Correspondence.
![Page 29: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/29.jpg)
Change of base, for free!For each subcategory S, take the pullback along the inclusion
LANC� � //
pC��
_�LAN
p��
S � �
j// Free(MonD)
PFMonC� � //
q′C��
_�PFMon
q′
��
S � �
j// Free(MonD)
Corollary(
S-varieties ofregular C-languages
)∼=
(profinite equational
S-theories of D-monoids
)
The missing case (Straubing, 2002) is a special instance when1 C/D = Set/BA and2 S is a non-full subcategory on all free D-monoids.
![Page 30: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/30.jpg)
Change of base, for free!For each subcategory S, take the pullback along the inclusion
LANC� � //
pC��
_�LAN
p��
S � �
j// Free(MonD)
PFMonC� � //
q′C��
_�PFMon
q′
��
S � �
j// Free(MonD)
Corollary(
S-varieties ofregular C-languages
)∼=
(profinite equational
S-theories of D-monoids
)
The missing case (Straubing, 2002) is a special instance when1 C/D = Set/BA and2 S is a non-full subcategory on all free D-monoids.
![Page 31: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/31.jpg)
Conclusion
⌣ Genearl Local Vareity Theorem =⇒ General VarietyTheorem.
⌣ Varieties of regular languages are dual to profinite equationaltheories.
⌣ Eilenberg’s variety theorem = Reiterman’s theorem + duality.
⌢ What is categorical Reiterman’s theorem ...A 2-duality between pseudovarieties and “profinite monads”?
Thank you for your attention.
![Page 32: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/32.jpg)
Conclusion
⌣ Genearl Local Vareity Theorem =⇒ General VarietyTheorem.
⌣ Varieties of regular languages are dual to profinite equationaltheories.
⌣ Eilenberg’s variety theorem = Reiterman’s theorem + duality.
⌢ What is categorical Reiterman’s theorem ...A 2-duality between pseudovarieties and “profinite monads”?
Thank you for your attention.
![Page 33: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/33.jpg)
Conclusion
⌣ Genearl Local Vareity Theorem =⇒ General VarietyTheorem.
⌣ Varieties of regular languages are dual to profinite equationaltheories.
⌣ Eilenberg’s variety theorem = Reiterman’s theorem + duality.
⌢ What is categorical Reiterman’s theorem ...A 2-duality between pseudovarieties and “profinite monads”?
Thank you for your attention.
![Page 34: A Fibrational Approach to Automata Theory - Coalg · A Fibrational Approach to Automata Theory Eilenberg-type Correspondences in One Liang-Ting Chen Henning Urbat TU Braunschweig](https://reader030.vdocument.in/reader030/viewer/2022041210/5dd09667d6be591ccb61b743/html5/thumbnails/34.jpg)
Conclusion
⌣ Genearl Local Vareity Theorem =⇒ General VarietyTheorem.
⌣ Varieties of regular languages are dual to profinite equationaltheories.
⌣ Eilenberg’s variety theorem = Reiterman’s theorem + duality.
⌢ What is categorical Reiterman’s theorem ...A 2-duality between pseudovarieties and “profinite monads”?
Thank you for your attention.