Browse

Formal Languages and Automata Theory

cs.FL — Formal Languages and Automata Theory

cs.FL RSS feed

Works in cs.FL

14 works

cs.FL — Formal Languages and Automata Theory

Breaking the 7/48 n^3 Barrier for Synchronizing Automata

Contributed by Антон Борисов

The Cerny conjecture asserts that every synchronizing deterministic finite automaton (DFA) on n states admits a synchronizing word of length at most (n-1)^2. For general synchronizing DFAs, the classical cubic upper bound (n^3 - n)/6 of Frankl (1982) and Pin (1983) stood for over three decades until improvements by Szykula (2018) and Shitov (2019), who established rt(A) <= (8257/49923) n^3 + o(n^3) (~0.165395 n^3 + o(n^3)). In November 2026, two unrefereed preprints of Hong introduced degree transport and whole-block transport on merge graphs to obtain (8242/49923) n^3 + o(n^3) and (7/48) n^3 + o(n^3) (~0.145833 n^3 + o(n^3)). In this paper, we establish three results for arbitrary synchronizing DFAs: (1) Breaking the (7/48) n^3 barrier: There exist explicit constants delta > 0 and N_0 such that every synchronizing DFA on n >= N_0 states satisfies rt(A) <= (7/48 - delta) n^3. Our proof eliminates both tight boundary regimes of (7/48) n^3 via a singularity-free block compression cap verified algebraically over Q by five rational Bernstein polynomials, together with common-neighbor preimage lifting and two-scale nested calm times across the macroscopic band r in [floor(n/2), floor(0.58 n)]. (2) Explicit quadratic-remainder cubic bounds: For every synchronizing DFA on n >= 1 states, rt(A) <= (24646/149769) n^3 + 50 n^2 (~0.164560 n^3 + 50 n^2), strictly improving Shitov's (8257/49923) n^3 for all n >= 59,908 and Hong's (8242/49923) n^3 for all n >= 93,606. Alongside this, we give a zero-calculus telescoping rational-dual proof of Shitov's bound with explicit remainder +3 n^2, strictly beating Pin-Frankl for all n >= 2359. (3) Global exact-transversal corank-gap inequality: For every synchronizing DFA on n >= 2 states and every 1 <= r <= n - 2, the corank gap satisfies delta(r) <= lambda(r) + r + 1, sharpening Shitov's delta(r) <= lambda(r) + 2r while removing its r < n/2 restriction. Every theorem, proposition, lemma, and corollary in this paper has been completely formalized and machine-checked in Lean 4 (v4.36.0 with Mathlib), with zero sorry placeholders and relying solely on standard logical axioms.

Author comments: 24 pages. AI-assisted proof discovery and Lean 4 formalization; all main results are formally verified in Lean 4.36.0 (Mathlib v4.36.0) with 0 sorry, standard axioms only, and independent kernel replay via `lake env leanchecker Cerny.StatementCheck`. Code and audit: https://github.com/antonborisov571/cerny-lean (Zenodo DOI: https://doi.org/10.5281/zenodo.24463928).

Primarily AI-generated textHuman understanding: no parts
Nov 23, 202624 pages
PDFView work

cs.FL — Formal Languages and Automata Theory

The Černý (1969) conjecture holds for quasi-Eulerian automata of degree one

Contributed by Dave Goel

An automaton with nn states is quasi-Eulerian of degree dd if there are positive letter weights summing to one, a set XX of dd exceptional states and a further state ss such that every state outside X∪{s}X\cup\{s\} receives total weight one and every edge that starts in XX ends in X∪{s}X\cup\{s\}. Berlinkov bounded the reset threshold of strongly connected synchronizing ones by 2d(n−d+1)(n−1)2^d(n-d+1)(n-1). We prove that every synchronizing quasi-Eulerian automaton of degree one has a reset word of length at most (n−1)2(n-1)^2, so the Černý (1969) conjecture holds for this family; the Černý automata belong to it and attain the bound. The same bound holds for every synchronizing automaton whose transition matrix, weighted by some positive, possibly irrational, letter weights, has a positive stationary vector that is constant on all states but one; for this family Berlinkov's bound was 2n(n−1)2n(n-1). For synchronizing quasi-Eulerian automata of degree two, the bound holds whenever the automaton is not strongly connected, whenever its two exceptional states form a block of a congruence, and, for binary strongly connected automata, in 4646 of the 4949 configurations (up to renaming) of the edges at the two exceptional states. The key step in degree one is elementary: a shortest word that takes the exceptional state out of a set KK of states that contains it has length at most ∣K∣|K|, and one that takes it into a set KK that does not contain it has length at most n−∣K∣n-|K|.

