What is the shortest definition of "$x$ is a finite class" that can be formulated in the class theory presented at:
Here shortness is measured by the total number of occurrences of atomic formulas in the formula.
Some constraints are that:
- the formula must not use any defined symbol
- the logical primitives are the customary four logical connectives and the two quantifier symbols
- the language is MONO-SORTED FIRST order logic with the extra-logical primitives of identity and membership
- the axioms are the first 5 axioms of that theory and the identity axioms and the logical axioms
In other words we are looking for that equivalence in the hereditarily finite sector of mono-sorted first order Morse-Kelley $\text{MK}$ class theory.
For instance, the following formula contains only 8 occurrences of atomic sub-formulas and may be optimal:
A class $a$ is finite if and only if:
\begin{align} \forall k [&\exists m (m \in k)\\ &\land \forall x \forall y (x \in a \lor y \in k \to \forall z (\forall n (n \in z \to n=x \lor n \in y ) \to z \in k)) \\ & \to a \in k] \end{align}
After-note: now that Matt F. had written the following formula which is SHORTER than the above formula for finiteness, then the question would be whether there is a shorter formula of finiteness than that?
$$\neg\exists y (\exists z (z \in y) \mathbin\& \forall a (a \in y \to \exists b (b \in y \mathbin\& b \neq a \mathbin\& \forall c (c \in a \to c \in b\mathbin\& c \in x))))$$
An even shorter formula comporized of only 6 atomic formulas had been presented by Emil Jeřábek, that is:
$$\neg\exists y\,(x\in y\land\forall a\in y\,\exists b\in y\,b\subsetneq a)$$ where $b\subsetneq a$ expands to: $b\ne a\land\forall c\,(c\in b\to c\in a)$.