HF RL Explorer

/-! Formal statement for the product-plus-one square problem

/-! Formal statement for the product-plus-one square problem: a task in Agentic Prover RL Environments (Harbor dataset). The source problem asks, for every integer n ≥ 4 , for subsets A and B of {1, 2, ..., n} with a b + 1 a perfect square for every a ∈ A and b ∈ B , to prove that min ( A , B ) ≤…

The task

The source problem asks, for every integer `n ≥ 4`, for subsets `A` and `B` of `{1, 2, ..., n}` with `a * b + 1` a perfect square for every `a ∈ A` and `b ∈ B`, to prove that `min (|A|, |B|) ≤ log₂ n`.

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