lean-golf Lean 4 proof leaderboard

USA2001 P5

open: first valid proof sets the record

Compfiles · Usa · Apache-2.0
Copyright (c) 2026 The Compfiles Contributors. All rights reserved. Authors: Kimi K3

Statement

import Mathlib.RingTheory.Int.Basic
theorem _root_.LeanGolf.compfiles.usa2001_p5 (S : Set ℤ) (hS : ∀ x ∈ S, ∀ y ∈ S, x^2 - y ∈ S)
    (a b : ℤ) (ha : a ∈ S) (hb : b ∈ S)
    (h1 : Int.gcd a b = 1) (h2 : Int.gcd (a - 2) (b - 2) = 1) :
    S = Set.univ
Trusted statement context
namespace Usa2001P5