lean-golf Lean 4 proof leaderboard

USA2013 P5

open: first valid proof sets the record

Compfiles · Usa · Apache-2.0
Copyright (c) 2026 The Compfiles Contributors. All rights reserved. Authors: Kimi K3

Statement

import Mathlib.Algebra.Order.Ring.Star
import Mathlib.Data.Nat.Digits.Defs
import Mathlib.Data.Nat.Factorization.Basic
import Mathlib.Data.ZMod.Units
import Mathlib.Tactic.NormNum
import Mathlib.Tactic.NormNum.GCD
import Mathlib.Tactic.NormNum.Prime
import Mathlib.Tactic.Ring
theorem _root_.LeanGolf.compfiles.usa2013_p5 (m n : ℕ) (hm : 0 < m) (hn : 0 < n) :
    ∃ c : ℕ, 0 < c ∧ ∀ d ∈ Finset.Icc 1 9,
      (Nat.digits 10 (c * m)).count d = (Nat.digits 10 (c * n)).count d
Trusted statement context
namespace Usa2013P5