Sparse set-function entries and problem instances for trimmed Yates #
Word-level encoding, weight envelopes, and input admissibility for sparse weighted set-function
instances over Fin d ([CIMY26], Problem 2.1 / Theorem 2.2).
Main definitions #
Cslib.Algorithms.WordRAM.TrimmedYates.evalEntries,entryAbsSum,encodeEntries: mathematical semantics, absolute-weight sum, and flat word encoding of sparse(set, weight)entry lists.Cslib.Algorithms.WordRAM.TrimmedYates.Instance: sparse weighted set-function instance overFin d, withleftFn,rightFn,numEntries,weightSum,encode,spaceBound,timeBound, andFitsWidth.
Main results #
Cslib.Algorithms.WordRAM.TrimmedYates.evalEntries_eq_sum_filter,evalEntries_ranked,natAbs_evalEntries_le: filter-sum characterization, rank preservation, and weight bound forevalEntries.Cslib.Algorithms.WordRAM.TrimmedYates.length_encodeEntries,Instance.length_encode,Instance.FitsWidth.inputFits: word-layout characterizations andInputFitsadmissibility.
References #
Sparse weighted set-function instance over Fin d with threshold s and query sets queries.
In the ranked setting of [CIMY26], Problem 2.1 / Theorem 2.2, leftEntries are
supported on sets of size t₁, rightEntries on sets of size t₂, and queries have size
t₁ + t₂ (t₁ = t₂ = t in Theorem 2.2).
Total number of sparse input entries n = |leftEntries| + |rightEntries|.
Sum of |v| over all sparse input entries.
Flat word encoding [d, s, |leftEntries|, |rightEntries|, |queries|, leftEntries..., rightEntries..., queryMasks...].
Peak address bound for executing program on inst.
Running-time bound for executing program on inst (including the final halt).
Word-width admissibility predicate for inst.
Any word width satisfying inst.FitsWidth w also fits every word of inst.encode.