\documentclass{article}
\usepackage{a4wide}
\usepackage{adjustbox}
\usepackage{fancyhdr}
\usepackage{tikz}
\usepackage{ifthen}
\usetikzlibrary{automata}
\usepackage{datetime}
\lhead{./certificates/march3testa1-march3testa2/sim-1724.tex}
\rhead{10:45:40.379 on 2025-03-31}
\fancyfoot{}
\begin{document}
\newif\ifntiny
%\ntinyfalse
\ntinytrue
\thispagestyle{fancy}
\begin{center}
\maxsizebox{!}{0.475\textheight}{
\minsizebox{\textwidth}{!}{
\begin{tabular}{@{}c@{}}
% node count = 58
\begin{tikzpicture}[rotate = 0]
%\begin{tikzpicture}[rotate = 90]
\tikzset{initial text=$ $}

\node[initial, state] at (25,0) (n) {$\cup$\,\ifntiny{\tiny 5425}\fi};
\node[accepting, state] at (27,-8) (n0n1n0n2) {$p?$\,\ifntiny{\tiny 3027}\fi};
\node[accepting, state] at (28,-12) (n0n1n0n2n0n1) {$p?$\,\ifntiny{\tiny 3025}\fi};
\node[accepting, state] at (40,-10) (n1n0n2n0n0) {$p!$\,\ifntiny{\tiny 1785}\fi};
\node[accepting, state] at (48,-8) (n2n0n0n0) {$p?$\,\ifntiny{\tiny 1749}\fi};
\node[accepting, state] at (33,-14) (n1n0n1n0n1n0n0) {$p!$\,\ifntiny{\tiny 1767}\fi};
\node[accepting, state] at (36,-16) (n1n0n1n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 1773}\fi};
\node[state] at (15,-2) (n0) {$p?$\,\ifntiny{\tiny 5414}\fi};
\node[accepting, state] at (20,-18) (n0n1n0n0n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 3187}\fi};
\node[accepting, state] at (7,-14) (n0n0n0n0n2n0n1) {$p?$\,\ifntiny{\tiny 3025}\fi};
\node[state] at (37,-2) (n1) {$p?$\,\ifntiny{\tiny 5424}\fi};
\node[state] at (2,-10) (n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 5401}\fi};
\node[accepting, state] at (13,-10) (n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 3188}\fi};
\node[accepting, state] at (19,-12) (n0n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 3190}\fi};
\node[accepting, state] at (48,-4) (n2n0) {$p?$\,\ifntiny{\tiny 1751}\fi};
\node[accepting, state] at (7,-16) (n0n0n0n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 3024}\fi};
\node[accepting, state] at (49,-12) (n2n0n0n0n1n0) {$p!$\,\ifntiny{\tiny 1747}\fi};
\node[accepting, state] at (12,-8) (n0n0n1n0) {$p?$\,\ifntiny{\tiny 3189}\fi};
\node[accepting, state] at (46,-10) (n2n0n0n0n0) {$p!$\,\ifntiny{\tiny 1741}\fi};
\node[state] at (35,-6) (n1n0n1) {$p?$\,\ifntiny{\tiny 5422}\fi};
\node[state] at (37,-4) (n1n0) {$\cup$\,\ifntiny{\tiny 5423}\fi};
\node[accepting, state] at (43,-12) (n1n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 1791}\fi};
\node[state] at (34,-8) (n1n0n1n0) {$\cup$\,\ifntiny{\tiny 5419}\fi};
\node[accepting, state] at (10,-10) (n0n0n1n0n0) {$p!$\,\ifntiny{\tiny 3176}\fi};
\node[accepting, state] at (27,-10) (n0n1n0n2n0) {$p?$\,\ifntiny{\tiny 3026}\fi};
\node[accepting, state] at (13,-12) (n0n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 3187}\fi};
\node[accepting, state] at (35,-10) (n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 1776}\fi};
\node[accepting, state] at (28,-14) (n0n1n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 3024}\fi};
\node[state] at (22,-6) (n0n1n0) {$\cup$\,\ifntiny{\tiny 5412}\fi};
\node[state] at (15,-12) (n0n1n0n0n0n0) {$p?$\,\ifntiny{\tiny 5408}\fi};
\node[accepting, state] at (49,-10) (n2n0n0n0n1) {$p?$\,\ifntiny{\tiny 1748}\fi};
\node[accepting, state] at (36,-14) (n1n0n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 1774}\fi};
\node[state] at (1,-10) (n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 5400}\fi};
\node[state] at (4,-8) (n0n0n0n0) {$\cup$\,\ifntiny{\tiny 5402}\fi};
\node[state] at (4,-6) (n0n0n0) {$p?$\,\ifntiny{\tiny 5403}\fi};
\node[state] at (7,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 5404}\fi};
\node[state] at (22,-4) (n0n1) {$p?$\,\ifntiny{\tiny 5413}\fi};
\node[state] at (38,-8) (n1n0n1n1) {$p?$\,\ifntiny{\tiny 5421}\fi};
\node[accepting, state] at (19,-14) (n0n1n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 3189}\fi};
\node[accepting, state] at (43,-10) (n1n0n2n0n1) {$p?$\,\ifntiny{\tiny 1792}\fi};
\node[accepting, state] at (17,-16) (n0n1n0n0n0n1n0n0) {$p!$\,\ifntiny{\tiny 3176}\fi};
\node[accepting, state] at (6,-12) (n0n0n0n0n2n0) {$p?$\,\ifntiny{\tiny 3026}\fi};
\node[accepting, state] at (12,-6) (n0n0n1) {$p?$\,\ifntiny{\tiny 3190}\fi};
\node[accepting, state] at (25,-12) (n0n1n0n2n0n0) {$p!$\,\ifntiny{\tiny 3013}\fi};
\node[state] at (30,-6) (n1n0n0) {$p?$\,\ifntiny{\tiny 5416}\fi};
\node[state] at (19,-8) (n0n1n0n0) {$p?$\,\ifntiny{\tiny 5410}\fi};
\node[accepting, state] at (20,-16) (n0n1n0n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 3188}\fi};
\node[state] at (31,-10) (n1n0n1n0n0) {$p?$\,\ifntiny{\tiny 5418}\fi};
\node[accepting, state] at (6,-10) (n0n0n0n0n2) {$p?$\,\ifntiny{\tiny 3027}\fi};
\node[accepting, state] at (35,-12) (n1n0n1n0n1n0) {$p?$\,\ifntiny{\tiny 1775}\fi};
\node[accepting, state] at (4,-14) (n0n0n0n0n2n0n0) {$p!$\,\ifntiny{\tiny 3013}\fi};
\node[accepting, state] at (48,-6) (n2n0n0) {$p?$\,\ifntiny{\tiny 1750}\fi};
\node[accepting, state] at (42,-6) (n1n0n2) {$p?$\,\ifntiny{\tiny 1794}\fi};
\node[accepting, state] at (48,-2) (n2) {$p?$\,\ifntiny{\tiny 1752}\fi};
\node[state] at (18,-10) (n0n1n0n0n0) {$\cup$\,\ifntiny{\tiny 5409}\fi};
\node[accepting, state] at (42,-8) (n1n0n2n0) {$p?$\,\ifntiny{\tiny 1793}\fi};
\node[state] at (1,-12) (n0n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 5399}\fi};
\node[state] at (23,-8) (n0n1n0n1) {$p?$\,\ifntiny{\tiny 5411}\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 {a} (n0n0);
\draw[->, thick] (n0) edge [near start, left] node {b} (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, left] node {a} (n0n0n0n0);
\draw[->, thick] (n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n0) edge [near start, right, bend right] node {a} (n0n0);
\draw[->, thick] (n0n0n0n0n0) edge [near start, left] node {b} (n0n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0n0n1) edge [near start, right, bend right] node {a} (n0n0n0n0);
\draw[->, thick] (n0n0n0n0n1) edge [near start, right, bend right] node {a} (n0n0n0n0);
\draw[->, thick] (n0n0n0n0n2) edge [near start, left] node {a} (n0n0n0n0n2n0);
\draw[->, thick] (n0n0n0n0n2n0) edge [near start, left] node {a} (n0n0n0n0n2n0n0);
\draw[->, thick] (n0n0n0n0n2n0) edge [near start, left] node {b} (n0n0n0n0n2n0n1);
\draw[->, thick] (n0n0n0n0n2n0n0) edge [near start, right, bend right] node {x1} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n2n0n0) edge [near start, right, bend right] node {x2} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n2n0n0) edge [near start, right, bend right] node {x3} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n2n0n1) edge [near start, left] node {a} (n0n0n0n0n2n0n1n0);
\draw[->, thick] (n0n0n0n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n0n0n0n0n2);
\draw[->, thick] (n0n0n1) edge [near start, left] node {a} (n0n0n1n0);
\draw[->, thick] (n0n0n1n0) edge [near start, left] node {a} (n0n0n1n0n0);
\draw[->, thick] (n0n0n1n0) edge [near start, left] node {b} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n0) edge [near start, right, bend right] node {x1} (n0n0n1);
\draw[->, thick] (n0n0n1n0n0) edge [near start, right, bend right] node {x2} (n0n0n1);
\draw[->, thick] (n0n0n1n0n0) edge [near start, right, bend right] node {x3} (n0n0n1);
\draw[->, thick] (n0n0n1n0n1) edge [near start, left] node {a} (n0n0n1n0n1n0);
\draw[->, thick] (n0n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n0n0n1);
\draw[->, thick] (n0n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n0n0n1);
\draw[->, thick] (n0n0n1n0n1n0) edge [near start, left, bend left] node {x3} (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] (n0n1n0) edge [near start, left] node {} (n0n1n0n2);
\draw[->, thick] (n0n1n0n0) edge [near start, left] node {a} (n0n1n0n0n0);
\draw[->, thick] (n0n1n0n0) edge [near start, right, bend right] node {b} (n0n1);
\draw[->, thick] (n0n1n0n0n0) edge [near start, left] node {} (n0n1n0n0n0n0);
\draw[->, thick] (n0n1n0n0n0) edge [near start, left] node {} (n0n1n0n0n0n1);
\draw[->, thick] (n0n1n0n0n0n0) edge [near start, right, bend right] node {a} (n0n1n0);
\draw[->, thick] (n0n1n0n0n0n1) edge [near start, left] node {a} (n0n1n0n0n0n1n0);
\draw[->, thick] (n0n1n0n0n0n1n0) edge [near start, left] node {a} (n0n1n0n0n0n1n0n0);
\draw[->, thick] (n0n1n0n0n0n1n0) edge [near start, left] node {b} (n0n1n0n0n0n1n0n1);
\draw[->, thick] (n0n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x1} (n0n1n0n0n0n1);
\draw[->, thick] (n0n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x2} (n0n1n0n0n0n1);
\draw[->, thick] (n0n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x3} (n0n1n0n0n0n1);
\draw[->, thick] (n0n1n0n0n0n1n0n1) edge [near start, left] node {a} (n0n1n0n0n0n1n0n1n0);
\draw[->, thick] (n0n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n0n1n0n0n0n1);
\draw[->, thick] (n0n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n0n1n0n0n0n1);
\draw[->, thick] (n0n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x3} (n0n1n0n0n0n1);
\draw[->, thick] (n0n1n0n1) edge [near start, left, bend left] node {a} (n0n1n0);
\draw[->, thick] (n0n1n0n2) edge [near start, left] node {a} (n0n1n0n2n0);
\draw[->, thick] (n0n1n0n2n0) edge [near start, left] node {a} (n0n1n0n2n0n0);
\draw[->, thick] (n0n1n0n2n0) edge [near start, left] node {b} (n0n1n0n2n0n1);
\draw[->, thick] (n0n1n0n2n0n0) edge [near start, right, bend right] node {x1} (n0n1n0n2);
\draw[->, thick] (n0n1n0n2n0n0) edge [near start, right, bend right] node {x2} (n0n1n0n2);
\draw[->, thick] (n0n1n0n2n0n0) edge [near start, right, bend right] node {x3} (n0n1n0n2);
\draw[->, thick] (n0n1n0n2n0n1) edge [near start, left] node {a} (n0n1n0n2n0n1n0);
\draw[->, thick] (n0n1n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n0n1n0n2);
\draw[->, thick] (n0n1n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n0n1n0n2);
\draw[->, thick] (n0n1n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n0n1n0n2);
\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] (n1n0) edge [near start, left] node {} (n1n0n2);
\draw[->, thick] (n1n0n0) edge [near start, right, bend right] node {a} (n1n0);
\draw[->, thick] (n1n0n1) edge [near start, left] node {a} (n1n0n1n0);
\draw[->, thick] (n1n0n1) edge [near start, left] node {b} (n1n0n1n1);
\draw[->, thick] (n1n0n1n0) edge [near start, left] node {} (n1n0n1n0n0);
\draw[->, thick] (n1n0n1n0) edge [near start, left] node {} (n1n0n1n0n1);
\draw[->, thick] (n1n0n1n0n0) edge [near start, right, bend right] node {a} (n1n0);
\draw[->, thick] (n1n0n1n0n1) edge [near start, left] node {a} (n1n0n1n0n1n0);
\draw[->, thick] (n1n0n1n0n1n0) edge [near start, left] node {a} (n1n0n1n0n1n0n0);
\draw[->, thick] (n1n0n1n0n1n0) edge [near start, left] node {b} (n1n0n1n0n1n0n1);
\draw[->, thick] (n1n0n1n0n1n0n0) edge [near start, right, bend right] node {x1} (n1n0n1n0n1);
\draw[->, thick] (n1n0n1n0n1n0n0) edge [near start, right, bend right] node {x2} (n1n0n1n0n1);
\draw[->, thick] (n1n0n1n0n1n0n0) edge [near start, right, bend right] node {x3} (n1n0n1n0n1);
\draw[->, thick] (n1n0n1n0n1n0n1) edge [near start, left] node {a} (n1n0n1n0n1n0n1n0);
\draw[->, thick] (n1n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n1n0n1n0n1);
\draw[->, thick] (n1n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n1n0n1n0n1);
\draw[->, thick] (n1n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x3} (n1n0n1n0n1);
\draw[->, thick] (n1n0n1n1) edge [near start, left, bend left] node {a} (n1n0);
\draw[->, thick] (n1n0n2) edge [near start, left] node {a} (n1n0n2n0);
\draw[->, thick] (n1n0n2n0) edge [near start, left] node {a} (n1n0n2n0n0);
\draw[->, thick] (n1n0n2n0) edge [near start, left] node {b} (n1n0n2n0n1);
\draw[->, thick] (n1n0n2n0n0) edge [near start, right, bend right] node {x1} (n1n0n2);
\draw[->, thick] (n1n0n2n0n0) edge [near start, right, bend right] node {x2} (n1n0n2);
\draw[->, thick] (n1n0n2n0n0) edge [near start, right, bend right] node {x3} (n1n0n2);
\draw[->, thick] (n1n0n2n0n1) edge [near start, left] node {a} (n1n0n2n0n1n0);
\draw[->, thick] (n1n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n1n0n2);
\draw[->, thick] (n1n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n1n0n2);
\draw[->, thick] (n1n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n1n0n2);
\draw[->, thick] (n2) edge [near start, left] node {a} (n2n0);
\draw[->, thick] (n2n0) edge [near start, left] node {a} (n2n0n0);
\draw[->, thick] (n2n0n0) edge [near start, left] node {a} (n2n0n0n0);
\draw[->, thick] (n2n0n0n0) edge [near start, left] node {a} (n2n0n0n0n0);
\draw[->, thick] (n2n0n0n0) edge [near start, left] node {b} (n2n0n0n0n1);
\draw[->, thick] (n2n0n0n0n0) edge [near start, right, bend right] node {x1} (n2n0n0);
\draw[->, thick] (n2n0n0n0n0) edge [near start, right, bend right] node {x2} (n2n0n0);
\draw[->, thick] (n2n0n0n0n0) edge [near start, right, bend right] node {x3} (n2n0n0);
\draw[->, thick] (n2n0n0n0n1) edge [near start, left] node {a} (n2n0n0n0n1n0);
\draw[->, thick] (n2n0n0n0n1n0) edge [near start, left, bend left] node {x1} (n2n0n0);
\draw[->, thick] (n2n0n0n0n1n0) edge [near start, left, bend left] node {x2} (n2n0n0);
\draw[->, thick] (n2n0n0n0n1n0) edge [near start, left, bend left] node {x3} (n2n0n0);

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