\documentclass{article}
\usepackage{a4wide}
\usepackage{adjustbox}
\usepackage{fancyhdr}
\usepackage{tikz}
\usepackage{ifthen}
\usetikzlibrary{automata}
\usepackage{datetime}
\lhead{./certificates/march3testa1-march3testa2/sim-6.tex}
\rhead{10:52:32.959 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[accepting, state] at (42,-10) (n1n1n0n2n0) {$p?$\,\ifntiny{\tiny 1276}\fi};
\node[accepting, state] at (49,-12) (n2n0n0n0n1n0) {$p!$\,\ifntiny{\tiny 29}\fi};
\node[accepting, state] at (12,-6) (n0n0n2) {$p?$\,\ifntiny{\tiny 76}\fi};
\node[accepting, state] at (49,-10) (n2n0n0n0n1) {$p?$\,\ifntiny{\tiny 30}\fi};
\node[state] at (19,-6) (n1n0n0) {$p?$\,\ifntiny{\tiny 3770}\fi};
\node[accepting, state] at (43,-14) (n1n1n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 1274}\fi};
\node[state] at (7,-2) (n0) {$p?$\,\ifntiny{\tiny 3753}\fi};
\node[accepting, state] at (22,-16) (n1n0n0n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 1274}\fi};
\node[state] at (31,-12) (n1n1n0n1n0n0) {$p?$\,\ifntiny{\tiny 3758}\fi};
\node[accepting, state] at (5,-10) (n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 1537}\fi};
\node[accepting, state] at (6,-16) (n0n0n1n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 1534}\fi};
\node[state] at (30,-2) (n1) {$p?$\,\ifntiny{\tiny 3772}\fi};
\node[accepting, state] at (13,-12) (n0n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 73}\fi};
\node[accepting, state] at (36,-16) (n1n1n0n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 1473}\fi};
\node[accepting, state] at (21,-12) (n1n0n0n0n2n0) {$p?$\,\ifntiny{\tiny 1276}\fi};
\node[accepting, state] at (48,-4) (n2n0) {$p?$\,\ifntiny{\tiny 33}\fi};
\node[state] at (4,-8) (n0n0n1n0) {$\cup$\,\ifntiny{\tiny 3750}\fi};
\node[accepting, state] at (46,-10) (n2n0n0n0n0) {$p!$\,\ifntiny{\tiny 23}\fi};
\node[state] at (8,-8) (n0n0n1n1) {$p?$\,\ifntiny{\tiny 3747}\fi};
\node[accepting, state] at (27,-6) (n1n0n1) {$p?$\,\ifntiny{\tiny 1475}\fi};
\node[state] at (22,-4) (n1n0) {$\cup$\,\ifntiny{\tiny 3771}\fi};
\node[state] at (17,-12) (n1n0n0n0n1n1) {$p?$\,\ifntiny{\tiny 3767}\fi};
\node[accepting, state] at (21,-10) (n1n0n0n0n2) {$p?$\,\ifntiny{\tiny 1277}\fi};
\node[state] at (34,-10) (n1n1n0n1n0) {$\cup$\,\ifntiny{\tiny 3759}\fi};
\node[accepting, state] at (43,-12) (n1n1n0n2n0n1) {$p?$\,\ifntiny{\tiny 1275}\fi};
\node[state] at (30,-8) (n1n1n0n0) {$p?$\,\ifntiny{\tiny 3756}\fi};
\node[state] at (15,-10) (n1n0n0n0n0) {$p?$\,\ifntiny{\tiny 3765}\fi};
\node[accepting, state] at (6,-14) (n0n0n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 1535}\fi};
\node[accepting, state] at (27,-8) (n1n0n1n0) {$p?$\,\ifntiny{\tiny 1474}\fi};
\node[state] at (1,-10) (n0n0n1n0n0) {$p?$\,\ifntiny{\tiny 3749}\fi};
\node[accepting, state] at (5,-12) (n0n0n1n0n1n0) {$p?$\,\ifntiny{\tiny 1536}\fi};
\node[accepting, state] at (28,-10) (n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 1473}\fi};
\node[accepting, state] at (22,-14) (n1n0n0n0n2n0n1) {$p?$\,\ifntiny{\tiny 1275}\fi};
\node[accepting, state] at (3,-14) (n0n0n1n0n1n0n0) {$p!$\,\ifntiny{\tiny 1523}\fi};
\node[state] at (35,-8) (n1n1n0n1) {$p?$\,\ifntiny{\tiny 3760}\fi};
\node[initial, state] at (25,0) (n) {$\cup$\,\ifntiny{\tiny 3773}\fi};
\node[accepting, state] at (19,-14) (n1n0n0n0n2n0n0) {$p!$\,\ifntiny{\tiny 1263}\fi};
\node[state] at (0,-6) (n0n0n0) {$p?$\,\ifntiny{\tiny 3745}\fi};
\node[state] at (7,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 3752}\fi};
\node[state] at (17,-10) (n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 3768}\fi};
\node[accepting, state] at (33,-16) (n1n1n0n1n0n1n0n0) {$p!$\,\ifntiny{\tiny 1461}\fi};
\node[accepting, state] at (13,-10) (n0n0n2n0n1) {$p?$\,\ifntiny{\tiny 74}\fi};
\node[accepting, state] at (42,-8) (n1n1n0n2) {$p?$\,\ifntiny{\tiny 1277}\fi};
\node[accepting, state] at (48,-8) (n2n0n0n0) {$p?$\,\ifntiny{\tiny 31}\fi};
\node[accepting, state] at (10,-10) (n0n0n2n0n0) {$p!$\,\ifntiny{\tiny 67}\fi};
\node[state] at (5,-6) (n0n0n1) {$p?$\,\ifntiny{\tiny 3751}\fi};
\node[accepting, state] at (12,-8) (n0n0n2n0) {$p?$\,\ifntiny{\tiny 75}\fi};
\node[accepting, state] at (36,-18) (n1n1n0n1n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 1472}\fi};
\node[state] at (37,-4) (n1n1) {$p?$\,\ifntiny{\tiny 3762}\fi};
\node[accepting, state] at (25,-10) (n1n0n1n0n0) {$p!$\,\ifntiny{\tiny 1461}\fi};
\node[accepting, state] at (28,-12) (n1n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 1472}\fi};
\node[accepting, state] at (35,-12) (n1n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 1475}\fi};
\node[accepting, state] at (48,-6) (n2n0n0) {$p?$\,\ifntiny{\tiny 32}\fi};
\node[accepting, state] at (40,-12) (n1n1n0n2n0n0) {$p!$\,\ifntiny{\tiny 1263}\fi};
\node[accepting, state] at (35,-14) (n1n1n0n1n0n1n0) {$p?$\,\ifntiny{\tiny 1474}\fi};
\node[accepting, state] at (48,-2) (n2) {$p?$\,\ifntiny{\tiny 34}\fi};
\node[state] at (37,-6) (n1n1n0) {$\cup$\,\ifntiny{\tiny 3761}\fi};
\node[state] at (19,-8) (n1n0n0n0) {$\cup$\,\ifntiny{\tiny 3769}\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] (n0n0) edge [near start, left] node {} (n0n0n0);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n1);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n2);
\draw[->, thick] (n0n0n0) edge [near start, right, bend right] node {a} (n0n0);
\draw[->, thick] (n0n0n1) edge [near start, left] node {a} (n0n0n1n0);
\draw[->, thick] (n0n0n1) edge [near start, left] node {b} (n0n0n1n1);
\draw[->, thick] (n0n0n1n0) edge [near start, left] node {} (n0n0n1n0n0);
\draw[->, thick] (n0n0n1n0) edge [near start, left] node {} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n0) edge [near start, right, bend right] node {a} (n0n0);
\draw[->, thick] (n0n0n1n0n1) edge [near start, left] node {a} (n0n0n1n0n1n0);
\draw[->, thick] (n0n0n1n0n1n0) edge [near start, left] node {a} (n0n0n1n0n1n0n0);
\draw[->, thick] (n0n0n1n0n1n0) edge [near start, left] node {b} (n0n0n1n0n1n0n1);
\draw[->, thick] (n0n0n1n0n1n0n0) edge [near start, right, bend right] node {x1} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n1n0n0) edge [near start, right, bend right] node {x2} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n1n0n0) edge [near start, right, bend right] node {x3} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n1n0n1) edge [near start, left] node {a} (n0n0n1n0n1n0n1n0);
\draw[->, thick] (n0n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x3} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n1) edge [near start, left, bend left] node {a} (n0n0);
\draw[->, thick] (n0n0n2) edge [near start, left] node {a} (n0n0n2n0);
\draw[->, thick] (n0n0n2n0) edge [near start, left] node {a} (n0n0n2n0n0);
\draw[->, thick] (n0n0n2n0) edge [near start, left] node {b} (n0n0n2n0n1);
\draw[->, thick] (n0n0n2n0n0) edge [near start, right, bend right] node {x1} (n0n0n2);
\draw[->, thick] (n0n0n2n0n0) edge [near start, right, bend right] node {x2} (n0n0n2);
\draw[->, thick] (n0n0n2n0n0) edge [near start, right, bend right] node {x3} (n0n0n2);
\draw[->, thick] (n0n0n2n0n1) edge [near start, left] node {a} (n0n0n2n0n1n0);
\draw[->, thick] (n0n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n0n0n2);
\draw[->, thick] (n0n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n0n0n2);
\draw[->, thick] (n0n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n0n0n2);
\draw[->, thick] (n1) edge [near start, left] node {a} (n1n0);
\draw[->, thick] (n1) edge [near start, left] node {b} (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, left] node {a} (n1n0n0n0);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {} (n1n0n0n0n0);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {} (n1n0n0n0n2);
\draw[->, thick] (n1n0n0n0n0) edge [near start, right, bend right] node {a} (n1n0n0n0);
\draw[->, thick] (n1n0n0n0n1) edge [near start, right, bend right] node {a} (n1n0);
\draw[->, thick] (n1n0n0n0n1) edge [near start, left] node {b} (n1n0n0n0n1n1);
\draw[->, thick] (n1n0n0n0n1n1) edge [near start, right, bend right] node {a} (n1n0n0n0);
\draw[->, thick] (n1n0n0n0n2) edge [near start, left] node {a} (n1n0n0n0n2n0);
\draw[->, thick] (n1n0n0n0n2n0) edge [near start, left] node {a} (n1n0n0n0n2n0n0);
\draw[->, thick] (n1n0n0n0n2n0) edge [near start, left] node {b} (n1n0n0n0n2n0n1);
\draw[->, thick] (n1n0n0n0n2n0n0) edge [near start, right, bend right] node {x1} (n1n0n0n0n2);
\draw[->, thick] (n1n0n0n0n2n0n0) edge [near start, right, bend right] node {x2} (n1n0n0n0n2);
\draw[->, thick] (n1n0n0n0n2n0n0) edge [near start, right, bend right] node {x3} (n1n0n0n0n2);
\draw[->, thick] (n1n0n0n0n2n0n1) edge [near start, left] node {a} (n1n0n0n0n2n0n1n0);
\draw[->, thick] (n1n0n0n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n1n0n0n0n2);
\draw[->, thick] (n1n0n0n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n1n0n0n0n2);
\draw[->, thick] (n1n0n0n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n1n0n0n0n2);
\draw[->, thick] (n1n0n1) edge [near start, left] node {a} (n1n0n1n0);
\draw[->, thick] (n1n0n1n0) edge [near start, left] node {a} (n1n0n1n0n0);
\draw[->, thick] (n1n0n1n0) edge [near start, left] node {b} (n1n0n1n0n1);
\draw[->, thick] (n1n0n1n0n0) edge [near start, right, bend right] node {x1} (n1n0n1);
\draw[->, thick] (n1n0n1n0n0) edge [near start, right, bend right] node {x2} (n1n0n1);
\draw[->, thick] (n1n0n1n0n0) edge [near start, right, bend right] node {x3} (n1n0n1);
\draw[->, thick] (n1n0n1n0n1) edge [near start, left] node {a} (n1n0n1n0n1n0);
\draw[->, thick] (n1n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n1n0n1);
\draw[->, thick] (n1n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n1n0n1);
\draw[->, thick] (n1n0n1n0n1n0) edge [near start, left, bend left] node {x3} (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] (n1n1n0) edge [near start, left] node {} (n1n1n0n2);
\draw[->, thick] (n1n1n0n0) edge [near start, right, bend right] node {a} (n1n1n0);
\draw[->, thick] (n1n1n0n1) edge [near start, left] node {a} (n1n1n0n1n0);
\draw[->, thick] (n1n1n0n1) edge [near start, right, bend right] node {b} (n1n1);
\draw[->, thick] (n1n1n0n1n0) edge [near start, left] node {} (n1n1n0n1n0n0);
\draw[->, thick] (n1n1n0n1n0) edge [near start, left] node {} (n1n1n0n1n0n1);
\draw[->, thick] (n1n1n0n1n0n0) edge [near start, right, bend right] node {a} (n1n1n0);
\draw[->, thick] (n1n1n0n1n0n1) edge [near start, left] node {a} (n1n1n0n1n0n1n0);
\draw[->, thick] (n1n1n0n1n0n1n0) edge [near start, left] node {a} (n1n1n0n1n0n1n0n0);
\draw[->, thick] (n1n1n0n1n0n1n0) edge [near start, left] node {b} (n1n1n0n1n0n1n0n1);
\draw[->, thick] (n1n1n0n1n0n1n0n0) edge [near start, right, bend right] node {x1} (n1n1n0n1n0n1);
\draw[->, thick] (n1n1n0n1n0n1n0n0) edge [near start, right, bend right] node {x2} (n1n1n0n1n0n1);
\draw[->, thick] (n1n1n0n1n0n1n0n0) edge [near start, right, bend right] node {x3} (n1n1n0n1n0n1);
\draw[->, thick] (n1n1n0n1n0n1n0n1) edge [near start, left] node {a} (n1n1n0n1n0n1n0n1n0);
\draw[->, thick] (n1n1n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n1n1n0n1n0n1);
\draw[->, thick] (n1n1n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n1n1n0n1n0n1);
\draw[->, thick] (n1n1n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x3} (n1n1n0n1n0n1);
\draw[->, thick] (n1n1n0n2) edge [near start, left] node {a} (n1n1n0n2n0);
\draw[->, thick] (n1n1n0n2n0) edge [near start, left] node {a} (n1n1n0n2n0n0);
\draw[->, thick] (n1n1n0n2n0) edge [near start, left] node {b} (n1n1n0n2n0n1);
\draw[->, thick] (n1n1n0n2n0n0) edge [near start, right, bend right] node {x1} (n1n1n0n2);
\draw[->, thick] (n1n1n0n2n0n0) edge [near start, right, bend right] node {x2} (n1n1n0n2);
\draw[->, thick] (n1n1n0n2n0n0) edge [near start, right, bend right] node {x3} (n1n1n0n2);
\draw[->, thick] (n1n1n0n2n0n1) edge [near start, left] node {a} (n1n1n0n2n0n1n0);
\draw[->, thick] (n1n1n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n1n1n0n2);
\draw[->, thick] (n1n1n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n1n1n0n2);
\draw[->, thick] (n1n1n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n1n1n0n2);
\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}
