\documentclass{article}
\usepackage{a4wide}
\usepackage{adjustbox}
\usepackage{fancyhdr}
\usepackage{tikz}
\usepackage{ifthen}
\usetikzlibrary{automata}
\usepackage{datetime}
\lhead{./certificates/expensive1-expensive2/sim-12984.tex}
\rhead{09:11:48.336 on 2025-04-03}
\fancyfoot{}
\begin{document}
\newif\ifntiny
%\ntinyfalse
\ntinytrue
\thispagestyle{fancy}
\begin{center}
\maxsizebox{!}{0.475\textheight}{
\minsizebox{\textwidth}{!}{
\begin{tabular}{@{}c@{}}
% node count = 52
\begin{tikzpicture}[rotate = 0]
%\begin{tikzpicture}[rotate = 90]
\tikzset{initial text=$ $}

\node[state] at (9,-12) (n1n0n0n1n0n0) {$\cup$\,\ifntiny{\tiny 14643}\fi};
\node[accepting, state] at (5,-22) (n0n0n1n0n0n2n0n0n0n0n0) {$p!$\,\ifntiny{\tiny 14577}\fi};
\node[accepting, state] at (11,-26) (n1n0n0n2n0n0n0n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 14673}\fi};
\node[accepting, state] at (4,-28) (n0n0n1n0n0n2n0n0n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 14567}\fi};
\node[state] at (9,-16) (n1n0n0n1n0n0n0n0) {$\cup$\,\ifntiny{\tiny 14636}\fi};
\node[state] at (3,-2) (n0) {$p?$\,\ifntiny{\tiny 14587}\fi};
\node[accepting, state] at (5,-12) (n0n0n1n0n0n2) {$p!$\,\ifntiny{\tiny 14582}\fi};
\node[accepting, state] at (12,-14) (n1n0n0n2n0n0n0) {$p?$\,\ifntiny{\tiny 14680}\fi};
\node[state] at (9,-2) (n1) {$p?$\,\ifntiny{\tiny 14686}\fi};
\node[accepting, state] at (12,-8) (n1n0n0n2) {$p!$\,\ifntiny{\tiny 14683}\fi};
\node[state] at (3,-14) (n0n0n1n0n0n1n0) {$p?$\,\ifntiny{\tiny 14465}\fi};
\node[accepting, state] at (4,-24) (n0n0n1n0n0n2n0n0n0n0n0n0) {$p!$\,\ifntiny{\tiny 14569}\fi};
\node[state] at (9,-14) (n1n0n0n1n0n0n0) {$p?$\,\ifntiny{\tiny 14637}\fi};
\node[state] at (3,-8) (n0n0n1n0) {$p?$\,\ifntiny{\tiny 14584}\fi};
\node[state] at (6,-12) (n1n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 14602}\fi};
\node[state] at (1,-12) (n0n0n1n0n0n0) {$p?$\,\ifntiny{\tiny 14447}\fi};
\node[state] at (9,-4) (n1n0) {$p?$\,\ifntiny{\tiny 14685}\fi};
\node[state] at (3,-18) (n0n0n1n0n0n1n0n0n1) {$p?$\,\ifntiny{\tiny 14463}\fi};
\node[accepting, state] at (4,-26) (n0n0n1n0n0n2n0n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 14568}\fi};
\node[state] at (7,-10) (n1n0n0n0n0) {$\cup$\,\ifntiny{\tiny 14611}\fi};
\node[state] at (3,-10) (n0n0n1n0n0) {$\cup$\,\ifntiny{\tiny 14583}\fi};
\node[accepting, state] at (4,-32) (n0n0n1n0n0n2n0n0n0n0n0n0n0n0n0n0) {$p!$\,\ifntiny{\tiny 14565}\fi};
\node[accepting, state] at (12,-12) (n1n0n0n2n0n0) {$p?$\,\ifntiny{\tiny 14681}\fi};
\node[accepting, state] at (12,-10) (n1n0n0n2n0) {$p?$\,\ifntiny{\tiny 14682}\fi};
\node[state] at (10,-14) (n1n0n0n1n0n0n1) {$p?$\,\ifntiny{\tiny 14642}\fi};
\node[initial, state] at (6,0) (n) {$\cup$\,\ifntiny{\tiny 14687}\fi};
\node[accepting, state] at (12,-16) (n1n0n0n2n0n0n0n0) {$p!$\,\ifntiny{\tiny 14679}\fi};
\node[state] at (0,-6) (n0n0n0) {$p?$\,\ifntiny{\tiny 14436}\fi};
\node[state] at (3,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 14586}\fi};
\node[state] at (3,-12) (n0n0n1n0n0n1) {$p?$\,\ifntiny{\tiny 14466}\fi};
\node[accepting, state] at (5,-14) (n0n0n1n0n0n2n0) {$p?$\,\ifntiny{\tiny 14581}\fi};
\node[accepting, state] at (12,-18) (n1n0n0n2n0n0n0n0n0) {$p!$\,\ifntiny{\tiny 14678}\fi};
\node[state] at (9,-18) (n1n0n0n1n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 14635}\fi};
\node[accepting, state] at (5,-18) (n0n0n1n0n0n2n0n0n0) {$p?$\,\ifntiny{\tiny 14579}\fi};
\node[accepting, state] at (5,-20) (n0n0n1n0n0n2n0n0n0n0) {$p!$\,\ifntiny{\tiny 14578}\fi};
\node[accepting, state] at (5,-16) (n0n0n1n0n0n2n0n0) {$p?$\,\ifntiny{\tiny 14580}\fi};
\node[state] at (9,-8) (n1n0n0n1) {$p?$\,\ifntiny{\tiny 14645}\fi};
\node[state] at (3,-6) (n0n0n1) {$p?$\,\ifntiny{\tiny 14585}\fi};
\node[state] at (7,-14) (n1n0n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 14609}\fi};
\node[accepting, state] at (11,-28) (n1n0n0n2n0n0n0n0n0n0n0n0n0n0) {$p!$\,\ifntiny{\tiny 14672}\fi};
\node[state] at (9,-6) (n1n0n0) {$\cup$\,\ifntiny{\tiny 14684}\fi};
\node[accepting, state] at (11,-22) (n1n0n0n2n0n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 14675}\fi};
\node[accepting, state] at (4,-30) (n0n0n1n0n0n2n0n0n0n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 14566}\fi};
\node[accepting, state] at (11,-24) (n1n0n0n2n0n0n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 14674}\fi};
\node[accepting, state] at (11,-20) (n1n0n0n2n0n0n0n0n0n0) {$p!$\,\ifntiny{\tiny 14676}\fi};
\node[state] at (7,-12) (n1n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 14610}\fi};
\node[state] at (3,-16) (n0n0n1n0n0n1n0n0) {$\cup$\,\ifntiny{\tiny 14464}\fi};
\node[state] at (7,-8) (n1n0n0n0) {$p?$\,\ifntiny{\tiny 14612}\fi};
\node[state] at (9,-20) (n1n0n0n1n0n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 14634}\fi};
\node[state] at (9,-10) (n1n0n0n1n0) {$p?$\,\ifntiny{\tiny 14644}\fi};
\node[state] at (2,-18) (n0n0n1n0n0n1n0n0n0) {$p?$\,\ifntiny{\tiny 14458}\fi};
\node[state] at (8,-18) (n1n0n0n1n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 14627}\fi};

