I want to know about the density of automatic sets where the DFA recognizing it has a particular nice form. I'm going to start with a simple version of the question and then add complications until we get to the case that led to theNote: I've entirely rewritten this question. I'm aware of some results about! Originally it was just the density of automatic sets but I'm not sure if anythird formulation, take note of them do what I wantthat when reading answers.
So, simplest version of the problem: SupposeLet's say $S$ is a $b$-automatic set, and supposelet's say $M$ is a DFA that it's recognized,defines it when the numbers are read from the little end (right-to-left). Say $\overline{d}(S)$ is the upper density of $S$, by a DFA where every state hasand say $\overline{p}(M)$ is the acceptance probability of $M$ on a path torandom infinite string on $\{0,\ldots,b-1\}$ when viewed as a sink state (aBüchi machine, i.e., we consider $M$ to accept on an infinite string iff it infinitely often passes through an accepting state from which there is no escape).
Under this assumptionIs $\overline{d}(S)\le \overline{p}(M)$?
Equivalently, we can meaningfully speak ofcould instead define $\underline{p}(M)$ to be the acceptance probability of the machine accepting if we plug inwhen viewed as a randomco-Büchi machine, i.e., we consider it to accept on an infinite string on $\{0, ..., b-1\}$ (oriff it eventually passes only through accepting states, if you likeand then ask, a randomis $b$-adic integer)$\underline{d}(S)\ge \underline{p}(M)$?
Also equivalently -- treating(I'll skip spelling out the machine as a Markov chainequivalence here), essentiallywe could restrict consideration to machines $M$ where $\overline{p}(M)=\underline{p}(M)$ -- because with probability $1$which really means we will eventually end up incan restrict further to machines where from every state it is possible to reach a sink state -- and ask, at which point the rest of the stringin this case, do we have $d(S)=p(M)$? (Where $p$ is irrelevantto $\overline{p}$ and we can determine acceptance or rejection$\underline{p}$ as $d$ is to $\overline{d}$ and $\underline{d}$.)
Question: Under these assumptions Also, isif the density of $S$ equal to this probability? (Naturalabove question is false for natural density if possible, or can't easily be proven for such, could it at least be true for logarithmic density if not.)?
NoteNow note that if we wereI said that $M$ has to insteaddefine $S$ when we read numbers from the biglittle end, left to right, then certainlythat's because the natural density version of this question would have a negative answeris false if we're reading from the big end (econsider e.g.: consider numbers that start with a $1$ when written in base $3$ternary). But I'm specifically reading from the little end, right to left. (Although maybe logarithmic densityit could potentially still work frombe true AFAIK for logarithmic density in that case, so that's another potential question. Although I don't really care so much about the big end?)-endian case...
Also worth noting, if we add theI have three additional condition thatvariants on the question I want to ask (other than the sink self-loops)because the machinecase I originally care about has no cyclesmore complications I'm afraid), thenwhich can also be combined with the variants above. But I'd gladly accept just an answer to the simplified question is positive, even with natural densityabove, because then you only need finite additivity to determine the probability. However, the more general version requires countable additivity, which (natural/logarithmic) density doesn't satisfyit's quite interesting on its own.
Complication #1: What if instead $S$ is a $k$-dimensional $b$-automatic set, with the same conditions? So we would be plugging in $k$ random infinite strings on $\{0,...,b-1\}$. Does the probability equal the density hereinequality hold in this case?
Does the probability equal the density in this caseinequality hold here? With whatever notion of density we can get.
(Note that once Once again here we get that the answer is yes, even forwith natural density, if we add the no-cycles conditionpossible or logarithmic density is not.)
Complication #3: Combine complications #1 and #2; the set is both multidimensional and Zeckendorf-automatic. You can fill in the details. Unfortunately, at this point we really don't have a finite Markov chain anymore; I don't see any way to construe this case as one.
(This is the case that led to the question -- the set I'm looking at is a two-dimensional Zeckendorf-automatic set of. And its machine also obeys the above form$\overline{p}(M)=\underline{p}(M)$ condition.)
Thanks all! I would consider this the obvious waywas hoping to compute theits density of such a set, and it's kind of annoying to me that I can't quickly find anythingwould consider this to indicate that it's a valid method. But I'd also be interested to hear about answers to the simplified versions of the problemobvious way, becausebut I thinkdon't know that it's quite interesting on its own.valid!)
Thanks all!