HF RL Explorer

/-! Formalization of the source problem

/-! Formalization of the source problem: a task in Agentic Prover RL Environments (Harbor dataset). The source problem asks to prove that, if a prime p is a base-2 Wieferich prime (that is, p ^ 2 divides 2 ^ (p - 1) - 1 ), then for every positive integer n , the integer (p - 1) (p! + 2 ^ n) has at…

The task

The source problem asks to prove that, if a prime `p` is a base-2 Wieferich prime (that is, `p ^ 2` divides `2 ^ (p - 1) - 1`), then for every positive integer `n`, the integer `(p - 1) * (p! + 2 ^ n)` has at least three distinct prime divisors.

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