Author comments: First version: October 24, 2026.

A mix of human-written and AI-generated textHuman understanding: some partsSynchronizing automatonquasi-Eulerian automatonreset wordstationary vectorČerný conjecture
Nov 19, 202620 pages
PDFView work

cs.FL — Formal Languages and Automata Theory

A uniform 7/48 cubic upper bound for reset thresholds

Contributed by SUNGBIN HONG

We prove that every complete synchronizing deterministic finite automaton AA with nn states satisfies rt⁡(A)≤748n3+o(n3)\operatorname{rt}(A)\le\frac{7}{48}n^3+o(n^3), uniformly over the automaton and its finite alphabet. The coefficient is the milestone proposed in Trahtman's 2011 half-rank approach. The argument fixes a short word whose kernel is stable over a dyadic length interval. Degree transport in the graphs of pairs mergeable by short words, combined with a simultaneous selection of times of small degree growth, gives a compression bound for every sufficiently large subset of states. The bound remains available after replacing the current word. We combine it with the cheap-gap construction and the Pin--Frankl rank upgrade: the cost of reaching half rank is paid by a saving in the subsequent rank reductions. The required scalar comparison has an elementary analytic proof over its entire parameter domain. An explicit two-parameter estimate proves uniformity and extends the result from strongly connected automata to arbitrary complete synchronizing automata. The full theorem, including the word constructions used as classical inputs, has also been formalized in Lean 4.

Author comments: 14 pages, including two appendices. Uniform asymptotic bound over all complete synchronizing DFAs and finite alphabets. A separate Lean 4 development and recorded verification artifact are described in the paper; code is not included in this Hexagon deposit.

Primarily AI-generated textHuman understanding: no partsCerny conjectureSynchronizing automatondegree transportformal verificationreset threshold
Nov 16, 202614 pages
PDFView work

math.PR — Probability

Certified upper bounds for the Chvátal–Sankoff constant

Contributed by Tejasvi Singh Tomar

The expected length of a longest common subsequence of two independent uniformly random binary strings of length nn is γ2n+o(n)\gamma_2n+o(n), where γ2\gamma_2 is the Chvátal–Sankoff constant. Simulations suggest γ2≈0.8122\gamma_2\approx0.8122. In 2009 Lueker obtained the bound γ2≤0.826280\gamma_2\le0.826280 with a weighted finite automaton that remembers the last h=8h=8 symbols of each string. We prove γ2≤0.821963\gamma_2\le0.821963 by the same method with h=13h=13, where the automaton has about 1.66⋅10111.66\cdot10^{11} reachable states up to symmetry. The proof rests on an explicit vector v>0v>0 and a number λ<1\lambda<1 with Av≤λvAv\le\lambda v, where AA is the weighted transition matrix; a program checks the inequality Av≤λvAv\le\lambda v entry by entry, in exact arithmetic. The bound is also proved in the Lean 4 proof assistant.

Author comments: Published on Zenodo: https://doi.org/10.5281/zenodo.24414179 Changes from the previous version: the bounds for h = 13 and h = 12 are now also proved in Lean 4 by proofs that Lean's kernel checks without native_decide; corrected: the previous version said that the Lean files are archived, but for the kernel-checked proofs the archive holds the programs that generate them and their SHA-256 checksums, not the generated files; the main theorem and the certificates are unchanged.

A mix of human-written and AI-generated textHuman understanding: all parts
Nov 15, 202611 pages
PDFView work

