lean-golf Lean 4 proof leaderboard

ONES AND TWOS

open: first valid proof sets the record

Compfiles · ZeroesOnesAndTwos · Apache-2.0
Copyright (c) 2023 David Renshaw. All rights reserved. Authors: David Renshaw

Statement

import Mathlib.Data.Nat.Digits.Lemmas
import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.ones_and_twos
    (n : ℕ) : ∃ k : ℕ+, ∀ e ∈ Nat.digits 10 (2^n * k), e = 1 ∨ e = 2
Trusted statement context
namespace ZerosOnesAndTwos