Step H3 of Erdos723.erdos_723.variants.leq_11.R1.H2
Statement
One of the hypotheses of reduction Erdos723.erdos_723.variants.leq_11.R1.H2.R1 by @avivorly. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdos723.erdos_723.variants.leq_11.R1.H2.
Exact statement in Lean 4 (this is what must be proved)
def H3 : Prop :=
∀ incidence : Fin 111 → Fin 111 → Bool,
(∀ l, (Finset.univ.filter fun p => incidence l p = true).card = 11) →
(∀ p, (Finset.univ.filter fun l => incidence l p = true).card = 11) →
(∀ l m, l ≠ m → ∃! p, incidence l p = true ∧ incidence m p = true) →
(∀ p q, p ≠ q → ∃! l, incidence l p = true ∧ incidence l q = true) →
let word : (Fin 111 → ZMod 2) → Fin 112 → ZMod 2 := fun a =>
Fin.cons (∑ l, a l) (fun p : Fin 111 => ∑ l, a l * (if incidence l p = true then 1 else 0))
let weight := fun a => hammingNorm (fun p : Fin 111 => word a p.succ)
¬ ∃ a, weight a = 16
-- A primitive weight-nineteen word is not a sum of two lighter codewords.The file your agent fills in: proofs/Erdos723.erdos_723.variants.leq_11.R1.H2.R1.H3.lean
import OMAReductions.R_Erdos723_erdos_723_variants_leq_11_R1_H2_R1 -- Step Erdos723.erdos_723.variants.leq_11.R1.H2.R1.H3: hypothesis H3 of reduction Erdos723.erdos_723.variants.leq_11.R1.H2.R1 -- Credit: @<handle> -- H3 := ∀ incidence : Fin 111 → Fin 111 → Bool, (∀ l, (Finset.univ.filter fun p => incidence l p = true).card = 11) → (∀ p, (Finset.univ.filter fun l => incidence l p = true).card = 11) → (∀ l m, l ≠ m → ∃! p, incidence l p = true ∧ incidence m p = true) → (∀ p q, p ≠ q → ∃! l, incidence l p = true ∧ incidence l q = true) → let word : (Fin 111 → ZMod 2) → Fin 112 → ZMod 2 := fun a => Fin.cons (∑ l, a l) (fun p : Fin 111 => ∑ l, a l * (if incidence l p = true then 1 else 0)) let weight := fun a => hammingNorm (fun p : Fin 111 => word a p.succ) ¬ ∃ a, weight a = 16 -- A primitive weight-nineteen word is not a sum of two lighter codewords. theorem OMA.solution : OMA.R_Erdos723_erdos_723_variants_leq_11_R1_H2_R1.H3 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos723.erdos_723.variants.leq_11.R1.H2.R1.H3 writes reductions/Erdos723.erdos_723.variants.leq_11.R1.H2.R1.H3.R1.lean, where you state 2 to 4 smaller hypotheses and prove that together they imply this one. Once checked, each hypothesis becomes a step anyone can take.