% Weak double extension set theory is inconsistent % Peter Zhang, 2026. Source for Hexagon, generated from the GitHub repository % BedrockInstitute/DESTInconsistency (tex/) by make_paper1.py; compiles with pdfLaTeX, XeLaTeX or LuaLaTeX. % \iflatexml is true only under LaTeXML (latexmlc --preload=latexml.sty), which builds the HTML version. \expandafter\ifx\csname iflatexml\endcsname\relax\expandafter\newif\csname iflatexml\endcsname\fi \documentclass[11pt,a4paper]{article} \iflatexml\else\usepackage[margin=2.6cm]{geometry}\fi \usepackage{amsmath,amssymb,amsthm} \usepackage{iftex} \ifPDFTeX \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{newunicodechar} \newunicodechar{¬}{\ensuremath{\neg}} \newunicodechar{α}{\ensuremath{\alpha}} \newunicodechar{ρ}{\ensuremath{\rho}} \newunicodechar{φ}{\ensuremath{\varphi}} \newunicodechar{ψ}{\ensuremath{\psi}} \newunicodechar{⁻}{\ensuremath{^{-}}} \newunicodechar{ℕ}{\ensuremath{\mathbb{N}}} \newunicodechar{→}{\ensuremath{\to}} \newunicodechar{↔}{\ensuremath{\leftrightarrow}} \newunicodechar{∀}{\ensuremath{\forall}} \newunicodechar{∃}{\ensuremath{\exists}} \newunicodechar{∧}{\ensuremath{\wedge}} \newunicodechar{∨}{\ensuremath{\vee}} \newunicodechar{⊥}{\ensuremath{\bot}} \newunicodechar{⟨}{\ensuremath{\langle}} \newunicodechar{⟩}{\ensuremath{\rangle}} \else \usepackage{fontspec} \setmonofont{DejaVuSansMono}[Extension=.ttf, BoldFont=*-Bold, Scale=MatchLowercase] \fi \usepackage{fancyvrb} \iflatexml\else\usepackage{framed}\fi \usepackage{enumitem} \usepackage{xcolor} \usepackage{hyperref} \iflatexml\else % Every link (cross-references, citations, footnote marks, URLs) in one muted dark blue. \definecolor{linkblue}{HTML}{2A5189} \hypersetup{colorlinks=true, linkcolor=linkblue, citecolor=linkblue, urlcolor=linkblue} \fi % Links to the code. The line numbers come from codelinks.tex (gen_codelinks.py). % The code links point to branch main, or to the commit named in gitref.tex (written by CI). \newcommand{\gitref}{0694468} \newcommand{\repo}{https://github.com/BedrockInstitute/DESTInconsistency/blob/\gitref} \newcommand{\agdaL}[1]{\href{\repo/agda/DESTInconsistency.agda\#L#1}{Agda}} \newcommand{\leanL}[1]{\href{\repo/lean/DESTInconsistency.lean\#L#1}{Lean}} \iflatexml \newcommand{\codepair}[2]{\lxWithClass{codelinks}{[\agdaL{#1}\,$\cdot$\,\leanL{#2}]}} \else \newcommand{\codepair}[2]{\textup{\footnotesize[\agdaL{#1}\,$\cdot$\,\leanL{#2}]}} \fi \newcommand{\defcode}[3]{\expandafter\def\csname code@#1\endcsname{\codepair{#2}{#3}}} \newcommand{\code}[1]{\ifcsname code@#1\endcsname\csname code@#1\endcsname\else\errmessage{Unknown code key #1}\fi} % A declaration of the additional code, named in the text as inline code that links to its line. \newcommand{\defline}[3]{\expandafter\def\csname line@#1\endcsname{\href{\repo/#2\#L#3}}} \newcommand{\codeat}[2]{\ifcsname line@#1\endcsname\else\errmessage{Unknown code key #1}\fi\icode{\csname line@#1\endcsname{#2}}} % Generated by gen_codelinks.py; do not edit. \defcode{asym}{165}{110} \defcode{thm1}{648}{549} \defcode{thm2}{654}{557} \defcode{xor}{285}{303} \defcode{same}{456}{380} \defcode{ordflip}{488}{417} \defcode{singreg}{462}{385} \defcode{ordf}{202}{148} \defcode{memberord}{498}{250} \defcode{seg}{522}{431} \defcode{compare}{539}{447} \defcode{one}{562}{468} \defcode{both}{621}{517} \defline{intagda}{agda/Intuitionistic.agda}{720} \defline{intlean}{lean/Intuitionistic.lean}{662} \defline{kstrict}{agda/Supplement.agda}{946} \defline{melocal}{agda/Supplement.agda}{963} \defline{irrord}{agda/Supplement.agda}{954} % Footnotes are marked with symbols: *, \dag, ... \renewcommand{\thefootnote}{\fnsymbol{footnote}} \newcommand{\repolink}{\href{https://github.com/BedrockInstitute/DESTInconsistency}{\texttt{github.com/BedrockInstitute/DESTInconsistency}}} % Code: syntax colours as on GitHub. \definecolor{shadecolor}{HTML}{F6F8FA} \definecolor{codekw}{HTML}{CF222E} \definecolor{codefn}{HTML}{8250DF} \definecolor{codety}{HTML}{0550AE} \newcommand{\kw}[1]{\textcolor{codekw}{#1}} \newcommand{\fn}[1]{\textcolor{codefn}{#1}} \newcommand{\ty}[1]{\textcolor{codety}{#1}} \definecolor{codecm}{HTML}{6E7781} \newcommand{\cm}[1]{\textcolor{codecm}{#1}} \iflatexml % HTML: page layout, code boxes and inline code are left to the stylesheet (html/paper.css). \newcommand{\needspace}[1]{} \newcommand{\codesize}{} \newcommand{\icode}[1]{\lxWithClass{icode}{\texttt{#1}}} \newenvironment{codeblock}{\par}{\par} \newenvironment{codebox}{\par}{\par} \else \makeatletter % start a new page unless #1 of space is left (as needspace's \Needspace) % Footnote text: grey, mark in the margin of the first line, later lines aligned with the text. \renewcommand{\@makefntext}[1]{\noindent\hangindent=0.9em\hangafter=1\color{black!65}\makebox[0.9em][l]{\@makefnmark}#1} \newcommand{\needspace}[1]{\par\penalty-100\begingroup\setlength{\dimen@}{#1}% \dimen@ii\pagegoal\advance\dimen@ii-\pagetotal \ifdim\dimen@>\dimen@ii\ifdim\dimen@ii>\z@\vfil\fi\break\fi\endgroup} \makeatother \emergencystretch=1.5em % Code blocks: light background. \newcommand{\codesize}{\small} % Inline code, as `code` in Markdown. \newcommand{\icode}[1]{{\setlength{\fboxsep}{1.2pt}\colorbox{shadecolor}{\texttt{\vphantom{Ay}#1}}}} % Footnote area: more space above it, grey text. \setlength{\skip\footins}{32pt plus 4pt minus 4pt} % The rule and footnotes sit at the foot of the page even when the page is short (\raggedbottom). \renewcommand{\footnoterule}{\vskip 0pt plus 1fill\relax\kern-3pt{\color{black!20}\hrule width \textwidth height 0.4pt}\kern 2.6pt} \newenvironment{codeblock}{\setlength{\FrameSep}{6pt}\begin{shaded}}{\end{shaded}} % codebox: a short block aligned with the current line width (e.g. inside a list item). \newsavebox{\codebx} \newenvironment{codebox}{\par\smallskip\noindent\begin{lrbox}{\codebx}% \begin{minipage}{\dimexpr\linewidth-12pt\relax}}% {\end{minipage}\end{lrbox}\setlength{\fboxsep}{6pt}\colorbox{shadecolor}{\usebox{\codebx}}\par\smallskip} \setlist{itemsep=2pt,topsep=4pt,parsep=0pt,partopsep=0pt} \fi \newtheorem{theorem}{Theorem} \newtheorem{lemma}{Lemma} \newtheorem{proposition}{Proposition} \theoremstyle{definition} \newtheorem*{definition*}{Definition} \theoremstyle{remark} \newtheorem*{remark*}{Remark} \newcommand{\eps}{\varepsilon} \newcommand{\os}{s^{*}} \newcommand{\ord}{\mathrm{ord}} \newcommand{\Ord}{\mathrm{Ord}} \newcommand{\ME}{\textup{ME}} \newcommand{\COMP}{\textup{COMP}} \newcommand{\REG}{\textup{REG}} \newcommand{\DEST}{\textup{DEST}} \newcommand{\DESTm}{\ensuremath{\textup{DEST}^{-}}} \title{Weak double extension set theory is inconsistent} \author{Peter Zhang\\ \normalsize \href{mailto:peterzhangsg@gmail.com}{\texttt{peterzhangsg@gmail.com}}} \date{November 18, 2026} \begin{document} \maketitle \begin{abstract} We prove that Kisielewicz's weak double extension set theory \DEST{} is inconsistent: already two of its axioms, mixed extensionality and comprehension, contradict each other. \DEST{} has two membership relations, $\in$ and $\eps$; it interprets ZF, and its consistency was an open problem. Holmes showed, using the regularity axiom, that the ordinals of the two relations differ: with the relations suitably named, every $\eps$-ordinal is an $\in$-ordinal, and the object $\Ord = \{x \mid x \text{ is an ordinal}\}$ is an $\in$-ordinal but not an $\eps$-ordinal. We show first that comprehension alone refutes such an asymmetry, in intuitionistic logic. Assume this asymmetry. If $V$ is the universal set and $\Theta(z)$ says that $z$ omits some ordinal, then the object \[ A = \{\, z \mid z = V \;\vee\; \ord(z) \;\vee\; \bigl(V \in z \wedge (z \in z \oplus \Theta(z))\bigr) \,\} \] satisfies $A \in A \leftrightarrow A \notin A$, and the same argument refutes every formula that is asymmetric in this way. We then derive the asymmetry of the ordinals, up to exchanging the two relations, from mixed extensionality and comprehension without the regularity axiom; this is the only use of classical logic. Both parts are formalized in Agda and in Lean~4; a variant of the proof that uses no classical logic is formalized as additional code. The code is at \repolink. \end{abstract} \section{The theory}\label{sec:1} \begin{description} \item[Language.] First-order logic with $=$ and two membership relations $\in$ and $\eps$. For a side $s$ (one of ${\in}$, ${\eps}$) we write $x \in_s y$, let $\os$ be the other side, and call \mbox{$F_s(a) = \{x : x \in_s a\}$} the \emph{$s$-face} of~$a$. An object $a$ is \emph{regular} if $F_{\in}(a) = F_{\eps}(a)$. \item[Uniform formulas.] A formula is uniform if its only membership symbol is $\in$. Its \emph{$s$-reading} $\varphi^s$ interprets that symbol as $\in_s$. Thus $\varphi^{\in} = \varphi$, and $\varphi^{\eps}$ is what Holmes calls the dual $\varphi^{*}$ of $\varphi$; we use the same star for the other side. \item[\ME{} (mixed extensionality).]\phantomsection\label{ax:ME} If $F_{\in}(x) = F_{\eps}(y)$, then $x = y$. \item[\COMP{} (comprehension).]\phantomsection\label{ax:COMP} For every uniform formula $\varphi(x, \bar y)$ and all regular $\bar y$ there is \mbox{$A = \{x \mid \varphi(x, \bar y)\}$} with \[ F_{\eps}(A) = \{x : \varphi^{\in}(x, \bar y)\}, \qquad F_{\in}(A) = \{x : \varphi^{\eps}(x, \bar y)\}, \] that is, $F_s(A) = \{x : \varphi^{\os}(x, \bar y)\}$ for both sides $s$: the $s$-face of $A$ is given by the $\os$-reading of $\varphi$. Comprehension is thus \emph{crossed}. We write $\{x \mid \cdots\}$ for objects given by \COMP{} and $\{x : \cdots\}$ for classes, such as faces, and we leave the parameters $\bar y$ implicit where they play no role. \item[\REG{} (regularity).]\phantomsection\label{ax:REG} If one face of $x$ is included in the same face of some $y$ whose members on both sides are all regular, then $x$ is regular. \end{description} \noindent \DEST{} is {\hyperref[ax:ME]{\ME}}{} + {\hyperref[ax:COMP]{\COMP}}{} + {\hyperref[ax:REG]{\REG}}{} \cite[\S2]{H05}, \cite[\S8.1]{HFL}. \DESTm{} is {\hyperref[ax:ME]{\ME}}{} + {\hyperref[ax:COMP]{\COMP}}. \paragraph{On the formulation.} In \cite{H05}, Axiom 2.8 places ``there is $\{x \mid \varphi\}$'' before the quantifier over the parameters. We read it, as Holmes does in his proofs, as ``for all regular parameters there is $A$''; read literally, the axiom is already inconsistent. Kisielewicz \cite{K98}, weakening his theory of \cite{K89}, folds {\hyperref[ax:REG]{\REG}}{} into {\hyperref[ax:COMP]{\COMP}}{} through a condition on parameters: they must be partially contained in a suitable regular object, where $x$ is partially contained in $y$ if $F_s(x) \subseteq F_s(y)$ for some side $s$.\footnote{If the condition asks for a regular object with regular members, it matters which parameters the proofs use. The proof of {\hyperref[thm:2]{Theorem~2}} uses only parameters that are regular objects with regular members, with two exceptions. One is the universal set $V$, which can be eliminated: replace $z = V$ by $\forall y\,(y \in z)$ and $V \in z$ by ${\exists v\,(\forall y\,(y \in v)} \wedge {v \in z)}$; by {\hyperref[ax:ME]{\ME}}, $V$ is the only object whose $s$-face is everything. The other is the object $h$ in the proof of {\hyperref[lem:4]{Lemma~4}}, which is regular but need not have regular members. Replacing ``has a singleton'' in {\hyperref[ord:O4]{(O4)}} and in the object $D$ of {\hyperref[prop:2]{Proposition~2}} by ``has a singleton that has a singleton'' removes this exception too: the proof of {\hyperref[lem:4]{Lemma~4}} then uses as parameter a singleton of $h$, which is regular and has the regular object $h$ as its only member. So under this reading, too, the theory is inconsistent in classical logic (\codeat{kstrict}{kisielewicz-strict} in \icode{agda/Supplement.agda}).} Holmes \cite[\S2]{H04} states that this is equivalent to the formulation above, which is the one recorded as open in \cite[\S8.1]{HFL} and \cite[\S10]{SEP}. \section{Asymmetry and the results}\label{sec:2} Being an ordinal is expressed by a parameter-free uniform formula $\ord$. Holmes's definition \cite[\S5]{H05} has the clause $\beta \mathrel{\eps} S$, where the parameter $S$ is $\{x \mid x \text{ has a singleton}\}$; replacing that clause by ``$\beta$ has a singleton'' gives such a formula, and {\hyperref[sec:4]{Section~4}} gives a variant. Using {\hyperref[ax:REG]{\REG}}, Holmes showed that, with the relations suitably named, every $\eps$-ordinal is an $\in$-ordinal, and that the object $\Ord = \mbox{$\{x \mid \ord(x)\}$}$ is an $\in$-ordinal but not an $\eps$-ordinal \cite[Theorem 5.1 and the discussion after it]{H05}. So $\Ord$ is an ordinal on one side only. We isolate what is needed. \begin{definition*}\code{asym} Let $P(x)$ be a uniform formula with regular parameters, and let $b, c$ be the two sides. $P$ is \emph{asymmetric from $c$ to $b$} if \begin{enumerate}[label=(\roman*)] \item \label{cond:i}$P^c(x)$ implies $P^b(x)$; \item \label{cond:ii}if $P^b(x)$, then no $b$-member $y$ of $x$ has $y \in_b y$; \item \label{cond:iii}some $W$ with $F_b(W) = \{x : P^c(x)\}$ and $F_c(W) = \{x : P^b(x)\}$ has $P^b(W)$. \end{enumerate} \end{definition*} \noindent By {\hyperref[ax:COMP]{\COMP}}, objects $W$ as in {\hyperref[cond:iii]{(iii)}} exist; {\hyperref[cond:iii]{(iii)}} asks that one of them satisfy $P^b$. With this naming, Holmes's ordinal formula is asymmetric from $\eps$ to $\in$: {\hyperref[cond:i]{(i)}} and {\hyperref[cond:iii]{(iii)}} are his two facts, and {\hyperref[cond:ii]{(ii)}} holds because no ordinal has a self-membered member. \begin{theorem}[Diagonal]\label{thm:1}\code{thm1} Under {\hyperref[ax:COMP]{\COMP}}, no formula is asymmetric. The proof uses neither {\hyperref[ax:ME]{\ME}}{} nor classical logic. \end{theorem} \begin{theorem}\label{thm:2}\code{thm2} \DESTm{} is inconsistent in classical logic. Hence \DEST{} is inconsistent. \end{theorem} \noindent {\hyperref[thm:1]{Theorem~1}} and the asymmetry of the ordinals together give a contradiction. The asymmetry can be proved in two ways, and either one suffices. First, Holmes's two facts, proved with {\hyperref[ax:REG]{\REG}}, provide it, so {\hyperref[thm:1]{Theorem~1}} already refutes full \DEST. Second, the proof of {\hyperref[thm:2]{Theorem~2}} does without {\hyperref[ax:REG]{\REG}}: {\hyperref[ax:ME]{\ME}}{} and {\hyperref[ax:COMP]{\COMP}}{} alone make the ordinals asymmetric from one side to the other, and {\hyperref[thm:1]{Theorem~1}} gives the contradiction. A variant of the proof, with a different ordinal formula, uses no classical logic; it is given only as code, in \codeat{intagda}{agda/Intuitionistic.agda} and \codeat{intlean}{lean/Intuitionistic.lean}, and {\hyperref[sec:6]{Section~6}} says what passing from it to first-order intuitionistic logic uses. The rest of the paper is arranged as follows. {\hyperref[sec:3]{Section~3}} proves {\hyperref[thm:1]{Theorem~1}}; {\hyperref[sec:4]{Section~4}} collects facts about regular objects and ordinals; {\hyperref[sec:5]{Section~5}} derives from them the asymmetry of the ordinals and completes the proof of {\hyperref[thm:2]{Theorem~2}}. \section{Comprehension refutes asymmetry}\label{sec:3} The last step of the proof of {\hyperref[thm:1]{Theorem~1}} is propositional. We state it as a lemma, since the proof of {\hyperref[lem:3]{Lemma~3}} uses it too. \begin{lemma}[Exclusive or]\label{lem:1}\code{xor} Let $\varphi(z)$ be a uniform formula and $A$ an object such that, for both sides $s$, \[ A \in_s A \leftrightarrow \bigl(A \in_{\os} A \oplus \varphi^{\os}(A)\bigr), \] where $\oplus$ is exclusive or: $z \in z \oplus \varphi(z)$ stands for \mbox{$(z \in z \wedge \neg\varphi(z)) \vee (z \notin z \wedge \varphi(z))$}, and the right side is its $\os$-reading at $A$. Then there is no side $s$ with $\varphi^s(A)$ and $\neg\varphi^{\os}(A)$. \end{lemma} \begin{proof} Suppose $\varphi^s(A)$ and $\neg\varphi^{\os}(A)$. Then the equivalences for $s$ and for $\os$ become $A \in_s A \leftrightarrow A \in_{\os} A$ and $A \in_{\os} A \leftrightarrow A \notin_s A$. If $A \in_s A$, the two give $A \notin_s A$; so $A \notin_s A$. Then $A \in_{\os} A$, and then $A \in_s A$, a contradiction. \end{proof} \begin{proof}[Proof of {\hyperref[thm:1]{Theorem~1}}] Let $P$ be asymmetric from $c$ to $b$, with $W$ as in {\hyperref[cond:iii]{(iii)}}. Let $V = \{x \mid x = x\}$. Both faces of $V$ are everything, so $V$ is regular and $V \in_s V$. Let $\Theta(z)$ be $\exists u\,(P(u) \wedge u \notin z)$, and let \[ A = \{\, z \mid z = V \;\vee\; P(z) \;\vee\; \bigl(V \in z \wedge (z \in z \oplus \Theta(z))\bigr) \,\}, \] with parameters $V$ and those of $P$. So $z \in_b A$ iff the $c$-reading of the condition holds at $z$, and $z \in_c A$ iff the $b$-reading does. \begin{enumerate}[label=\arabic*.] \item $P^b(V)$ fails by {\hyperref[cond:ii]{(ii)}}, since $V \in_b V \in_b V$. $P^c(W)$ fails: otherwise $W \in_b W$ by {\hyperref[cond:iii]{(iii)}}, against {\hyperref[cond:ii]{(ii)}} for $W$. \item \textbf{\boldmath $\Theta^b(A)$ holds}, because $W \notin_b A$. Each disjunct fails in the $c$-reading at $W$: $W \neq V$, since $P^b(W)$ and not $P^b(V)$; $P^c(W)$ fails; and $V \in_c W$ would give $P^b(V)$ by {\hyperref[cond:iii]{(iii)}}. \item \textbf{\boldmath $\Theta^c(A)$ fails.} If $P^c(u)$, then $P^b(u)$ by {\hyperref[cond:i]{(i)}}, so $u \in_c A$. \item \textbf{\boldmath At $z = A$ only the last disjunct can hold.} $V \in_b A$ and $V \in_c A$ by the first disjunct. $A \neq V$, since $W \in_b V$ and $W \notin_b A$. $P^b(A)$ fails by {\hyperref[cond:ii]{(ii)}}, since $V \in_b A$ and $V \in_b V$; so $P^c(A)$ fails by {\hyperref[cond:i]{(i)}}. \item Hence $A \in_s A \leftrightarrow (A \in_{\os} A \oplus \Theta^{\os}(A))$ for both sides $s$. By steps~2 and~3, $\Theta^b(A)$ holds and $\Theta^c(A)$ fails, against {\hyperref[lem:1]{Lemma~1}} with $\varphi = \Theta$. \end{enumerate} Neither this proof nor that of {\hyperref[lem:1]{Lemma~1}} uses {\hyperref[ax:ME]{\ME}}{} or classical logic. \end{proof} \begin{remark*}[Why the diagonal works] Russell's instance $R = \{x \mid x \notin x\}$ gives \[ R \mathrel{\eps} R \leftrightarrow R \notin R, \qquad R \in R \leftrightarrow \neg(R \mathrel{\eps} R). \] Together they give $R \in R \leftrightarrow \neg\neg(R \in R)$, which is no contradiction: both equivalences hold when exactly one of $R \in R$ and $R \mathrel{\eps} R$ is true, so $R$ is merely irregular. For the diagonal object $A$, $\Theta^b(A)$ holds and $\Theta^c(A)$ fails, so the two equivalences in the proof of {\hyperref[lem:1]{Lemma~1}} contain a single negation and give $A \in_b A \leftrightarrow A \notin_b A$. \end{remark*} \section{Regular objects and ordinals}\label{sec:4} This section and the next prove {\hyperref[thm:2]{Theorem~2}}; they are the only places that use {\hyperref[ax:ME]{\ME}}{} and classical logic. Three facts about regular objects come first. \begin{lemma}[Rigidity]\label{lem:2}\code{same} If $g$ is regular and $F_s(z) = F_s(g)$, then $z = g$. \end{lemma} \begin{proof} $F_s(z) = F_s(g) = F_{\os}(g)$, so $z = g$ by {\hyperref[ax:ME]{\ME}}. \end{proof} \begin{lemma}[Flip {\cite[Lemma 2.11]{H05}}]\label{lem:3}\code{ordflip} Let $\sigma$ be a uniform sentence with regular parameters. Then $\sigma^{\in} \leftrightarrow \sigma^{\eps}$. In particular, the two readings of a uniform formula with regular parameters agree at every regular object. \end{lemma} \begin{proof} Let $A = \{x \mid x \in x \oplus \sigma\}$. By {\hyperref[ax:COMP]{\COMP}}, $A \in_s A \leftrightarrow (A \in_{\os} A \oplus \sigma^{\os})$ for both sides $s$. By {\hyperref[lem:1]{Lemma~1}} with $\varphi = \sigma$, there is no side $s$ with $\sigma^s$ and $\neg\sigma^{\os}$; hence, by classical logic, $\sigma^{\in} \leftrightarrow \sigma^{\eps}$. \end{proof} \begin{lemma}[Singletons {\cite[Lemma 2.10]{H05}}]\label{lem:4}\code{singreg} Call $h$ an \emph{$s$-singleton} of $y$ if $F_s(h) = \{y\}$. Every regular object has singletons on both sides, and every object with singletons on both sides is regular. \end{lemma} \begin{proof} For the first claim, take $\{x \mid x = r\}$ for regular $r$. For the second, let $h$ be an $s$-singleton of $y$ and $h'$ an $\os$-singleton of $y$. {\hyperref[ax:ME]{\ME}}{} gives $h = h'$ (in one order or the other), so both faces of $h$ are $\{y\}$ and $h$ is regular. Let $k = \{x \mid \exists u\,(x \in u \wedge u \in h)\}$. Then $F_{\os}(k) = F_s(y)$, so $y = k$ by {\hyperref[ax:ME]{\ME}}, and therefore $F_{\os}(y) = F_{\os}(k) = F_s(y)$. \end{proof} \begin{definition*}\code{ordf} $\ord(a)$ is the uniform formula, without parameters, that is the conjunction of: \begin{enumerate}[label=(O\arabic*),leftmargin=3.2em] \item \label{ord:O1}$z \in y \wedge y \in a \to z \in a$; \item \label{ord:O2}every member of $a$ satisfies {\hyperref[ord:O1]{(O1)}}; \item \label{ord:O3}no member of $a$ is a member of itself; \item \label{ord:O4}every member $y$ of $a$ has a singleton, i.e.\ $\exists h\,\forall v\,(v \in h \leftrightarrow v = y)$; \item \label{ord:O5}for members $y, z$ of $a$: $y \in z \vee y = z \vee z \in y$; \item \label{ord:O6}for every $C$ and every $x \in a$ with $x \notin C$, there is $z$ with $z = x$ or $z \in x$, such that $z \notin C$ and every member of $z$ is in $C$. \end{enumerate} An \emph{$s$-ordinal} is an object satisfying $\ord^s$. In ZF this defines the von Neumann ordinals. \end{definition*} \begin{lemma}[Ordinals]\label{lem:5}\code{memberord} \begin{enumerate}[label=(\arabic*)] \item \label{lem:5a}The $s$-members of an $s$-ordinal are $s$-ordinals. \item \label{lem:5b}No $s$-ordinal is an $s$-member of itself. \item \label{lem:5c}If $x$ is an $s$-ordinal and $x \notin_s C$, there is $z$ with $z = x$ or $z \in_s x$, such that $z \notin_s C$ and $F_s(z) \subseteq F_s(C)$. \item \label{lem:5d}A regular $s$-ordinal is an $\os$-ordinal. \end{enumerate} \end{lemma} \begin{proof} (1) Let $y$ be a member of $a$. By {\hyperref[ord:O1]{(O1)}} of $a$, the members of $y$ are members of $a$; so {\hyperref[ord:O1]{(O1)}} for $y$ is {\hyperref[ord:O2]{(O2)}} of $a$, and {\hyperref[ord:O2]{(O2)}}--{\hyperref[ord:O6]{(O6)}} for $y$ follow from those of $a$. (2) By {\hyperref[ord:O3]{(O3)}}. (3) If $F_s(x) \subseteq F_s(C)$, take $z = x$. Otherwise apply {\hyperref[ord:O6]{(O6)}} of $x$ to a member of $x$ that is not in $C$, and use {\hyperref[ord:O1]{(O1)}} of $x$. (4) By {\hyperref[lem:3]{Lemma~3}}. \end{proof} \begin{lemma}[Initial segments]\label{lem:6}\code{seg} Let $\alpha$ be an $s$-ordinal and $\gamma$ a regular object with $F_s(\gamma) \subseteq F_s(\alpha)$ such that $z \in_s y \in_s \gamma$ implies $z \in_s \gamma$. Then $\gamma = \alpha$ or $\gamma \in_s \alpha$. \end{lemma} \begin{proof} If $F_s(\alpha) \subseteq F_s(\gamma)$, then $\gamma = \alpha$ by {\hyperref[lem:2]{Lemma~2}}. Otherwise pick $x \in_s \alpha$ with $x \notin_s \gamma$, and apply {\hyperref[ord:O6]{(O6)}} of $\alpha$ with $C = \gamma$. This gives $z \in_s \alpha$ with $z \notin_s \gamma$ and $F_s(z) \subseteq F_s(\gamma)$. Conversely, let $y \in_s \gamma$. Then $y \in_s \alpha$, so by {\hyperref[ord:O5]{(O5)}} $y \in_s z$, or $y = z$, or $z \in_s y$; the last two would put $z$ in $\gamma$. So $F_s(z) = F_s(\gamma)$, hence $z = \gamma$ by {\hyperref[lem:2]{Lemma~2}}, and $\gamma \in_s \alpha$. \end{proof} \begin{lemma}[Comparability]\label{lem:7}\code{compare} Regular $s$-ordinals $\alpha, \beta$ satisfy $\alpha \in_s \beta$ or $\alpha = \beta$ or $\beta \in_s \alpha$. \end{lemma} \begin{proof} Let $\gamma = \{x \mid x \in \alpha \wedge x \in \beta\}$. Its $s$-face and $\os$-face are $F_{\os}(\alpha) \cap F_{\os}(\beta)$ and $F_s(\alpha) \cap F_s(\beta)$, which are equal because $\alpha$ and $\beta$ are regular. So $\gamma$ is regular, and it satisfies the condition of {\hyperref[lem:6]{Lemma~6}} by {\hyperref[ord:O1]{(O1)}} of $\alpha$ and $\beta$. By {\hyperref[lem:6]{Lemma~6}}, $\gamma = \alpha$ or $\gamma \in_s \alpha$, and $\gamma = \beta$ or $\gamma \in_s \beta$. If $\gamma \in_s \alpha$ and $\gamma \in_s \beta$, then $\gamma \in_s \gamma$, against {\hyperref[ord:O3]{(O3)}} for $\alpha$. The three remaining combinations give the claim. \end{proof} \section{The ordinals are asymmetric}\label{sec:5} \begin{proposition}[Regular ordinals on one side]\label{prop:1}\code{one} If every $c$-ordinal is regular, then $\ord$ is asymmetric from $c$ to $c^{*}$. \end{proposition} \begin{proof} Let $b = c^{*}$. \begin{enumerate}[label=(\roman*)] \item A $c$-ordinal is regular, hence a $b$-ordinal by {\hyperref[lem:5d]{Lemma~5(4)}}. \item This is {\hyperref[ord:O3]{(O3)}}. \item Let $W = \{x \mid \ord(x)\}$, so $F_b(W)$ is the class of $c$-ordinals and $F_c(W)$ the class of $b$-ordinals. Then $W$ is a $b$-ordinal. Its $b$-members are regular $c$-ordinals, hence regular $b$-ordinals. Clause by clause: \begin{itemize} \item {\hyperref[ord:O1]{(O1)}}: if $z \in_b y \in_b W$, then $z \in_c y$ since $y$ is regular; so $z$ is a $c$-ordinal by {\hyperref[lem:5a]{Lemma~5(1)}}, and $z \in_b W$; \item {\hyperref[ord:O2]{(O2)}}, {\hyperref[ord:O3]{(O3)}}: the members are $b$-ordinals; use {\hyperref[lem:5b]{Lemma~5(2)}}; \item {\hyperref[ord:O4]{(O4)}}: {\hyperref[lem:4]{Lemma~4}}; \item {\hyperref[ord:O5]{(O5)}}: {\hyperref[lem:7]{Lemma~7}}; \item {\hyperref[ord:O6]{(O6)}}: apply {\hyperref[lem:5c]{Lemma~5(3)}} to the member $x$. \qedhere \end{itemize} \end{enumerate} \end{proof} \begin{proposition}[Irregular ordinals on at most one side]\label{prop:2}\code{both} The two sides do not both have irregular ordinals. \end{proposition} \begin{proof} This proposition is from \cite[after Theorem~5.1]{H05}, where the proof uses {\hyperref[ax:REG]{\REG}}; ours does not. Suppose they do. \begin{enumerate}[label=\arabic*.] \item\label{step:cut} \textbf{Cut.} If $p$ is an irregular $s$-ordinal and $t$ a regular $s$-ordinal whose $s$-members are regular, then $t \in_s p$. Indeed, a regular $s$-ordinal $z$ with $F_s(z) \subseteq F_s(p)$ satisfies $z = p$ or $z \in_s p$ by {\hyperref[lem:6]{Lemma~6}} (its condition is {\hyperref[ord:O1]{(O1)}} of $z$), and $z = p$ would make $p$ regular; so $z \in_s p$. If some $x \in_s t$ is not in $p$, apply {\hyperref[ord:O6]{(O6)}} of $t$ with $C = p$. This gives $z \in_s t$ with $z \notin_s p$ and $F_s(z) \subseteq F_s(p)$, where $z$ is a regular $s$-ordinal, which is impossible. So $F_s(t) \subseteq F_s(p)$, and $t \in_s p$. \item\label{step:descent} \textbf{Descent.} If there is an irregular $s$-ordinal $\alpha$, then there is an irregular $s$-ordinal $p$ whose $s$-members are all regular. \begin{itemize} \item Let $D = \{x \mid x \text{ has a singleton}\}$. Then $F_s(D)$ is the class of objects with an $\os$-singleton. \item The $s$-members of $\alpha$ have $s$-singletons by {\hyperref[ord:O4]{(O4)}}. So, by {\hyperref[lem:4]{Lemma~4}}, an $s$-member of $\alpha$ lies in $F_s(D)$ iff it is regular. \item If all $s$-members of $\alpha$ are regular, take $p = \alpha$. Otherwise some irregular $x \in_s \alpha$ satisfies $x \notin_s D$. Apply {\hyperref[ord:O6]{(O6)}} of $\alpha$ with $C = D$ to get $z \in_s \alpha$ with $z \notin_s D$ and $F_s(z) \subseteq F_s(D)$. \item The $s$-members of $z$ are in $\alpha$ and in $D$, hence regular. And $z$ is irregular, since otherwise $z \in_s D$. By {\hyperref[lem:5a]{Lemma~5(1)}}, $z$ is an $s$-ordinal; take $p = z$. \end{itemize} \item \textbf{Conclusion.} By {\hyperref[step:descent]{Descent}}, take such a $p$ on side $\in$ and such a $q$ on side $\eps$. \begin{itemize} \item Each $\in$-member $x$ of $p$ is a regular $\in$-ordinal, hence an $\eps$-ordinal by {\hyperref[lem:5d]{Lemma~5(4)}}. Its members on either side are its $\in$-members, since $x$ is regular; these lie in $p$ by {\hyperref[ord:O1]{(O1)}}, so they are regular. By {\hyperref[step:cut]{Cut}}, $x \mathrel{\eps} q$. \item Symmetrically, every $\eps$-member of $q$ is an $\in$-member of $p$. \item So $F_{\in}(p) = F_{\eps}(q)$, and $p = q$ by {\hyperref[ax:ME]{\ME}}. Then $F_{\eps}(p) = F_{\in}(p)$, so $p$ is regular, a contradiction. \qedhere \end{itemize} \end{enumerate} \end{proof} \begin{proof}[Proof of {\hyperref[thm:2]{Theorem~2}}] By {\hyperref[prop:2]{Proposition~2}} and classical logic, some side $c$ has only regular ordinals. By {\hyperref[prop:1]{Proposition~1}}, $\ord$ is asymmetric from $c$ to $c^{*}$, which contradicts {\hyperref[thm:1]{Theorem~1}}. \end{proof} \begin{remark*}[The instances of {\hyperref[ax:COMP]{\COMP}}{} used] The proof of {\hyperref[thm:2]{Theorem~2}} uses only eight instances of {\hyperref[ax:COMP]{\COMP}}{}, so {\hyperref[ax:ME]{\ME}}{} together with these eight instances is already inconsistent in classical logic. Here they are, with the object each one gives and where it is used: \begin{itemize} \item $x = x$: the universal set $V$, in {\hyperref[sec:3]{Section~3}}; \item $x = r$ with $r$ regular: a singleton of $r$, in the proof of {\hyperref[lem:4]{Lemma~4}}; \item $\exists u\,(x \in u \wedge u \in h)$: the object $k$ in the proof of {\hyperref[lem:4]{Lemma~4}}; \item $x \in x \oplus \ord(r)$: the object $A$ in the proof of {\hyperref[lem:3]{Lemma~3}}, as used for {\hyperref[lem:5d]{Lemma~5(4)}}; \item $x \in \alpha \wedge x \in \beta$: the object $\gamma$ in the proof of {\hyperref[lem:7]{Lemma~7}}; \item ``$x$ has a singleton'': the object $D$ in the proof of {\hyperref[prop:2]{Proposition~2}}; \item $\ord(x)$: the object $W$ in the proof of {\hyperref[prop:1]{Proposition~1}}; \item the diagonal formula of {\hyperref[sec:3]{Section~3}} for $P = \ord$, with parameter $V$: the object $A$ there. \end{itemize} Each has at most two parameters and quantifier rank at most 5, so the contradiction already lies in a small fragment of comprehension. {\hyperref[sec:7]{Section~7}} says what this means for the search for models. \end{remark*} \begin{remark*}[Where {\hyperref[ax:ME]{\ME}}{} is used] The proof of {\hyperref[thm:2]{Theorem~2}} applies {\hyperref[ax:ME]{\ME}}{} to two objects that are not known to be regular only in the second claim of {\hyperref[lem:4]{Lemma~4}} and in the step $p = q$ of {\hyperref[prop:2]{Proposition~2}}. Indeed, in classical logic {\hyperref[ax:COMP]{\COMP}}{} is already inconsistent with {\hyperref[ax:ME]{\ME}}{} restricted to pairs $x, y$ one of which is regular, {\hyperref[ax:ME]{\ME}}{} restricted to pairs $x, y$ such that every $\in$-member of $x$ is regular, and the second claim of {\hyperref[lem:4]{Lemma~4}} (\codeat{melocal}{me-localized}). \end{remark*} \section{Verification}\label{sec:6} The code is in the repository \repolink. The links \textup{\footnotesize[Agda\,$\cdot$\,Lean]} after the heads of definitions, theorems, lemmas, and propositions point to the corresponding code there. \begin{itemize} \item \textbf{Agda} (2.8.0.2). \icode{agda/DESTInconsistency.agda} is a single file with no imports, whose \icode{OPTIONS} pragma sets \icode{-{}-safe -{}-without-K}. Sections 0--1 of the file (logic, syntax, readings, axioms, asymmetry) and the statements in its Section~4 are the trusted part. The theorems, quoted from the file, are % Generated by gen_codelinks.py; do not edit. \begin{codebox} \begin{Verbatim}[fontsize=\codesize, commandchars=\!\?\;] !fn?diagonal; : (M : !ty?Set;) (E : !ty?Rel; M) → !ty?Comp; M E → {k : !ty?ℕ;} (P : !ty?Fm; (suc k)) (ρ : !ty?Fin; k → M) → ((i : !ty?Fin; k) → !ty?Regular; E (ρ i)) → {b c : !ty?Side;} → !ty?Opp; b c → ¬ !ty?Asymmetric; E P ρ b c !fn?inconsistent; : (M : !ty?Set;) (E : !ty?Rel; M) → !ty?DEST⁻; M E → !ty?DNE; → !ty?⊥; !fn?DEST-inconsistent; : (M : !ty?Set;) (E : !ty?Rel; M) → !ty?DEST; M E → !ty?DNE; → !ty?⊥; \end{Verbatim} \end{codebox} \noindent\icode{DNE} is double-negation elimination, i.e.\ classical logic; \icode{diagonal} takes neither {\hyperref[ax:ME]{\ME}}{} nor \icode{DNE}. Check with\nopagebreak \begin{codebox} \begin{Verbatim}[fontsize=\codesize] cd agda && agda --safe --no-libraries DESTInconsistency.agda \end{Verbatim} \end{codebox} \item \textbf{Lean 4} (v4.36.0, no libraries). \icode{lean/DESTInconsistency.lean} has the same structure; its trusted part, Part~I and the statements of Part~III, is reproduced in {\hyperref[app:formal]{Appendix~A}}. Unlike in Agda, relations are \icode{Prop}-valued and {\hyperref[ax:COMP]{\COMP}}{} yields $\exists$ rather than $\Sigma$; classical logic is the explicit hypothesis \icode{∀ P : Prop, ¬¬P → P} of \icode{inconsistent} and \icode{DEST\_inconsistent}. \icode{\#print axioms} reports that \icode{diagonal}, \icode{inconsistent}, and \icode{DEST\_inconsistent} depend on no axioms. Lean's \icode{leanchecker} re-checks the compiled development, and the independent kernel nanoda~0.4.17 re-checks the 263 declarations these three theorems depend on, with no axioms permitted. \icode{lean/Probes.lean} checks three things: {\hyperref[ax:ME]{\ME}}{} plus Russell's instance alone has a one-point model; {\hyperref[ax:ME]{\ME}}{} plus {\hyperref[ax:COMP]{\COMP}}{} without the regularity condition on parameters is inconsistent; and {\hyperref[ax:COMP]{\COMP}}{} is inconsistent by itself once each face uses the reading of its own side, $F_s(A) = \{x : \varphi^s(x)\}$. Check with\nopagebreak \begin{codebox} \begin{Verbatim}[fontsize=\codesize] cd lean && lake build && lake env leanchecker DESTInconsistency \end{Verbatim} \end{codebox} \item \textbf{Additional code.} The files \icode{agda/Intuitionistic.agda} and \icode{lean/Intuitionistic.lean} give the variant without classical logic mentioned in {\hyperref[sec:2]{Section~2}}; their trusted parts are those of the main files without classical logic. In the Lean file, \icode{\#print axioms} reports that the three theorems depend on no axioms, and nanoda re-checks the 267 declarations they depend on. \icode{agda/Supplement.agda} proves the three theorems cited in {\hyperref[sec:1]{Sections~1}}, {\hyperref[sec:5]{5}}, and~{\hyperref[sec:8]{8}}, where their names, like the two file names in {\hyperref[sec:2]{Section~2}}, link to the code; it imports nothing, and its trusted part is Sections 0--1 and the ordinal formula of the main Agda file, definitions used in the statements, and the statements. The Agda files are checked as the main one; \icode{lake build} also builds the Lean file, and \icode{leanchecker} re-checks it. \item \textbf{Blind formalizations.} Two isolated Claude Opus~5.5 instances formalized the argument in Agda from scratch, each seeing only its source: one the first draft of this paper, the other a one-page summary of the diagonal (\icode{blind-test/diagonal-summary.zh.png}). Both type-check. The second found that the diagonal uses neither {\hyperref[ax:ME]{\ME}}{} nor classical logic, which led to {\hyperref[thm:1]{Theorem~1}}. A third instance, seeing only Sections 1--5 of the first version of this paper and a draft of the variant without classical logic (\icode{blind-test/intuitionistic-input.md}), formalized it in Lean~4 from scratch (\icode{blind-test/intuitionistic.lean}); its theorems depend on no axioms, and it found that the draft omitted the condition of {\hyperref[lem:6]{Lemma~6}} in {\hyperref[step:cut]{Cut}}. \item \textbf{Scope.} \icode{inconsistent} and \icode{DEST\_inconsistent} say that no structure satisfies the axioms. Passing to inconsistency of the first-order theory uses the completeness theorem, which is not formalized. In Lean, the $\exists$ of {\hyperref[ax:COMP]{\COMP}}{} can be used only to prove propositions, like an existential statement in a first-order derivation, whereas in Agda the $\Sigma$ gives each witness as a function of the parameters. Passing from \icode{lean/Intuitionistic.lean} to inconsistency of the first-order theory in intuitionistic logic uses the completeness of intuitionistic logic for Kripke models, which is not formalized, and the soundness of Lean's logic for these models, which we have not checked. \end{itemize} \section{Retrospective}\label{sec:7} The result came out of an AI-assisted project, recorded in more than four hundred rounds, whose aim was to prove \DEST{} consistent. \paragraph{The facts were known early.} Theorem~5.1 of \cite{H05} and the discussion after it give the asymmetry of the ordinals, and being an ordinal is expressed by a parameter-free uniform formula. The project treated the asymmetry as something a model must accommodate, and kept asking which models could do so. It seldom asked whether an instance of comprehension could use the asymmetry to decide whether a witness belongs to itself. \paragraph{Two judgements kept it from that question.} \begin{itemize} \item Attempts to single out the least irregular ordinal by a formula failed for a real reason: a formula true at an irregular ordinal is also true at some regular ordinal. The refutation needs only that some ordinal is omitted, not which one. \item The project proved correctly that if both sides use the same Boolean function to decide whether an object belongs to itself, no contradiction arises, and drew from it the rule that a one-bit diagonal cannot give a contradiction. The rule overlooked that a formula read on the two sides can act differently, because it consults the ordinals of its own side. \end{itemize} \paragraph{Progress was measured by the wrong yardstick.} Most rounds built models for larger and larger fragments of comprehension. This does not measure the distance to the full scheme: two formulas can each have witnesses in a structure where their conjunction has none. The human lead's recurring question, where the unifying step was, pointed at exactly this gap. The proof of {\hyperref[thm:2]{Theorem~2}} makes this concrete: it needs only eight instances of {\hyperref[ax:COMP]{\COMP}}, each with at most two parameters and quantifier rank at most 5 (see the remark after it). So any fragment of comprehension that has a model together with {\hyperref[ax:ME]{\ME}}, however large, leaves out at least one of these eight small instances. \paragraph{The impasse led to an external audit.} The rounds were carried out mainly by Claude. By round 401 the attempts at a consistency proof had stalled. The human lead then brought in ChatGPT (Astra~6.2), which had not taken part in the project, as an external auditor. Claude wrote it a self-contained brief: the project's assessments of where the problem was stuck, each to be confirmed or rejected, and a request for a model of \DEST, a contradiction, or a reduction of its consistency to a known problem. \paragraph{How the pieces were found.} The diagonal appeared once the question became whether some $A$ can make ``I omit an ordinal of my side'' true on one side and false on the other. For full \DEST{} every ordinal fact used was already in Holmes's paper. The audit first derived the asymmetry of the ordinals without {\hyperref[ax:REG]{\REG}}{} and then found the diagonal; {\hyperref[thm:1]{Theorem~1}} came from the second blind formalization. \section{Outlook}\label{sec:8} The inconsistency does not end the study of double extension. The theory recorded as open fails, and the search for a consistent axiomatization becomes harder than before: the natural formulation is gone, and a replacement has to be found and then shown consistent. {\hyperref[thm:1]{Theorem~1}} says what a replacement that keeps crossed comprehension must avoid: no uniform formula may be asymmetric. A classical replacement that keeps {\hyperref[ax:COMP]{\COMP}}, and keeps {\hyperref[lem:2]{Lemma~2}} in the case where $z$ is also regular, has irregular ordinals on both sides (\codeat{irrord}{irregular-ordinals}); so in such a replacement neither face of $\Ord$ consists exactly of the regular ordinals, and for $\ord$ the claim through which Holmes interprets ZF \cite[Claim~4.1]{H05} fails there; so his interpretation of ZF does not carry over to such a replacement as it stands. The variant without classical logic in {\hyperref[sec:2]{Section~2}} indicates that passing to intuitionistic logic does not avoid the contradiction. Each attempt to avoid the contradiction may weaken the theory a little, but that need not make it pointless. In our view, a theory that is finally shown consistent is worth having if it still interprets ZF, still has the basic irregular objects such as Russell's $\{x \mid x \notin x\}$, and has axioms that read naturally rather than as patches against known paradoxes. \section*{Statement on the use of AI} Peter Zhang led the research: he posed the questions, set the direction, made the decisions, and takes responsibility for the content. The work was done with AI systems. ChatGPT (Astra~6.2, OpenAI) became the project's external auditor after the attempts at a consistency proof had stalled ({\hyperref[sec:7]{Section~7}}); it derived the asymmetry of the ordinals without {\hyperref[ax:REG]{\REG}}{} and found the diagonal argument. Claude \mbox{(Anthropic)} audited and simplified the argument, generalized it to {\hyperref[thm:1]{Theorem~1}}, wrote the Agda and Lean formalizations, and drafted this paper; most of this was done by Claude Opus~5.5 in Claude Code, and the blind formalizations were written by isolated Claude Opus~5.5 instances. In this research, Claude Opus~5.5 also found the variant without classical logic mentioned in {\hyperref[sec:2]{Section~2}} and the three results in \icode{agda/Supplement.agda}; independent reviews by other Claude Opus~5.5 instances and the third blind formalization checked the variant. Earlier rounds of the project, aimed at a consistency proof, used Claude and other AI systems. % References in AMS style: titles in italics, volume numbers in bold, journal abbreviations as in MathSciNet. \begingroup\small \begin{thebibliography}{HFL} \bibitem[H04]{H04} M.~R. Holmes, \emph{Paradoxes in double extension set theories}, Studia Logica \textbf{77} (2004), 41--57. \bibitem[H05]{H05} M.~R. Holmes, \emph{The structure of the ordinals and the interpretation of ZF in double extension set theory}, Studia Logica \textbf{79} (2005), 357--372. \bibitem[HFL]{HFL} M.~R. Holmes, T.~Forster, and T.~Libert, \emph{Alternative set theories}, Sets and Extensions in the Twentieth Century (D.~M. Gabbay, A.~Kanamori, and J.~Woods, eds.), Handbook of the History of Logic, vol.~6, Elsevier/North-Holland, Amsterdam, 2012, pp.~559--632. \bibitem[K89]{K89} A.~Kisielewicz, \emph{Double extension set theory}, Rep. Math. Logic \textbf{23} (1989), 81--89. \bibitem[K98]{K98} A.~Kisielewicz, \emph{A very strong set theory?}, Studia Logica \textbf{61} (1998), 171--178. \bibitem[SEP]{SEP} M.~R. Holmes, \emph{Alternative axiomatic set theories}, The Stanford Encyclopedia of Philosophy, \href{https://plato.stanford.edu/entries/settheory-alternative/}{\texttt{plato.stanford.edu/entries/settheory-alternative}}. \end{thebibliography} \endgroup \appendix \iflatexml\else\makeatletter\renewcommand{\@seccntformat}[1]{\appendixname\ \csname the#1\endcsname\quad}\makeatother\fi % Keep the heading with the first code chunk. \needspace{10\baselineskip} \section{Formal statements}\label{app:formal} % Generated by gen_codelinks.py; do not edit. \begin{codeblock} {\codesize\parskip=0pt\relax \begin{Verbatim}[fontsize=\codesize, commandchars=\!\?\;, samepage=true, listparameters={\setlength{\topsep}{0pt}\setlength{\partopsep}{0pt}}] !kw?namespace; !ty?DEST; !cm?-- Part I. Trusted part; !kw?inductive; !fn?Side; !kw?where; | mem | eps \end{Verbatim} \begin{Verbatim}[fontsize=\codesize, commandchars=\!\?\;, samepage=true, listparameters={\setlength{\topsep}{0pt}\setlength{\partopsep}{0pt}}] !kw?inductive; !fn?Opp; : !ty?Side; → !ty?Side; → !ty?Prop; !kw?where; | me : !ty?Opp; .mem .eps | em : !ty?Opp; .eps .mem \end{Verbatim} \begin{Verbatim}[fontsize=\codesize, commandchars=\!\?\;, samepage=true, listparameters={\setlength{\topsep}{0pt}\setlength{\partopsep}{0pt}}] !kw?def; !fn?cons; {α : !ty?Type;} {n : !ty?Nat;} (x : α) (ρ : !ty?Fin; n → α) : !ty?Fin; (n + 1) → α | ⟨0, _⟩ => x | ⟨i + 1, h⟩ => ρ ⟨i, Nat.lt_of_succ_lt_succ h⟩ \end{Verbatim} \begin{Verbatim}[fontsize=\codesize, commandchars=\!\?\;, samepage=true, listparameters={\setlength{\topsep}{0pt}\setlength{\partopsep}{0pt}}] !kw?def; !fn?nil; {α : !ty?Type;} : !ty?Fin; 0 → α | ⟨_, h⟩ => absurd h (Nat.not_lt_zero _) \end{Verbatim} \begin{Verbatim}[fontsize=\codesize, commandchars=\!\?\;, samepage=true, listparameters={\setlength{\topsep}{0pt}\setlength{\partopsep}{0pt}}] !kw?inductive; !fn?Fm; : !ty?Nat; → !ty?Type; !kw?where; | mem : !ty?Fin; n → !ty?Fin; n → !ty?Fm; n | eq : !ty?Fin; n → !ty?Fin; n → !ty?Fm; n | not : !ty?Fm; n → !ty?Fm; n | and : !ty?Fm; n → !ty?Fm; n → !ty?Fm; n | or : !ty?Fm; n → !ty?Fm; n → !ty?Fm; n | imp : !ty?Fm; n → !ty?Fm; n → !ty?Fm; n | all : !ty?Fm; (n + 1) → !ty?Fm; n | ex : !ty?Fm; (n + 1) → !ty?Fm; n \end{Verbatim} \begin{Verbatim}[fontsize=\codesize, commandchars=\!\?\;, samepage=true, listparameters={\setlength{\topsep}{0pt}\setlength{\partopsep}{0pt}}] !kw?def; !fn?Sat; {M : !ty?Type;} (E : !ty?Side; → M → M → !ty?Prop;) (s : !ty?Side;) : {n : !ty?Nat;} → !ty?Fm; n → (!ty?Fin; n → M) → !ty?Prop; | _, .mem i j, ρ => E s (ρ i) (ρ j) | _, .eq i j, ρ => ρ i = ρ j | _, .not φ, ρ => ¬ !ty?Sat; E s φ ρ | _, .and φ ψ, ρ => !ty?Sat; E s φ ρ ∧ !ty?Sat; E s ψ ρ | _, .or φ ψ, ρ => !ty?Sat; E s φ ρ ∨ !ty?Sat; E s ψ ρ | _, .imp φ ψ, ρ => !ty?Sat; E s φ ρ → !ty?Sat; E s ψ ρ | _, .all φ, ρ => ∀ x : M, !ty?Sat; E s φ (cons x ρ) | _, .ex φ, ρ => ∃ x : M, !ty?Sat; E s φ (cons x ρ) \end{Verbatim} \begin{Verbatim}[fontsize=\codesize, commandchars=\!\?\;, samepage=true, listparameters={\setlength{\topsep}{0pt}\setlength{\partopsep}{0pt}}] !kw?def; !fn?Regular; {M : !ty?Type;} (E : !ty?Side; → M → M → !ty?Prop;) (a : M) : !ty?Prop; := ∀ x : M, E .mem x a ↔ E .eps x a \end{Verbatim} \begin{Verbatim}[fontsize=\codesize, commandchars=\!\?\;, samepage=true, listparameters={\setlength{\topsep}{0pt}\setlength{\partopsep}{0pt}}] !kw?def; !fn?Comp; (M : !ty?Type;) (E : !ty?Side; → M → M → !ty?Prop;) : !ty?Prop; := ∀ {k : !ty?Nat;} (φ : !ty?Fm; (k + 1)) (ρ : !ty?Fin; k → M), (∀ i : !ty?Fin; k, !ty?Regular; E (ρ i)) → ∃ A : M, ∀ x : M, (E .eps x A ↔ !ty?Sat; E .mem φ (cons x ρ)) ∧ (E .mem x A ↔ !ty?Sat; E .eps φ (cons x ρ)) \end{Verbatim} \begin{Verbatim}[fontsize=\codesize, commandchars=\!\?\;, samepage=true, listparameters={\setlength{\topsep}{0pt}\setlength{\partopsep}{0pt}}] !kw?structure; !fn?DESTminus; (M : !ty?Type;) (E : !ty?Side; → M → M → !ty?Prop;) : !ty?Prop; !kw?where; ME : ∀ a b : M, (∀ x : M, E .mem x a ↔ E .eps x b) → a = b COMP : !ty?Comp; M E \end{Verbatim} \begin{Verbatim}[fontsize=\codesize, commandchars=\!\?\;, samepage=true, listparameters={\setlength{\topsep}{0pt}\setlength{\partopsep}{0pt}}] !kw?structure; !fn?DEST; (M : !ty?Type;) (E : !ty?Side; → M → M → !ty?Prop;) : !ty?Prop; !kw?where; core : !ty?DESTminus; M E REG : ∀ a b : M, ((∀ x : M, E .mem x a → E .mem x b) ∨ (∀ x : M, E .eps x a → E .eps x b)) → (∀ y : M, (E .mem y b ∨ E .eps y b) → !ty?Regular; E y) → !ty?Regular; E a \end{Verbatim} \begin{Verbatim}[fontsize=\codesize, commandchars=\!\?\;, samepage=true, listparameters={\setlength{\topsep}{0pt}\setlength{\partopsep}{0pt}}] !kw?def; !fn?Asymmetric; {M : !ty?Type;} (E : !ty?Side; → M → M → !ty?Prop;) {k : !ty?Nat;} (P : !ty?Fm; (k + 1)) (ρ : !ty?Fin; k → M) (b c : !ty?Side;) : !ty?Prop; := (∀ x : M, !ty?Sat; E c P (cons x ρ) → !ty?Sat; E b P (cons x ρ)) ∧ (∀ x y : M, !ty?Sat; E b P (cons x ρ) → E b y x → ¬ E b y y) ∧ ∃ W : M, (∀ x : M, E b x W ↔ !ty?Sat; E c P (cons x ρ)) ∧ (∀ x : M, E c x W ↔ !ty?Sat; E b P (cons x ρ)) ∧ !ty?Sat; E b P (cons W ρ) \end{Verbatim} \begin{Verbatim}[fontsize=\codesize, commandchars=\!\?\;, samepage=true, listparameters={\setlength{\topsep}{0pt}\setlength{\partopsep}{0pt}}] !cm?-- Part III. The theorems, statements only (Part II, the proofs, is omitted); !kw?theorem; !fn?diagonal; (M : !ty?Type;) (E : !ty?Side; → M → M → !ty?Prop;) (C : !ty?Comp; M E) {k : !ty?Nat;} (P : !ty?Fm; (k + 1)) (ρ : !ty?Fin; k → M) (rρ : ∀ i : !ty?Fin; k, !ty?Regular; E (ρ i)) {b c : !ty?Side;} (o : !ty?Opp; b c) : ¬ !ty?Asymmetric; E P ρ b c !kw?theorem; !fn?inconsistent; (M : !ty?Type;) (E : !ty?Side; → M → M → !ty?Prop;) (dne : ∀ P : !ty?Prop;, ¬¬P → P) (T : !ty?DESTminus; M E) : !ty?False; !kw?theorem; !fn?DEST_inconsistent; (M : !ty?Type;) (E : !ty?Side; → M → M → !ty?Prop;) (dne : ∀ P : !ty?Prop;, ¬¬P → P) (T : !ty?DEST; M E) : !ty?False; \end{Verbatim} \par} \end{codeblock} \end{document}