\section{Finitary sketches for finitely accessible categories} \label{prob:15} \subsection{Statement and geometric-sketch presentation} \label{subsec:15:main} Problem~15 of~\cite[p.~297]{AR} asks whether every finitely accessible category is sketchable by a \emph{finitary sketch}---a small sketch all of whose specified cones and cocones have finite diagrams (while the underlying sets of objects, arrows, and specifications may have arbitrary cardinality). This question was settled completely by Adámek and Rosický~\cite{ARSketch} and Adámek, Johnstone, Makowsky, and Rosický~\cite{AJMR}. \begin{theorem}[Adámek--Rosický~\cite{ARSketch}; Adámek--Johnstone--Makowsky--Rosický~\cite{AJMR}]\label{thm:15:main} Every finitely accessible category is equivalent to the category of set-valued models of a finitary sketch if and only if there is no uncountable measurable cardinal. \end{theorem} We present the published backward direction via flat presheaves and geometric sketches (\cref{prop:15:geom}), and prove the forward direction via a self-contained ultraproduct obstruction on a two-level poset (\cref{subsec:15:converse}). \begin{proposition}\label{prop:15:geom} Every finitely accessible category $\mathcal{K}$ is equivalent to the category of models of a small geometric sketch (using finite limits and small colimits). Consequently, if there is no uncountable measurable cardinal, then $\mathcal{K}$ is equivalent to the category of models of a finitary sketch. \end{proposition} \begin{proof} Let $\mathcal{A}$ be a small skeleton of the finitely presentable objects of $\mathcal{K}$. The restricted Yoneda functor $K \mapsto X_K := \mathcal{K}(-, K)|_{\mathcal{A}^\op}$ embeds $\mathcal{K}$ fully faithfully into $\widehat{\mathcal{A}}$, with essential image the filtered colimits of representables---equivalently, the \emph{flat} presheaves, whose category of elements is filtered (see Beke~\cite{Beke}). Flatness of a presheaf $X$ is axiomatized in a small geometric theory with sorts $X(a)$ ($a \in \Ob(\mathcal{A})$) and unary restriction operations $X(u) \colon X(b) \to X(a)$ ($u \colon a \to b$) by the presheaf equations together with three geometric axioms stating that the category of elements is nonempty, directed, and equalizes parallel pairs: \begin{enumerate}[label=\textup{(\arabic*)}] \item $\bigvee_{a \in \Ob(\mathcal{A})} \exists x \in X(a)\; \top$; \item for all $a, b$, $\forall x \in X(a)\,\forall y \in X(b)\; \bigvee_{c,\, u\colon a\to c,\, v\colon b\to c} \exists z \in X(c)\; (X(u)z = x \land X(v)z = y)$; \item for all $u, v \colon a \rightrightarrows b$, $\forall y \in X(b)\;\bigl(X(u)y = X(v)y \to \bigvee_{c,\, w\colon b\to c,\, wu=wv} \exists z \in X(c)\; (X(w)z = y)\bigr)$. \end{enumerate} This gives a small geometric sketch with model category equivalent to $\mathcal{K}$. By~\cite[Theorem~12 and Corollaries~13--14]{AJMR}, when no uncountable measurable cardinal exists, every small geometric sketch can be replaced by a finitary sketch with an equivalent model category. \end{proof} \subsection{Ultraproduct closure and a two-level poset} \label{subsec:15:converse} The key obstruction in the presence of an uncountable measurable cardinal is that finitary sketches cannot forbid countably complete ultraproducts. \begin{lemma}\label{lem:15:ultra} If $\mathcal{S}$ is a finitary sketch and $U$ is a countably complete ultrafilter on a set $I$, then the sortwise ultraproduct of any $I$-indexed family of set-valued models of $\mathcal{S}$ is again a model of $\mathcal{S}$. \end{lemma} \begin{proof} To allow empty sorts, represent elements at each object of $\mathcal{S}$ by partial sections $(x_i)_{i\in J}$ ($J \in U$) modulo agreement on a member of $U$, with morphisms acting coordinatewise. Intersecting finitely many members of $U$ shows that finite products, equalizers, and the terminal object are preserved, hence all specified finite limit cones are preserved. For a finite diagram $D$ of sets, its colimit is the disjoint union of its vertices modulo the equivalence relation generated by its arrows. Given a section representing an element of the coordinatewise colimits, finiteness of $\Ob(D)$ ensures that one vertex represents it on a member of $U$, proving surjectivity of the comparison map from the colimit of the ultraproduct diagram (the empty diagram yields $\varnothing$ on both sides). For injectivity, if two representatives agree in the coordinatewise colimits on some $J \in U$, then at each $i \in J$ they are connected by a finite zigzag in $D$. Because $D$ is finite, there are only \emph{countably many} possible zigzag shapes; by countable completeness of $U$, one shape occurs on a set $J' \in U$, and choosing intermediate elements on $J'$ builds that zigzag in the ultraproduct diagram. Thus every specified finite cocone is preserved. \end{proof} \begin{proof}[Proof of \cref{thm:15:main}] The backward direction is \cref{prop:15:geom}. Conversely, suppose an uncountable measurable cardinal exists, and let $U$ be a nonprincipal countably complete ultrafilter on a set $I$ (compare \cref{lem:01:eval}). Form the two-level poset $P$ on $\{x_i, y_i : i \in I\}$ with strict order \[ x_i < y_j \iff i \neq j: \] \begin{center} \begin{tikzpicture}[scale=1.0, every node/.style={font=\small}] \foreach \k/\lbl in {0/0, 1/1, 2/2} { \node[circle, fill=LinkBlue, inner sep=1.7pt, label=above:$y_{\lbl}$] (y\k) at (1.5*\k, 1.35) {}; \node[circle, fill=CiteGreen, inner sep=1.7pt, label=below:$x_{\lbl}$] (x\k) at (1.5*\k, 0) {}; } \node at (4.1, 1.35) {$\cdots$}; \node at (4.1, 0) {$\cdots$}; \foreach \i in {0,1,2} { \foreach \j in {0,1,2} { \ifnum\i=\j\else \draw[gray!80, thin] (x\i) -- (y\j); \fi } } \end{tikzpicture} \end{center} Every nonempty directed subset of $P$ has a greatest element (any $y_j$ in it is maximal, while a subset contained in the bottom layer must be a singleton). Hence $P$ has all directed colimits and every object is finitely presentable, so $P$ is finitely accessible. Suppose $P$ were equivalent to the model category of a finitary sketch $\mathcal{S}$, with models $X_i, Y_i$ corresponding to $x_i, y_i$. By \cref{lem:15:ultra}, $X := \prod_U X_i$ and each ultrapower $Y_j^I/U$ are models of $\mathcal{S}$. For every $j \in I$, the set $I \setminus \{j\}$ lies in $U$ and carries arrows $X_i \to Y_j$, yielding a diagram \[ \begin{tikzcd}[column sep=large] X = \prod_U X_i \ar[r] \ar[dr, dashed] & Y_j^I / U \\ & Y_j \ar[u, "\text{diag}"', "\sim"] \end{tikzcd} \] whose vertical diagonal corresponds to a morphism out of the maximal element $y_j$ and is therefore an isomorphism. Composing with its inverse gives a morphism $X \to Y_j$ for \emph{every} $j \in I$, so the object of $P$ corresponding to $X$ would be a common lower bound of all $y_j$---impossible in $P$. \end{proof} \begin{remark}\label{rem:15:finite-data} If ``finite sketch'' is instead read literally to mean that the \emph{entire} sketch consists of finite data, the answer is trivially negative in $\ZFC$: there are only countably many finite sketches up to isomorphism, whereas discrete categories of arbitrary cardinality are all finitely accessible. \end{remark}