Reducing local alphabet size in recognizable picture languages
Reducing local alphabet size in recognizable picture languages
Stefano Crespi Reghizzi Antonio Restivo Pierluigi San Pietro1
1DEIB, Politecnico di Milano, Italy
2Dipartimento di Matematica e Informatica, Universit `a di Palermo, Italy
DLT 2021, Porto
Reducing local alphabet size in recognizable picture languages Picture languages
Recognizable Picture languages
Apictureis a rectangular array of letters over an alphabetΣ.
Apicture languageoverΣis a set of pictures.
Recognizablepicture languages, REC, can be defined asprojections of local languages[Giammarresi and Restivo, 1997].
The class REC has many important properties that make this definition a good candidate for being the 2D ”equivalent” of regular languages.
A language islocalif membership of a picturepcan be decided by checking if all its subpictures of size 2×2 (calledtiles) are included in a given set.
More precisely, local languages are defined using tiles overbordered pictures (pictures surrounded with a border of a new symbol#).
The border is ignored in the projection, but it is necessary to define all local languages.
Reducing local alphabet size in recognizable picture languages Picture languages
Example: unary language: #columns = 2·#rows.
A picture overΣ ={a} Its preimage overΓ
a a a a a a
a a a a a a
a a a a a a
& b b b b %
b & b b % b
b b & % b b
(the projectionπ: Γ→Σis the obvious one:π(&) =π(b) =π(%) =a)
A bordered picture Its tile set over alphabetΓ
# # # # # # # #
# & b b b b % #
# b & b b % b #
# b b & % b b #
# # # # # # # #
# #
# & , # b
# # , # #
# % , # #
b # , & b
b & , & %
# # , . . .
Reducing local alphabet size in recognizable picture languages Picture languages
Example: unary language: #columns = 2·#rows.
A picture overΣ ={a} Its preimage overΓ
a a a a a a
a a a a a a
a a a a a a
& b b b b %
b & b b % b
b b & % b b
(the projectionπ: Γ→Σis the obvious one:π(&) =π(b) =π(%) =a) A bordered picture Its tile set over alphabetΓ
# # # # # # # #
# & b b b b % #
# b & b b % b #
# b b & % b b #
# # # # # # # #
# #
# & , # b
# # , # #
# % , # #
b # , & b
b & , & %
# # , . . .
Reducing local alphabet size in recognizable picture languages Reducing the alphabetic ratio
Local and regular word languages
The definition of REC is a generalization of the classical result (Y. Medvedev 1964, Eilenberg 1974):
every regular languageR⊆Σ∗is the projection of a local languageL⊆Γ∗. The local alphabetΓis much larger thanΣ.
Thealphabetic ratio|Γ|/|Σ|isO(n2)wherenis the number of states of a NFA recognizingR–it can grow unboundedly with the language.
How small can the ratio be?
no significant improvement is possible using local languages
Reducing local alphabet size in recognizable picture languages Reducing the alphabetic ratio
Extended Medveded Theorem for word languages
Local languages are a member of McNaughton and Papert’s infinite hierarchy ofk-strictly locally testable(k-slt), languages, where the one-dimensional ”tiles” have sizek,k ≥2 (where local = 2-slt, and slt=S
k≥2k-slt).
A natural question: what happens to the alphabetic ratio when using slt instead of local languages?
Theorem 8 of [Crespi-Reghizzi and San Pietro, 2012]. Also implicitly in a proof of [Thomas, 1982]
Every regular word language is the projection of ak-slt language, with constant (minimal) alphabetic ratio 2.
Hence,the alphabetic ratio is language-independent(butk is not).
Reducing local alphabet size in recognizable picture languages Reducing the alphabetic ratio
Extended Medveded Theorem for word languages
Local languages are a member of McNaughton and Papert’s infinite hierarchy ofk-strictly locally testable(k-slt), languages, where the one-dimensional ”tiles” have sizek,k ≥2 (where local = 2-slt, and slt=S
k≥2k-slt).
A natural question: what happens to the alphabetic ratio when using slt instead of local languages?
Theorem 8 of [Crespi-Reghizzi and San Pietro, 2012]. Also implicitly in a proof of [Thomas, 1982]
Every regular word language is the projection of ak-slt language, with constant (minimal) alphabetic ratio 2.
Hence,the alphabetic ratio is language-independent(butk is not).
Reducing local alphabet size in recognizable picture languages Reducing the alphabetic ratio
Problem: Alphabetic ratio for picture languages in REC?
Can we also define the class REC using projections of sltpicturelanguages, with a language-independent (i.e.,constant) alphabetic ratio?
Theorem 4: constant value of alphabetic ratio
Every language in REC is the image under projection of some slt languageLwith constant alphabetic ratio2.
The alphabetic ratio 2 is also the smallest value possible (following immediately by the same property for words):
Theorem 3: minimality of the alphabetic ratio
There exists a REC picture languageRsuch that for every slt languageL, ifRis the image ofLunder a projection, then the alphabetic ratio is at least 2.
Reducing local alphabet size in recognizable picture languages Reducing the alphabetic ratio
Problem: Alphabetic ratio for picture languages in REC?
Can we also define the class REC using projections of sltpicturelanguages, with a language-independent (i.e.,constant) alphabetic ratio?
Theorem 4: constant value of alphabetic ratio
Every language in REC is the image under projection of some slt languageLwith constant alphabetic ratio2.
The alphabetic ratio 2 is also the smallest value possible (following immediately by the same property for words):
Theorem 3: minimality of the alphabetic ratio
There exists a REC picture languageRsuch that for every slt languageL, ifRis the image ofLunder a projection, then the alphabetic ratio is at least 2.
Reducing local alphabet size in recognizable picture languages Reducing the alphabetic ratio
Problem: Alphabetic ratio for picture languages in REC?
Can we also define the class REC using projections of sltpicturelanguages, with a language-independent (i.e.,constant) alphabetic ratio?
Theorem 4: constant value of alphabetic ratio
Every language in REC is the image under projection of some slt languageLwith constant alphabetic ratio2.
The alphabetic ratio 2 is also the smallest value possible (following immediately by the same property for words):
Theorem 3: minimality of the alphabetic ratio
There exists a REC picture languageRsuch that for every slt languageL, ifRis the image ofLunder a projection, then the alphabetic ratio is at least 2.
Reducing local alphabet size in recognizable picture languages Main result
Strictly Locally Testable Picture Languages
Ak-tile is a picture of sizek ×k; thek -tilingofpis the set ofk-tiles that are subpictures of the bordered picturep.ˆ
k-slt picture languages
A picture languageLisk -strictly locally testable(k-slt) if there is a set ofk-tiles such that all the pictures ofLhave ak-tiling in the set.
Fork =2 we obtain local languages.
Corollary 1: Expressive power of REC does not change
The family of languages obtained by projections of slt languages coincides with the family REC of recognizable picture languages.
Reducing local alphabet size in recognizable picture languages Main result
Example: trade-off of alphabetic ratio vs. size k of tiles
R: unary pictures such that the number of columns is double the number of rows.
Rdefined by the 2-tiling of the picture on the left, overΓ3={b,&,%}.
Pre-image with 3 symbols Pre-image with 2 symbols Pre-image of illegal picture
& b b b b %
b & b b % b
b b & % b b
→ b b b b →
b → b b → b
b b → → b b
→ b b b b b →
b → b b b → b
b b → → → b b
Merging letters&and%into→, the 2-tiling of the corresponding pre-image also allows illegal pictures, e.g. the one having the pre-image on the right.
The smaller alphabetΓ2={b,→}suffices to eliminate the illegal picture in column 3 if, instead of a 2-slt, we use a 3-slt with the 3-tiling of the middle picture.
Reducing local alphabet size in recognizable picture languages Main result
Example: trade-off of alphabetic ratio vs. size k of tiles
R: unary pictures such that the number of columns is double the number of rows.
Rdefined by the 2-tiling of the picture on the left, overΓ3={b,&,%}.
Pre-image with 3 symbols Pre-image with 2 symbols Pre-image of illegal picture
& b b b b %
b & b b % b
b b & % b b
→ b b b b →
b → b b → b
b b → → b b
→ b b b b b →
b → b b b → b
b b → → → b b
Merging letters&and%into→, the 2-tiling of the corresponding pre-image also allows illegal pictures, e.g. the one having the pre-image on the right.
The smaller alphabetΓ2={b,→}suffices to eliminate the illegal picture in column 3 if, instead of a 2-slt, we use a 3-slt with the 3-tiling of the middle picture.
Reducing local alphabet size in recognizable picture languages Main result
Example: trade-off of alphabetic ratio vs. size k of tiles
R: unary pictures such that the number of columns is double the number of rows.
Rdefined by the 2-tiling of the picture on the left, overΓ3={b,&,%}.
Pre-image with 3 symbols Pre-image with 2 symbols Pre-image of illegal picture
& b b b b %
b & b b % b
b b & % b b
→ b b b b →
b → b b → b
b b → → b b
→ b b b b b →
b → b b b → b
b b → → → b b
Merging letters&and%into→, the 2-tiling of the corresponding pre-image also allows illegal pictures, e.g. the one having the pre-image on the right.
The smaller alphabetΓ2={b,→}suffices to eliminate the illegal picture in column 3 if, instead of a 2-slt, we use a 3-slt with the 3-tiling of the middle picture.
Reducing local alphabet size in recognizable picture languages Main result
Example: trade-off of alphabetic ratio vs. size k of tiles
R: unary pictures such that the number of columns is double the number of rows.
Rdefined by the 2-tiling of the picture on the left, overΓ3={b,&,%}.
Pre-image with 3 symbols Pre-image with 2 symbols Pre-image of illegal picture
& b b b b %
b & b b % b
b b & % b b
→ b b b b →
b → b b → b
b b → → b b
→ b b b b b →
b → b b b → b
b b → → → b b
Merging letters&and%into→, the 2-tiling of the corresponding pre-image also allows illegal pictures, e.g. the one having the pre-image on the right.
The smaller alphabetΓ2={b,→}suffices to eliminate the illegal picture in column 3 if, instead of a 2-slt, we use a 3-slt with the 3-tiling of the middle picture.
Reducing local alphabet size in recognizable picture languages Main result
Idea of proof of Th. 4: collect k -tiles of the k -partition
GivenR∈RECoverΣ, consider alocallanguageLover a local alphabetΓs.t. its projection isR.
In general, in this case the alphabetic ratio is greater than 2.
For simplicity we assume in the presentation that all pictures have both thenumber of columns and the number of rows multiple of k .
In this case, we can define ak -partition of a preimage(on the local alphabetΓ): the set of non-overlappingk-tiles covering the preimage.
Reducing local alphabet size in recognizable picture languages Main result
Example of k-tiles of the k -partiton of preimages
Suppose thatΣ ={a,a}andRis again s.t #columns=2#rows, but bothaandaallowed in any position.
The local alphabet isΓ ={b,&,%,b,&,%}.
Pictures in R Pre-images overΓ
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
=⇒
& b b b b & b b
b b & b
b b b &
b b b %
b b % b
b % b b
% b b b
& b b b b & b b
b b & b
b b b &
b b b %
b b % b
b % b b
% b b b
Leftmost 4-tile w1 Rightmost 4-tile w2
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
=⇒
& b b b
b & b b
b b & b
b b b &
b b b %
b b % b
b % b b
% b b b
Leftmost 4-tile w3 Rightmost 4-tile w4
Reducing local alphabet size in recognizable picture languages Main result
Example of k-tiles of the k -partiton of preimages
Suppose thatΣ ={a,a}andRis again s.t #columns=2#rows, but bothaandaallowed in any position.
The local alphabet isΓ ={b,&,%,b,&,%}.
Pictures in R Pre-images overΓ
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
=⇒
& b b b b & b b
b b & b
b b b &
b b b %
b b % b
b % b b
% b b b
Leftmost 4-tile w1 Rightmost 4-tile w2
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
=⇒
& b b b
b & b b
b b & b
b b b &
b b b %
b b % b
b % b b
% b b b
Leftmost 4-tile w3 Rightmost 4-tile w4
Reducing local alphabet size in recognizable picture languages Main result
Example of k-tiles of the k -partiton of preimages
Suppose thatΣ ={a,a}andRis again s.t #columns=2#rows, but bothaandaallowed in any position.
The local alphabet isΓ ={b,&,%,b,&,%}.
Pictures in R Pre-images overΓ
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
=⇒
& b b b b & b b
b b & b
b b b &
b b b %
b b % b
b % b b
% b b b
Leftmost 4-tile w1 Rightmost 4-tile w2
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
=⇒
& b b b
b & b b
b b & b
b b b &
b b b %
b b % b
b % b b
% b b b
Leftmost 4-tile w3 Rightmost 4-tile w4
Reducing local alphabet size in recognizable picture languages Main result
Idea of proof: define new k-tiles on different alphabet
Eachk-tilewi overΓof thek-partitions is associated with ak-tilexi over a new local alphabetΛ ={0,1} ×Σ. The binary component is a unique encoding of theframeofwi, i.e., its border. TheΣcomponent ofxi is defined so to follow the original projection toΣ.
k-tile overΓ Frame Binary encoding k-tile overΛ ={0,1} ×Σ
w1=
& b b b
b & b b
b b & b
b b b &
& b b b
b b
b b
b b b &
1 1 1 1 1 0 1 0 0 1 1 1 0 0 0 0
(1,a) (1,a) (1,a) (1,a) (1,a) (0,a) (1,a) (0,a) (0,a) (1,a) (1,a) (1,a) (0,a) (0,a) (0,a) (0,a)
Reducing local alphabet size in recognizable picture languages Main result
Idea of proof: define new k-tiles on different alphabet
Eachk-tilewi overΓof thek-partitions is associated with ak-tilexi over a new local alphabetΛ ={0,1} ×Σ. The binary component is a unique encoding of theframeofwi, i.e., its border. TheΣcomponent ofxi is defined so to follow the original projection toΣ.
k-tile overΓ Frame Binary encoding k-tile overΛ ={0,1} ×Σ
w1=
& b b b
b & b b
b b & b
b b b &
& b b b
b b
b b
b b b &
1 1 1 1 1 0 1 0 0 1 1 1 0 0 0 0
(1,a) (1,a) (1,a) (1,a) (1,a) (0,a) (1,a) (0,a) (0,a) (1,a) (1,a) (1,a) (0,a) (0,a) (0,a) (0,a)
Reducing local alphabet size in recognizable picture languages Main result
Idea of proof: define new k-tiles on different alphabet
Eachk-tilewi overΓof thek-partitions is associated with ak-tilexi over a new local alphabetΛ ={0,1} ×Σ. The binary component is a unique encoding of theframeofwi, i.e., its border. TheΣcomponent ofxi is defined so to follow the original projection toΣ.
k-tile overΓ Frame Binary encoding k-tile overΛ ={0,1} ×Σ
w1=
& b b b
b & b b
b b & b
b b b &
& b b b
b b
b b
b b b &
1 1 1 1 1 0 1 0 0 1 1 1 0 0 0 0
(1,a) (1,a) (1,a) (1,a) (1,a) (0,a) (1,a) (0,a) (0,a) (1,a) (1,a) (1,a) (0,a) (0,a) (0,a) (0,a)
Reducing local alphabet size in recognizable picture languages Main result
Idea of proof: define new k-tiles on different alphabet
Eachk-tilewi overΓof thek-partitions is associated with ak-tilexi over a new local alphabetΛ ={0,1} ×Σ. The binary component is a unique encoding of theframeofwi, i.e., its border. TheΣcomponent ofxi is defined so to follow the original projection toΣ.
k-tile overΓ Frame Binary encoding k-tile overΛ ={0,1} ×Σ
w1=
& b b b
b & b b
b b & b
b b b &
& b b b
b b
b b
b b b &
1 1 1 1 1 0 1 0 0 1 1 1 0 0 0 0
(1,a) (1,a) (1,a) (1,a) (1,a) (0,a) (1,a) (0,a) (0,a) (1,a) (1,a) (1,a) (0,a) (0,a) (0,a) (0,a)
6= 6=
w2=
b b b %
b b % b
b % b b
% b b b
b b b %
b b
b b
% b b b
1 1 1 1 1 0 0 0 0 1 1 0 0 0 0 0
(1,a) (1,a) (1,a) (1,a) (1,a) (0,a) (0,a) (0,a) (0,a) (1,a) (1,a) (0,a) (0,a) (0,a) (0,a) (0,a)
Reducing local alphabet size in recognizable picture languages Main result
Idea of proof: define new k-tiles on different alphabet
Eachk-tilewi overΓof thek-partitions is associated with ak-tilexi over a new local alphabetΛ ={0,1} ×Σ. The binary component is a unique encoding of theframeofwi, i.e., its border. TheΣcomponent ofxi is defined so to follow the original projection toΣ.
k-tile overΓ Frame Binary encoding k-tile overΛ ={0,1} ×Σ
w1=
& b b b
b & b b
b b & b
b b b &
& b b b
b b
b b
b b b &
1 1 1 1 1 0 1 0 0 1 1 1 0 0 0 0
(1,a) (1,a) (1,a) (1,a) (1,a) (0,a) (1,a) (0,a) (0,a) (1,a) (1,a) (1,a) (0,a) (0,a) (0,a) (0,a)
= =
w3=
& b b b
b & b b
b b & b
b b b &
& b b b
b b
b b
b b b &
1 1 1 1 1 0 1 0 0 1 1 1 0 0 0 0
(1,a) (1,a) (1,a) (1,a) (1,a) (0,a) (1,a) (0,a) (0,a) (1,a) (1,a) (1,a) (0,a) (0,a) (0,a) (0,a)
Reducing local alphabet size in recognizable picture languages Main result
Interchangeability of k -tiles with same frame
A typical local property: Twok-tiles (verifying a correct 2-tiling) having the same frame can be interchanged (since a local test may only look at 2-tiles)
Previous preimages
& b b b
b & b b
b b & b
b b b &
b b b %
b b % b
b % b b
% b b b
Also a preimage
w1 w2
& b b b b b b %
b & b b b b % b
b b & b b % b b
b b b & % b b b
=⇒
& b b b b b b %
b & b b b b % b
b b & b b % b b
b b b & % b b b
w3 w4 w1 w4
This explains why we can only encode the frame of ak-tile, rather than the wholek-tile.
This will be is crucial to find enough unique encodings.
Reducing local alphabet size in recognizable picture languages Main result
Interchangeability of k -tiles with same frame
A typical local property: Twok-tiles (verifying a correct 2-tiling) having the same frame can be interchanged (since a local test may only look at 2-tiles)
Previous preimages
& b b b
b & b b
b b & b
b b b &
b b b %
b b % b
b % b b
% b b b
Also a preimage
w1 w2
& b b b b b b %
b & b b b b % b
b b & b b % b b
b b b & % b b b
=⇒
& b b b b b b %
b & b b b b % b
b b & b b % b b
b b b & % b b b
w3 w4 w1 w4
This explains why we can only encode the frame of ak-tile, rather than the wholek-tile.
This will be is crucial to find enough unique encodings.
Reducing local alphabet size in recognizable picture languages Main result
In summary: define set Z
kof all preimages on alphabet Λ
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
p∈RoverΣ
& b b b b b b %
b & b b b b % b
b b & b b % b b
b b b & % b b b
preimage ofpoverΓ
(1,a) (1,a) (1,a) (1,a) (1,a) (0,a) (0,a) (0,a) (0,a) (1,a) (1,a) (0,a) (0,a) (0,a) (0,a) (0,a)
(1,a) (1,a) (1,a) (1,a) (1,a) (0,a) (0,a) (0,a) (0,a) (1,a) (1,a) (0,a) (0,a) (0,a) (0,a) (0,a)
preimage ofpoverΛ(inZk)
Reducing local alphabet size in recognizable picture languages Main result
Comma-free picture codes
The image ofZk (the set of all preimages overΛ ={0,1} ×Σ), under the projection fromΛto its componentΣ, is the original languageR.
To be slt, thek-tiling ofZk must not allow erroneous pictures.
The problem can be solved usingcomma-free picture codes for the binary encodings, that do not allow ambigous overlappings.
Comma-free picture codes
A finite setX ofk×k pictures (called code-pictures) such that for allx1,x2,x3,x4∈X the following 2k ×2k pictures do not includeinternal picturesinX:
x1∈X x2∈X x3∈X x4∈X
Reducing local alphabet size in recognizable picture languages Main result
Example of comma-free picture
LetX be a comma-free picture code.
Code-pictures inX A picture usingX 1 1 1 1
1 0 1 0 0 1 1 1 0 0 0 0 ,
1 1 1 1 1 0 0 0 0 1 1 0 0 0 0 0
1 1 1 1 1 0 1 0 0 1 1 1 0 0 0 0
1 1 1 1 1 0 0 0 0 1 1 0 0 0 0 0 1 1 1 1
1 0 1 0 0 1 1 1 0 0 0 0
1 1 1 1 1 0 0 0 0 1 1 0 0 0 0 0
Every internal 4-tile is not inX.
As a consequence, the set of picture composed of (horizontal/vertical) concatenations of code-pictures inX is a 2k-slt language.
Reducing local alphabet size in recognizable picture languages Main result
Application of comma-free picture codes
To complete the proof, we need to findk such that the number of comma-free picture codes withk bits is large enough to encode allk-tiles in the thek-partition.
The frame to be encoded grows asΓ4k, i.e, 2O(k).
From recent results onnon-overlappingpicture codes [Anselmo et al., 2017], the cardinality of a binary comma-free picture code is 2Θ(k2)
Therefore,∃k such that the number of codes is larger than the number of frames.
Binary comma-free picture codes are adequate
There existsk ≥2 such that if the binary encodings used in the setZk of preimages on alphabetΛis a binary comma-free picture code withk bits, thenZk is 2k-slt.
Reducing local alphabet size in recognizable picture languages Main result
Application of comma-free picture codes
To complete the proof, we need to findk such that the number of comma-free picture codes withk bits is large enough to encode allk-tiles in the thek-partition.
The frame to be encoded grows asΓ4k, i.e, 2O(k).
From recent results onnon-overlappingpicture codes [Anselmo et al., 2017], the cardinality of a binary comma-free picture code is 2Θ(k2)
Therefore,∃k such that the number of codes is larger than the number of frames.
Binary comma-free picture codes are adequate
There existsk ≥2 such that if the binary encodings used in the setZk of preimages on alphabetΛis a binary comma-free picture code withk bits, thenZk is 2k-slt.
Reducing local alphabet size in recognizable picture languages Main result
Application of comma-free picture codes
To complete the proof, we need to findk such that the number of comma-free picture codes withk bits is large enough to encode allk-tiles in the thek-partition.
The frame to be encoded grows asΓ4k, i.e, 2O(k).
From recent results onnon-overlappingpicture codes [Anselmo et al., 2017], the cardinality of a binary comma-free picture code is 2Θ(k2)
Therefore,∃k such that the number of codes is larger than the number of frames.
Binary comma-free picture codes are adequate
There existsk ≥2 such that if the binary encodings used in the setZk of preimages on alphabetΛis a binary comma-free picture code withk bits, thenZk is 2k-slt.
Reducing local alphabet size in recognizable picture languages Conclusions
Extending the solutions to pictures of any size
In the presentation we only considered pictures with both number of columns and number of rows being multiple ofk.
The paper shows how to extend the solution to the case of pictures of any size.
This is based onpaddingthe pictures to make them of size multiple ofk, applying the previous procedure and then removing the padding from thek-tiles so obtained.
The padding makes the local alphabetΓof sizeO(k2)rather than a constant, but this only requires a larger value ofk to obtain the final result.
Reducing local alphabet size in recognizable picture languages Conclusions
Conclusions
We showed that every recognizable picture language can be defined as the image under projection of a strictly locally testable language, using comma-free picture codes, with minimal alphabetic ratio 2.
This generalizes the same results obtained for regular word languages and more recently for regular tree languages [Crespi-Reghizzi and San Pietro, 2021].
An open question is how to compute the required value ofk as a function of the local alphabetΓand of a given alphabetic ratio.
Reducing local alphabet size in recognizable picture languages Conclusions
Essential bibliography
M. Anselmo, D. Giammarresi, and M. Madonia. Non-expandable non-overlapping sets of pictures.
Theor. Comput. Sci., 657:127–136, 2017. doi:10.1016/j.tcs.2016.09.025. URL https://doi.org/10.1016/j.tcs.2016.09.025.
S. Crespi-Reghizzi and P. San Pietro. From regular to strictly locally testable languages.Int. J.
Found. Comput. Sci., 23(8):1711–1728, 2012. doi:10.1142/S0129054112400710. URL https://doi.org/10.1142/S0129054112400710.
S. Crespi-Reghizzi and P. San Pietro. Homomorphic characterization of tree languages based on comma-free encoding. InLATA 2021, LNCS 12638, pages 241–254. Springer, 2021. doi:
10.1007/978-3-030-68195-1\19. URL
https://doi.org/10.1007/978-3-030-68195-1_19.
D. Giammarresi and A. Restivo. Two-dimensional languages. In G. Rozenberg and A. Salomaa, editors,Handbook of formal languages, vol. 3, pages 215–267. Springer, 1997. ISBN 3-540-60649-1.
W. Thomas. Classifying regular events in symbolic logic.J. Comput. Syst. Sci., 25(3):360–376, 1982.