cs.FL — Formal Languages and Automata Theory

A superlogarithmic lower bound for deterministic word separation

Contributed by Will Howe, Grant Huffman, Jensen Kohlmeyer, Liam Kruer

Let S(n)S(n) be the maximum, over distinct binary words of length nn, of the least number of states in a complete deterministic finite automaton that accepts exactly one of them. We prove S(n)≥(1−o(1))log⁡nlog⁡log⁡nS(n)\geq(1-o(1))\log n\log\log n. The main step is a common word of length exp⁡(O(klog⁡k))\exp(O(\sqrt{k}\log k)) that, after suitable powering of the generators, reaches the sink components of every transformation pair on kk states and attains minimum rank on each sink. This transfers the balanced positive permutation identities of Xu and Regan to the full transformation monoid without changing their leading logarithmic length. The conclusion concerns deterministic automata; it makes no assertion about nondeterministic separators.

Primarily AI-generated textHuman understanding: all partsdeterministic automataidentitiestransformation monoidsword separation
Nov 12, 20267 pages
PDFView work

cs.FL — Formal Languages and Automata Theory

Nonstabilization of the Predictive Boolean Lookahead Hierarchy

Contributed by Will Howe, Grant Huffman, Jensen Kohlmeyer, Liam Kruer

We study the hierarchy of languages generated by predictive Boolean LL(k)\mathrm{LL}(k) grammars. The model uses a deterministic recursive-descent table, strongly non-left-recursive rules, and at least one positive conjunct per rule. For every integer r≥1r\geq1, we construct a language over a fixed eight-letter alphabet that has an ordinary LL(r+r2r+2)\mathrm{LL}(r+r2^r+2) grammar and establish that it has no predictive Boolean LL(r)\mathrm{LL}(r) grammar. The construction asks for a specified token in a uniquely decodable word. The lower bound represents parsing on a long unary prefix by finitely many forward-moving endpoint streams and a finite Boolean recurrence. Random binary blocks followed by homogeneous blocks separate streams with a persistent timing error from streams having an exact finite-state potential. A bounded-lookahead argument hides a token-count change from each remaining stream. An encoding of the resulting independent queries is then shorter than their arbitrary binary payload. This gives nonstabilization under the stated predictive convention. The conclusion is for the stated parser model, including positive-conjunct and strong non-left-recursion requirements. Path-dependent tables satisfying these requirements give the same language families.

Primarily AI-generated textHuman understanding: all partsBoolean grammarslookahead hierarchypredictive parsing
Nov 12, 202614 pages
PDFView work

cs.FL — Formal Languages and Automata Theory

Sublinear-space recognition for Boolean grammars

Contributed by Will Howe, Grant Huffman, Jensen Kohlmeyer, Liam Kruer

For every fixed Boolean grammar in the standard language family considered by Okhotin, we give a deterministic membership algorithm using OG(n2/3(log⁡(n+2))2/3)O_G(n^{2/3}(\log(n+2))^{2/3}) working space on an input of length nn. In particular, the whole family is contained in DSPACE⁡(n3/4)\operatorname{DSPACE}(n^{3/4}), answering Okhotin's Problem 4 affirmatively. The construction partitions substring endpoints into blocks of size bb. It represents the parsing recurrence by a constant-fan-in circuit with OG(b2)O_G(b^2)-bit values and dependency height O(n/b+1)O(n/b+1). Splits in the endpoint blocks are resolved locally, and an ordering of the remaining splits controls the height even when a split is highly unbalanced. Applying the Cook–Mertz tree-evaluation algorithm to the implicitly unfolded circuit gives the space bound.

Primarily AI-generated textHuman understanding: all partsBoolean grammarsparsingspace complexitytree evaluation
Nov 11, 20266 pages
PDFView work

cs.FL — Formal Languages and Automata Theory

Decomposable disjoint-union circuits for primitive words

Contributed by Will Howe, Grant Huffman, Jensen Kohlmeyer, Liam Kruer

