Lemma 1 — minimality: no proper even subset of a minimum-weight logical
ProvedBBCode.lemma1_minimalityLet (checks) and (observables) be finite families of finite subsets of a set . Call a finite a logical if is even for every and is odd for some . If is a logical of minimum cardinality among all finite logicals, then for every nonempty ,
This lemma justifies the 'kernel' prune of the source's exhaustive distance search: a partial support that already contains a nonempty set even on every check cannot extend to a minimum-weight logical.
import Mathlib import Definitions.Def_BBCode_Setting
namespace BBCode
theorem lemma1_minimality {α : Type*} [DecidableEq α]
(checks obs : Finset (Finset α)) (z : Finset α)
(hz : (∀ c ∈ checks, Even (z ∩ c).card) ∧ ∃ o ∈ obs, Odd (z ∩ o).card)
(hmin : ∀ S : Finset α, ((∀ c ∈ checks, Even (S ∩ c).card) ∧
∃ o ∈ obs, Odd (S ∩ o).card) → z.card ≤ S.card)
(T : Finset α) (hT : T ⊂ z) (hne : T.Nonempty) :
¬ ∀ c ∈ checks, Even (T ∩ c).card := by sorry
end BBCodeRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
This is a purely combinatorial statement that uses none of the bivariate-bicycle definitions. Let be any type with decidable equality. Let ("checks") and ("observables") be arbitrary finite families of finite subsets of (no relation between them is assumed), and let be a finite set. Call a finite set admissible if
Hypotheses. (i) is admissible; (ii) has minimum cardinality among admissible sets: for every admissible finite ; (iii) is a finite set with (strict subset) and .
Conclusion. It is not the case that is even for all ; equivalently, there is some check with odd.
Edge cases: if , hypothesis (i) is unsatisfiable and the statement is vacuous. If , the conclusion is literally false ("not true"), so the statement then says the hypotheses can never all hold, i.e. that a minimum admissible has no nonempty proper subset (forces ). If no such exists and the statement is vacuous for that . Only parities of intersection sizes are involved; there is no linear-algebraic or -vector structure, and the conclusion concerns only (not ).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.