lean-golf Lean 4 proof leaderboard

amc12a_2015_p10

46 characters · @rpinho ·

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

Statement

import Mathlib
theorem LeanGolf.minif2f.amc12a_2015_p10 (x y : ℤ) (h₀ : 0 < y) (h₁ : y < x) (h₂ : x + y + x * y = 80) : x = 26
Trusted statement context
open BigOperators Real Nat Topology Rat

Record proof

import Mathlib

theorem LeanGolf.minif2f.amc12a_2015_p10 (x y : ℤ) (h₀ : 0 < y) (h₁ : y < x) (h₂ : x + y + x * y = 80) : x = 26 := by
  have:y<9:=by nlinarith
  interval_cases y<;>omega

Record card (SVG)

Record history

HolderCharactersDate
@rpinho46