Introduction Transducers Logic Algebra New logic Summary
Automata, Logic and Algebra for (Finite) Word Transductions
Emmanuel Filiot
Universit´ e libre de Bruxelles & FNRS
ACTS 2017, Chennai
1 / 31
Automata, Logic and Algebra for (Finite) Word Transductions - - PowerPoint PPT Presentation
Introduction Transducers Logic Algebra New logic Summary Automata, Logic and Algebra for (Finite) Word Transductions Emmanuel Filiot Universit e libre de Bruxelles & FNRS ACTS 2017, Chennai 1 / 31 Introduction Transducers Logic
Introduction Transducers Logic Algebra New logic Summary
Universit´ e libre de Bruxelles & FNRS
1 / 31
Introduction Transducers Logic Algebra New logic Summary
Regular languages L ⊆ Σ∗
Introduction Transducers Logic Algebra New logic Summary
Regular languages L ⊆ Σ∗ DFA=NFA=2DFA=2NFA MSO[S] Finite monoids
2 / 31
Introduction Transducers Logic Algebra New logic Summary
Transductions f : Σ∗ → Σ∗
3 / 31
Introduction Transducers Logic Algebra New logic Summary
4 / 31
Introduction Transducers Logic Algebra New logic Summary
5 / 31
Introduction Transducers Logic Algebra New logic Summary
5 / 31
Introduction Transducers Logic Algebra New logic Summary
5 / 31
Introduction Transducers Logic Algebra New logic Summary
5 / 31
Introduction Transducers Logic Algebra New logic Summary
6 / 31
Introduction Transducers Logic Algebra New logic Summary
7 / 31
Introduction Transducers Logic Algebra New logic Summary
7 / 31
Introduction Transducers Logic Algebra New logic Summary
7 / 31
Introduction Transducers Logic Algebra New logic Summary
8 / 31
Introduction Transducers Logic Algebra New logic Summary
8 / 31
Introduction Transducers Logic Algebra New logic Summary
8 / 31
Introduction Transducers Logic Algebra New logic Summary
8 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ d 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ d e 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ d e s 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ d e s s 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ d e s s e 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ d e s s e r 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ d e s s e r t 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ d e s s e r t s 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
⊢ s t r e s s e d ⊣ d e s s e r t s 1 2 3 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
input
s t r e s s e d ⊣ d e s s e r t s 1 2 σ:ǫ, → ⊣:ǫ, ← σ:σ, ← ⊢:ǫ
9 / 31
Introduction Transducers Logic Algebra New logic Summary
expressiveness
sequential transductions rational transductions regular transductions
10 / 31
Introduction Transducers Logic Algebra New logic Summary
expressiveness
sequential transductions rational transductions regular transductions PTime Chof77 WK95 BealCartonPS03
10 / 31
Introduction Transducers Logic Algebra New logic Summary
expressiveness
sequential transductions rational transductions regular transductions PTime Chof77 WK95 BealCartonPS03 decidable FGRS13
10 / 31
Introduction Transducers Logic Algebra New logic Summary
valuedness expressiveness
sequential transductions rational transductions regular transductions PTime Chof77 WK95 BealCartonPS03 decidable FGRS13
10 / 31
Introduction Transducers Logic Algebra New logic Summary
valuedness expressiveness
sequential transductions rational transductions regular transductions PTime Chof77 WK95 BealCartonPS03 decidable FGRS13
10 / 31
Introduction Transducers Logic Algebra New logic Summary
valuedness expressiveness
sequential transductions rational transductions regular transductions PTime Chof77 WK95 BealCartonPS03 PTime Schutzenberger75 GurIba83,BealCartonPS03 decidable FGRS13
10 / 31
Introduction Transducers Logic Algebra New logic Summary
valuedness expressiveness
sequential transductions rational transductions regular transductions PTime Chof77 WK95 BealCartonPS03 PTime Schutzenberger75 GurIba83,BealCartonPS03 decidable CulKar87 decidable FGRS13
10 / 31
Introduction Transducers Logic Algebra New logic Summary
valuedness expressiveness
sequential transductions rational transductions regular transductions PTime Chof77 WK95 BealCartonPS03 PTime Schutzenberger75 GurIba83,BealCartonPS03 decidable CulKar87 undecidable BaschenisGauwinMuschollPuppis15 decidable FGRS13
10 / 31
Introduction Transducers Logic Algebra New logic Summary
X σ | X := σX mirror Y X σ
Y := Y σ id.mirror ◮ deterministic one-way ◮ equivalent to 2DFT if copyless updates (Alur, Cerny, 10) ◮ decidable equivalence problem (F., Reynier) ∼ HDT0L
11 / 31
Introduction Transducers Logic Algebra New logic Summary
X σ | X := σX mirror Y X σ
Y := Y σ id.mirror ◮ deterministic one-way ◮ equivalent to 2DFT if copyless updates (Alur, Cerny, 10) ◮ decidable equivalence problem (F., Reynier) ∼ HDT0L ◮ regular expressions to register transducer, implemented in
◮ register minimization for a subclass (Baschenis, Gauwin,
11 / 31
Introduction Transducers Logic Algebra New logic Summary
X σ | X := σX mirror Y X σ
Y := Y σ id.mirror ◮ deterministic one-way ◮ equivalent to 2DFT if copyless updates (Alur, Cerny, 10) ◮ decidable equivalence problem (F., Reynier) ∼ HDT0L ◮ regular expressions to register transducer, implemented in
◮ register minimization for a subclass (Baschenis, Gauwin,
◮ decidable, but non-elementary complexity in (FGRS13) ◮ elementary complexity first obtained for subclasses
◮ recently for the full class (BGMP17)
11 / 31
Introduction Transducers Logic Algebra New logic Summary
12 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ output predicates defined by MSO[S] formulas interpreted
13 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ output predicates defined by MSO[S] formulas interpreted
13 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ output predicates defined by MSO[S] formulas interpreted
13 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ output predicates defined by MSO[S] formulas interpreted
13 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ output predicates defined by MSO[S] formulas interpreted
13 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ output predicates defined by MSO[S] formulas interpreted
◮ input structure can be copied a fixed number of times:
13 / 31
Introduction Transducers Logic Algebra New logic Summary
14 / 31
Introduction Transducers Logic Algebra New logic Summary
14 / 31
Introduction Transducers Logic Algebra New logic Summary
S (x, y) |
14 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ equivalent to aperiodic transducers with registers (F.,
◮ and to aperiodic 2DFT (Carton, Dartois, 15) (Dartois,
15 / 31
Introduction Transducers Logic Algebra New logic Summary
16 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ u ∼L v if: for all w ∈ Σ∗, uw ∈ L iff vw ∈ L ◮ u and v have the same “effect” on continuations w ◮ Myhill-Nerode’s Thm: L is regular iff Σ∗/∼L is finite ◮ canonical (and minimal) deterministic automaton for L,
17 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ u ∼L v if: for all w ∈ Σ∗, uw ∈ L iff vw ∈ L ◮ u and v have the same “effect” on continuations w ◮ Myhill-Nerode’s Thm: L is regular iff Σ∗/∼L is finite ◮ canonical (and minimal) deterministic automaton for L,
17 / 31
Introduction Transducers Logic Algebra New logic Summary
18 / 31
Introduction Transducers Logic Algebra New logic Summary
2.1 u ∼dom(f) v 2.2 F(u)−1f(uw) = F(v)−1f(vw) ∀w ∈ u−1dom(f)
18 / 31
Introduction Transducers Logic Algebra New logic Summary
2.1 u ∼dom(f) v 2.2 F(u)−1f(uw) = F(v)−1f(vw) ∀w ∈ u−1dom(f)
σ|F(u)−1F(uσ)
18 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ fsw : uσ → σu is not sequential ◮ but sequential modulo look-ahead information I = {a, b, ǫ}.
19 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ fsw : uσ → σu is not sequential ◮ but sequential modulo look-ahead information I = {a, b, ǫ}.
ǫ
19 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ fsw : uσ → σu is not sequential ◮ but sequential modulo look-ahead information I = {a, b, ǫ}.
b
ǫ
19 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ fsw : uσ → σu is not sequential ◮ but sequential modulo look-ahead information I = {a, b, ǫ}.
b
b
ǫ
19 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ fsw : uσ → σu is not sequential ◮ but sequential modulo look-ahead information I = {a, b, ǫ}.
b
b
b
ǫ
19 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ fsw : uσ → σu is not sequential ◮ but sequential modulo look-ahead information I = {a, b, ǫ}.
b
b
b
b
ǫ
19 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ fsw : uσ → σu is not sequential ◮ but sequential modulo look-ahead information I = {a, b, ǫ}. b
b
b
b
b
b
b
b
b
b
b
b
ǫ
19 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ fsw : uσ → σu is not sequential ◮ but sequential modulo look-ahead information I = {a, b, ǫ}. b
b
b
b
b
b
b
b
b
b
b
b
ǫ
a
b
a
b
ǫ
ǫ
19 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ fsw : uσ → σu is not sequential ◮ but sequential modulo look-ahead information I = {a, b, ǫ}. b
b
b
b
b
b
b
b
b
b
b
b
ǫ
a
b
a
b
ǫ
ǫ
◮ look-ahead information: L : Σ∗ → I ◮ f[L]: f with input words extended with look-ahead
19 / 31
Introduction Transducers Logic Algebra New logic Summary
Original statement: RAT = SEQ ◦ RightSEQ.
20 / 31
Introduction Transducers Logic Algebra New logic Summary
Original statement: RAT = SEQ ◦ RightSEQ.
◮ canonical look-ahead given by a congruence ≡f ◮ identify suffixes with a ’bounded’ effect on the transduction
◮ characterization of rational transductions
◮ f is rational ◮ ≡f has finite index and f[≡f] is sequential ◮ ≡f and ∼f[≡f ] have finite index. 20 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ sufficient conditions on C to get decidability (F., Gauwin,
◮ includes aperiodic congruences: decidable FO-definability ◮ even PSpace-c (F., Gauwin, Lhote, FSTTCS’16)
◮ existence of a canonical transducer if origin is taken into
◮ decidable FO-definability with origin, open without
21 / 31
Introduction Transducers Logic Algebra New logic Summary
22 / 31
Introduction Transducers Logic Algebra New logic Summary 23 / 31
Introduction Transducers Logic Algebra New logic Summary 24 / 31
Introduction Transducers Logic Algebra New logic Summary 25 / 31
Introduction Transducers Logic Algebra New logic Summary 26 / 31
Introduction Transducers Logic Algebra New logic Summary 27 / 31
Introduction Transducers Logic Algebra New logic Summary 28 / 31
Introduction Transducers Logic Algebra New logic Summary
Sequential Transductions
29 / 31
Introduction Transducers Logic Algebra New logic Summary
Rational Transductions
29 / 31
Introduction Transducers Logic Algebra New logic Summary
Regular Transductions
29 / 31
Introduction Transducers Logic Algebra New logic Summary
◮ AC0 transductions (Cadilhac,Krebs,Ludwig,Paperman,15) ◮ variants of two-way transducers (Guillon, Choffrut,
◮ model-checking and synthesis problems for rational
◮ non-determinism ◮ infinite words, nested words, trees
30 / 31
Introduction Transducers Logic Algebra New logic Summary
31 / 31
Introduction Transducers Logic Algebra New logic Summary
31 / 31