\documentclass{article}
\usepackage{a4wide}
\usepackage{adjustbox}
\usepackage{fancyhdr}
\usepackage{tikz}
\usepackage{ifthen}
\usetikzlibrary{automata}
\usepackage{datetime}
\lhead{./certificates/innerloop1-innerloop2/sim-20660.tex}
\rhead{09:11:48.509 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 = 32
\begin{tikzpicture}[rotate = 0]
%\begin{tikzpicture}[rotate = 90]
\tikzset{initial text=$ $}

\node[accepting, state] at (3,-10) (n0n0n1n1n0) {$p!$\,\ifntiny{\tiny 20728}\fi};
\node[state] at (11,-2) (n1) {$p?$\,\ifntiny{\tiny 22310}\fi};
\node[accepting, state] at (15,-4) (n2n0) {$p!$\,\ifntiny{\tiny 20675}\fi};
\node[accepting, state] at (10,-14) (n1n0n0n0n1n1n0) {$p!$\,\ifntiny{\tiny 20977}\fi};
\node[accepting, state] at (6,-10) (n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 21803}\fi};
\node[state] at (6,-6) (n0n1n0) {$\cup$\,\ifntiny{\tiny 22293}\fi};
\node[initial, state] at (8,0) (n) {$\cup$\,\ifntiny{\tiny 22311}\fi};
\node[accepting, state] at (10,-10) (n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 20988}\fi};
\node[accepting, state] at (14,-8) (n2n0n0n0) {$p!$\,\ifntiny{\tiny 20673}\fi};
\node[accepting, state] at (3,-6) (n0n0n1) {$p?$\,\ifntiny{\tiny 20735}\fi};
\node[accepting, state] at (7,-10) (n0n1n0n1n1) {$p?$\,\ifntiny{\tiny 21794}\fi};
\node[state] at (4,-2) (n0) {$p?$\,\ifntiny{\tiny 22300}\fi};
\node[accepting, state] at (15,-6) (n2n0n0) {$p?$\,\ifntiny{\tiny 20674}\fi};
\node[accepting, state] at (15,-2) (n2) {$p?$\,\ifntiny{\tiny 20676}\fi};
\node[accepting, state] at (2,-8) (n0n0n1n0) {$p!$\,\ifntiny{\tiny 20734}\fi};
\node[accepting, state] at (3,-8) (n0n0n1n1) {$p?$\,\ifntiny{\tiny 20729}\fi};
\node[accepting, state] at (13,-6) (n1n0n1) {$p?$\,\ifntiny{\tiny 20958}\fi};
\node[accepting, state] at (7,-12) (n0n1n0n1n1n0) {$p!$\,\ifntiny{\tiny 21793}\fi};
\node[state] at (11,-4) (n1n0) {$\cup$\,\ifntiny{\tiny 22309}\fi};
\node[accepting, state] at (10,-12) (n1n0n0n0n1n1) {$p?$\,\ifntiny{\tiny 20978}\fi};
\node[accepting, state] at (12,-8) (n1n0n1n0) {$p!$\,\ifntiny{\tiny 20957}\fi};
\node[accepting, state] at (13,-10) (n1n0n1n1n0) {$p!$\,\ifntiny{\tiny 20947}\fi};
\node[state] at (1,-6) (n0n0n0) {$p?$\,\ifntiny{\tiny 22298}\fi};
\node[state] at (2,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 22299}\fi};
\node[state] at (6,-4) (n0n1) {$p?$\,\ifntiny{\tiny 22294}\fi};
\node[accepting, state] at (13,-8) (n1n0n1n1) {$p?$\,\ifntiny{\tiny 20948}\fi};
\node[state] at (10,-6) (n1n0n0) {$p?$\,\ifntiny{\tiny 22308}\fi};
\node[state] at (5,-8) (n0n1n0n0) {$p?$\,\ifntiny{\tiny 22292}\fi};
\node[state] at (1,-8) (n0n0n0n1) {$p?$\,\ifntiny{\tiny 22297}\fi};
\node[state] at (9,-8) (n1n0n0n0) {$\cup$\,\ifntiny{\tiny 22307}\fi};
\node[accepting, state] at (7,-8) (n0n1n0n1) {$p?$\,\ifntiny{\tiny 21804}\fi};
\node[accepting, state] at (9,-12) (n1n0n0n0n1n0) {$p!$\,\ifntiny{\tiny 20987}\fi};

