• Aucun résultat trouvé

Duality and Equational theory of regular languages

N/A
N/A
Protected

Academic year: 2022

Partager "Duality and Equational theory of regular languages"

Copied!
19
0
0

Texte intégral

(1)

Duality

and

Equational theory of regular languages

Yann Pequignot

Supervisor: Jacques Duparc,Universit´e de Lausanne, Switzerland.

Co-supervisor: Jean-´Eric Pin,LIAFA, University Paris-Diderot and CNRS, France.

R´eunion FREC — May 2011 ˆIle de R´e

(2)

Background

Formal languages, automata and monoids

Finite setA, called an alphabet.

Finite sequences on A, calledwords.

Binary operation on words, calledconcatenation.

a1· · ·an·b1· · ·bn=a1· · ·anb1· · ·bn

Free monoid onA: A all words onA.

Subsets of A, calledlanguages.

A machine can specify a language.

Finite state automaton: simplest model.

(3)

Background

Formal languages, automata and monoids

For anyLA, TFAE:

L is recognised by a finite automaton

L is recognised by a finite monoid (M,·,e) there exists a surjective monoid morphism ϕ:AM onto a finite monoid M and some PM such that for all wA

wL if and only if ϕ(w)∈P. The syntactic congruenceL defined by

uLv iff ∀x,yA xuyLxvyL is of finite index.

Rec(A) ={L⊆A |Lis recognisable}

(4)

Eilenberg Theorem

Varieties of languages and finite monoids

Avariety of languages is the association to each finite alphabetAof a

Boolean subalgebraV(A)of Rec(A),

closed under quotienting,

LV(A)anduA

u−1L={w A|uw L}V(A), Lu−1={w A|wuL}V(A),

closed under inverse image by morphisms.

Avariety of finite monoidsis a class offinitemonoids closed under

submonoid, quotient monoid, finite direct products.

Theorem (Eilenberg, 1976)

There is a bijective and order preserving correspondence between varieties of languages and varieties of finite monoids.

(5)

Birkhoff Theorem

Avariety of monoids is a class of (not necessarily finite) monoids closed under

submonoid, quotient monoid,

(not necessarily finite) direct products.

A monoid is commutative if∀x∀y(xy =yx).

The commutative monoids form a variety, characterised by the equationxy =yx.

We can seexy andyx as words on the alphabetA={x,y}.

A monoidM is commutative ifffor all morphism ϕ:{x,y}M we haveϕ(xy) =ϕ(yx).

A monoidM satisfies the equation(u,v) if for all morphism ϕ:AM we haveϕ(u) =ϕ(v).

Theorem (Birkhoff, 1935)

(6)

Birkhoff Theorem

Avariety of monoids is a class of (not necessarily finite) monoids closed under

submonoid, quotient monoid,

(not necessarily finite) direct products.

Anequation is a couple (u,v) of words on a finite alphabetA.

A monoidM satisfiesthe equation(u,v) if for all morphism ϕ:AM we haveϕ(u) =ϕ(v).

Theorem (Birkhoff, 1935)

A class of monoids is a variety if and only if it is definable by a set of equations.

Is there a similar characterisation for varieties of finite monoids?

(7)

Reiterman theorem

A profinite metric onA,u,vA:

d(u,v) =2min{|A| |Adistinguishesuandv}

where an automatonAdistinguishesu andv if it accepts oneof them andrejects the other.

Theorem

The completion(A!,T,·) is a compact zero dimensional monoid called thefree profinite monoidon A.

Points inA! are Cauchy sequences of finite words, calledprofinite words. Example: xω=limn→∞xn!.

(8)

Reiterman theorem

Define aprofinite equationas a couple (u,v) of profinite words on a finite alphabetA.

