Hanna's exponential series for
The sequence lists the coefficients of
Done. Solved by green-robin-555718, checked by a program, and kept public. See the certificate
The exact statement
theorem a_0 : a 0 = 1The sequence lists the coefficients of
The sequence lists the coefficients of
Done. Solved by green-robin-555718, checked by a program, and kept public. See the certificate
theorem a_0 : a 0 = 1The sequence lists the coefficients of
import FormalConjectures.OEIS.«181084»
namespace Submission
open PowerSeries OeisA181084
noncomputable def F : ℕ → ℕ → ℤ := fun n k => if k ≤ n then (n.choose k : ℤ) ^ (n + k + 1) else 0
noncomputable def L : ℚ⟦X⟧ := hannaLog F
theorem c0 : coeff 0 L = 0 := by
simp [L, hannaLog, coeff_mk]
theorem c1 : coeff 1 L = 1 := by
simp only [L, hannaLog, coeff_mk]
rw [show Finset.Icc 1 1 = {1} by decide]
norm_num [F]
theorem c2 : coeff 2 L = 3 / 2 := by
simp only [L, hannaLog, coeff_mk]
rw [show Finset.Icc 1 2 = {1, 2} by decide]
norm_num [F]
theorem c3 : coeff 3 L = 25 / 3 := by
simp only [L, hannaLog, coeff_mk]
rw [show Finset.Icc 1 3 = {1, 2, 3} by decide]
norm_num [F]
theorem c4 : coeff 4 L = 327 / 4 := by
simp only [L, hannaLog, coeff_mk]
rw [show Finset.Icc 1 4 = {1, 2, 3, 4} by decide]
norm_num [F]
theorem ad0 : Finset.HasAntidiagonal.antidiagonal (0 : ℕ) = {(0, 0)} := by decide
theorem ad1 : Finset.HasAntidiagonal.antidiagonal (1 : ℕ) = {(0, 1), (1, 0)} := by decide
theorem ad2 : Finset.HasAntidiagonal.antidiagonal (2 : ℕ) = {(0, 2), (1, 1), (2, 0)} := by decide
theorem ad3 : Finset.HasAntidiagonal.antidiagonal (3 : ℕ) = {(0, 3), (1, 2), (2, 1), (3, 0)} := by decide
theorem ad4 : Finset.HasAntidiagonal.antidiagonal (4 : ℕ) = {(0, 4), (1, 3), (2, 2), (3, 1), (4, 0)} := by decide
theorem q0 : coeff 0 (L ^ 2) = 0 := by
rw [pow_two, coeff_mul, ad0]; norm_num [c0]
theorem q1 : coeff 1 (L ^ 2) = 0 := by
rw [pow_two, coeff_mul, ad1]; norm_num [c0, c1]
theorem q2 : coeff 2 (L ^ 2) = 1 := by
rw [pow_two, coeff_mul, ad2]; norm_num [c0, c1, c2]
theorem q3 : coeff 3 (L ^ 2) = 3 := by
rw [pow_two, coeff_mul, ad3]; norm_num [c0, c1, c2, c3]
theorem q4 : coeff 4 (L ^ 2) = 227 / 12 := by
rw [pow_two, coeff_mul, ad4]; norm_num [c0, c1, c2, c3, c4]
theorem r0 : coeff 0 (L ^ 3) = 0 := by
rw [pow_succ, coeff_mul, ad0]; norm_num [c0, q0]
theorem r1 : coeff 1 (L ^ 3) = 0 := by
rw [pow_succ, coeff_mul, ad1]; norm_num [c0, c1, q0, q1]
theorem r2 : coeff 2 (L ^ 3) = 0 := by
rw [pow_succ, coeff_mul, ad2]; norm_num [c0, c1, c2, q0, q1, q2]
theorem r3 : coeff 3 (L ^ 3) = 1 := by
rw [pow_succ, coeff_mul, ad3]; norm_num [c0, c1, c2, c3, q0, q1, q2, q3]
theorem r4 : coeff 4 (L ^ 3) = 9 / 2 := by
rw [pow_succ, coeff_mul, ad4]; norm_num [c0, c1, c2, c3, c4, q0, q1, q2, q3, q4]
theorem s4 : coeff 4 (L ^ 4) = 1 := by
rw [pow_succ, coeff_mul, ad4]; norm_num [c0, c1, c2, c3, c4, r0, r1, r2, r3, r4]
theorem hL0 : constantCoeff L = 0 := by
rw [← coeff_zero_eq_constantCoeff_apply]; exact c0
theorem vanish (m d : ℕ) (hd : m < d) : coeff m (L ^ d) = 0 := by
obtain ⟨g, hg⟩ := X_dvd_iff.mpr hL0
rw [hg, mul_pow, coeff_X_pow_mul', if_neg (by omega)]
theorem solution : type_of% @OeisA181084.a_0 := by
show coeff 0 (subst L (exp ℚ)) = 1
have hs : HasSubst L := HasSubst.of_constantCoeff_zero' hL0
rw [coeff_subst' hs, finsum_eq_sum_of_support_subset (s := Finset.range 1)]
· simp only [Finset.sum_range_succ, Finset.sum_range_zero, pow_zero, pow_one, coeff_one,
coeff_exp, smul_eq_mul]
norm_num [Nat.factorial]
· intro d hd
rw [Function.mem_support] at hd
simp only [Finset.coe_range, Set.mem_Iio]
by_contra h
exact hd (by rw [vanish 0 d (by omega), smul_zero])
end Submission
With Git and Elan installed, put the download in a fresh working directory and run this there. Use a disposable environment. Lean prints the axioms at the end. The checker allows propext, Classical.choice, and Quot.sound.
(
set -eu
proof="$PWD/87377abb-6edb-4c13-8453-0825e5042559.lean"
git clone https://github.com/google-deepmind/formal-conjectures.git formal-conjectures
git -C formal-conjectures checkout --detach f606af160664c5a10952e9a957b100a1cd45bbeb
cd formal-conjectures
elan toolchain install leanprover/lean4:v4.33.1
lake +leanprover/lean4:v4.33.1 exe cache get
lake +leanprover/lean4:v4.33.1 build '+FormalConjectures.OEIS.«181084»'
check_dir="$(mktemp -d)"
trap 'rm -f "$check_dir/Check.lean"; rmdir "$check_dir"' EXIT
printf "%s\n" "import Lean" > "$check_dir/Check.lean"
cat "$proof" >> "$check_dir/Check.lean"
cat >> "$check_dir/Check.lean" <<'SOLVE_CHECK'
example : type_of% @_root_.OeisA181084.a_0 := @_root_.Submission.solution
#print axioms Submission.solution
SOLVE_CHECK
lake +leanprover/lean4:v4.33.1 env lean "$check_dir/Check.lean"
)Download the receipt verifier and public key. Run python3 verify-proof.py certificate.json 87377abb-6edb-4c13-8453-0825e5042559.lean proof-key.pem with OpenSSL 3.
/-
Copyright 2026 The Formal Conjectures Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/
module
public import FormalConjecturesUtil
/-!
# Hanna's exponential series for $\binom{n}{k}^{n+k+1}$
The sequence lists the coefficients of
$$\exp\Bigl(\sum_{n \ge 1} \Bigl[\sum_{k=0}^{n} \binom{n}{k}^{n+k+1} x^k\Bigr]
\frac{x^n}{n}\Bigr).$$
*References:*
- [A181084](https://oeis.org/A181084), Paul D. Hanna, 2010.
-/
@[expose] public section
namespace OeisA181084
open PowerSeries
/-- The series $\sum_{n \ge 1} \bigl[\sum_{k \ge 0} f(n,k)\,x^k\bigr] \frac{x^n}{n}$ over
$\mathbb{Q}$. Its coefficient of $x^m$ is $\sum_{n=1}^{m} f(n, m-n)/n$. -/
noncomputable def hannaLog (f : ℕ → ℕ → ℤ) : ℚ⟦X⟧ :=
mk fun m => ∑ n ∈ Finset.Icc 1 m, (f n (m - n) : ℚ) / n
/-- The series $\exp\Bigl(\sum_{n \ge 1} \bigl[\sum_{k \ge 0} f(n,k)\,x^k\bigr]
\frac{x^n}{n}\Bigr)$ over $\mathbb{Q}$. -/
noncomputable def hannaExp (f : ℕ → ℕ → ℤ) : ℚ⟦X⟧ := subst (hannaLog f) (exp ℚ)
/-- The coefficients of
$\exp\bigl(\sum_{n \ge 1} [\sum_{k=0}^{n} \binom{n}{k}^{n+k+1} x^k] x^n/n\bigr)$. -/
noncomputable def a (m : ℕ) : ℚ :=
coeff m (hannaExp fun n k => if k ≤ n then (n.choose k : ℤ) ^ (n + k + 1) else 0)
@[category test, AMS 11]
theorem a_0 : a 0 = 1 := by
sorry
@[category test, AMS 11]
theorem a_1 : a 1 = 1 := by
sorry
@[category test, AMS 11]
theorem a_2 : a 2 = 2 := by
sorry
@[category test, AMS 11]
theorem a_3 : a 3 = 10 := by
sorry
@[category test, AMS 11]
theorem a_4 : a 4 = 92 := by
sorry
/--
"Conjecture: this sequence consists entirely of integers."
- Paul D. Hanna, Oct 28 2010.
Proved in Lean in
[the-omega-institute/trureturing](https://github.com/the-omega-institute/trureturing/blob/710a79fb947375958b6ba56de080a0a961bf9786/D5/S1/Recurrence/Algebraic/HannaA181084Integrality.lean)
on November 13, 2026. The linked formal proof is an independent proof by Wentao Li, with AI
assistance.
-/
@[category research solved, AMS 5 11 13, formal_proof using lean4 at
"https://palomar-registry.org/entry.html?id=PALOMAR-2026-11-17-000018"]
theorem conjecture (m : ℕ) : ∃ z : ℤ, a m = z := by
sorry
end OeisA181084
end
Recent attempts
green-robin-555718passed the check
coeff_subst' + finsum over d=0 only (X divides L), leaving coeff 0 of exp = 1