\draw[->, thick] (n) edge [near start, left] node {} (n0);
\draw[->, thick] (n) edge [near start, left] node {} (n1);
\draw[->, thick] (n0) edge [near start, left] node {b} (n0n0);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n0);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n1);
\draw[->, thick] (n0n0n0) edge [near start, right, bend right] node {b} (n0n0);
\draw[->, thick] (n0n0n1) edge [near start, left] node {a} (n0n0n1n0);
\draw[->, thick] (n0n0n1n0) edge [near start, left] node {b} (n0n0n1n0n0);
\draw[->, thick] (n0n0n1n0n0) edge [near start, left] node {} (n0n0n1n0n0n0);
\draw[->, thick] (n0n0n1n0n0) edge [near start, left] node {} (n0n0n1n0n0n1);
\draw[->, thick] (n0n0n1n0n0) edge [near start, left] node {} (n0n0n1n0n0n2);
\draw[->, thick] (n0n0n1n0n0n0) edge [near start, right, bend right] node {b} (n0n0);
\draw[->, thick] (n0n0n1n0n0n1) edge [near start, left] node {a} (n0n0n1n0n0n1n0);
\draw[->, thick] (n0n0n1n0n0n1n0) edge [near start, left] node {b} (n0n0n1n0n0n1n0n0);
\draw[->, thick] (n0n0n1n0n0n1n0n0) edge [near start, left] node {} (n0n0n1n0n0n1n0n0n0);
\draw[->, thick] (n0n0n1n0n0n1n0n0) edge [near start, left] node {} (n0n0n1n0n0n1n0n0n1);
\draw[->, thick] (n0n0n1n0n0n1n0n0n0) edge [near start, right, bend right] node {b} (n0n0);
\draw[->, thick] (n0n0n1n0n0n1n0n0n1) edge [near start, right, bend right] node {a} (n0n0n1n0n0n1n0);
\draw[->, thick] (n0n0n1n0n0n2) edge [near start, left] node {v} (n0n0n1n0n0n2n0);
\draw[->, thick] (n0n0n1n0n0n2n0) edge [near start, left] node {b} (n0n0n1n0n0n2n0n0);
\draw[->, thick] (n0n0n1n0n0n2n0n0) edge [near start, left] node {a} (n0n0n1n0n0n2n0n0n0);
\draw[->, thick] (n0n0n1n0n0n2n0n0n0) edge [near start, left] node {b} (n0n0n1n0n0n2n0n0n0n0);
\draw[->, thick] (n0n0n1n0n0n2n0n0n0n0) edge [near start, left] node {x} (n0n0n1n0n0n2n0n0n0n0n0);
\draw[->, thick] (n0n0n1n0n0n2n0n0n0n0n0) edge [near start, left] node {y} (n0n0n1n0n0n2n0n0n0n0n0n0);
\draw[->, thick] (n0n0n1n0n0n2n0n0n0n0n0) edge [near start, right, bend right] node {z} (n0n0n1n0n0n2);
\draw[->, thick] (n0n0n1n0n0n2n0n0n0n0n0n0) edge [near start, left] node {u} (n0n0n1n0n0n2n0n0n0n0n0n0n0);
\draw[->, thick] (n0n0n1n0n0n2n0n0n0n0n0n0n0) edge [near start, left] node {b} (n0n0n1n0n0n2n0n0n0n0n0n0n0n0);
\draw[->, thick] (n0n0n1n0n0n2n0n0n0n0n0n0n0n0) edge [near start, left] node {a} (n0n0n1n0n0n2n0n0n0n0n0n0n0n0n0);
\draw[->, thick] (n0n0n1n0n0n2n0n0n0n0n0n0n0n0n0) edge [near start, left] node {b} (n0n0n1n0n0n2n0n0n0n0n0n0n0n0n0n0);
\draw[->, thick] (n0n0n1n0n0n2n0n0n0n0n0n0n0n0n0n0) edge [near start, right, bend right] node {x} (n0n0n1n0n0n2n0n0n0n0n0);
\draw[->, thick] (n1) edge [near start, left] node {a} (n1n0);
\draw[->, thick] (n1n0) edge [near start, left] node {b} (n1n0n0);
\draw[->, thick] (n1n0n0) edge [near start, left] node {} (n1n0n0n0);
\draw[->, thick] (n1n0n0) edge [near start, left] node {} (n1n0n0n1);
\draw[->, thick] (n1n0n0) edge [near start, left] node {} (n1n0n0n2);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {b} (n1n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0) edge [near start, left] node {} (n1n0n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0) edge [near start, left] node {} (n1n0n0n0n0n1);
\draw[->, thick] (n1n0n0n0n0n0) edge [near start, right, bend right] node {b} (n1n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n1) edge [near start, left] node {a} (n1n0n0n0n0n1n0);
\draw[->, thick] (n1n0n0n0n0n1n0) edge [near start, right, bend right] node {b} (n1n0n0);
\draw[->, thick] (n1n0n0n1) edge [near start, left] node {a} (n1n0n0n1n0);
\draw[->, thick] (n1n0n0n1n0) edge [near start, left] node {b} (n1n0n0n1n0n0);
\draw[->, thick] (n1n0n0n1n0n0) edge [near start, left] node {} (n1n0n0n1n0n0n0);
\draw[->, thick] (n1n0n0n1n0n0) edge [near start, left] node {} (n1n0n0n1n0n0n1);
\draw[->, thick] (n1n0n0n1n0n0n0) edge [near start, left] node {b} (n1n0n0n1n0n0n0n0);
\draw[->, thick] (n1n0n0n1n0n0n0n0) edge [near start, left] node {} (n1n0n0n1n0n0n0n0n0);
\draw[->, thick] (n1n0n0n1n0n0n0n0) edge [near start, left] node {} (n1n0n0n1n0n0n0n0n1);
\draw[->, thick] (n1n0n0n1n0n0n0n0n0) edge [near start, right, bend right] node {b} (n1n0n0n1n0n0n0n0);
\draw[->, thick] (n1n0n0n1n0n0n0n0n1) edge [near start, left] node {a} (n1n0n0n1n0n0n0n0n1n0);
\draw[->, thick] (n1n0n0n1n0n0n0n0n1n0) edge [near start, right, bend right] node {b} (n1n0n0);
\draw[->, thick] (n1n0n0n1n0n0n1) edge [near start, left, bend left] node {a} (n1n0n0n1n0);
\draw[->, thick] (n1n0n0n2) edge [near start, left] node {v} (n1n0n0n2n0);
\draw[->, thick] (n1n0n0n2n0) edge [near start, left] node {b} (n1n0n0n2n0n0);
\draw[->, thick] (n1n0n0n2n0n0) edge [near start, left] node {a} (n1n0n0n2n0n0n0);
\draw[->, thick] (n1n0n0n2n0n0n0) edge [near start, left] node {b} (n1n0n0n2n0n0n0n0);
\draw[->, thick] (n1n0n0n2n0n0n0n0) edge [near start, left] node {x} (n1n0n0n2n0n0n0n0n0);
\draw[->, thick] (n1n0n0n2n0n0n0n0n0) edge [near start, left] node {y} (n1n0n0n2n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n2n0n0n0n0n0) edge [near start, right, bend right] node {z} (n1n0n0n2);
\draw[->, thick] (n1n0n0n2n0n0n0n0n0n0) edge [near start, left] node {u} (n1n0n0n2n0n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n2n0n0n0n0n0n0n0) edge [near start, left] node {b} (n1n0n0n2n0n0n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n2n0n0n0n0n0n0n0n0) edge [near start, left] node {a} (n1n0n0n2n0n0n0n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n2n0n0n0n0n0n0n0n0n0) edge [near start, left] node {b} (n1n0n0n2n0n0n0n0n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n2n0n0n0n0n0n0n0n0n0n0) edge [near start, right, bend right] node {x} (n1n0n0n2n0n0n0n0n0);

\end{tikzpicture}
\end{tabular}}}
\end{center}
\end{document}