\draw[->, thick] (n) edge [near start, left] node {} (n0);
\draw[->, thick] (n) edge [near start, left] node {} (n1);
\draw[->, thick] (n) edge [near start, left] node {} (n2);
\draw[->, thick] (n0) edge [near start, left] node {b} (n0n0);
\draw[->, thick] (n0) edge [near start, left] node {c} (n0n1);
\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] (n0n0n0) edge [near start, left] node {c} (n0n0n0n1);
\draw[->, thick] (n0n0n0n1) edge [near start, right, bend right] node {a} (n0n0);
\draw[->, thick] (n0n0n1) edge [near start, left] node {b} (n0n0n1n0);
\draw[->, thick] (n0n0n1) edge [near start, left] node {c} (n0n0n1n1);
\draw[->, thick] (n0n0n1n0) edge [near start, right, bend right] node {x} (n0n0n1);
\draw[->, thick] (n0n0n1n1) edge [near start, left] node {a} (n0n0n1n1n0);
\draw[->, thick] (n0n0n1n1n0) edge [near start, right, bend right] node {x} (n0n0n1);
\draw[->, thick] (n0n1) edge [near start, left] node {a} (n0n1n0);
\draw[->, thick] (n0n1n0) edge [near start, left] node {} (n0n1n0n0);
\draw[->, thick] (n0n1n0) edge [near start, left] node {} (n0n1n0n1);
\draw[->, thick] (n0n1n0n0) edge [near start, right, bend right] node {b} (n0n1n0);
\draw[->, thick] (n0n1n0n0) edge [near start, right, bend right] node {c} (n0n1);
\draw[->, thick] (n0n1n0n1) edge [near start, left] node {b} (n0n1n0n1n0);
\draw[->, thick] (n0n1n0n1) edge [near start, left] node {c} (n0n1n0n1n1);
\draw[->, thick] (n0n1n0n1n0) edge [near start, right, bend right] node {x} (n0n1n0n1);
\draw[->, thick] (n0n1n0n1n1) edge [near start, left] node {a} (n0n1n0n1n1n0);
\draw[->, thick] (n0n1n0n1n1n0) edge [near start, right, bend right] node {x} (n0n1n0n1);
\draw[->, thick] (n1) edge [near start, left] node {a} (n1n0);
\draw[->, thick] (n1n0) edge [near start, left] node {} (n1n0n0);
\draw[->, thick] (n1n0) edge [near start, left] node {} (n1n0n1);
\draw[->, thick] (n1n0n0) edge [near start, left] node {b} (n1n0n0n0);
\draw[->, thick] (n1n0n0) edge [near start, right, bend right] node {c} (n1);
\draw[->, thick] (n1n0n0n0) edge [near start, right, bend right] node {} (n1n0n0);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n1) edge [near start, left] node {b} (n1n0n0n0n1n0);
\draw[->, thick] (n1n0n0n0n1) edge [near start, left] node {c} (n1n0n0n0n1n1);
\draw[->, thick] (n1n0n0n0n1n0) edge [near start, right, bend right] node {x} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n1n1) edge [near start, left] node {a} (n1n0n0n0n1n1n0);
\draw[->, thick] (n1n0n0n0n1n1n0) edge [near start, right, bend right] node {x} (n1n0n0n0n1);
\draw[->, thick] (n1n0n1) edge [near start, left] node {b} (n1n0n1n0);
\draw[->, thick] (n1n0n1) edge [near start, left] node {c} (n1n0n1n1);
\draw[->, thick] (n1n0n1n0) edge [near start, right, bend right] node {x} (n1n0n1);
\draw[->, thick] (n1n0n1n1) edge [near start, left] node {a} (n1n0n1n1n0);
\draw[->, thick] (n1n0n1n1n0) edge [near start, right, bend right] node {x} (n1n0n1);
\draw[->, thick] (n2) edge [near start, left] node {a} (n2n0);
\draw[->, thick] (n2n0) edge [near start, left] node {x} (n2n0n0);
\draw[->, thick] (n2n0n0) edge [near start, left] node {b} (n2n0n0n0);
\draw[->, thick] (n2n0n0) edge [near start, right, bend right] node {c} (n2);
\draw[->, thick] (n2n0n0n0) edge [near start, right, bend right] node {x} (n2n0n0);

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