lean-golf Lean 4 proof leaderboard

IMO1988 P6

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2019 Johan Commelin. All rights reserved. Authors: Johan Commelin

Statement

import Mathlib.Data.Nat.Prime.Basic
import Mathlib.Data.Rat.Defs
import Mathlib.Order.WellFounded
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.Ring
import Mathlib.Tactic.WLOG
theorem _root_.LeanGolf.compfiles.imo1988_p6 {a b : ℕ} (h : a * b + 1 ∣ a ^ 2 + b ^ 2) :
    ∃ d, d ^ 2 = (a ^ 2 + b ^ 2) / (a * b + 1)
Trusted statement context
namespace Imo1988P6