For every fixed finite alphabet AA with at least two letters, we construct smooth decomposable circuits representing the primitive words of each length nn. The gates are literals, Cartesian products on disjoint position sets, and disjoint unions on equal position sets. The total number of gates and wires is OA(n25ω(n))=n2+o(1)O_A(n^2 5^{\omega(n)})=n^{2+o(1)}, and the construction takes n2+o(1)n^{2+o(1)} bit operations. Prime periods are expressed as coordinate directions of independent rectangular grids. A recursion at the first nonconstant vertex computes the exact set of failed directions; sharing its continuations gives the size bound. This resolves the primitive-word instance of the circuit question posed by Amarilli, Monet, Raphael, and Salvati. It does not determine whether primitive words form a context-free or a poly-slicewise-unambiguous language. The same circuit bound holds for any union of exact power orders at a fixed length.

Author comments: First version. Addresses the complement-free primitive-word circuit question in STACS 2026, Section 6. The main circuit-size theorem has a locally compiled Lean proof; the running-time and optional exact-order claims are separate from that formal verification. Independent mathematical review and priority have not been established.

Primarily AI-generated textHuman understanding: all partsdecomposable circuitsdisjoint unionsformal verificationprimitive words
Nov 10, 20267 pages
PDFView work

cs.FL — Formal Languages and Automata Theory

Degree Transport and a Smaller Cubic Coefficient for Reset Thresholds

Contributed by SUNGBIN HONG

We prove that every synchronizing complete deterministic finite automaton on n≥2n\ge2 states has reset threshold at most 824249923n3+O(n2)\frac{8242}{49923}n^3+O(n^2). The cubic coefficient improves on Shitov's 8257/499238257/49923 by 5/166415/16641. The main ingredient is a degree-transport inequality for graphs of state pairs mergeable by short words. It relates a long gap between consecutive minimum-rank word lengths to a large corank achievable in at most n−1n-1 letters. Combining this relation with a discrete dual of Shitov's counting argument gives the improvement. An appendix makes the quadratic remainder explicit for every n≥2n\ge2. The argument applies to arbitrary finite alphabets and does not prove the quadratic Černý conjecture.

Primarily AI-generated textHuman understanding: no partsSynchronizing automatonavoiding wordmerge graphreset thresholdČerný conjecture
Nov 07, 202610 pages
PDFView work

math.NT — Number Theory

The Hankel determinants of an automatic sequence need not be automatic

Contributed by David Niedbala Giraudin

Allouche, Han and Niederreiter asked whether the sequence of Hankel determinants of a dd-automatic sequence must be dd-regular, or must become dd-automatic after reduction modulo an integer. We answer the first question in the negative, and the second one for the reduction modulo 33. Let α\alpha be the root of f4+f2−Tf+1=0f^4+f^2-Tf+1=0 in F3((1/T))\mathbb{F}_3((1/T)) with ∣α∣<1|\alpha|<1, the quartic of Mills and Robbins, and let SS be its coefficient sequence, which is 33-automatic by Christol's theorem. The Hankel determinants of SS vanish in runs whose lengths are unbounded but of the order of the square root of their position, because the partial quotients of α\alpha are unbounded while its irrationality exponent is 22; and a lemma of Schlage-Puchta forbids runs in that regime in an automatic sequence. Hence these Hankel determinants are kk-automatic for no kk, and the integer Hankel determinants of any lift of SS are kk-regular for no kk.

Primarily AI-generated textHuman understanding: no partsHankel determinantsautomatic sequencescontinued fractionspower series over finite fields
Nov 03, 20265 pages
PDFView work

math-ph — Mathematical Physics

Nonlinear Wave Limits of Reversible Finite-State Cellular Automata

Contributed by Zhenyu Sun

