Lemma 1 — F₁ is choosable by C1 iff its index set is selectable from the initial configuration
ProvedJohnsonApprox.SetCover.lemma1_choosable_iff_selectableLet be an input of SET COVERING I whose sets are pairwise distinct. Suppose is a subcover and let
Let be the configuration of algorithm C1 after it has been given input and initialized itself via Step 1. Then
The lemma translates the algorithm's own output (the family SUB it accumulates) into the language of configurations and runs, in which Lemma 2 is proved. Together with Lemma 2 it gives the upper bound of Theorem 4.
Formalization Note Choosability is defined through the algorithm's state (SUB, UNCOV, SET) and selectability through runs of configurations and , as on p. 266. The paper's family is a set of sets, so its indexing is injective; that is the hypothesis Function.Injective S. Without it the identification fails, since a set carried by two indices is chosen only once.
import Mathlib import Definitions.Def_JohnsonApprox_SetCover_Problem import Definitions.Def_JohnsonApprox_SetCover_C1 import Definitions.Def_JohnsonApprox_SetCover_Config
namespace JohnsonApprox.SetCover
theorem lemma1_choosable_iff_selectable {ι α : Type} [Fintype ι] [DecidableEq ι] [DecidableEq α]
(S : ι → Finset α) (hS : Function.Injective S)
(F₁ : Finset (Finset α)) (hF₁ : F₁ ∈ subcovers S) :
Choosable S F₁ ↔ Selectable (initConfig S) (Finset.univ.filter (fun i => S i ∈ F₁)) := by sorry
end JohnsonApprox.SetCover
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.
- is a finite type with decidable equality, and is a type with decidable equality.
- is injective: distinct indices carry distinct sets. In particular, at most one index carries .
- is a finite family of subsets of .
- Hypothesis: is a subcover. That is, and .
Conclusion. The following are equivalent:
- is choosable. Start from the state
Each step requires and then does three things:
- picks any with maximal;
- adds the original to ;
- replaces by and each by .
is choosable when some finite sequence of such steps reaches a state with and . 2. The index set is selectable from the initial configuration. That initial configuration has and . Selectable means some run from it has exactly this set as the set of indices chosen along it. A run applies the same maximal-choice and subtraction steps (each requiring ) and ends when .
Degenerate cases.
-
Empty , or all empty: the only subcover-compatible choices reduce to trivial ones. Both sides hold exactly when .
- With empty, is forced, and both sides are true.
- With one index carrying as the only index, and (a permitted subcover): the left side requires from a state that halts immediately, so it is false. The right side asks for selectability of , which is also false because the only run is empty.
So the equivalence holds there with both sides false.
-
The empty set as a member of : more generally, the hypotheses allow to contain when some . The statement asserts the equivalence in that case too.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.