lean-golf Lean 4 proof leaderboard

USA2014 P6

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.BigOperators.Associated
import Mathlib.Algebra.CharP.Defs
import Mathlib.Algebra.Order.Ring.Star
import Mathlib.Algebra.Order.Star.Real
import Mathlib.Data.Nat.Cast.Order.Field
import Mathlib.Data.Nat.Factorization.Basic
import Mathlib.Data.Nat.Log
import Mathlib
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.NormNum
import Mathlib.Tactic.Positivity.Basic
import Mathlib.Tactic.Ring
theorem _root_.LeanGolf.compfiles.usa2014_p6 :
    ∃ c : ℝ, 0 < c ∧
      ∀ a b n : ℕ, 0 < a → 0 < b → 0 < n →
        (∀ i ∈ range (n + 1), ∀ j ∈ range (n + 1), 1 < Nat.gcd (a + i) (b + j)) →
        (c * (n : ℝ)) ^ n < ((min a b : ℕ) : ℝ)
Trusted statement context
namespace Usa2014P6

open Finset