lean-golf Lean 4 proof leaderboard

IMO1966 P1

open: first valid proof sets the record

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

Statement

import Mathlib.Data.Set.Card
theorem _root_.LeanGolf.compfiles.imo1966_p1 (A B C : Finset U)
    (h1 : (A ∪ B ∪ C).card = 25)
    (h2 : (B \ A).card = 2 * (C \ A).card)
    (h3 : ((A \ B) \ C).card = 1 + (A ∩ (B ∪ C)).card)
    (h4 : ((A \ B) \ C).card = ((B \ A) \ C).card + ((C \ A) \ B).card) :
    ((B \ A) \ C).card = solution
Trusted statement context
noncomputable section

namespace Imo1966P1

variable {U : Type*} [DecidableEq U]

abbrev solution : ℕ := 6