lean-golf Lean 4 proof leaderboard

Putnam 2014 B1

open: first valid proof sets the record

PutnamBench · 2014 B1 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_2014_b1
(overexpansion : ℕ → List ℕ → Prop)
(hoverexpansion : overexpansion = fun N d ↦ N = ∑ i : Fin d.length, (d.get i) * 10 ^ i.1 ∧ d.getLastI ≠ 0 ∧ ∀ a ∈ d, a ∈ Finset.range 11)
(S : Set ℕ)
(hS : ∀ N : ℕ, N ∈ S ↔ N > 0 ∧ ∃! d : List ℕ, overexpansion N d)
: (S = putnam_2014_b1_solution)
Trusted statement context
noncomputable section

open Topology Filter Nat

abbrev putnam_2014_b1_solution : Set ℕ :=
  {n : ℕ | n > 0 ∧ ¬∃ a ∈ digits 10 n, a = 0}