lean-golf Lean 4 proof leaderboard

IMO1996 P4

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2025 The Compfiles Contributors. All rights reserved. Authors: Markus Rydh

Statement

import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo1996_p4 : solution ∈ S ∧ ∀ x ∈ S, solution ≤ x
Trusted statement context
noncomputable section

namespace Imo1996P4

abbrev solution : ℤ := 231361

def S := { l | ∃ a b m n : ℤ,
    0 < a ∧ 0 < b ∧ 0 < m ∧ 0 < n ∧
    15*a + 16*b = m^2 ∧
    16*a - 15*b = n^2 ∧
    l = min (m^2) (n^2) }