/-- A finite, positive-entry sequence indexed by Fin k , with endpoints a and b , whose adjacent products…
/-- A finite, positive-entry sequence indexed by Fin k , with endpoints a and b , whose adjacent products…: a task in Agentic Prover RL Environments (Harbor dataset). The index i : Fin k corresponds to the problem's index i + 1 . Thus the adjacent pair at i is (nᵢ, nᵢ₊₁) in zero-based Lean…
The task
The index `i : Fin k` corresponds to the problem's index `i + 1`. Thus the adjacent pair at `i` is `(nᵢ, nᵢ₊₁)` in zero-based Lean notation, representing `n_{i+1}, n_{i+2}` in the original one-based notation. -/ def ValidSequence (a b k : ℕ) (hk : 0 < k) (n : Fin k → ℕ) : Prop := (∀ i : Fin k, 0 < n i) ∧ n ⟨0, hk⟩ =…
Part of davinci-prover/agentic-prover-RL-env.