General regular bipartite Tanner codes: distance δ (δ - λ), rate, and shortening #
Given a D-regular bipartite multigraph B : BipartiteRotationMap L R D (retaining parallel
edges) and local codes CL CR : Set (D → α), the bipartite Tanner code
Cslib.BipartiteTanner.code B CL CR consists of all edge-labelings x : L × D → α whose left and
right vertex neighborhoods belong to CL and CR respectively [SS96]. When CL
and CR are linear codes, Cslib.BipartiteTanner.submodule B CL CR is a linear subcode; when
defined by parity-check matrices HL, HR, Cslib.BipartiteTanner.checkMatrix B HL HR is its
explicit parity-check matrix with row weights at most |D|.
Main definitions #
Cslib.BipartiteTanner.leftWord,Cslib.BipartiteTanner.rightWord: local edge views at left and right vertices.Cslib.BipartiteTanner.code,Cslib.BipartiteTanner.submodule: general and linear bipartite Tanner codes.Cslib.BipartiteTanner.checkMatrix: parity-check matrix of a bipartite Tanner code from local check matrices.
Main results #
Cslib.BipartiteTanner.parityCheckCode_checkMatrix,Cslib.BipartiteTanner.hammingNorm_checkMatrix_row_le,Cslib.BipartiteTanner.hammingNorm_submatrix_row_le: parity-check equivalence and|D|-LDPC row-weight bounds (including under shortening).Cslib.BipartiteTanner.rate_submodule_ge,Cslib.BipartiteTanner.one_sub_card_div_card_le_rate_parityCheck: rate lower boundsrate CL + rate CR - 1and1 - (|ιL| + |ιR|) / |D|.Cslib.BipartiteTanner.sqrt_mul_sub_card_le_of_hammingDist,Cslib.BipartiteTanner.mul_sub_card_le_of_hammingDist,Cslib.BipartiteTanner.relDist_mul_sub_le_hammingDist,Cslib.BipartiteTanner.le_minDist_of_relDist: global distanceδ (δ - λ) (d N)(and asymmetric(kL, kR)and integer-threshold generalizations) for arbitrary linear or nonlinear local codes.Cslib.BipartiteTanner.relDist_mul_sub_le_hammingNorm_of_submatrix: distance of shortened bipartite Tanner parity-check codes.
References #
- M. Sipser, D. A. Spielman, Expander codes, IEEE Trans. Inf. Theory 42(6):1710–1722 (1996). Section VI Lemma 15 (pp. 1715–1716) provides the local-to-global distance formula. This formalization marks the two-code, asymmetric, arbitrary-alphabet, and finite-ring extensions as original adaptations.
- [S. Hoory, N. Linial, A. Wigderson, Expander graphs and their applications]
[HLW06], May 3, 2006 draft (
expanderbookr1.pdf). Section 2.4 (Lemma 2.5) covers the singular-value adaptation (separating the GV coding background in §12.3.1), mapping the adjacency-eigenvalue normalization to the normalized biadjacency singular value (including bipartite trivial modes) withd = |D|,N = |L| = |R|, and edge countd * N.
The local word at right vertex v: the D incident edge labels pulled back along
B.toRight.symm.
Evaluating rightWord B x at the right dart B.toRight (u, i) recovers x (u, i).
Linear right-word projection at vertex v.
The bipartite Tanner code of B with local codes CL on the left and CR on the right.
A word lies in code B CL CR iff every left neighborhood is in CL and every right
neighborhood is in CR.
The linear bipartite Tanner code when CL and CR are submodules of D → M.
Membership in submodule B CL CR.
Hamming distance decomposes by left vertices.
Hamming distance decomposes by right vertices.
Hamming weight decomposes by left vertices.
Hamming weight decomposes by right vertices.
Parity-check matrix of a bipartite Tanner code from left check matrix HL and right check
matrix HR: rows (u, i) on L × ιL check leftWord x u, and rows (v, i) on R × ιR
check rightWord B x v.
Left rows of checkMatrix B HL HR compute HL *ᵥ leftWord x u.
Right rows of checkMatrix B HL HR compute HR *ᵥ rightWord B x v.
The parity-check code of checkMatrix B HL HR is submodule B (parityCheckCode HL) (parityCheckCode HR).
Every row of checkMatrix B HL HR has Hamming weight at most |D|.
Restricting columns along an embedding emb : ι' ↪ ι cannot increase any row's Hamming weight.
Rate lower bound rate CL + rate CR - 1 ≤ rate (submodule B CL CR) for arbitrary finite
local linear codes CL and CR over a finite nontrivial commutative ring.
Parity-check rate lower bound for bipartite Tanner codes: if HL has |ιL| checks and HR
has |ιR| checks over a finite nontrivial commutative ring α, then the Tanner code has rate at
least 1 - (|ιL| + |ιR|) / |D|.
Asymmetric bipartite Tanner code distance bound: if distinct words in CL are separated
by at least kL ≥ 0 and distinct words in CR are separated by at least kR ≥ 0, and
B.nontrivialSingularValue ≤ lam, then any distinct x, y ∈ code B CL CR satisfy
√(kL * kR) * (√(kL * kR) - lam * |D|) * |L| ≤ |D| * hammingDist x y.
Bipartite Tanner code distance bound (threshold form): if distinct local words in CL and
CR are separated by at least k ≥ 0 and B.nontrivialSingularValue ≤ lam, then any distinct
x, y ∈ code B CL CR satisfy k * (k - lam * |D|) * |L| ≤ |D| * hammingDist x y.
Global relative distance δ (δ - λ) of general d-regular bipartite Tanner codes: if
CL and CR have relative distance at least δ ≥ 0 (δ |D| ≤ hammingDist on distinct local
codewords) and B.nontrivialSingularValue ≤ lam, then distinct global codewords satisfy
δ * (δ - lam) * |L × D| ≤ hammingDist x y.
Minimum distance minDist (code B CL CR) is at least any integer n ≤ δ * (δ - lam) * |L × D|.
Minimum-weight bound δ * (δ - lam) * |L × D| ≤ hammingNorm x for nonzero words in a linear
bipartite Tanner code submodule B CL CR.
Distance of a shortened bipartite Tanner parity-check code: every nonzero word z in the
kernel of (checkMatrix B HL HR).submatrix id emb has weight at least
δ * (δ - lam) * |L × D|.
Minimum distance lower bound for the shortened parity-check code
Code.shortenLinear (Code.parityCheckCode (checkMatrix B HL HR)) emb.