Skip to content
#explainable ai Open access

A proof of a conjecture of H. Gruber: finite unary languages by the alphabetic width of their regular expressions

Oct 2026 · Zenodo (CERN European Organization for Nuclear Research)
semigroups and automata theory

Abstract

We prove a statement recorded by H. Gruber in 2012 in the OEIS entry A000079 (the powers of 2), verified by him up to n = 17: for n >= 1, the number of distinct finite languages over a one-letter alphabet whose minimum regular expression has alphabetic width n is 2^n. The alphabetic width of a regular expression is the number of occurrences of alphabet symbols in it, one of the standard measures of the size of an expression. The proof shows that, for a nonempty finite unary language, the minimum alphabetic width of a regular expression for it is exactly the length of its longest word. The lower bound (no expression for a finite language has fewer letters than the length of its longest word) is a proposition of Ellul, Krawetz, Shallit and Wang (2005), valid over any alphabet, and is proved again in the note by a short structural induction. The upper bound is given by a nested expression in the manner of Horner's rule, a^{s_1}(e + a^{s_2 - s_1}(e + ... (e + a^{s_k - s_{k-1}}) ... )), where s_1 < ... < s_k are the lengths of the words and e is the empty word: it denotes the language and uses exactly s_k letters. Hence the finite unary languages of minimum width n are those whose longest word is a^n, and there are 2^n of them, one for each subset of {0, ..., n-1}; for n = 0 there are two (the empty language and {e}), which is why the statement starts at n = 1. A remark shows that the unary alphabet is essential: over two letters the language {ab, ba} has longest word of length 2 but no expression of width 2. The proof is elementary and its two halves were, separately, known or standard; the contribution of the note is to put them together and to record the count. As of October 6, 2026 the statement was still marked as conjectural ("apparently") in the entry. The note also explains the methodology of the author's project on open statements in the OEIS (translation of the statements into formulas for the reasoning engine SyntheticMind, with time budgets by type of computation; a log of obstacles that decides which methods to implement next; recursive splitting into subgoals; independent verification; a review by a second AI system) and the steps that led to this proof. The use of AI is described in the paper. Files: Blanco_Gomez_2026_Gruber_unary_width_EN.pdf is the paper; Blanco_Gomez_2026_Gruber_unary_width_ES.pdf is the Spanish version (same content); verify_gruber.py is the independent verification script (Python, no external libraries; it enumerates the languages of all star-free expressions by width for width up to 14 and finds exactly 2^n languages of minimum width n, tests the lower bound on 200000 random expressions with stars, and checks the nested expressions through an independent parser; it runs in a few seconds and prints ALL CHECKS PASSED).

View source

Similar papers

#artificial intelligence Conference Open access Apr 2020

ECCOLA - a Method for Implementing Ethically Aligned AI Systems

The method, ECCOLA, is presented, which aims at making the high-level AI ethics principles more practical, making it possible for developers to more easily implement them in practice.

Ville Vakkuri, Kai-Kristian Kemell, P. Abrahamsson · 64 citations · ⚡6
#computer vision Review Apr 2024

AI-powered Code Review with LLMs: Early Results

The goal is to not only refine the accuracy of the LLM-based tool but also to underscore its potential in streamlining the software development lifecycle through proactive code improvement and education.

Z. Rasheed, Malik Abdul Sami, Muhammad Waseem et al. · 62 citations · ⚡3
#computer vision Open access Mar 2024

LLM-based agents for automating the enhancement of user story quality: An early report

The use of large language models to automatically improve the user story quality in Austrian Post Group IT agile teams is explored, with a reference model for an Autonomous LLM-based Agent System developed and implemented at the company.

Zheying Zhang, M. Rayhan, Tomas Herda et al. · 48 citations · ⚡4
#computer vision Review Mar 2024

System for systematic literature review using multiple AI agents: Concept and an empirical evaluation

This paper introduces a novel multi-AI-agent system designed to fully automate SLRs, and demonstrates how it substantially reduces the time and effort traditionally required for SLRs while maintaining comprehensiveness and precision.

Abdul Malik Sami, Z. Rasheed, Kai-Kristian Kemell et al. · 44 citations · ⚡2
#computer vision Feb 2024

Can Large Language Models Serve as Data Analysts? A Multi-Agent Assisted Approach for Qualitative Data Analysis

The proposed LLM-based multi-agent system automates qualitative data analysis process, creating opportunities for researchers and practitioners, and future improvements focus on enhancing multilingual performance and integrating continuous expert feedback.

Z. Rasheed, Muhammad Waseem, Aakash Ahmad et al. · 41 citations
#artificial intelligence Conference Open access Jun 2018

The Key Concepts of Ethics of Artificial Intelligence

It is suggested that the focus on finding keywords is the first step in guiding and providing direction for future research in the AI ethics field.

Ville Vakkuri, P. Abrahamsson · 39 citations · ⚡2

Related blog posts

Microsoft Research Blog Oct 7, 2026

Agent Lightning v1.0: A 3,500-Line Lightweight Agentic RL Framework for Training Agents with Real Harnesses

Training AI agents with reinforcement learning can be challenging because their tools, context, and decision-making are managed by complex frameworks. Agent Lightning connects existing agents to RL training, making it easier to improve them without rebuilding them. The post Agent Lightning v1.0: A 3,500-Line Lightweight Agentic RL Framework for Training Agents with Real Harnesses appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.