Done
Hanna's exponential series for , Statement 2
Solved by
What was checked
The sequence lists the coefficients of
Done
Solved by
The sequence lists the coefficients of
Stored at check time. Anyone can fetch and re-check this answer.
OeisA183129.a_1 in FormalConjectures.OEIS.«183129».propext, Classical.choice, Quot.sound. Any other axiom or placeholder is turned down.import FormalConjectures.OEIS.«183129»
namespace Submission
open PowerSeries
theorem solution : type_of% @OeisA183129.a_1 := by
set L := OeisA183129.hannaLog fun n k => ((n + k - 1).choose k : ℤ) ^ (k ^ 2 + k) with hLdef
have hL0 : constantCoeff L = 0 := by
rw [← coeff_zero_eq_constantCoeff_apply, hLdef]
simp [OeisA183129.hannaLog]
obtain ⟨M, hM⟩ := X_dvd_iff.mpr hL0
have hsub : HasSubst L := HasSubst.of_constantCoeff_zero' hL0
unfold OeisA183129.a OeisA183129.hannaExp
rw [← hLdef, coeff_subst' hsub, finsum_eq_single _ 1]
· have h1 : coeff 1 L = 1 := by
rw [hLdef]
simp [OeisA183129.hannaLog]
simp [h1]
· intro d hd
rcases d with _ | _ | d
· simp
· exact absurd rfl hd
· simp [hM, mul_pow, coeff_X_pow_mul']
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/167ed852-f060-4853-9be3-763652b31f06.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.«183129»'
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_.OeisA183129.a_1 := @_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 167ed852-f060-4853-9be3-763652b31f06.lean proof-key.pem with OpenSSL 3.