\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[a4paper,margin=2.5cm]{geometry}
\usepackage{amsmath,amssymb,amsthm,mathtools}
\usepackage{booktabs,array,adjustbox}
\usepackage{microtype}
\usepackage{xcolor}
\usepackage{fvextra}
\usepackage[colorlinks=true,linkcolor={blue!50!black},urlcolor={blue!50!black},citecolor={blue!50!black}]{hyperref}
\usepackage{xurl}
\setlength{\emergencystretch}{3em}
\usepackage{fancyhdr}
\setlength{\parindent}{0pt}\setlength{\parskip}{0.55em}
\allowdisplaybreaks
\newenvironment{thmpar}{\par\smallskip\begingroup\leftskip=0.9em\rightskip=0pt}{\par\endgroup\smallskip}
\providecommand{\R}{\mathbb{R}}\providecommand{\N}{\mathbb{N}}\providecommand{\Z}{\mathbb{Z}}\providecommand{\Q}{\mathbb{Q}}\providecommand{\C}{\mathbb{C}}
\providecommand{\mathscr}{\mathcal}\providecommand{\bm}{\boldsymbol}\providecommand{\Bbb}{\mathbb}
\providecommand{\alpha}{\mathrm{alpha}}
\providecommand{\bar}{\mathrm{bar}}
\providecommand{\bmod}{\mathrm{bmod}}
\providecommand{\dots}{\mathrm{dots}}
\providecommand{\ell}{\mathrm{ell}}
\providecommand{\epsilon}{\mathrm{epsilon}}
\providecommand{\equiv}{\mathrm{equiv}}
\providecommand{\gamma}{\mathrm{gamma}}
\providecommand{\gcd}{\mathrm{gcd}}
\providecommand{\ge}{\mathrm{ge}}
\providecommand{\in}{\mathrm{in}}
\providecommand{\le}{\mathrm{le}}
\providecommand{\mathfrak}{\mathrm{mathfrak}}
\providecommand{\mid}{\mathrm{mid}}
\providecommand{\ne}{\mathrm{ne}}
\providecommand{\nmid}{\mathrm{nmid}}
\providecommand{\not}{\mathrm{not}}
\providecommand{\notin}{\mathrm{notin}}
\providecommand{\omega}{\mathrm{omega}}
\providecommand{\otimes}{\mathrm{otimes}}
\providecommand{\pm}{\mathrm{pm}}
\providecommand{\pmod}{\mathrm{pmod}}
\providecommand{\qquad}{\mathrm{qquad}}
\providecommand{\square}{\mathrm{square}}
\providecommand{\subset}{\mathrm{subset}}
\providecommand{\times}{\mathrm{times}}
\pagestyle{fancy}\fancyhf{}\renewcommand{\headrulewidth}{0pt}
\fancyfoot[L]{\footnotesize\begin{tabular}[b]{@{}l@{}}iis:2611.00444 \textperiodcentered{} \href{https://isitsolved.com/journal/dc1824ddab3a}{isitsolved.com/journal/dc1824ddab3a}\\ Timestamped in Bitcoin block 978,065, transaction \href{https://mempool.space/tx/a9d6fcf089ec075302472b9211500693ce40d746c654cd90ddb96bccd96895e0}{\texttt{a9d6fcf089ec0753\ldots{}d96895e0}}\end{tabular}}\fancyfoot[R]{\footnotesize\thepage}
\hypersetup{pdftitle={When the fundamental unit can be excluded: A\textasciicircum{}3 + B\textasciicircum{}4 = C\textasciicircum{}n and A\textasciicircum{}3 + C\textasciicircum{}n = B\textasciicircum{}4 have no primitive solutions for two infinite families of C, by local cube conditions at 3 and at 2},pdfauthor={Jan Jarosz, 1kwas (Claude Code agent), janjarosz05}}
\title{\bfseries When the fundamental unit can be excluded: \(A^{3}\) + \(B^{4}\) = \(C^{n}\) and \(A^{3}\) + \(C^{n}\) = \(B^{4}\) have no primitive solutions for two infinite families of C, by local cube conditions at 3 and at 2}
\author{Jan Jarosz, 1kwas (Claude Code agent), janjarosz05}
\date{2026-11-29 \\ \small iis:2611.00444}
\begin{document}
\maketitle
\thispagestyle{fancy}
\begin{abstract}
Beal's conjecture is open. In the signature \{3,4,p\}, the orders \(A^{3}\) + \(B^{4}\) = \(C^{p}\) and \(A^{3}\) + \(C^{p}\) = \(B^{4}\) lead to \(X^{2}\) - C \(Y^{2}\) = +-\(Z^{3}\) with X = \(B^{2}\) and Y = C\textasciicircum{}((p-1)/2), in the real field K = Q(sqrt C). If 3 does not divide h(K), a solution gives \(B^{2}\) + Y sqrt C = +-ep\(s^{j}\) gamm\(a^{3}\) with eps the fundamental unit. The case j = 0 is impossible by a divisibility argument, so everything depends on ruling out j = 1, 2. We study when a local cube condition does this. (1) Never at the primes q of C: the residue of eps there has order dividing 4, so it is always a cube. (2) At 3: if \(C^{n}\) = 5 or 7 mod 9, the solution element is always a 3-adic cube (complete enumeration mod \(3^{8}\); the inert case is checked in Lean). Theorem D: for squarefree C with 3 not dividing C, C not 1 mod 8, 3 not dividing h(Q(sqrt C)), and eps not a cube mod 9, both equations have no solution with gcd(B, C) = 1 for every odd n with \(C^{n}\) = 5, 7 mod 9. For p = 23 this means C = 2, 4 mod 9; there are 1,072 such C up to 13,441. (3) At 2: for C = 5 mod 8 the solution element is 1 mod 2, hence a 2-adic cube, while eps is a cube in F\_4 only if it lies in Z[sqrt C]. Theorem D2: for squarefree C = 5 mod 8 with 3 not dividing C or h(Q(sqrt C)) and eps not in Z[sqrt C], both equations have no coprime solution for EVERY odd n \ensuremath{\ge} 3. Examples: C = 5, 13, 29, 53, 61, 77, 85; 687 values up to 13,441. In the reduction of \{3,4,23\} under Baker's conjecture (series iis:2611.00373) these are the first results on the real-quadratic orders: they remove 285 of the 6,494 open plus-sign curves, leaving 9,530 curves open. For C in neither family no local cube condition at 2, 3 or the primes of C can exclude eps; a global argument is needed. Checks took a few minutes: 74 solutions of the norm equation all have j = 0, as Theorem D2 predicts, and a brute-force search finds nothing. Lean refuted our first formal statement, which lacked the norm hypothesis that the enumeration used; the corrected version is proved.
\end{abstract}


\textbf{Status.} Beal's conjecture is open. In the signature \(\{3,4,p\}\), iis:2611.00429, iis:2611.00433 and iis:2611.00440 treated the order \(B^4+C^p=A^3\), using factorization in the imaginary field \(\mathbb Q(\sqrt{-C})\). The other two orders, \(A^3+B^4=C^p\) and \(A^3+C^p=B^4\), lead to the \textbf{real} field \(\mathbb Q(\sqrt C)\). There a solution gives \(B^2+C^{(p-1)/2}\sqrt C=\pm\epsilon^j\gamma^3\), with \(\epsilon\) the fundamental unit, and the cases \(j=\pm1\) blocked a uniform result. This paper asks when \(\epsilon\) can be ruled out by a local cube condition. The answer: never at the primes dividing \(C\), but often at 3 and at 2. This gives two theorems for infinite families of \(C\), valid for all exponents in a residue class at once.

\section*{1. Setup and the case without the unit}

Let \(C\ge2\) be squarefree with \(3\nmid C\) and \(C\not\equiv1\pmod 8\), and let \(n\ge3\) be odd. Both orders give

\[X^2-CY^2=\pm Z^3,\qquad X=B^2,\ Y=C^{(n-1)/2},\ \gcd(X,CY)=1.\]

(\(A^3+B^4=C^n\) gives \(Z=-A\); \(A^3+C^n=B^4\) gives \(Z=A\).) Let \(K=\mathbb Q(\sqrt C)\), \(\alpha=X+Y\sqrt C\).

\begin{thmpar}\textbf{Lemma 1.} \(Z\) is odd, and if \(3\nmid h(K)\) then \(\alpha=\pm\epsilon^j\gamma^3\) with \(\gamma\in\mathcal O_K\) and \(j\in\{0,1,2\}\).\end{thmpar}

\begin{thmpar}\emph{Proof.} If \(C\) is even, \(X\) is odd. If \(C\) is odd, \(Y\) is odd, and an odd \(X\) would give \(X^2-C\equiv1-C\not\equiv0\pmod8\) while \(Z^3\) is even, which is impossible. So \(X\) is even and \(Z\) is odd. A common prime of \((\alpha)\) and \((\bar\alpha)\) divides \(2X\) and \(2Y\sqrt C\), hence lies above 2, but \(Z\) is odd. So \((\alpha)\) is the cube of an ideal, which is principal because \(3\nmid h\). The units are \(\pm\epsilon^{\mathbb Z}\), and \(-1\) is a cube. \(\square\)\end{thmpar}

\begin{thmpar}\textbf{Lemma 2 (the case \(j=0\) is impossible).} If \(\alpha=\pm\gamma^3\), there is no solution.\end{thmpar}

\begin{thmpar}\emph{Proof.} For \(\gamma=u+v\sqrt C\): \(Y=v(3u^2+Cv^2)\). Each prime \(q\mid C\) (\(q\ne3\)) divides \(v\) and not \(3u^2+Cv^2\), as in iis:2611.00429. So \(v=\pm C^{(n-1)/2}\) and \(3u^2+C^n=\pm1\), which is impossible. For \(\gamma=(u+v\sqrt C)/2\) (\(C\equiv5\pmod8\), \(u,\allowbreak v\) odd): \(3u^2+C^n=\pm8\), impossible for \(C^n\ge125\). \(\square\)\end{thmpar}

So a solution needs \(j=\pm1\): \(\alpha\epsilon^{-j}\) must be a cube in \(K\), and in particular in every completion \(K_v\).

\section*{2. The primes dividing C give nothing}

\begin{thmpar}\textbf{Proposition 3.} For \(q\mid C\), \(q\ne3\), the fundamental unit is always a cube in \(K_{\mathfrak q}\), where \(\mathfrak q^2=(q)\).\end{thmpar}

\begin{thmpar}\emph{Proof.} \(\mathcal O_K/\mathfrak q=\mathbb F_q\) and conjugation acts trivially on it, so \(\epsilon\equiv\bar\epsilon\) and \(\epsilon^2\equiv\epsilon\bar\epsilon=\pm1\pmod{\mathfrak q}\). So the residue of \(\epsilon\) has order dividing 4, prime to 3, and is a cube in \(\mathbb F_q^\times\). The 1-units of \(K_{\mathfrak q}\) form a pro-\(q\) group, in which cubing is bijective. \(\square\)\end{thmpar}

(The solution element is also a local cube there: \(\alpha\equiv B^2\pmod{\mathfrak q}\) with \(B^4\equiv\pm Z^3\), so \(B^2\) is a cube mod \(q\).) So no condition at the primes of \(C\) can exclude \(\epsilon\), and we look at 3 and 2, where \(K\) is unramified.

\section*{3. The prime 3}

\begin{thmpar}\textbf{Proposition 4.} Suppose \(C^n\equiv5\) or \(7\pmod 9\). Then \(\alpha\) is a cube in \(K\otimes\mathbb Q_3\).\end{thmpar}

\begin{thmpar}\emph{Proof.} Since 3 is unramified in \(K\), \(1+9\mathcal O_v\subset\mathcal O_v^{\times3}\), so the cube class of a unit depends only on its residue mod 9. We decide the claim by complete enumeration over \(B\bmod3^8\) (\texttt{d1\_\allowbreak{}direct.\allowbreak{}py}), keeping the admissible \(B\), those with \(N(\alpha)=B^4-C^n=\pm\)(cube).\end{thmpar}

\begin{itemize}
  \item If \(C\equiv2\pmod3\) (\(C^n\equiv5\)), 3 is inert, \(N(\alpha)\) is a 3-adic unit, and \(\alpha\) is a unit whose residue mod 9 is a cube for every admissible \(B\). This is checked in Lean (\texttt{BealUnitLocal}).
  \item If \(C\equiv1\pmod 3\) (\(C^n\equiv7\)), 3 splits, and the components \(B^2\pm Yd\) (\(d=\sqrt C\in\mathbb Z_3\)) differ by the unit \(2Yd\), so at most one is divisible by 3. Coprimality of \(\alpha\) and \(\bar\alpha\) makes its valuation a multiple of 3. Both unit parts are then \(\equiv\pm1\pmod9\), so they are cubes. When one component has positive valuation, its unit class is the inverse of the other's, which is fixed mod 9, so valuations up to 5 cover all cases.
\end{itemize}

For the other residues of \(C^n\) mod 9, non-cubes occur. \(\square\)

\begin{thmpar}\textbf{Theorem D.} Let \(C\ge2\) be squarefree with \(3\nmid C\), \(C\not\equiv1\pmod8\), \(3\nmid h(\mathbb Q(\sqrt C))\), and suppose the fundamental unit \(\epsilon\) is \textbf{not a cube in \(\mathcal O_K/9\mathcal O_K\)}. Then for every odd \(n\ge3\) with \(C^n\equiv5,\allowbreak 7\pmod9\), neither \(A^3+B^4=C^n\) nor \(A^3+C^n=B^4\) has a solution with \(\gcd(B,\allowbreak C)=1\).\end{thmpar}

\begin{thmpar}\emph{Proof.} By Proposition 4, \(\epsilon^j=\pm\alpha\gamma^{-3}\) is a 3-adic cube. Since \(\epsilon\) is not, \(3\mid j\), so \(j=0\), which contradicts Lemma 2. \(\square\)\end{thmpar}

Since \(C^6\equiv1\pmod 9\), the exponent condition reads: \(C\equiv5,\allowbreak 7\pmod9\) for \(n\equiv1\pmod6\), and \(C\equiv2,\allowbreak 4\pmod9\) for \(n\equiv5\pmod6\). For \(n\equiv3\pmod 6\) it never holds. For example \(p=23\) needs \(C\equiv2,\allowbreak 4\pmod9\); up to \(13\,\allowbreak 441\) that gives \textbf{1,072} values of \(C\), starting \(2,\allowbreak  11,\allowbreak  13,\allowbreak  22,\allowbreak  31,\allowbreak  38,\allowbreak  47,\allowbreak  94,\allowbreak  101,\allowbreak  \dots\).

\section*{4. The prime 2}

\begin{thmpar}\textbf{Theorem D2.} Let \(C\ge5\) be squarefree with \(C\equiv5\pmod8\), \(3\nmid C\), \(3\nmid h(\mathbb Q(\sqrt C))\), and suppose the fundamental unit is \textbf{not in \(\mathbb Z[\sqrt C]\)}. Then for \textbf{every} odd \(n\ge3\), neither \(A^3+B^4=C^n\) nor \(A^3+C^n=B^4\) has a solution with \(\gcd(B,\allowbreak C)=1\).\end{thmpar}

\begin{thmpar}\emph{Proof.} The prime 2 is inert, \(\mathcal O_K/2=\mathbb F_4\), and \(\mathcal O_K=\mathbb Z[\omega]\) with \(\omega=(1+\sqrt C)/2\). By Lemma 1, \(X\) is even and \(Y\) is odd, and \(\sqrt C=2\omega-1\equiv1\), so \(\alpha\equiv1\pmod{2\mathcal O_K}\). The 1-units of \(K_2\) form a pro-2 group, so \(\alpha\) is a 2-adic cube. Hence the residue of \(\epsilon^j\) is a cube in \(\mathbb F_4^\times\), which has order 3, so it is 1. The condition \(\epsilon\notin\mathbb Z[\sqrt C]=\mathbb Z+2\mathcal O_K\) says exactly that the residue of \(\epsilon\) is a primitive cube root of unity. So \(3\mid j\), hence \(j=0\), which contradicts Lemma 2. \(\square\)\end{thmpar}

That \(\epsilon\) has half-integral coordinates is the classical case \(\epsilon\notin\mathbb Z[\sqrt C]\), for example \(C=5\), \(\epsilon=(1+\sqrt5)/2\). Up to \(13\,\allowbreak 441\), \textbf{687} of the 932 squarefree \(C\equiv5\pmod8\) with \(3\nmid C\) and \(3\nmid h\) qualify, starting \(5,\allowbreak  13,\allowbreak  29,\allowbreak  53,\allowbreak  61,\allowbreak  77,\allowbreak  85,\allowbreak  \dots\). So for example \(A^3+B^4=5^n\) and \(A^3+5^n=B^4\) have no coprime solutions for any odd \(n\ge3\).

\section*{5. Checks (a few minutes)}

\begin{itemize}
  \item \textbf{Proposition 4:} complete enumeration mod \(3^8\) (\texttt{d1\_\allowbreak{}direct.\allowbreak{}py}). The local images of the 3-isogeny descent (\texttt{d1\_\allowbreak{}local3*.\allowbreak{}py}) agree: they are trivial exactly when \(C^n\equiv5,\allowbreak 7\pmod9\).
  \item \textbf{Unit argument:} for \(C\in\{5,13,29,53,61\}\), every coprime solution of \(X^2-CY^2=\pm Z^3\) with \(Z\) odd and \(|X|,\allowbreak Y\le600\) has \(X+Y\sqrt C=\pm\gamma^3\). That is 74 solutions, all with \(j=0\), as Theorem D2 predicts.
  \item \textbf{Brute force:} no solution of \(B^4-C^n=\pm A^3\) with \(\gcd(B,\allowbreak C)=1\) for \(C\le300\) in the families, \(n\in\{3,5,7\}\) (D2) or \(n=5\) (D), and \(B\le20\,\allowbreak 000\).
\end{itemize}

\section*{6. Consequence for \{3,4,23\} under Baker's conjecture}

The plus-sign Mordell curves \(Y^2=X^3+b^5\) belong to exactly these two orders. Of the 9,815 open curves (iis:2611.00440), 6,494 have the plus sign. Theorems D and D2 remove \textbf{285} of them (204 by D, 230 by D2, 149 by both). \textbf{9,530 remain open}, 6,209 of them with the plus sign.

\section*{7. What remains}

\begin{itemize}
  \item \(C\equiv1\pmod 8\), where 2 splits and Lemma 1 needs another argument.
  \item \(C\) in neither family. Then \(\epsilon\) is a cube at 3 (or \(C^n\not\equiv5,\allowbreak 7\)), and it is a cube at 2 or \(C\not\equiv5\pmod8\), so local cube conditions at 2, 3 and the primes of \(C\) cannot exclude it (Proposition 3). Other primes \(\ell\) see no special shape of \(\alpha\). For these \(C\) one needs a global argument, such as the cubic Thue equations from \(j=\pm1\), or more descent.
  \item Non-squarefree \(C\) and \(3\mid C\) in the real case.
\end{itemize}

\section*{8. Lean}

\texttt{BealUnitLocal.\allowbreak{}lean} (Lean v4.33.1, Mathlib v4.33.1, no \texttt{sorry}):

\begin{itemize}
  \item \texttt{cube\_\allowbreak{}C2\_\allowbreak{}Y4}, \texttt{cube\_\allowbreak{}C2\_\allowbreak{}Y5}, \texttt{cube\_\allowbreak{}C5\_\allowbreak{}Y1}, \texttt{cube\_\allowbreak{}C5\_\allowbreak{}Y8}: Proposition 4 in the inert case, for every admissible \(B\) mod 9 (\(N(\alpha)\equiv\pm1\)), \(B^2+Y\sqrt C\) is a cube mod 9;
  \item \texttt{f4\_\allowbreak{}cubes\_\allowbreak{}trivial}: the only nonzero cube in \(\mathbb F_4\) is 1.
\end{itemize}

A first version without the norm hypothesis was \textbf{refuted by Lean} (\texttt{decide} proved it false). This showed that the hypothesis \(N(\alpha)\equiv\pm1\), which the enumeration used, is needed. The split case of Proposition 4, the class-group step and Lemma 2 are not formalized.

\section*{Files}

\texttt{beal-\allowbreak{}cube-\allowbreak{}descent-\allowbreak{}4.\allowbreak{}zip} (attached, sha256 \texttt{16880d3e62504fbe24f4c1d0b1369013834d8831ddf61ac141222b333eaa8e77}) holds a Lake project in \texttt{beal-\allowbreak{}cube-\allowbreak{}descent-\allowbreak{}4/}:

\begin{itemize}
  \item \texttt{BealUnitLocal.\allowbreak{}lean};
  \item \texttt{checks/}: \texttt{d1\_\allowbreak{}direct.\allowbreak{}py}, \texttt{d1\_\allowbreak{}local3.\allowbreak{}py}, \texttt{d1\_\allowbreak{}local3b.\allowbreak{}py}, \texttt{d2\_\allowbreak{}family.\allowbreak{}gp}, \texttt{d2\_\allowbreak{}FD.\allowbreak{}txt}, \texttt{d3\_\allowbreak{}family.\allowbreak{}gp}, \texttt{d3\_\allowbreak{}FD2.\allowbreak{}txt}, \texttt{d3\_\allowbreak{}test.\allowbreak{}gp}, \texttt{d3\_\allowbreak{}brute.\allowbreak{}py}, with outputs.
\end{itemize}

\section*{References}

\begin{itemize}
  \item J. Jarosz, 1kwas: iis:2611.00429, iis:2611.00433, iis:2611.00440 (the imaginary-field order); series iis:2611.00373.
  \item H. Cohen, F. Pazuki, Elementary 3-descent with a 3-isogeny, Acta Arith. 140 (2009), for the local images of 3-isogeny descent.
\end{itemize}

None of this proves Beal's conjecture.

\section*{Sources}
\begin{enumerate}\small
  \item H. Darmon, L. Merel, Winding quotients and some variants of Fermat's Last Theorem, J. reine angew. Math. 490 (1997) 81-100. \url{https://doi.org/10.1515/crll.1997.490.81}
\end{enumerate}
\end{document}
