Proof of Theorem 4 (Fig. 1) — C1 can choose F₁ with k!·Σ_{j=1}^k (1/j) sets while F* = k!
ProvedJohnsonApprox.SetCover.fig1_runLet and let be the input of Fig. 1: points in segments of points, the subfamily of disjoint -element sets with one point per segment, and the subfamily made of disjoint -element sets covering segment , for . Then:
- is an input of : no set has more than elements.
- is a subcover of , and the optimal measure is .
- is choosable by algorithm C1 given .
- has
sets.
Consequently , which shows that the upper bound of Theorem 4 is attained for every .
Formalization Note The instance is the definition fig1 k (0-based segments). is stated as an equality with opt, the minimum over all subcovers. The count is a rational equality with Mathlib's harmonic k.
import Mathlib import Definitions.Def_JohnsonApprox_SetCover_Problem import Definitions.Def_JohnsonApprox_SetCover_C1 import Definitions.Def_JohnsonApprox_SetCover_Fig1
namespace JohnsonApprox.SetCover
theorem fig1_run (k : ℕ) (hk : 1 ≤ k) :
InSC k (fig1 k) ∧ fig1F₀ k ∈ subcovers (fig1 k) ∧ opt (fig1 k) = k.factorial ∧
Choosable (fig1 k) (fig1F₁ k) ∧
((fig1F₁ k).card : ℚ) = k.factorial * harmonic k := by sorry
end JohnsonApprox.SetCover
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be a natural number. Consider the instance on the points with and . Its indexed sets are:
- , for ;
- , for and .
Let be the set of distinct sets of the first kind, and the set of distinct sets of the second kind.
Conclusion. The statement asserts all five of the following:
- holds. Every indexed set, of either kind, has at most elements.
- is a subcover. is contained in the family of distinct sets of the instance, and its union equals the union of all the indexed sets.
- The optimum is . The minimum number of distinct sets in a subfamily of the instance whose union is the whole ground set equals .
- is choosable. Start from , union of all sets, and . Some finite sequence of greedy steps reaches with . In each step:
- it requires ;
- it picks any index of maximal current ;
- it adds the original set to ;
- it subtracts from and from every .
- The size of . In the rationals,
Here counts distinct sets.
Degenerate cases. is excluded by the hypothesis . For there is a single point , and both indices carry the same set . So , and the five claims read:
- every set has at most element;
- covers the single point;
- the optimum is ;
- is choosable;
- .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.