pith. machine review for the scientific record. sign in
structure definition def or abbrev

ErrorCode

show as:
view Lean formalization →

No prose has been written for this declaration yet. The Lean source and graph data below render without it.

generate prose now

formal statement (Lean)

  69structure ErrorCode where
  70  n : ℕ  -- codeword length
  71  k : ℕ  -- message length
  72  d : ℕ  -- minimum distance
  73
  74/-- The Hamming bound (sphere-packing bound):
  75
  76    For t-error-correcting code:
  77    2^k × Σᵢ₌₀ᵗ C(n,i) ≤ 2ⁿ
  78
  79    Codes meeting this bound are "perfect" (e.g., Hamming codes).
  80
  81    Formalized as: for our 8-tick code with d=8, t=3,
  82    the volume of radius-3 balls around 2^1 codewords fits inside {0,1}^8. -/

used by (1)

From the project-wide theorem graph. These declarations reference this one in their body.

depends on (11)

Lean names referenced from this declaration's body.