We construct reversible finite-state cellular automata whose integer lifts approximate smooth solutions of one-dimensional semilinear wave equations. The kick–drift update is bijective for every odd modulus. Separate rounding of spatial edge contributions and local nonlinear forces gives an exact one-cell support bound for the full local operator algebra. Under a strict Courant condition, a discrete energy estimate bounds the field and staggered-velocity errors by CT(h2+τ2+δ/τ2)C_T(h^2+\tau^2+\delta/\tau^2) on a fixed physical time interval, where hh, τ\tau, and δ\delta are the spatial, temporal, and field spacings. An explicit modulus bound prevents modular wrapping throughout that interval. The choices τ=νh\tau=\nu h, 0<ν<10<\nu<1, and δ=O(h4)\delta=O(h^4) yield second-order convergence. Coupled scalar fields have a common-speed, locally Lorentz-covariant classical limit. Equal bare masses and equal quartic self-couplings preserve a symmetric invariant manifold. Unequal quartic couplings introduce a cubic source into the antisymmetric field equation, and we derive the first variation of the antisymmetric field. Numerical experiments compare exact integer trajectories with a nonlinear traveling wave and an independent continuum solver, measure light and massive dispersion branches, and examine continuously interacting wave packets. The accompanying programs reproduce the reported calculations.

Primarily human-written textHuman understanding: all partscausalitycontinuum limitinteger integrationreversible cellular automatasemilinear wave equations
Oct 26, 202624 pages
PDFView work

math.CO — Combinatorics

The minimum number of distinct abelian squares in a binary circular word

Contributed by Deep Bhattacharjee

We prove that every binary circular word of length nn contains at least $\fl{(n-1)/2}$ distinct abelian squares, and we determine all words attaining this bound. This settles a conjecture of Simpson: its odd case holds, and in its even case the list of extremal words misses (ab)n/2(ab)^{n/2} for n≡2(mod4)n\equiv 2\pmod 4, n≥6n\ge 6. We then review the other problems of the survey: we conjecture, and verify to length 2727, that for odd nn the least number of non-equivalent abelian squares in a circular word is also (n−1)/2(n-1)/2, and we show that the least number of occurrences of abelian squares in a binary word of length nn is asymptotically proportional to nn or grows faster, and is below n3/2n^{3/2}.

A mix of human-written and AI-generated textHuman understanding: some partsParikh vectorabelian squarecircular wordcombinatorics on words
Oct 22, 202614 pages
PDFView work

math-ph — Mathematical Physics

Beyond the Event Horizon: An Operator-First Theory of Persistent Geometry and Black Hole Dynamics

Contributed by Jeromie Beasley

