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

\node[state] at (9,-12) (n1n0n0n1n0n0) {$\cup$\,\ifntiny{\tiny 13991}\fi};
\node[accepting, state] at (11,-12) (n1n0n0n2n0n0) {$p?$\,\ifntiny{\tiny 13935}\fi};
\node[accepting, state] at (5,-14) (n0n0n1n0n0n2n1) {$p!$\,\ifntiny{\tiny 13838}\fi};
\node[accepting, state] at (5,-22) (n0n0n1n0n0n2n1n0n0n0n0) {$p!$\,\ifntiny{\tiny 13834}\fi};
\node[state] at (3,-2) (n0) {$p?$\,\ifntiny{\tiny 13971}\fi};
\node[accepting, state] at (5,-12) (n0n0n1n0n0n2) {$p!$\,\ifntiny{\tiny 13839}\fi};
\node[state] at (7,-12) (n1n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 13978}\fi};
\node[accepting, state] at (5,-18) (n0n0n1n0n0n2n1n0n0) {$p?$\,\ifntiny{\tiny 13836}\fi};
\node[accepting, state] at (5,-20) (n0n0n1n0n0n2n1n0n0n0) {$p?$\,\ifntiny{\tiny 13835}\fi};
\node[accepting, state] at (11,-14) (n1n0n0n2n0n0n0) {$p?$\,\ifntiny{\tiny 13934}\fi};
\node[state] at (9,-2) (n1) {$p?$\,\ifntiny{\tiny 13996}\fi};
\node[state] at (9,-14) (n1n0n0n1n0n0n0) {$p?$\,\ifntiny{\tiny 13989}\fi};
\node[accepting, state] at (12,-8) (n1n0n0n2) {$p!$\,\ifntiny{\tiny 13948}\fi};
\node[state] at (3,-14) (n0n0n1n0n0n1n0) {$p?$\,\ifntiny{\tiny 13965}\fi};
\node[accepting, state] at (12,-18) (n1n0n0n2n1n0n0n0n0) {$p!$\,\ifntiny{\tiny 13943}\fi};
\node[accepting, state] at (4,-22) (n0n0n1n0n0n2n0n0n0n0n0) {$p!$\,\ifntiny{\tiny 13787}\fi};
\node[accepting, state] at (12,-10) (n1n0n0n2n1) {$p!$\,\ifntiny{\tiny 13947}\fi};
\node[state] at (3,-8) (n0n0n1n0) {$p?$\,\ifntiny{\tiny 13968}\fi};
\node[state] at (6,-12) (n1n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 13975}\fi};
\node[state] at (1,-12) (n0n0n1n0n0n0) {$p?$\,\ifntiny{\tiny 13959}\fi};
\node[state] at (9,-4) (n1n0) {$p?$\,\ifntiny{\tiny 13995}\fi};
\node[state] at (3,-18) (n0n0n1n0n0n1n0n0n1) {$p?$\,\ifntiny{\tiny 13963}\fi};
\node[state] at (7,-10) (n1n0n0n0n0) {$\cup$\,\ifntiny{\tiny 13979}\fi};
\node[state] at (3,-10) (n0n0n1n0n0) {$\cup$\,\ifntiny{\tiny 13967}\fi};
\node[accepting, state] at (11,-10) (n1n0n0n2n0) {$p!$\,\ifntiny{\tiny 13936}\fi};
\node[state] at (10,-14) (n1n0n0n1n0n0n1) {$p?$\,\ifntiny{\tiny 13990}\fi};
\node[initial, state] at (6,0) (n) {$\cup$\,\ifntiny{\tiny 13997}\fi};
\node[accepting, state] at (11,-16) (n1n0n0n2n0n0n0n0) {$p?$\,\ifntiny{\tiny 13933}\fi};
\node[state] at (0,-6) (n0n0n0) {$p?$\,\ifntiny{\tiny 13956}\fi};
\node[state] at (3,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 13970}\fi};
\node[state] at (3,-12) (n0n0n1n0n0n1) {$p?$\,\ifntiny{\tiny 13966}\fi};
\node[accepting, state] at (12,-14) (n1n0n0n2n1n0n0) {$p?$\,\ifntiny{\tiny 13945}\fi};
\node[accepting, state] at (4,-14) (n0n0n1n0n0n2n0) {$p!$\,\ifntiny{\tiny 13791}\fi};
\node[accepting, state] at (11,-18) (n1n0n0n2n0n0n0n0n0) {$p!$\,\ifntiny{\tiny 13932}\fi};
\node[state] at (9,-18) (n1n0n0n1n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 13987}\fi};
\node[accepting, state] at (4,-18) (n0n0n1n0n0n2n0n0n0) {$p?$\,\ifntiny{\tiny 13789}\fi};
\node[accepting, state] at (4,-20) (n0n0n1n0n0n2n0n0n0n0) {$p?$\,\ifntiny{\tiny 13788}\fi};
\node[accepting, state] at (4,-16) (n0n0n1n0n0n2n0n0) {$p?$\,\ifntiny{\tiny 13790}\fi};
\node[state] at (9,-8) (n1n0n0n1) {$p?$\,\ifntiny{\tiny 13993}\fi};
\node[state] at (3,-6) (n0n0n1) {$p?$\,\ifntiny{\tiny 13969}\fi};
\node[state] at (7,-14) (n1n0n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 13977}\fi};
\node[accepting, state] at (12,-16) (n1n0n0n2n1n0n0n0) {$p?$\,\ifntiny{\tiny 13944}\fi};
\node[state] at (9,-6) (n1n0n0) {$\cup$\,\ifntiny{\tiny 13994}\fi};
\node[accepting, state] at (12,-12) (n1n0n0n2n1n0) {$p?$\,\ifntiny{\tiny 13946}\fi};
\node[state] at (9,-16) (n1n0n0n1n0n0n0n0) {$\cup$\,\ifntiny{\tiny 13988}\fi};
\node[accepting, state] at (5,-16) (n0n0n1n0n0n2n1n0) {$p?$\,\ifntiny{\tiny 13837}\fi};
\node[state] at (3,-16) (n0n0n1n0n0n1n0n0) {$\cup$\,\ifntiny{\tiny 13964}\fi};
\node[state] at (7,-8) (n1n0n0n0) {$p?$\,\ifntiny{\tiny 13980}\fi};
\node[state] at (9,-20) (n1n0n0n1n0n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 13986}\fi};
\node[state] at (9,-10) (n1n0n0n1n0) {$p?$\,\ifntiny{\tiny 13992}\fi};
\node[state] at (2,-18) (n0n0n1n0n0n1n0n0n0) {$p?$\,\ifntiny{\tiny 13962}\fi};
\node[state] at (8,-18) (n1n0n0n1n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 13984}\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 {} (n0n0n0);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n1);
\draw[->, thick] (n0n0n0) edge [near start, right, bend right] node {b} (n0n0);
\draw[->, thick] (n0n0n1) edge [near start, left] node {a} (n0n0n1n0);
\draw[->, thick] (n0n0n1n0) edge [near start, left] node {b} (n0n0n1n0n0);
\draw[->, thick] (n0n0n1n0n0) edge [near start, left] node {} (n0n0n1n0n0n0);
\draw[->, thick] (n0n0n1n0n0) edge [near start, left] node {} (n0n0n1n0n0n1);
\draw[->, thick] (n0n0n1n0n0) edge [near start, left] node {} (n0n0n1n0n0n2);
\draw[->, thick] (n0n0n1n0n0n0) edge [near start, right, bend right] node {b} (n0n0);
\draw[->, thick] (n0n0n1n0n0n1) edge [near start, left] node {a} (n0n0n1n0n0n1n0);
\draw[->, thick] (n0n0n1n0n0n1n0) edge [near start, left] node {b} (n0n0n1n0n0n1n0n0);
\draw[->, thick] (n0n0n1n0n0n1n0n0) edge [near start, left] node {} (n0n0n1n0n0n1n0n0n0);
\draw[->, thick] (n0n0n1n0n0n1n0n0) edge [near start, left] node {} (n0n0n1n0n0n1n0n0n1);
\draw[->, thick] (n0n0n1n0n0n1n0n0n0) edge [near start, right, bend right] node {b} (n0n0);
\draw[->, thick] (n0n0n1n0n0n1n0n0n1) edge [near start, right, bend right] node {a} (n0n0n1n0n0n1n0);
\draw[->, thick] (n0n0n1n0n0n2) edge [near start, left] node {y} (n0n0n1n0n0n2n0);
\draw[->, thick] (n0n0n1n0n0n2) edge [near start, left] node {z} (n0n0n1n0n0n2n1);
\draw[->, thick] (n0n0n1n0n0n2n0) edge [near start, left] node {u} (n0n0n1n0n0n2n0n0);
\draw[->, thick] (n0n0n1n0n0n2n0n0) edge [near start, left] node {b} (n0n0n1n0n0n2n0n0n0);
\draw[->, thick] (n0n0n1n0n0n2n0n0n0) edge [near start, left] node {a} (n0n0n1n0n0n2n0n0n0n0);
\draw[->, thick] (n0n0n1n0n0n2n0n0n0n0) edge [near start, left] node {b} (n0n0n1n0n0n2n0n0n0n0n0);
\draw[->, thick] (n0n0n1n0n0n2n0n0n0n0n0) edge [near start, right, bend right] node {x} (n0n0n1n0n0n2);
\draw[->, thick] (n0n0n1n0n0n2n1) edge [near start, left] node {v} (n0n0n1n0n0n2n1n0);
\draw[->, thick] (n0n0n1n0n0n2n1n0) edge [near start, left] node {b} (n0n0n1n0n0n2n1n0n0);
\draw[->, thick] (n0n0n1n0n0n2n1n0n0) edge [near start, left] node {a} (n0n0n1n0n0n2n1n0n0n0);
\draw[->, thick] (n0n0n1n0n0n2n1n0n0n0) edge [near start, left] node {b} (n0n0n1n0n0n2n1n0n0n0n0);
\draw[->, thick] (n0n0n1n0n0n2n1n0n0n0n0) edge [near start, right, bend right] node {x} (n0n0n1n0n0n2);
\draw[->, thick] (n1) edge [near start, left] node {a} (n1n0);
\draw[->, thick] (n1n0) edge [near start, left] node {b} (n1n0n0);
\draw[->, thick] (n1n0n0) edge [near start, left] node {} (n1n0n0n0);
\draw[->, thick] (n1n0n0) edge [near start, left] node {} (n1n0n0n1);
\draw[->, thick] (n1n0n0) edge [near start, left] node {} (n1n0n0n2);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {b} (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, right, bend right] node {b} (n1n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n1) edge [near start, left] node {a} (n1n0n0n0n0n1n0);
\draw[->, thick] (n1n0n0n0n0n1n0) edge [near start, right, bend right] node {b} (n1n0n0);
\draw[->, thick] (n1n0n0n1) edge [near start, left] node {a} (n1n0n0n1n0);
\draw[->, thick] (n1n0n0n1n0) edge [near start, left] node {b} (n1n0n0n1n0n0);
\draw[->, thick] (n1n0n0n1n0n0) edge [near start, left] node {} (n1n0n0n1n0n0n0);
\draw[->, thick] (n1n0n0n1n0n0) edge [near start, left] node {} (n1n0n0n1n0n0n1);
\draw[->, thick] (n1n0n0n1n0n0n0) edge [near start, left] node {b} (n1n0n0n1n0n0n0n0);
\draw[->, thick] (n1n0n0n1n0n0n0n0) edge [near start, left] node {} (n1n0n0n1n0n0n0n0n0);
\draw[->, thick] (n1n0n0n1n0n0n0n0) edge [near start, left] node {} (n1n0n0n1n0n0n0n0n1);
\draw[->, thick] (n1n0n0n1n0n0n0n0n0) edge [near start, right, bend right] node {b} (n1n0n0n1n0n0n0n0);
\draw[->, thick] (n1n0n0n1n0n0n0n0n1) edge [near start, left] node {a} (n1n0n0n1n0n0n0n0n1n0);
\draw[->, thick] (n1n0n0n1n0n0n0n0n1n0) edge [near start, right, bend right] node {b} (n1n0n0);
\draw[->, thick] (n1n0n0n1n0n0n1) edge [near start, left, bend left] node {a} (n1n0n0n1n0);
\draw[->, thick] (n1n0n0n2) edge [near start, left] node {y} (n1n0n0n2n0);
\draw[->, thick] (n1n0n0n2) edge [near start, left] node {z} (n1n0n0n2n1);
\draw[->, thick] (n1n0n0n2n0) edge [near start, left] node {u} (n1n0n0n2n0n0);
\draw[->, thick] (n1n0n0n2n0n0) edge [near start, left] node {b} (n1n0n0n2n0n0n0);
\draw[->, thick] (n1n0n0n2n0n0n0) edge [near start, left] node {a} (n1n0n0n2n0n0n0n0);
\draw[->, thick] (n1n0n0n2n0n0n0n0) edge [near start, left] node {b} (n1n0n0n2n0n0n0n0n0);
\draw[->, thick] (n1n0n0n2n0n0n0n0n0) edge [near start, right, bend right] node {x} (n1n0n0n2);
\draw[->, thick] (n1n0n0n2n1) edge [near start, left] node {v} (n1n0n0n2n1n0);
\draw[->, thick] (n1n0n0n2n1n0) edge [near start, left] node {b} (n1n0n0n2n1n0n0);
\draw[->, thick] (n1n0n0n2n1n0n0) edge [near start, left] node {a} (n1n0n0n2n1n0n0n0);
\draw[->, thick] (n1n0n0n2n1n0n0n0) edge [near start, left] node {b} (n1n0n0n2n1n0n0n0n0);
\draw[->, thick] (n1n0n0n2n1n0n0n0n0) edge [near start, right, bend right] node {x} (n1n0n0n2);

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