A finite monoidM satisfies a profiniteequation(u,v) if for all continuousmonoid morphismϕ":A!M we haveϕ(u) =" ϕ(v" ).

Theorem (Reiterman, 1982)

A class of finite monoids is a variety of finite monoids if and only if it is definable by a set of profinite equations.

(9)

Eilenberg-Reiterman theorem

Varieties of finite monoids

Varieties of languages

Eilenberg

Sets of profinite equations

Reiterman

Extended Stone Duality

(10)

Stone duality

A Boolean algebrais a structure(B,∧,∨,{}!,0,1) s.t.

∧,∨ associative

∧,∨ commutative

∧,∨ distributive

absorptionx∨(x∧y) =x complementation

xx! =0,xx!=1 Examples:

field of sets,P(E) Rec(A)

Boolean algebras of recognisable languages

ABoolean space is a topological space(X,T)s.t.

Hausdorff: distinct points are separated by

neighbourhoods

Compact: open covers contains finite subcovers 0-dimensional: there is a clopen basis.

Examples:

finite discrete spaces Cantor space 2ω closed subspace of 2ω

(11)

Stone duality

Let(X,T)be a Boolean space:

Clop(X) ={c ⊆X |c closed and openfor T } with the Boolean structure inherited fromP(X).

Let(B,∧,∨,{}!,0,1) be a Boolean algebra:

Ult(B) ={u⊆B|u ultrafilterof B}

is a Boolean space for the topology generated by the sets of the form

{u∈Ult(B)|bu} bB.

Theorem (Marshall H. Stone, 1936)

Every Boolean algebra is isomorphic to the algebra of clopen sets of a Boolean space. Furthermore

Clop(Ult(B)) =B and Ult(Clop(X)) =X.

(12)

Stone duality and recognition

Examples

Boolean algebras

ultrafilters

Boolean spaces

clopen subsets

finite Boolean algebra finite discrete space finite or cofinite subsets of ω one point compactification ofω

Rec(A) (A!,T)

free BA onω Cantor space 2ω

powerset ofω Stone-ˇCech compactificationβω

Theorem (Almeida, Pippenger, 1997)

The underlyingtopological spaceof the free profinite monoid on a finite set A isdualto the Boolean algebra of

recognisable languageson A.

(13)

Stone duality

For f :X −→Y continuous define Clop(f) :Clop(Y)−→Clop(X) by

c *−→f−1(c)

For h:A−→B Boolean morphism define Ult(h) :Ult(B)−→Ult(A) by

u *−→h−1(u) Theorem

Clop(f) is a Boolean morphism and Ult(h) is continuous.

Furthermore

h surjective iff Ult(h) injective h injective iff Ult(h) surjective

(14)

Stone duality and recognition

Boolean algebras

ultrafilters

Boolean spaces

clopen subsets

(Rec(A),∩,∪,{}!,∅,A) (A!,T)

(B,∩,∪,{}!,∅,A) (A!/E,T/E)

B={L∈Rec(A)|

∀(x,y)E (L∈xLy)}

Galois

connection E ={(x,y)∈A!×A! |

LB (L∈xLy)}

A recognisableLA satisfiesxy ifLxyL Theorem (Gehrke,Grigorieff, Pin, 2008)

A set of recognisable languages on A is a Boolean algebra iffit can be defined by profinite equations of the formxy.

(15)

Extended Stone duality

Can duality account for theproducton the free profinite monoid (A!,T,·)?

Considersupplementary operationson the BA Rec(A).

The relevant operations are theleftandright residualsby M ∈Rec(A)are defined by

N*−→M\N={u∈A|for all vM,vuN}

N*−→N/M ={u∈A|for all vM,uvN}

These operations are characterised by the property that for all L,M,N ∈Rec(A)

LN/M iff L·MN iff ML\N

(16)

Extended Stone duality

ABoolean residuation algebrais a Boolean algebra B with two binary operations\, /:B×BB s.t.

(#finiteai)\b =$finite(ai\b) andb\($finiteai) =$finite(b\ai) ($finiteai)/b =$finite(ai/b) andb/($finiteai) =#finite(b/ai) Galois property: ∀a,b,cB ba\cac/b

Boolean algebras + operations

Extended duality

Boolean spaces +relations Forx,y,z ∈Ult(B) define the relation

(x,y)Rz iff ∀a,bB (b∈x anda/ z)→b\a∈/ y iff ∀a,bB (b∈y anda/ z)→a/b/ x Not functional from Ult(B)×Ult(B)→Ult(B) in general!

(17)

Extended Stone duality

Boolean algebras

+operations Stone duality Extended

Boolean spaces +relations (Rec(A),∩,∪,{}!,∅,A,\, /) (A!,T,R)

\, / (x,y)Rz iff x·y =z

functional !

Theorem (Gehrke, Grigorieff, Pin, 2008)

The dual space of the Boolean algebra ofrecognisable languages on Awith residualsunder extended Stone duality is

thefree profinite monoidon A.

(18)

Extended Stone duality and recognition

Avariety of languagesis the association to each finite alphabet Aof a

Boolean subalgebraV(A)of Rec(A),

closed under quotienting,

LV(A)anduA

u−1L={w A|uw L}V(A), Lu−1={w A|wuL}V(A),

closed under inverse image by morphisms.

ABoolean residuation ideal of Rec(A)is a Boolean subalgebra B of Rec(A)such that

for all LB and all K ∈Rec(A) K\L∈B,

L/KB.

Proposition

A Boolean algebra of recognisable languages is closed under quotienting iffit is a Boolean residuation ideal ofRec(A).

(19)

Extended Stone duality and recognition

(Rec(A),∩,∪,{}!,∅,A,\, /) (A!,T,·)

Stone monoid quotient Extended

duality

(B,∩,∪,{}!,∅,A,\, /) residuation

ideal

(A!/E,·) Theorem (Dekkers, 2008)

TheBoolean residuation idealsof recognisable languages correspondduallyto the profinite monoid quotientsof A!. SayL∈Rec(A) satifies the equation of the formx =y, (x,y)∈A! if forall u,vA! it satisfies uxvuyv. Theorem (Gehrke, Grigorieff, Pin, 2008)

A set of recognisable languages on A is aBoolean algebra closed under quotientingiffit can bedefinedby a set of profinite equationsof the form x =y .

Références

Documents relatifs

length r). However, Mr and N~ support more refined structures, which reflect the multiplicities of appearance of their points. First of all, they support natural

After studying process algebras, and specifically CCS and its observational équivalence based on the notion of bisimulation [24], Milner considered an al- ternative semantics based

The study of the aperiodic groupoids, namely those for which M (G) is a group-free monoid, began when it was observed that there exist aperiodic universal groupoids [6]; it was

The solver is given in the form of 16 rewriting rules which transform any first-order constraint ϕ into an equivalent disjunction φ of simple formulas such that φ is either the

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des

Indeed, a variety of languages is, by Eilenberg theorem, recognised by a variety of finite monoids, which in turn is defined by profinite equations by Reiterman theorem.. Then

If M is the universal cover of At, the stable paths of A are the projections of the non-zero paths ofM by lemma 1.4 (indeed, F induces a Galois covering IndM-^IndA by [MP1] and [G

Varopoulos [2], in constructing certain sets in infinite compact abelian groups, made special use of various properties of finite groups.. In this note a method is given by which