Done
Exponentials of , Statement 3
Solved by
What was checked
The sequence lists the coefficients of . Paul D. Hanna conjectured that has integer coefficients for all nonnegative integers and . Sela Fried proved this [Fr25].
Done
Solved by
The sequence lists the coefficients of . Paul D. Hanna conjectured that has integer coefficients for all nonnegative integers and . Sela Fried proved this [Fr25].
Stored at check time. Anyone can fetch and re-check this answer.
OeisA158110.a_2 in FormalConjectures.OEIS.«158110».propext, Classical.choice, Quot.sound. Any other axiom or placeholder is turned down.import FormalConjectures.OEIS.«158110»
namespace Submission
theorem solution : type_of% @OeisA158110.a_2 := by
have hb : PowerSeries.constantCoeff (OeisA158110.logSeries 2 3) = 0 := by
simp [OeisA158110.logSeries]
have hX : (PowerSeries.X : PowerSeries ℚ) ∣ OeisA158110.logSeries 2 3 :=
PowerSeries.X_dvd_iff.mpr hb
have hcoeff : ∀ n, PowerSeries.coeff n (OeisA158110.logSeries 2 3) =
if n = 0 then 0 else (2 : ℚ) ^ (n ^ 3) / n := by
intro n
simp [OeisA158110.logSeries, PowerSeries.coeff_mk]
unfold OeisA158110.a
rw [PowerSeries.coeff_subst' (PowerSeries.HasSubst.of_constantCoeff_zero' hb)]
rw [finsum_eq_sum_of_support_subset (s := Finset.range 3)]
· simp [Finset.sum_range_succ, pow_two, PowerSeries.coeff_mul, hcoeff,
Finset.Nat.sum_antidiagonal_succ, PowerSeries.coeff_exp]
norm_num
· intro d hd
by_contra hne
apply hd
have h3 : 3 ≤ d := by simpa using hne
have hdvd : (PowerSeries.X : PowerSeries ℚ) ^ d ∣ (OeisA158110.logSeries 2 3) ^ d :=
pow_dvd_pow_of_dvd hX d
rw [PowerSeries.X_pow_dvd_iff] at hdvd
simp [hdvd 2 (by omega)]
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/260be002-ae5b-4b40-ae75-3e182f547f6b.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.«158110»'
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_.OeisA158110.a_2 := @_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 260be002-ae5b-4b40-ae75-3e182f547f6b.lean proof-key.pem with OpenSSL 3.