\documentclass{article}
\usepackage{a4wide}
\usepackage{adjustbox}
\usepackage{fancyhdr}
\usepackage{tikz}
\usepackage{ifthen}
\usetikzlibrary{automata}
\usepackage{datetime}
\lhead{./certificates/smallinnerloop1-innerloop2/sim-52342.tex}
\rhead{09:11:49.095 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 (6,-10) (n0n0n1n1n0) {$p!$\,\ifntiny{\tiny 54347}\fi};
\node[state] at (9,-4) (n1n0) {$\cup$\,\ifntiny{\tiny 54371}\fi};
\node[accepting, state] at (13,-10) (n1n1n0n1n0) {$p!$\,\ifntiny{\tiny 54320}\fi};
\node[state] at (12,-8) (n1n1n0n0) {$p?$\,\ifntiny{\tiny 54376}\fi};
\node[state] at (12,-10) (n1n1n0n0n1) {$p?$\,\ifntiny{\tiny 54375}\fi};
\node[accepting, state] at (10,-8) (n1n0n1n1) {$p?$\,\ifntiny{\tiny 54333}\fi};
\node[accepting, state] at (3,-12) (n0n0n0n0n1n1) {$p?$\,\ifntiny{\tiny 54291}\fi};
\node[state] at (3,-2) (n0) {$p?$\,\ifntiny{\tiny 54366}\fi};
\node[accepting, state] at (14,-10) (n1n1n0n1n1) {$p?$\,\ifntiny{\tiny 54315}\fi};
\node[accepting, state] at (14,-12) (n1n1n0n1n1n0) {$p!$\,\ifntiny{\tiny 54314}\fi};
\node[accepting, state] at (3,-10) (n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 54299}\fi};
\node[state] at (11,-2) (n1) {$p?$\,\ifntiny{\tiny 54379}\fi};
\node[accepting, state] at (5,-8) (n0n0n1n0) {$p!$\,\ifntiny{\tiny 54351}\fi};
\node[accepting, state] at (6,-8) (n0n0n1n1) {$p?$\,\ifntiny{\tiny 54348}\fi};
\node[accepting, state] at (10,-6) (n1n0n1) {$p?$\,\ifntiny{\tiny 54339}\fi};
\node[accepting, state] at (2,-12) (n0n0n0n0n1n0) {$p!$\,\ifntiny{\tiny 54298}\fi};
\node[accepting, state] at (3,-14) (n0n0n0n0n1n1n0) {$p!$\,\ifntiny{\tiny 54290}\fi};
\node[accepting, state] at (9,-8) (n1n0n1n0) {$p!$\,\ifntiny{\tiny 54338}\fi};
\node[accepting, state] at (10,-10) (n1n0n1n1n0) {$p!$\,\ifntiny{\tiny 54332}\fi};
\node[accepting, state] at (14,-8) (n1n1n0n1) {$p?$\,\ifntiny{\tiny 54321}\fi};
\node[initial, state] at (7,0) (n) {$\cup$\,\ifntiny{\tiny 54380}\fi};
\node[state] at (1,-10) (n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 54360}\fi};
\node[state] at (2,-8) (n0n0n0n0) {$\cup$\,\ifntiny{\tiny 54361}\fi};
\node[state] at (2,-6) (n0n0n0) {$p?$\,\ifntiny{\tiny 54364}\fi};
\node[state] at (3,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 54365}\fi};
\node[state] at (8,-8) (n1n0n0n1) {$p?$\,\ifntiny{\tiny 54369}\fi};
\node[accepting, state] at (6,-6) (n0n0n1) {$p?$\,\ifntiny{\tiny 54352}\fi};
\node[state] at (13,-4) (n1n1) {$p?$\,\ifntiny{\tiny 54378}\fi};
\node[state] at (8,-6) (n1n0n0) {$p?$\,\ifntiny{\tiny 54370}\fi};
\node[state] at (4,-8) (n0n0n0n1) {$p?$\,\ifntiny{\tiny 54363}\fi};
\node[state] at (13,-6) (n1n1n0) {$\cup$\,\ifntiny{\tiny 54377}\fi};
\node[state] at (1,-12) (n0n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 54359}\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 {a} (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, left] node {b} (n0n0n0n0);
\draw[->, thick] (n0n0n0) edge [near start, left] node {c} (n0n0n0n1);
\draw[->, thick] (n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0n0) edge [near start, right, bend right] node {b} (n0n0n0n0);
\draw[->, thick] (n0n0n0n0n0) edge [near start, left] node {c} (n0n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0n0n1) edge [near start, right, bend right] node {a} (n0n0);
\draw[->, thick] (n0n0n0n0n1) edge [near start, left] node {b} (n0n0n0n0n1n0);
\draw[->, thick] (n0n0n0n0n1) edge [near start, left] node {c} (n0n0n0n0n1n1);
\draw[->, thick] (n0n0n0n0n1n0) edge [near start, right, bend right] node {x} (n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0n1n1) edge [near start, left] node {a} (n0n0n0n0n1n1n0);
\draw[->, thick] (n0n0n0n0n1n1n0) edge [near start, right, bend right] node {x} (n0n0n0n0n1);
\draw[->, thick] (n0n0n0n1) edge [near start, left, bend left] 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] (n1) edge [near start, left] node {b} (n1n0);
\draw[->, thick] (n1) edge [near start, left] node {c} (n1n1);
\draw[->, thick] (n1n0) edge [near start, left] node {} (n1n0n0);
\draw[->, thick] (n1n0) edge [near start, left] node {} (n1n0n1);
\draw[->, thick] (n1n0n0) edge [near start, right, bend right] node {b} (n1n0);
\draw[->, thick] (n1n0n0) edge [near start, left] node {c} (n1n0n0n1);
\draw[->, thick] (n1n0n0n1) edge [near start, right, bend right] node {a} (n1n0);
\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] (n1n1) edge [near start, left] node {a} (n1n1n0);
\draw[->, thick] (n1n1n0) edge [near start, left] node {} (n1n1n0n0);
\draw[->, thick] (n1n1n0) edge [near start, left] node {} (n1n1n0n1);
\draw[->, thick] (n1n1n0n0) edge [near start, right, bend right] node {b} (n1n1n0);
\draw[->, thick] (n1n1n0n0) edge [near start, left] node {c} (n1n1n0n0n1);
\draw[->, thick] (n1n1n0n0n1) edge [near start, right, bend right] node {a} (n1n1n0);
\draw[->, thick] (n1n1n0n1) edge [near start, left] node {b} (n1n1n0n1n0);
\draw[->, thick] (n1n1n0n1) edge [near start, left] node {c} (n1n1n0n1n1);
\draw[->, thick] (n1n1n0n1n0) edge [near start, right, bend right] node {x} (n1n1n0n1);
\draw[->, thick] (n1n1n0n1n1) edge [near start, left] node {a} (n1n1n0n1n1n0);
\draw[->, thick] (n1n1n0n1n1n0) edge [near start, right, bend right] node {x} (n1n1n0n1);

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