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

\node[state] at (5,-28) (n0n0n0n0n0n0n0n0n0n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 60600}\fi};
\node[accepting, state] at (12,-38) (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0n0) {$p?$\,\ifntiny{\tiny 60567}\fi};
\node[state] at (9,-12) (n0n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 60618}\fi};
\node[state] at (12,-22) (n1n0n0n0n0n0n0n0n0n0n0) {$\cup$\,\ifntiny{\tiny 60640}\fi};
\node[state] at (13,-10) (n1n0n0n0n0) {$\cup$\,\ifntiny{\tiny 60648}\fi};
\node[state] at (14,-24) (n1n0n0n0n0n0n0n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 60639}\fi};
\node[state] at (4,-28) (n0n0n0n0n0n0n0n0n0n1n0n1n0n0) {$p?$\,\ifntiny{\tiny 60599}\fi};
\node[accepting, state] at (12,-46) (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0n0n0n0n0n0) {$p!$\,\ifntiny{\tiny 60563}\fi};
\node[state] at (13,-16) (n1n0n0n0n0n0n0n0) {$\cup$\,\ifntiny{\tiny 60644}\fi};
\node[state] at (5,-2) (n0) {$p?$\,\ifntiny{\tiny 60623}\fi};
\node[state] at (16,-12) (n1n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 60647}\fi};
\node[state] at (12,-20) (n1n0n0n0n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 60641}\fi};
\node[accepting, state] at (12,-36) (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0) {$p?$\,\ifntiny{\tiny 60568}\fi};
\node[state] at (14,-2) (n1) {$p?$\,\ifntiny{\tiny 60653}\fi};
\node[accepting, state] at (12,-34) (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 60569}\fi};
\node[state] at (13,-12) (n1n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 60646}\fi};
\node[accepting, state] at (3,-40) (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 60508}\fi};
\node[state] at (17,-6) (n1n0n1) {$p?$\,\ifntiny{\tiny 60651}\fi};
\node[state] at (14,-4) (n1n0) {$\cup$\,\ifntiny{\tiny 60652}\fi};
\node[state] at (12,-26) (n1n0n0n0n0n0n0n0n0n0n0n0n0) {$\cup$\,\ifntiny{\tiny 60637}\fi};
\node[state] at (9,-10) (n0n0n0n1n0) {$\cup$\,\ifntiny{\tiny 60619}\fi};
\node[state] at (11,-28) (n1n0n0n0n0n0n0n0n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 60635}\fi};
\node[state] at (12,-18) (n1n0n0n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 60642}\fi};
\node[accepting, state] at (3,-42) (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0n0n0n0n0n0) {$p!$\,\ifntiny{\tiny 60507}\fi};
\node[accepting, state] at (12,-42) (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 60565}\fi};
\node[accepting, state] at (3,-32) (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0) {$p?$\,\ifntiny{\tiny 60512}\fi};
\node[initial, state] at (9,0) (n) {$\cup$\,\ifntiny{\tiny 60654}\fi};
\node[state] at (7,-14) (n0n0n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 60612}\fi};
\node[accepting, state] at (3,-30) (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 60513}\fi};
\node[state] at (13,-28) (n1n0n0n0n0n0n0n0n0n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 60636}\fi};
\node[accepting, state] at (12,-40) (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0n0n0) {$p?$\,\ifntiny{\tiny 60566}\fi};
\node[state] at (2,-26) (n0n0n0n0n0n0n0n0n0n1n0n0n0) {$\cup$\,\ifntiny{\tiny 60596}\fi};
\node[accepting, state] at (3,-36) (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0n0n0) {$p?$\,\ifntiny{\tiny 60510}\fi};
\node[state] at (11,-30) (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0) {$\cup$\,\ifntiny{\tiny 60634}\fi};
\node[accepting, state] at (3,-34) (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0n0) {$p?$\,\ifntiny{\tiny 60511}\fi};
\node[state] at (0,-20) (n0n0n0n0n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 60592}\fi};
\node[state] at (3,-18) (n0n0n0n0n0n0n0n0n0) {$\cup$\,\ifntiny{\tiny 60605}\fi};
\node[state] at (3,-16) (n0n0n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 60606}\fi};
\node[state] at (3,-14) (n0n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 60607}\fi};
\node[state] at (4,-12) (n0n0n0n0n0n0) {$\cup$\,\ifntiny{\tiny 60613}\fi};
\node[state] at (4,-10) (n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 60614}\fi};
\node[state] at (4,-8) (n0n0n0n0) {$p?$\,\ifntiny{\tiny 60615}\fi};
\node[state] at (5,-6) (n0n0n0) {$\cup$\,\ifntiny{\tiny 60621}\fi};
\node[state] at (5,-4) (n0n0) {$p?$\,\ifntiny{\tiny 60622}\fi};
\node[accepting, state] at (3,-38) (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 60509}\fi};
\node[state] at (2,-24) (n0n0n0n0n0n0n0n0n0n1n0n0) {$p?$\,\ifntiny{\tiny 60597}\fi};
\node[accepting, state] at (12,-32) (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 60570}\fi};
\node[state] at (3,-22) (n0n0n0n0n0n0n0n0n0n1n0) {$\cup$\,\ifntiny{\tiny 60603}\fi};
\node[state] at (1,-28) (n0n0n0n0n0n0n0n0n0n1n0n0n0n0) {$p?$\,\ifntiny{\tiny 60595}\fi};
\node[accepting, state] at (3,-28) (n0n0n0n0n0n0n0n0n0n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 60514}\fi};
\node[state] at (13,-6) (n1n0n0) {$p?$\,\ifntiny{\tiny 60650}\fi};
\node[state] at (9,-8) (n0n0n0n1) {$p?$\,\ifntiny{\tiny 60620}\fi};
\node[accepting, state] at (12,-44) (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 60564}\fi};
\node[state] at (3,-20) (n0n0n0n0n0n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 60604}\fi};
\node[state] at (13,-14) (n1n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 60645}\fi};
\node[state] at (6,-18) (n0n0n0n0n0n0n1n0n0) {$p?$\,\ifntiny{\tiny 60609}\fi};
\node[state] at (5,-26) (n0n0n0n0n0n0n0n0n0n1n0n1n0) {$\cup$\,\ifntiny{\tiny 60601}\fi};
\node[state] at (12,-24) (n1n0n0n0n0n0n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 60638}\fi};
\node[state] at (10,-32) (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 60633}\fi};
\node[state] at (15,-18) (n1n0n0n0n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 60643}\fi};
\node[state] at (7,-16) (n0n0n0n0n0n0n1n0) {$\cup$\,\ifntiny{\tiny 60611}\fi};
\node[state] at (5,-24) (n0n0n0n0n0n0n0n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 60602}\fi};
\node[state] at (8,-12) (n0n0n0n1n0n0) {$p?$\,\ifntiny{\tiny 60617}\fi};
\node[state] at (13,-8) (n1n0n0n0) {$p?$\,\ifntiny{\tiny 60649}\fi};
\node[state] at (7,-18) (n0n0n0n0n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 60610}\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 {a} (n0n0n0);
\draw[->, thick] (n0n0n0) edge [near start, left] node {} (n0n0n0n0);
\draw[->, thick] (n0n0n0) edge [near start, left] node {} (n0n0n0n1);
\draw[->, thick] (n0n0n0n0) edge [near start, left] node {b} (n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0n0) edge [near start, left] node {a} (n0n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0n0n0n0) edge [near start, left] node {b} (n0n0n0n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0) edge [near start, left] node {a} (n0n0n0n0n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n0n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n0n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n0) edge [near start, right, bend right] node {b} (n0n0n0n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1) edge [near start, left] node {a} (n0n0n0n0n0n0n0n0n0n1n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0) edge [near start, left] node {} (n0n0n0n0n0n0n0n0n0n1n0n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0) edge [near start, left] node {} (n0n0n0n0n0n0n0n0n0n1n0n1);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n0) edge [near start, left] node {b} (n0n0n0n0n0n0n0n0n0n1n0n0n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n0n0) edge [near start, left] node {} (n0n0n0n0n0n0n0n0n0n1n0n0n0n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n0n0) edge [near start, left] node {} (n0n0n0n0n0n0n0n0n0n1n0n0n0n1);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n0n0n0) edge [near start, right, bend right] node {a} (n0n0n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n0n0n1) edge [near start, left] node {a} (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0) edge [near start, left] node {b} (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0) edge [near start, left] node {a} (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0n0) edge [near start, left] node {b} (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0n0n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0n0n0) edge [near start, left] node {a} (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0n0n0n0) edge [near start, left] node {a} (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0n0n0n0n0) edge [near start, left] node {b} (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0n0n0n0n0n0) edge [near start, right, bend right] node {x} (n0n0n0n0n0n0n0n0n0n1n0n0n0n1);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n0n0n1n0n0n0n0n0n0n0) edge [near start, right, bend right] node {y} (n0n0n0n0n0n0n0n0n0n1n0n0n0n1);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n1) edge [near start, left] node {a} (n0n0n0n0n0n0n0n0n0n1n0n1n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n1n0) edge [near start, left] node {} (n0n0n0n0n0n0n0n0n0n1n0n1n0n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n1n0) edge [near start, left] node {} (n0n0n0n0n0n0n0n0n0n1n0n1n0n1);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n1n0n0) edge [near start, right, bend right] node {b} (n0n0);
\draw[->, thick] (n0n0n0n0n0n0n0n0n0n1n0n1n0n1) edge [near start, right, bend right] node {a} (n0n0n0n0n0n0n0n0n0n1n0n1n0);
\draw[->, thick] (n0n0n0n0n0n0n1) edge [near start, left] node {a} (n0n0n0n0n0n0n1n0);
\draw[->, thick] (n0n0n0n0n0n0n1n0) edge [near start, left] node {} (n0n0n0n0n0n0n1n0n0);
\draw[->, thick] (n0n0n0n0n0n0n1n0) edge [near start, left] node {} (n0n0n0n0n0n0n1n0n1);
\draw[->, thick] (n0n0n0n0n0n0n1n0n0) edge [near start, left, bend left] node {b} (n0n0);
\draw[->, thick] (n0n0n0n0n0n0n1n0n1) edge [near start, right, bend right] node {a} (n0n0n0n0n0n0n1n0);
\draw[->, thick] (n0n0n0n1) edge [near start, left] node {a} (n0n0n0n1n0);
\draw[->, thick] (n0n0n0n1n0) edge [near start, left] node {} (n0n0n0n1n0n0);
\draw[->, thick] (n0n0n0n1n0) edge [near start, left] node {} (n0n0n0n1n0n1);
\draw[->, thick] (n0n0n0n1n0n0) edge [near start, left, bend left] node {b} (n0n0);
\draw[->, thick] (n0n0n0n1n0n1) edge [near start, right, bend right] node {a} (n0n0n0n1n0);
\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] (n1n0n0n0) edge [near start, left] node {a} (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, left] node {b} (n1n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0) edge [near start, left] node {a} (n1n0n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0) edge [near start, left] node {} (n1n0n0n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0) edge [near start, left] node {} (n1n0n0n0n0n0n0n0n1);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0) edge [near start, left] node {b} (n1n0n0n0n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0) edge [near start, left] node {a} (n1n0n0n0n0n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0) edge [near start, left] node {} (n1n0n0n0n0n0n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0) edge [near start, left] node {} (n1n0n0n0n0n0n0n0n0n0n0n1);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0) edge [near start, left] node {a} (n1n0n0n0n0n0n0n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0n0) edge [near start, left] node {} (n1n0n0n0n0n0n0n0n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0n0) edge [near start, left] node {} (n1n0n0n0n0n0n0n0n0n0n0n0n0n1);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0n0n0) edge [near start, left] node {b} (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0) edge [near start, left] node {} (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0) edge [near start, left] node {} (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n0) edge [near start, right, bend right] node {a} (n1n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1) edge [near start, left] node {a} (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0) edge [near start, left] node {b} (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0) edge [near start, left] node {a} (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0n0) edge [near start, left] node {b} (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0n0n0) edge [near start, left] node {a} (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0n0n0n0) edge [near start, left] node {a} (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0n0n0n0n0) edge [near start, left] node {b} (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0n0n0n0n0n0) edge [near start, right, bend right] node {x} (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1n0n0n0n0n0n0n0) edge [near start, right, bend right] node {y} (n1n0n0n0n0n0n0n0n0n0n0n0n0n0n0n1);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n0n0n1) edge [near start, right, bend right] node {a} (n1n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n0n0n0n1) edge [near start, left, bend left] node {b} (n1n0n0n0n0n0n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n0n0n0n1) edge [near start, left, bend left] node {a} (n1n0);
\draw[->, thick] (n1n0n0n0n0n1) edge [near start, left, bend left] node {a} (n1n0);
\draw[->, thick] (n1n0n1) edge [near start, left, bend left] node {a} (n1n0);

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