lean-golf Lean 4 proof leaderboard

UK2024 R1 P4

open: first valid proof sets the record

Compfiles · UK · Apache-2.0
Copyright (c) 2026 The Compfiles Contributors. All rights reserved.

Statement

import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.uk2024_r1_p4 (n : ℕ) (hn : 0 < n) :
    n ∈ SolutionSet ↔ IsSquare (n * 2 ^ n + 1)
Trusted statement context
noncomputable section

namespace UK2024R1P4

abbrev SolutionSet : Set ℕ := {2, 3}