A black hole carries one wall of each kind. Its horizon is a geometric fold: in the right coordinate it is smooth, and nothing breaks there. Its innermost stable circular orbit is a spectral wall, a Jordan block where steady circling turns into a plunge. This paper builds both kinds of wall exactly in a setting where every step can be proved and computed, and then compares them, structurally, with black holes. The setting is the shape space of four bodies. Its kinetic metric is the Bures metric of a real qutrit, and its one genuine wall, the coplanar configurations, is a fold at finite distance. Across it a tetrahedron meets its mirror image. The transport operator A(H) = TH + HT − 2Tr(TH)G is self-adjoint in the kinetic metric. Read in the Gram frame, its back-coupling vanishes like σ₃², and it forms a Jordan block whose square-root branch is exactly the orientation double cover. Lifted to the cover, it is analytic, and the wall point is a plain double point at the tip of a cone with slope 2|t₁−t₂|√(1−δ²). Both readings are exact. What a single eigenvector reports can fail at the wall; the eigenvalue pair and its trace-log ledger come through exact, and a loop through the mirror leaves a sign. New in edition 10 - Reflection and refraction on the projector metric. A wave meeting a step in the metric reflects through the metric along the step and the Clairaut constant C alone: Γ = (√(a₁−C) − √(a₂−C)) / (√(a₁−C) + √(a₂−C)). The transverse metric drops out at a sharp step. Total reflection begins exactly where a geodesic turns, so the optical threshold is a turning point. A change of spectral gap reflects with the peel coordinate tanh(½ ln Δ₂/Δ₁). - One Gram determinant does two jobs: it sets the wave admittance, and it caps the Berry curvature a path can feel (the angle safeguard of the intrinsic quantum geometric tensor). - Mirror and matched load. The polar stratum is a perfect mirror, |Γ| = 1. A Killing horizon, polar in the same sense, is a matched load, Γ = 0. - The photon ring, read by the same generator as the ISCO: each half orbit dims an image by e^−π = 0.0432, a value that belongs to the uncharged hole alone; charge lowers it. - The fermion record: its offset is a point on the same reflection chart, tanh(ħω/2k_BT_H). - The reflection tests were pre-registered before they ran, and each was pushed several ways: 400 random sharp steps, three smooth profiles, reciprocity, flux balance, the transverse metric in a thick layer, total reflection, and the gap form. Main results - The coplanar wall is a fold, and its distance is a Bures angle: arcsin√ε = arccos√F. - Quantum Fisher information on the shape space is eight times the shape kinetic energy wherever the rank is constant, and fidelity is blind to the mirror. - Two kinds of wall: spectral (a Jordan block in every frame) and geometric (a fold that a signed coordinate unfolds). The ISCO is spectral, at the point where gravity's effective power p = 2 + 6M/r reaches the inverse cube. The horizon is geometric. - Any distance potential is even across the wall, with stiffness 2∂V/∂w₃. A thin disk holds the shape at its own frequency ν. Gravity holds the square at ω = √(2(2√2−1)); its exact potential along the lifted square is given in closed form, and its stiffness turns over for a rhombus thinner than diagonal ratio k* = 0.144557. - Structural comparisons: Petrov types through Majorana stars (Kerr is type D), merging ringdown overtones, the horizon's surface resistance as a matched load (376.73 Ω), Bell violation by a Hawking pair, Ramanujan's mock theta functions, and the mirror rule for knots. The metric throughout is the intrinsic kinetic metric of the shape space, never a spacetime metric. Every statement about black holes is a structural comparison, and every claim carries its grade (derived, measured, cited, or structural) where it is made. Files - bh_paper_v10_1.pdf: the paper (56 pages). - bh_paper_v10_1.html: the web edition, with its cover; it runs no scripts. - bh_mixer_v10.html: the Event Horizon Mixer, edition 10. It runs offline in any browser and computes every curve live: the photon-ring orbits, the layered step, the reflection chart with the horizon and the fermion record, the sine guard, and the tip-and-tail matrices. Its Synchronize mode drives every eye from one wall dial, and its "Synchronize the universe" eye shows the connection energy draining as a ring of fields falls into step. - bh_v10_1_code_and_sources.zip: LaTeX source, figures, every check script with its saved output, the pre-registrations, the proof log and the ideas ledger, and a README. Each script states its kill condition before it runs (Python 3: numpy, scipy, sympy, mpmath, matplotlib). AI-assisted: the ideas and research direction are the author's; AI tools were used for literature search, computation, drafting and typesetting, and every number was checked by the scripts in the archive.

A mix of human-written and AI-generated textHuman understanding: some parts
Oct 20, 202656 pages
PDFView work

cs.CC — Computational Complexity

A Verified Constructive Reduction of the Cook-Levin Theorem in Lean 4: Bridging the Gap Between Complexity Theory and Formal SAT Encodings

Contributed by Jonathan 𝑓(n) Reed

While the Cook-Levin theorem is fundamental to computational complexity, formalizations in proof assistants often rely on high-level arguments rather than constructing the concrete SAT formula. Within the Lean community, a rigorous, constructive reduction from Turing machines to SAT is currently absent from \texttt{mathlib}. We present a complete, machine-checked formalization in Lean 4 that addresses this gap by providing a constructive reduction from a deterministic Turing Machine model to a CNF formula. By rigorously defining the interface between the high-level computation model and the low-level SAT encoding, we bridge the gap between theoretical complexity and practical SAT-based verification. Our work specifically handles the challenges of verified 3D-variable indexing, injective mapping proofs, and global soundness, providing a verified tool for both communities to interact.

A mix of human-written and AI-generated textHuman understanding: all partsConjunctive Normal FormConstructive ReductionCook-Levin TheoremInteractive Theorem ProvingLean 4SAT EncodingsSatisfiability CheckingSymbolic ComputationTuring Machineformal verification
Oct 08, 202616 pages
PDFView work