Proof of Theorem 2: on the k = 3 example, S* = 4 and B1(S) = 3
ProvedJohnsonApprox.MaxSatGreedy.exampleK3_specLet be the input of p. 263. Then
- is an input of : every clause has three distinct literals;
- ;
- some set of clauses choosable by B1 on has ;
- every set choosable by B1 on has .
Parts 3 and 4 together say , the minimum of over choosable outputs. Hence the ratio of B1 on is for , the tightness example the paper gives for Theorem 2.
import Mathlib import Definitions.Def_JohnsonApprox_Shared_Problem import Definitions.Def_JohnsonApprox_MaxSatGreedy_B1 import Definitions.Def_JohnsonApprox_MaxSatGreedy_ExampleK3
namespace JohnsonApprox.MaxSatGreedy
theorem exampleK3_spec :
Shared.InMS 3 exampleK3 ∧ Shared.opt exampleK3 = 4 ∧
(∃ X, Choosable exampleK3 X ∧ X.card = 3) ∧ (∀ X, Choosable exampleK3 X → 3 ≤ X.card) := by sorry
end JohnsonApprox.MaxSatGreedy
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
This statement concerns one fixed object, . It is defined in the imported file Definitions.Def_JohnsonApprox_MaxSatGreedy_ExampleK3, whose contents are not shown here. The statement takes no variables and no hypotheses. It asserts that the following four facts all hold together:
- Membership. The predicate holds. This is
Shared.InMS, from the imported fileDefinitions.Def_JohnsonApprox_Shared_Problem, applied to the natural number and to . The definition of is not included in the code provided, so its meaning cannot be unfolded here. The code shows only that it takes a number and the instance. - Optimum value. The quantity equals . This is
Shared.opt, from the same shared file, and its definition is also not shown. The code does not show the type of the value , so whether it is a natural number, an integer, a real number or something else is not visible here. - A choosable set of size 3 exists. There is some with and :
Here is JohnsonApprox.MaxSatGreedy.Choosable, which is presumably defined in the imported file Definitions.Def_JohnsonApprox_MaxSatGreedy_B1. Its definition is not shown. is the size of given by its card, so is some finite collection, apparently a finite set, whose element type is fixed by .
4. No smaller choosable set. Every with has at least elements:
Parts 3 and 4 together say that the smallest size of a choosable for is exactly , and that this size is attained. They say nothing about larger choosable sets: such sets may or may not exist. The inequality in part 4 is , not . The statement does not claim that a size-3 choosable set is unique.
Degenerate cases. There are no parameters, so no empty types, zero counts or other edge cases can arise from binders. The statement is not vacuous: part 3 requires at least one choosable set to exist, so part 4 cannot hold merely because no set is choosable. Whether any of the four facts depends on default values of total functions cannot be checked from this code. That would include a division by zero or a subtraction in inside or . The definitions of , , and are all imported without being shown, so the exact meaning of parts 1 and 2, and which sets count as choosable, depends entirely on those unseen definitions.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.