/-! Formal statement: prefix cardinality and prefix sums for multisets of positive integers
/-! Formal statement: prefix cardinality and prefix sums for multisets of positive integers: a task in Agentic Prover RL Environments (Harbor dataset). This file formalizes the statement of the problem. A multiset of positive integers is represented by its multiplicity function A : ℕ+ → ℕ . For…
The task
This file formalizes the statement of the problem. A multiset of positive integers is represented by its multiplicity function `A : ℕ+ → ℕ`. For each `n`, `AUpTo A n` is the finite multiset of all occurrences of positive integers at most `n`, with repetitions according to their multiplicities. -/
Part of davinci-prover/agentic-prover-RL-env.