A word at distance strictly less than half the minimum distance has a unique
ProvedECOC.nearest_codeword_unique_of_lt_half_minDistaether-catalogbridges
A word at distance strictly less than half the minimum distance has a unique nearest codeword.
theorem ECOC.nearest_codeword_unique_of_lt_half_minDist {n m δ : ℕ} {code : Fin n → Fin m → Bool} {y : Fin m → Bool} {c : Fin n}
(hδ : MinDistAtLeast code δ)
(hy : 2 * hammingDist y (code c) < δ) :
nearestUnique code y c := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Bridges/HammingCode.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Bridges/HammingCode.lean import Mathlib import Definitions.Def_Bridges_HammingCode open Finset open ECOC
Formal statement
theorem ECOC.nearest_codeword_unique_of_lt_half_minDist {n m δ : ℕ} {code : Fin n → Fin m → Bool} {y : Fin m → Bool} {c : Fin n}
(hδ : MinDistAtLeast code δ)
(hy : 2 * hammingDist y (code c) < δ) :
nearestUnique code y c := by sorrySource