lean-golf Lean 4 proof leaderboard

IMO2006 P4

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2025 Project Numina. All rights reserved. Authors: Project Numina Contributors

Statement

import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo2006_p4 :
    {(x, y) : ℤ × ℤ | 1 + (2 : ℝ) ^ x + 2 ^ (2 * x + 1) = y ^ 2} =
    solution
Trusted statement context
noncomputable section

namespace Imo2006P4

abbrev solution : Set (ℤ × ℤ) := {(0, 2), (0, -2), (4, 23), (4, -23)}