\documentclass[11pt]{article} \usepackage[a4paper,margin=24mm]{geometry} \usepackage[english]{babel} \usepackage[T1]{fontenc} \usepackage{iftex} % \ifXeTeX \DeclareFontShape{T1}{lmr}{m}{it}{<->ec-lmri10}{} \fi \usepackage[cmex10]{amsmath} \usepackage{amssymb,amsthm,mathtools} % \DeclareFontShape{OMX}{cmex}{m}{n}{<->cmex10}{} \usepackage{booktabs,longtable,array} \usepackage{tikz} \usetikzlibrary{arrows.meta} \usepackage{needspace,etoolbox} \usepackage[hidelinks]{hyperref} \usepackage{xurl} \setlength{\emergencystretch}{3em} \setlength{\headheight}{14pt} \setlength{\headsep}{7mm} \clubpenalty=10000 \widowpenalty=10000 \displaywidowpenalty=10000 \raggedbottom % \newcommand{\DocumentShortTitle}{Generation and indexing near functional digraphs} \makeatletter \def\ps@research{% \def\@oddhead{\small\itshape\DocumentShortTitle\hfil\upshape\leftmark}% \let\@evenhead\@oddhead \def\@oddfoot{\hfil\thepage\hfil}% \let\@evenfoot\@oddfoot \let\@mkboth\markboth} \renewcommand{\sectionmark}[1]{\markboth{\thesection}{}} \makeatother \pagestyle{research} \newcolumntype{P}[1]{>{\raggedright\arraybackslash}p{#1}} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{corollary}[theorem]{Corollary} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \newtheorem{example}[theorem]{Example} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \newcommand{\Cyc}{\operatorname{Cyc}} \newcommand{\tr}{\operatorname{tr}} \newcommand{\wt}{\operatorname{wt}} \newcommand{\rank}{\operatorname{rank}} \newcommand{\poly}{\operatorname{poly}} \newcommand{\Aut}{\operatorname{Aut}} \setcounter{tocdepth}{1} \pretocmd{\section}{\Needspace{6\baselineskip}}{}{} \pretocmd{\subsection}{\Needspace{5\baselineskip}}{}{} \pretocmd{\paragraph}{\Needspace{4\baselineskip}}{}{} \BeforeBeginEnvironment{theorem}{\Needspace{6\baselineskip}} \BeforeBeginEnvironment{lemma}{\Needspace{5\baselineskip}} \BeforeBeginEnvironment{proposition}{\Needspace{5\baselineskip}} \BeforeBeginEnvironment{corollary}{\Needspace{5\baselineskip}} \BeforeBeginEnvironment{proof}{\Needspace{4\baselineskip}} \hypersetup{pdfauthor={Nuutti Kuosa},pdftitle={Generation and indexing near functional digraphs},pdfsubject={Exact excess, implicit weighted alphabets, and complete backgrounds}} \newcommand{\suppref}[1]{\ref*{#1}} \input{assembled_main/external_labels.tex} \title{Generation and indexing near functional digraphs\\[1ex] \large Exact excess, implicit weighted alphabets, and complete backgrounds} \author{Nuutti Kuosa} \date{30 November 2026} \begin{document} \maketitle \begin{abstract} We examine generation and direct indexing of unlabelled graphs close to partial functions, in response to research directions of Defrain, Porreca and Timofeeva. Earlier iterator and string algorithms answer part of the functional-digraph programme. For exact directed branching excess $k$, we give a deterministic generator with full delay $O_k(n\log^3(n+2))$ and $O_k(n\log^2(n+2))$ working words, allowing both input degree caps and optional loop exclusion, for the possibly disconnected class. A quadratic-delay, linear-space construction also permits connectedness. Finite kernel actions and implicit weighted alphabets give counting, ranking and unranking with polynomial degrees independent of $k$. The undirected extension permits arbitrary tree and unicyclic components under the sum of positive component excesses; a weighted bracelet oracle handles reflection symmetries without enumerating its alphabet. We derive same-class baselines from earlier generation and indexing methods, including quadratic-delay generation with linear space for the possibly disconnected class, and identify the additional arguments needed for the sharper bounds. Two established deterministic string data structures support the same generation bound. A reorganized evaluation of an older bracelet recurrence also matches the sparse oracle's numerical budget, conditionally on a correct counting interpretation of its states. The limitations identified for that recurrence's stated interface do not exclude other polynomial counting adaptations. We give explicit bit costs, distinguish classical ingredients from the quantitative compositions established here, and state the remaining representation and algorithmic boundaries. Historical priority of the combined results is not asserted. Complete proofs and detailed source comparisons are provided in a separate technical companion. The main paper also states linear-bit functional generation, constant-amortized maintenance of outgoing-target arrays, and the equality class of the stated $4k$ reduction bound. An expanded literature review explains which original questions are already answered by earlier work, which answers require a further deduction, and what remains to be established. \end{abstract} \clearpage \setcounter{tocdepth}{2} \tableofcontents \medskip \noindent\textbf{Reading the two documents.} This paper states the graph classes, computational contracts, main results, proof ideas and literature comparisons. The separate \emph{Technical appendices}, available as \href{https://hexagonmath.org/2611.01504}{hexagon:2611.01504}, contain the complete proofs and cost ledgers. References prefixed S-A through S-H identify that companion; ordinary numbered references identify this paper. Each document has its own bibliography. \clearpage \input{assembled_main/main_intro.tex} \input{assembled_main/main_literature.tex} \input{assembled_main/main_e4.tex} \input{assembled_main/main_e6.tex} \input{assembled_main/main_functional_results.tex} \input{assembled_main/main_closing.tex} \clearpage \phantomsection\addcontentsline{toc}{section}{References} \label{sec:main-references} \markboth{References}{} \small \begin{thebibliography}{999} \setlength{\itemsep}{3pt plus 1pt minus 1pt} \input{assembled_main/references.tex} \end{thebibliography} \end{document}