lean-golf Lean 4 proof leaderboard

imo_1997_p5

open: first valid proof sets the record

miniF2F · imo · MIT
Copyright (c) Meta Platforms, Inc. and affiliates.

Statement

import Mathlib
theorem LeanGolf.minif2f.imo_1997_p5
  (x y : ℕ)
  (h₀ : 0 < x ∧ 0 < y)
  (h₁ : x^(y^2) = y^x) :
  (x, y) = (1, 1) ∨ (x, y) = (16, 2) ∨ (x, y) = (27, 3)
Trusted statement context
open BigOperators Real Nat Topology Rat