Alphabeta Math
DefinitionDefinition: Literature-sourcedProof: Not applicablePipeline-generatedjudge pass (gpt-6.1-sol)audited 2026-10-02
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Weighted greedy set cover and element charges

Definition

The weighted set-cover problem is the following finite-instance optimization problem. An instance consists of a finite universe U={u1,…,un} of n elements, an explicitly listed finite family S1,…,Sm of subsets of U with ⋃iSi=U, and a nonnegative rational cost ci≥0 for each listed set. A feasible solution is a subfamily whose union is U, and its objective value is the total cost of the selected sets; the direction is minimization. When every cost is 1, deciding whether a cover has total cost at most a natural number k gives the unit-cost decision problem The set cover decision problem, restricted here to families covering U. For general costs the corresponding decision question uses a rational budget on total cost. The decision parameter k plays no role in the weighted algorithm or its analysis.

The weighted greedy algorithm is the following deterministic procedure. It maintains the set of currently uncovered elements, initially U, and the list of chosen indices, initially empty. While uncovered elements remain, it considers every listed set Si with at least one currently uncovered element, so that the newly covered count ∣Si∖(covered)∣ is positive, and chooses one minimizing the ratio ci/∣Si∖(covered)∣; ties are resolved by the smallest index in the input order. It adds that index to the chosen list and marks its newly covered elements. When U is empty, no set is chosen and the algorithm returns the empty cover. Since the listed family covers U, every round of the loop finds a positive newly covered count.

A set chosen in a round charges every element it newly covers the same amount, namely its cost divided by its newly covered count. Thus the total charged to the elements equals the total cost of the chosen cover. Here Hn is the n-th harmonic number of Harmonic numbers for set-cover analysis, so H0=0 and Hn=∑j=1n1/j for n≥1. All ratios are computed exactly in the rationals, and the finitely many ratios of each round are compared by exact rational arithmetic.

Depends on

Used by

Dependency tree · one level

3 results within one dependency step of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources