def
definition
def or abbrev
messageJCost
show as:
view Lean formalization →
formal statement (Lean)
117noncomputable def messageJCost (length redundancy : ℝ) : ℝ :=
proof body
Definition body.
118 length * (1 - redundancy)
119
120/-! ## Lossless vs Lossy Compression -/
121
122/-- Lossless compression:
123 - Exact reconstruction possible
124 - Limit: H(X) bits
125 - Examples: ZIP, PNG, FLAC
126
127 In RS: Preserves all ledger information -/