HF RL Explorer

/-! Formalization of a partition theorem for k -element subsets

/-! Formalization of a partition theorem for k -element subsets: a task in Agentic Prover RL Environments (Harbor dataset). The original problem: if n k ≥ 1 , p is prime and p divides Nat.choose n k , then the k -element subsets of {1, ..., n} admit a partition into p equal-size classes, and the…

The task

The original problem: if `n > k ≥ 1`, `p` is prime and `p` divides `Nat.choose n k`, then the `k`-element subsets of `{1, ..., n}` admit a partition into `p` equal-size classes, and the class of a subset depends only on the sum of its elements.

Part of davinci-prover/agentic-prover-RL-env.