Minimality of Binary Codes From Weight Layers and Graph Cut Spaces
Xianhong Xie, Mengni Wang, Tingting Wu
Abstract
Minimal binary linear codes play an important role in secret-sharing schemes and in the structural study of linear codes. We study the minimality of three classes of known constructions: codes from a single complete Hamming-weight layer, codes from arbitrary unions of such layers and graph cut-space codes. For the previously studied single-layer codes Ck,t, we give a complete minimality classification: Ck,t is minimal if and only if t is even and 2≤t≤k−2 or (k,t)=(3,2). For t=4, we determine the minimum and maximum weights, and show that the family strictly violates the binary Ashikhmin–Barg sufficient condition for every k≥16. We also calculate the minimum distance of the dual code. For arbitrary unions of complete Hamming-weight layers, we obtain an if-and-only-if classification of minimality and uniform criteria for evenness, self-orthogonality, the doubly-even property and hull dimension. We further analyze the family defined by D3∪Dk−1 for odd k. Finally, using the classical bond characterization of cuts, we translate minimality of graph cut-space codes into a graph-theoretic condition: a nonempty simple graph has a minimal cut code precisely when it has one edge-containing component and that component is complete. We also give a graph-function realization of the known binary tetrahedron code and explicitly identify the resulting code equivalence.
Let Fq be the finite field of order q, and let C⊆Fqn be a nonzero linear code. For c=(c1,…,cn)∈Fqn, its support and Hamming weight are defined by
supp(c)={i∈{1,…,n}:ci=0},wt(c)=#supp(c).
Definition I.1. A nonzero codeword c∈C is called minimal if, for every nonzero codeword c′∈C,
supp(c′)⊆supp(c)⟹c′=λc
for some λ∈Fq∗. The code C is called minimal if every nonzero codeword of C is minimal.
Minimal linear codes play an important role in coding theory and cryptography. Massey [1] showed that the minimal codewords of a linear code determine the access structure of the corresponding linear secret-sharing scheme. This connection was subsequently developed for several classes of linear codes and associated secret-sharing schemes [2], [3]. Consequently, the construction and classification of minimal codes, particularly those with explicitly determined parameters and weight distributions, remain important problems.
A widely used sufficient condition for minimality is due to Ashikhmin and Barg [4].
Theorem I.2 (Ashikhmin–Barg). Let C be a q-ary linear code, and put
wmin=c∈C∖{0}minwt(c),wmax=c∈Cmaxwt(c).
If wmin/wmax>(q−1)/q, then C is minimal.
Except when general results are recalled, all codes considered in this paper are binary. In this case, the Ashikhmin–Barg sufficient condition becomes
wmaxwmin>21.
This condition is sufficient but not necessary. Accordingly, the construction of binary minimal codes satisfying
X. Xie is also with the State Key Laboratory of Cyberspace Security Defense, Institute of Information Engineering, Chinese Academy of Sciences, Beijing 100085, China.
Corresponding author: Tingting Wu.
has become an active research direction. Throughout this paper, a nonzero binary code is said to violate the Ashikhmin–Barg sufficient condition when wmin/wmax≤1/2. When the ratio is strictly less than 1/2, we call the violation strict. The literature most closely related to the present work can be organized into three broad directions.
Boolean- and vectorial-function constructions. Ding et al. [5] established a support-inclusion criterion for binary minimal codes, and Heng et al. [7] extended the corresponding approach to codes over general finite fields. Subsequent constructions used characteristic and root Boolean functions [8], [9], [25], [28]–[30], bent concatenations and derivatives of Maiorana–McFarland functions [10], weakly regular plateaued functions [11], vectorial Boolean functions [12], two-to-one functions [13], and direct sums of functions together with subspaces of derivatives [14]. In particular, some recent function-based constructions yield few-weight binary codes that are simultaneously minimal, self-orthogonal, and outside the Ashikhmin–Barg sufficient condition [24], [26], [33]. These results demonstrate the flexibility of cryptographic functions in minimal-code construction, although their proofs generally depend on the Walsh spectra or other algebraic properties of the functions involved.
Geometric and cutting-blocking-set constructions. Bonini and Borello introduced blocking-set methods into the study of minimal linear codes [15], [16]. Alfarano et al. [17] subsequently established a geometric characterization of minimal codes and investigated their asymptotic performance. Related combinatorial interpretations were developed by Alfarano et al. [18]. Tang et al. [19] proved the full characterization that a projective linear code is minimal if and only if its projective system is a cutting blocking set.
Further constructions and developments include strong blocking sets [20], partial difference sets [22], explicit constructions of optimal blocking sets [23], and minimal codes obtained from arbitrary projective linear codes [34]. These results provide a broad geometric and combinatorial framework for minimal codes, while explicit code parameters depend on the structure of the underlying projective system.
Simplicial-complex and defining-set constructions. Several related constructions must be distinguished. Chang and Hyun [21] associated to the characteristic function of the nonzero part of a simplicial complex a Boolean-function code whose coordinates run through all nonzero vectors, the additional Boolean-function coefficient makes that construction different from the defining-set code CD used here. Hyun et al. [31] used the same generic defining-set construction as ours, but took the complement Δc of a simplicial complex as the defining set. Wu and Lee [32] considered differences Δ1∖Δ2 of simplicial complexes and explicitly observed that complete Hamming-weight layers are contained in this framework.
More precisely, put
Δ≤r={x∈F2k:wt(x)≤r}.
Then
Dt=Δ≤t∖Δ≤t−1,j=1⋃rDj=Δ≤r∖{0}.
Thus neither the generic evaluation mechanism nor the single-layer and initial-layer defining sets are new. The distinction relevant to this paper is that we treat every permutation-invariant rank-selected set DS=⋃t∈SDt, including nonconsecutive S, and seek uniform if-and-only-if minimality results rather than a new simplicial-complex construction.
The complete single-layer construction itself is not new. Zhou et al. [35] determined its dimension, Gram matrix, hull behavior, LCD and self-orthogonality properties, and gave Krawtchouk-polynomial weight formulas. Zhang et al. [42] treated the weight-two member as a minimal code. More generally, incidence codes of graphs and hypergraphs have been studied in [27], [36], [39], and binary graph incidence codes are the classical cut spaces whose duals are cycle spaces. Accordingly, the contribution below is formulated in terms of minimality classifications, exact thresholds, and a refinement of a previously stated dual-distance condition, rather than as the introduction of new defining-set or cut-space constructions.
The three directions above provide complementary approaches to the study of minimal codes. Function-based methods typically derive minimality from spectral or algebraic properties, geometric methods describe minimality through projective point sets, and simplicial-complex constructions exploit the combinatorial structure of defining sets. Some recent function-based families simultaneously possess minimality, self-orthogonality, few-weight properties, and violation of the Ashikhmin–Barg sufficient condition [24], [33]. This suggests studying whether several code invariants can be determined uniformly within a defining-set family having a particularly simple combinatorial structure. Accordingly, we address the following question: can one construct and classify minimal codes while simultaneously determining their weight distributions, dual distances, evenness, self-orthogonality, double evenness, and hull dimensions by means of elementary combinatorial arguments?
To address this question, we work within a common binary evaluation-code framework. For a nonempty defining set D⊆F2k∖{0}, let
CD={ca=⟨a,x⟩x∈D:a∈F2k}.
We investigate the following three classes of structured defining sets.
• The single Hamming-weight layer
Dt={x∈F2k:wt(x)=t}.
• The union of complete Hamming-weight layers
DS=t∈S⋃Dt,∅=S⊆{1,2,…,k−1}.
• For a simple graph G=(V(G),E(G)), the associated weight-two defining set is
DG={eu+ev:uv∈E(G)}.
These are three instances of the same evaluation construction rather than three unrelated coding methods. Their combinatorial symmetry reduces the relevant calculations to Krawtchouk-type sums, parity of binomial coefficients, symmetric differences of subsets, binary incidence matrices, and hyperplane-spanning conditions. The main contributions are as follows.
(1) For the previously studied single-layer codes Ck,t=CDt, we recall the dimension and weight enumerator needed below and prove the complete minimality classification
Ck,tisminimal⟺tisevenand2≤t≤k−2,or(k,t)=(3,2).
For t=4, we determine the minimum and maximum nonzero weights and prove that Ck,4 is minimal and violates the Ashikhmin–Barg sufficient condition for every k≥16. We also give the precise dual-distance condition, including the feasibility requirement k≥3t/2 omitted from the corresponding even-t assertion in [35], and derive explicit binomial-parity criteria for evenness, self-orthogonality, and the doubly-even property.
(2) For the multi-layer codes Ck,S=CDS, we determine the dimension and weight enumerator for an arbitrary nonempty layer-index set S, and then classify minimality for all such S. For k≥4, we prove that Ck,S is minimal if and only if either S contains an even integer t with 2≤t≤k−2, or k is odd,
k−1∈SandS∩{3,5,…,k−2}=∅.
We also obtain uniform criteria for evenness, self-orthogonality, and the doubly-even property, together with an explicit formula for the hull dimension. In particular, for
DS=D3∪Dk−1,k≥5odd,
the resulting code is minimal, and its minimum distance, weight enumerator, dual distance, number of weight-three dual codewords, and hull dimension are determined explicitly. This family strictly violates the binary Ashikhmin–Barg sufficient condition for every odd k≥7.
(3) For the classical cut code CG of a simple graph G with at least one edge, the bond characterization of minimal nonempty cuts yields the following coding-theoretic classification:
CGisminimal⟺G≅Kr⊔(vG−r)K1forsomer≥2,
where vG=#V(G). Thus G has exactly one edge-containing connected component, and that component is complete. For this surviving class, we record the dimension, exact weight enumerator, minimum and maximum nonzero weights, dual distance, evenness, and hull dimension, while identifying which of these facts are classical. The binary Ashikhmin–Barg sufficient condition is violated exactly when r≥7: equality wmin/wmax=1/2 occurs for r=7, while the violation is strict for r≥8. Finally, we identify the complete-graph and weight-layer descriptions of the binary tetrahedron code and give an explicit graph-function realization obtained from a linear section. This last result is a new representation of a known code, and no new code-equivalence class is claimed.
The remainder of the paper is organized as follows. Section II introduces the evaluation-code framework and recalls the tools used for support containment, cutting blocking sets, binomial parity, dual distance, and hull dimension. Section III studies codes defined by a single Hamming-weight layer. Section IV treats unions of complete Hamming-weight layers. Section V first classifies minimal graph cut codes and determines their principal code parameters, and then relates the complete-graph construction to known defining-set codes and gives a graph-function realization. Section VI summarizes the results and presents directions for further study.
II. PRELIMINARIES
Throughout this section, let V be a finite-dimensional F2-vector space equipped with a nondegenerate bilinear form ⟨⋅,⋅⟩. Whenever a coordinate realization V=F2m is fixed, wt(v) denotes the Hamming weight of v.
For a finite set X, #X denotes its cardinality, and ⟨X⟩ denotes its linear span over F2.
For S⊆V, the characteristic function 1S∈F2#V is defined by
1S(a)={1,0,ifa∈Sotherwise.
For any positive integer k, [k]:={1,2,…,k}.
For a matrix A, AT denotes its transpose. In particular, the transpose of a row vector is a column vector.
A. Defining-set codes
Let D⊆V∖{0} be a nonempty defining set. The linear code associated with D is
CD={ca=(⟨a,x⟩)x∈D:a∈V}⊆F2#D.
The evaluation map
ϕD:V⟶F2#D,a↦(⟨a,x⟩)x∈D
has kernel
kerϕD=⟨D⟩⊥={a∈V:⟨a,x⟩=0,∀x∈D},
so that
dimCD=dimV−dim(⟨D⟩⊥).
This framework contains the three constructions studied in this paper as special cases.
(1) Single Hamming-weight layer. Take V=F2k with the standard inner product and
D=Dt={x∈F2k:wt(x)=t}.
Then Ck,t:=CDt is the weight-layer code of Section III.
(2) Multi-layer unions. For a nonempty set S⊆{1,…,k−1}, let
DS=t∈S⋃Dt.
Then Ck,S:=CDS is the multi-layer code of Section IV.
(3) Graph cut space. Let G=(V(G),E(G)) be a simple graph and take
V=F2#V(G),D={eu+ev:uv∈E(G)}.
where {ei}i=1#V(G) is standard basis for F2#V(G), i.e., ⟨a,eu+ev⟩=au+av for a∈F2#V(G). Hence CG:=CD is exactly the cut space of G, see Section V.
Thus the paper is not about three unrelated methods, but about three instances of the same evaluation construction: minimal codes from structured defining sets D⊆V.
B. Self-orthogonality and hull dimension
Let C⊆F2n be a binary linear code with an m×n generator matrix G. Recall that C is self-orthogonal if C⊆C⊥, equivalently, if GGT=0 over F2. In particular, every codeword of a self-orthogonal binary code has even weight.
Define the linear map
ϕ:F2m⟶C,a⟼aG.
Its kernel is kerϕ={a∈F2m:aG=0}, and dim(kerϕ)=m−dimC. The hull of C is defined as
H(C)=C∩C⊥.
A standard dimension formula relates the hull to the row Gram matrix GGT∈F2m×m
dimH(C)=dimC−rank(GGT)=m−dim(kerϕ)−rank(GGT).
In particular, when G has full row rank (m=dimC), kerϕ={0} and thus
dimH(C)=m−rank(GGT)=dim(ker(GGT)).
(II.1)
Throughout this paper, the Gram matrix is the row Gram matrix GGT, rather than the matrix of pairwise inner products of the defining columns.
For the defining-set code CD, its self-orthogonality is as follows.
Lemma II.1. Let D⊆F2k∖{0} be nonempty, and use the standard inner product in the definition of CD. Then
Thus every codeword of CD has even weight if and only if ∑x∈Dx=0.
Considering the natural generator matrix Gnat=(x)x∈D, whose columns are indexed by the elements of D, we have
GnatGnatT=x∈D∑xxT.
Hence CD is self-orthogonal if and only if GnatGnatT=0, equivalently,
x∈D∑xxT=0.
Remark II.2. Suppose CD has length #D and dimension m. Two distinct notions of generator matrices arise in this context:
(1) Natural generator matrix. Gnat=(x)x∈D: a k×#D matrix whose columns are indexed by the elements of D. Its row space is exactly CD.
(2) General generator matrix. G: an m×#D matrix whose rows form a basis of CD. Such a matrix need not reflect the set D in its column indexing.
Although both matrices generate the same code, they differ in dimension and geometric interpretation:
• Gnat may not have full row rank, whereas the rows of G form a basis and hence are linearly independent.
The row Gram matrix of Gnat has size k×k and captures the pairwise outer products of elements in D, the row Gram matrix of G has size m×m and is used for computing dimH(CD).
• The hull dimension formula applies consistently to both:
Indeed, if Gnat=AG with G a full-row-rank generator matrix, then A has full column rank and GnatGnatT=AGGTAT, hence the two Gram matrices have the same rank.
This distinction is crucial when transitioning from the abstract hull theory to the concrete analysis of cut codes, where D corresponds to the set of edge indicator vectors.
C. Projective systems and cutting blocking sets
Let q be a prime power. Choose a full-row-rank generator matrix G∈Fqk×n for an [n,k] linear code C, assume first that it has no zero columns, and denote its columns by p1,…,pn. The code is then
C={(⟨x,p1⟩,…,⟨x,pn⟩):x∈Fqk}.
The corresponding projective points are recorded with multiplicities when proportional columns occur. After proportional columns are identified, the distinct points form a set P⊆PG(k−1,Fq), and the cutting property depends only on P. If the columns are pairwise nonproportional, P is the projective system of the projective code C.
Definition II.3. A set X⊆PG(k−1,Fq) is a cutting blocking set if for every hyperplane H⊆PG(k−1,Fq),
⟨X∩H⟩Fq=H,
i.e., the points of X lying in H span H.
The following fundamental equivalence connects coding theory and finite geometry.
Theorem II.4 (Tang–Qiu–Liao–Zhou [19]). A projective linear code C is minimal if and only if its projective system is a cutting blocking set.
D. Lucas's and Kummer's theorems
Many minimality and self-orthogonality results in this paper reduce to the parity or the 2-adic valuation of binomial coefficients. The principal tools are Lucas's [6] and Kummer's theorems.
Theorem II.5 (Lucas). Let p be a prime and m,n≥0 be integers with base-p expansions m=∑mipi and n=∑nipi. Then
(nm)≡i∏(nimi)(modp).
In particular, for p=2, (nm) is odd if and only if ni≤mi for all i, i.e., the binary representation of n is bitwise dominated by that of m.
For self-orthogonality we need the stronger 2-adic valuation of binomial coefficients, given by Kummer's theorem [41].
Theorem II.6 (Kummer). Let p be a prime and 0≤n≤m. The exponent of the highest power of p dividing (nm) equals the number of carries when n and m−n are added in base p.
For p = 2, this means that (nm) is even if and only if there is at least one carry in the binary addition n+(m−n)=m.
E. Symmetric difference and support inclusion
For vectors u,v∈F2k, vector addition corresponds to symmetric difference of supports:
For defining-set codes, support containment is characterized coordinatewise: supp(ca)⊆supp(cb) if and only if there is no x∈D with a⋅x=1 and b⋅x=0. This observation will be used in the following lemma.
Lemma II.7. For a defining-set code CD, a codeword c=(cv)v∈D∈CD corresponds to x∈F2k via cv=⟨x,v⟩. Another codeword c′ (from x′) satisfies supp(c′)⊆supp(c) if and only if for every v∈D,
⟨x′,v⟩=1⟹⟨x,v⟩=1.
F. Graph theory and cut spaces
Let G=(V(G),E(G)) be a simple undirected graph. The cut associated with vertex v∈V(G) is
δG(v)={{v,w}∈E(G):w∈V(G)},
viewed as a vector in F2#E(G) indicating which edges are incident with v.
The cut space (or cut code) of G is
CG=⟨1δG(v):v∈V(G)⟩⊆F2#E(G).
The binary vertex-edge incidence matrix gives the standard formula [36]
dim(CG)=#V−c,
where c is the number of connected components of G.
For a complete graph Kr, dim(CKr)=r−1 and #E(Kr)=(2r)=2r(r−1). For any two vertices u,v∈V(Kr), the inner product ⟨1δG(u),1δG(v)⟩ counts, modulo 2, the edges incident with both vertices:
These identities specialize the known incidence-matrix self-orthogonality criterion recalled in Section V.
III. MINIMALITY AND REFINED PARAMETERS FOR SINGLE WEIGHT-LAYER CODES
The codes in this section coincide with the complete constant-weight layer codes studied in [35]. In simplicial-complex language they satisfy
Dt=Δ≤t∖Δ≤t−1,
an identity explicitly recorded by Wu and Lee [32]. Hence the defining set and its dimension and Krawtchouk weight formula are known. We recall those facts only because they are needed for the complete minimality classification, the exact t=4 analysis, and the refined dual-distance condition proved below.
In this section, we assume k≥3, 2≤t≤k−1 and V=F2k. Take
Dt={x∈V:wt(x)=t},nt=#Dt=(tk).
Definition III.1. Define the linear map
ϕDt:F2k⟶F2nt,a⟼ca=(⟨a,x⟩)x∈Dt.
The linear code Ck,t is defined as
Ck,t:={ca=(⟨a,x⟩)x∈Dt:a∈F2k}.
Clearly, the length of Ck,t is nt. We quote only the previously known facts needed in the new arguments below.
Lemma III.2. [35, Lemma 17] Let k≥3 and 1≤t≤k−1. Then
Since t=4 is even, ca+1=ca, and hence ws=wk−s. It therefore suffices to consider 1≤s≤⌊k/2⌋. On this range, r=s(k−s) is strictly increasing. The function
w(r):=ws(r)=6r(k2−3k+4−2r)
satisfies w′′(r)=−2/3<0, and hence is concave in r. Therefore, its minimum on the relevant r-interval is attained at an endpoint, corresponding to
s=1ors=⌊2k⌋.
We next evaluate ws at the two endpoints
• At s = 1.
r(1)=k−1,w1=w1(k−1)=(3k−1)=6(k−1)(k−2)(k−3).
(III.5)
• At s=⌊k/2⌋. Writing ⌊k/2⌋=k/2−ε with ε∈{0,1/2}, one has
r(⌊2k⌋)=⌊2k⌋(k−⌊2k⌋)=⌊4k2⌋,
(III.6)
and consequently
w⌊k/2⌋=6⌊k2/4⌋(k2−3k+4−2⌊k2/4⌋).
(III.7)
Put
R=⌊4k2⌋.
Comparing (III.5) and (III.7), we obtain
Δ(k):=w1−w⌊k/2⌋=6(k−1−R)(k2−5k+6−2R).
For k=6,7,8, the factor k−1−R is negative, while k2−5k+6−2R equals −6,−4,−2, respectively. Hence Δ(k)>0, and the central endpoint gives the minimum:
wmin=⎩⎨⎧6,16,32,k=6,k=7,k=8.
For k≥9,
k2−5k+6−2R≥2k2−5k+6>0,
whereas k−1−R<0. Thus Δ(k)<0, so
w1<w⌊k/2⌋.
Therefore,
wmin=w1=(3k−1)(k≥9).
This completes the proof.
A. Minimality of Ck,t
We next establish the exact condition under which the code Ck,t is minimal.
Theorem III.7. Let k≥3 and 2≤t≤k−1. The code Ck,t is minimal if and only if either t is even and 2≤t≤k−2, or (k,t)=(3,2).
Proof. We divide the proof into three parts.
Case 1: t is odd. Assume t is odd. Consider the all-one vector 1∈F2k. For every x∈Dt, wt(x)=t is odd, so ⟨1,x⟩=1. Hence c1=(1,1,…,1) and wt(c1)=nt.
Now take a=e1=(1,0,…,0). By (III.1),
wt(ce1)=(t−1k−1)<(tk)=nt,
because t≥2. Thus supp(ce1)⊂supp(c1), which means Ck,t is not minimal.
Case 2: t is even and 2≤t≤k−2. Suppose, for a contradiction, that there exist distinct nonzero ca,cb with
Take four distinct indices i,j,p,q. Since t≤k−2, we can choose a set R of size t−2 disjoint from those four indices. Consider the four t-subsets
R∪{i,j},R∪{i,p},R∪{q,j},R∪{q,p}.
The polynomial P vanishes on all four sets. Adding the four resulting equations over F2, all linear and common quadratic terms cancel. The remaining terms are
qij+qip+qqj+qqp=0.
(III.11)
For distinct i,j,ℓ, put
Tijℓ=qij+qiℓ+qjℓ.
For four distinct indices i,j,p,ℓ, Eq. (III.11) gives
Tijℓ+Tipℓ=qij+qip+qℓj+qℓp=0.
Thus, two triangles sharing an edge have the same triangle sum. Since all triangles can be connected by successively replacing one vertex, their triangle sums have a common value γ∈F2. Taking
r1=0,ri=q1i+γ(i>1),
gives
qij=ri+rj+γ(i=j).
(III.12)
For distinct i,j, choose a (t−1)-subset R disjoint from i,j. Comparing P on R∪{i} and R∪{j}, and using (III.12), gives
Since t is even, this becomes li+ri=lj+rj. Thus li+ri is independent of i, and (III.12) yields
qij=li+lj+γ.
Using (III.10), the preceding relation becomes
aibj+ajbi=ai(1+bi)+aj(1+bj)+γ.
(III.13)
Classify each coordinate i according to its type (ai,bi)∈{00,01,10,11}. If γ=1, direct substitution into (III.13) shows that the types of any two coordinates must form either {00,10} or {01,11}. No three coordinates can satisfy this pairwise condition. Since k≥4, this is impossible. Therefore γ=0.
When γ=0, (III.13) implies the following
• among coordinates with bi=0, all values ai are equal,
• among coordinates with bi=1, all values ai are equal.
Thus there exist α,β∈F2 such that
ai=α+βbiforeveryi.
Equivalently,
a=α1+βb.
(III.14)
Because t is even, the kernel is ⟨1⟩. Hence (III.14) implies
a+⟨1⟩∈{⟨1⟩,b+⟨1⟩}.
Therefore, the two parameters a and b represent either the zero codeword or the same codeword. This contradicts the assumption that ca and cb are distinct nonzero codewords.
Consequently, for even t with 2≤t≤k−2, no proper support inclusion exists. Hence Ck,t is minimal.
Case 3: t=k−1. If t=k−1 is even, then k is odd. The set Dk−1 consists of all vectors of weight k−1, i.e.,
1+ei,1≤i≤k.
Hence
(ca)i=⟨a,1+ei⟩=j=1∑kaj+ai
By Corollary III.5, the resulting code is the length-k even-weight code.
If k=3, this code has parameters [3, 2, 2], and every nonzero codeword has weight 2. Therefore, no nonzero support can properly contain another, so C3,2 is minimal.
If k≥5, the even-weight code contains the two codewords
u=e1+e2,v=e1+e2+e3+e4.
These supports satisfy
supp(u)={1,2}⊂{1,2,3,4}=supp(v),
hence Ck,k−1 is not minimal for odd k≥5. Combining all cases, we obtain the result.
Remark III.8. The case t=2, including its weight distribution, minimality, and Ashikhmin–Barg comparison, is due to Zhang et al. [42], it is therefore not repeated here. It is included in Theorem III.7 only to make the new all-layer classification complete.
To illustrate the new threshold, Theorems III.3 and III.6 give
The polynomial on the right equals 1008 at k=16. Its first derivative is positive at k=16, and its second and third derivatives are positive for k≥16, so it is strictly increasing on this range. Therefore, we obtain the following result.
Proposition III.9. For every k≥16, Ck,4 is minimal and satisfies
wmaxwmin<21.
B. Dual distance and self-orthogonality
Let
Gnat=(x)x∈Dt∈F2k×nt
be the natural generator matrix. For every t-subset A⊆[k], write
xA=1A∈F2k
for the column of Gnat indexed by A, and let εA∈F2nt be the corresponding coordinate unit vector. Thus
Ck,t⊥={v∈F2nt:GnatvT=0}.
Lemma III.10. Every column xA is nonzero, and distinct t-subsets index distinct columns. Consequently,
A1(Ck,t⊥)=A2(Ck,t⊥)=0.
Proof. The columns are precisely the distinct nonzero incidence vectors xA=1A with ∣A∣=t.
Proposition III.11. Let A,B,C⊆[k] be three pairwise distinct t-subsets and put
Proof. By Proposition III.11, a three-column relation exists exactly when two t-subsets A,B can satisfy ∣A∩B∣=t/2. This is possible exactly when t is even and
k−t≥2t,
or equivalently k≥3t/2. Together with Lemma III.10, this proves the first case and gives the lower bound four in the remaining cases.
It remains to construct a relation of weight four. Choose R⊆[k] with ∣R∣=t−2 and four distinct elements i,j,p,q∈/R, and set
A=R∪{i,j},B=R∪{i,p},C=R∪{q,j},D=R∪{q,p}.
(III.19)
These four t-subsets are distinct and their incidence columns satisfy
xA+xB+xC+xD=0inF2k.
(III.20)
Therefore
v=εA+εB+εC+εD
is a codeword of weight four in Ck,t⊥. This proves the second case.
Remark III.13. The condition k≥3t/2 is essential: a previously stated even-t criterion in [35, Theorem 25] does not include this feasibility restriction. For example, when (k,t)=(8,6), three weight-six columns cannot sum to zero, because two such supports would have to meet in three points and their union would have size nine. The four-column construction in the preceding proof therefore gives d(C8,6⊥)=4.
In particular, for t=4 and k≥6,
d(Ck,4⊥)=3.
We use the convention d({0})=+∞. For the boundary t=k−1, we have
• If k is even, then Ck,k−1⊥={0}, so there are no nonzero dual codewords.
• If k is odd, then Ck,k−1 has parameters [k,k−1,2] and Ck,k−1⊥=⟨1⟩, and thus
d(Ck,k−1⊥)=k.
The following previously known row-intersection data are recalled only to state the doubly-even refinement used below.
Lemma III.14. [35, Lemma 18 and Theorem 21] Let Gnat be the natural generator matrix of Ck,t. Every row has weight
R=(k−1t−1),
(III.21)
and two distinct rows have common support of size
P=(k−2t−2).
(III.22)
Consequently, Ck,t is even if and only if R≡0(mod2), and it is self-orthogonal if and only if R≡P≡0(mod2).
Proposition III.15. The code Ck,t is doubly even if and only if
R≡0(mod4),P≡0(mod2).
Proof. Indeed, necessity follows because each generating row has weight R, while wt(ri+rj)=2R−2P for distinct generating rows.
For sufficiency, if J is any set of row indices, then
By (III.23), (3k−1) is odd exactly when (3) & (k−4)=0, which occurs precisely for k≡0(mod4). Thus it is even iff k≡0(mod4), i.e.,
Ck,4iseven⟺k≡0(mod4).
For self-orthogonality, we need both R even and P even. The parity criterion (III.23) gives that (2k−2) is even iff
(2) &(k−4)=0,
which holds for k≡2,3(mod4). Intersecting with R even ( k≡0(mod4)) yields exactly k≡2,3(mod4), i.e.,
Ck,4isself−orthogonal⟺k≡2,3(mod4).
For doubly-even, we require R≡0(mod4) and P even. Within the self-orthogonal residue classes k≡2,3,6,7(mod8), one checks that (3k−1) is divisible by 4 precisely when k≡2,3,7(mod8) (excluding k≡6(mod8)). This yields
Ck,4isdoubly−even⟺k≡2,3,7(mod8).
IV. MINIMALITY CLASSIFICATION FOR ARBITRARY UNIONS OF WEIGHT LAYERS
In this section, let k≥4 and ∅=S⊆{1,…,k−1}. The relation with simplicial-complex constructions can be stated exactly. Initial unions satisfy
D{1,…,r}:=D1∪D2∪⋯∪Dr=Δ≤r∖{0},
as in the defining sets considered in [32], [35]. More generally, a consecutive block H={a,a+1,…,b} gives
DH=Δ≤b∖Δ≤a−1,
which is a difference of two simplicial complexes of the type allowed in [32]. If the maximal consecutive-interval decomposition is
H=[a1,b1]⊎⋯⊎[am,bm],
where [ai,bi]={ai,ai+1,…,bi}. Then
DH=i=1⋃m(Δ≤bi∖Δ≤ai−1).
Hence, arbitrary layer unions remain within the broader framework of set operations on simplicial complexes. Incidence codes of hypergraphs provide another ambient framework [39]. Our aim is the uniform treatment of every layer-index set S, especially the if-and-only-if minimality classification and the simultaneous parameter criteria below. We take
Proof. By Lemma III.2, on each individual layer Dt, kerϕDt={0} for odd t and =⟨1⟩ for even t. Since F2k decomposes as the disjoint union of its Hamming layers,
F2k=s=0⨆kVs,Vs={a∈F2k:wt(a)=s},
the evaluation map is ϕDS=(ϕDt)t∈S, and therefore
kerϕDS=t∈S⋂kerϕDt.
If S contains an odd t, then kerϕDt={0} for that layer, forcing kerϕDS={0}. If all t∈S are even, each kerϕDt=⟨1⟩, so their intersection is again ⟨1⟩. The dimension of Ck,S is directly obtained.
For a∈F2k with wt(a)=s, write ws(t) for the weight of the restriction of ca=ϕDS(a) to Dt. Then
Proof. A t-subset X∈Dt is formed by selecting i positions from the (0,0) type, j from (0,1), ℓ from (1,0), and m from (1,1), subject to i+j+ℓ+m=t. The inner products modulo 2 are
⟨a,X⟩≡ℓ+m(mod2),⟨b,X⟩≡j+m(mod2).
The conditions ⟨a,X⟩=1 and ⟨b,X⟩=0 thus translate exactly to the parity constraints ℓ+m≡1(mod2) and j+m≡0(mod2). Summing the binomial choices (ip)(jq)(ℓr)(mh) over all valid (i,j,ℓ,m) yields (IV.3).
Proposition IV.3. The support of the codeword ca is contained in that of cb if and only if
t∈S∑Mt(a,b)=0.
(IV.5)
Proof. Recall that ca=(⟨a,X⟩)X∈DS and cb=(⟨b,X⟩)X∈DS with DS=⋃t∈SDt.
The condition supp(ca)⊆supp(cb) means that, for every X∈DS, ⟨a,X⟩=1 implies ⟨b,X⟩=1. Equivalently, there is no X∈DS such that
⟨a,X⟩=1,⟨b,X⟩=0.
Since Mt(a,b) counts exactly such vectors in Dt, their total number in DS is
t∈S∑Mt(a,b).
Hence supp(ca)⊆supp(cb) holds if and only if ∑t∈SMt(a,b)=0.
Remark IV.4. Proposition IV.3 means that the code is minimal if and only if for all ordered pairs of parameters representing distinct nonzero codewords,
t∈S∑Mt(a,b)>0.
Proposition IV.5. Let 2∤t and 3≤t≤k−2. If
supp(ca∣Dt)⊆supp(cb∣Dt)
(IV.6) then
a=0,ora=b,orb=1.
(IV.7)
Conversely, each case in (IV.7) implies (IV.6).
Proof. Eq. (IV.6) is equivalent to the quadratic Boolean polynomial
P(x)=⟨a,x⟩(1+⟨b,x⟩)
vanishing on Dt. Expanding P(x) yields
P(x)=i∑lixi+i<j∑qijxixj,
where
li=ai(1+bi),qij=aibj+ajbi.
(IV.8)
Take four distinct coordinates i,j,u,v and a subset R of size t−2 disjoint from those four indices. Summing P over the four t-subsets R∪{i,j}, R∪{i,u}, R∪{v,j}, R∪{v,u} gives
qij+qiu+qvj+qvu=0.
The same triangle-sum argument used after (III.11) in the proof of Theorem III.7 shows that there exist ρ1,…,ρk,γ∈F2 such that
qij=ρi+ρj+γ.
(IV.9)
Now take distinct i,j and a subset R of size t−1 disjoint from i,j. Comparing P(R∪{i}) and P(R∪{j}), the difference of quadratic terms is
u∈R∑(qiu+qju)=(t−1)(ρi+ρj)=0,
since t−1 is even. Thus li=lj for all i,j.
If li=1 for all i, then (IV.8) forces (ai,bi)=(1,0) for all i, i.e., a=1, b=0. But on the odd layer Dt, ⟨a,X⟩=1 and ⟨b,X⟩=0 for all x∈Dt, contradicting P∣Dt=0. Therefore li=0, meaning the coordinate type (1,0) does not appear. The remaining types are only (0,0), (0,1), (1,1).
If all three types appear, we first show γ=0 in (IV.9). For two coordinates i,j of the same type, take a coordinate u of another type. By (IV.8), qiu=qju, and (IV.9) gives
ρi=ρj.
(IV.10)
Since 3≤t≤k−2, we have k≥5. If all three types are nonempty, the pigeonhole principle therefore gives two distinct coordinates i,j of the same type. For this pair, qij=0 by (IV.8), and (IV.10) yields 0=qij=ρi+ρj+γ=γ.
Now ρi is constant within each type, denoted ρ00,ρ01,ρ11. Cross-type qij values are
q00,01=0,q00,11=0,q01,11=1.
With γ=0, (IV.9) gives ρ00=ρ01, ρ00=ρ11, and ρ01+ρ11=1, a contradiction. Hence at most two types appear:
• If only types (0,0) and (0,1) occur, then a=0; if only (0,0) and (1,1) occur, then a=b; and if only (0,1) and (1,1) occur, then b=1.
• The single-type cases are included in these conclusions, direct substitution verifies the converse in each case. Therefore the proof is finished.
We now present several complete classifications of minimality.
Theorem IV.6. Suppose k≥4, S=Seven, and S contains an even integer t0 with 2≤t0≤k−2. Then the code Ck,S is minimal.
Proof. Suppose two nonzero codewords satisfy
supp(ca)⊆supp(cb).
(IV.11)
Since the kernel of the union set code is ⟨1⟩, we have a,b∈/⟨1⟩. For any t∈S, the kernel of the single-layer parameter is also ⟨1⟩, hence
ca∣Dt=0,cb∣Dt=0.
Choose the internal even layer t0 from the hypothesis. Restricting (IV.11) to Dt0 yields
supp(ca∣Dt0)⊆supp(cb∣Dt0).
By Theorem III.7, Ck,t0 is minimal. Therefore, the two restricted codewords must be equal, which implies
a+b∈kerϕDt0=⟨1⟩.
Since every layer indexed by S is even, adding 1 to a parameter does not change its evaluation on any Dt, t∈S. Consequently, ca=cb holds on the entire DS. This excludes any proper support containment between distinct nonzero codewords, hence Ck,S is minimal.
Theorem IV.7. Let k≥4 and ∅=S⊆{1,2,…,k−1}. The code Ck,S is minimal if and only if one of the following two conditions holds:
(1) S contains some even integer t0,2≤t0≤k−2.
(2) k is odd, k−1∈S, and S∩{3,5,…,k−2}=∅.
Proof. (1) Choose an even t0∈S with 2≤t0≤k−2. If S contains only even integers, Theorem IV.6 applies. Otherwise S contains an odd layer and the union evaluation map is injective. Let ca,cb be nonzero codewords satisfying
supp(ca)⊆supp(cb).
(IV.12)
Suppose that a,b∈/⟨1⟩. Then both restricted codewords on Dt0 are nonzero. Restricting (IV.12) to Dt0 and applying the minimality of Ck,t0 from Theorem III.7 gives
a=bora=b+1.
The latter yields
ca∣Dt=cb∣Dt+1Dt
on every odd layer Dt. If two binary vectors are complementary and the former's support is contained in the latter's, the former must be zero. Hence
ca∣Dt=0Dt⟹a∈kerϕDt.
Since the parameter map on every odd layer is injective, this forces a=0, contradicting the assumption that ca is nonzero.
If a=1, it is the all-one codeword on odd layer Dt, so (IV.12) forces b=1. If b=1, it vanishes on even internal layers, so (IV.12) forces a∈⟨1⟩, leaving only a=b=1. Thus the assertion (1) is sufficient.
(2) Now let k be odd and choose an odd r∈S with 3≤r≤k−2, while k−1∈S. If (IV.12) holds, restrict it to Dr. By Proposition IV.5, the only possibility for distinct nonzero parameters is b=1. But c1 is zero on the even boundary layer Dk−1, so restricting (IV.12) to Dk−1 forces ca to vanish there. By Lemma III.2, a∈⟨1⟩. Since a=0, we get a=b=1, a contradiction. Hence the code defined by Dr∪Dk−1 is minimal.
Adding more layers preserves this conclusion: the evaluation map on Dr∪Dk−1 is injective, and any support containment on a larger union restricts to the coordinates indexed by this set, forcing equality of the parameters. Thus condition (2) is sufficient.
Finally, we prove necessity. Suppose S contains no even internal layer.
If S consists solely of odd layers, c1 is the all-one word, whereas ce1 is nonzero and is not the all-one codeword. Hence,
supp(ce1)⊊supp(c1).
If condition (2) also fails, it remains to consider a set containing the even boundary layer k−1 but no odd internal layer. This can occur only when k is odd, and the only possibilities are S={k−1} and S={1,k−1}.
For S={k−1}, non-minimality follows from the boundary classification in Theorem III.7.
For S={1,k−1}, choose parameters with coordinate-type counts (p,q,r,h)=(1,2,0,k−3), for example
supp(a)={4,…,k},supp(b)={2,…,k}.
Both parameters have even weight, and direct evaluation on D1 and Dk−1 gives
supp(ca)⊊supp(cb).
These cases exhaust all layer sets satisfying neither condition (1) nor condition (2), and complete the classification.
Remark IV.8. The preceding theorem should be compared with three different uses of simplicial complexes. The code of Chang and Hyun [21] is a Boolean-function code on the full punctured ambient space; the codes of Hyun et al. [31] use complements Δc; and Wu and Lee [32] use differences of nested simplicial complexes. Consequently, defining sets associated with simplicial complexes need not themselves be downward closed.
For the present permutation-invariant sets the exact boundary is as follows. The set DS∪{0} is a simplicial complex if and only if S={1,…,r} for some r. Moreover, DS is the difference of two simplicial complexes if and only if S is a consecutive interval. Indeed, the difference of two nested down-sets is order-convex in the Boolean lattice, whereas a rank-selected set is order-convex precisely when its selected ranks form an interval. A nonconsecutive S is therefore neither one simplicial complex nor one such difference, although it is the disjoint union of the skeleton differences displayed at the beginning of this section.
Accordingly, the novelty of Theorem IV.7 is not a new defining-set mechanism. It is the uniform if-and-only-if minimality classification for all permutation-invariant rank-selected sets, including those with gaps that cannot be represented by one simplicial complex or by one difference of nested simplicial complexes.
B. Dual distance and self-orthogonality
Definition IV.9. Let ∅=S⊆{1,2,…,k−1}, let DS=⋃t∈SDt, and let Gnat be the natural generator matrix whose columns are indexed by DS. For t,u,v∈S, we say that the layer type (t,u,v) is feasible if there exist three distinct columns x,y,z∈DS of respective weights t,u,v such that
x+y+z=0,
(IV.13)
equivalently, there exist subsets A,B,C⊆[k] of sizes t,u,v, respectively, such that C=A△B.
Lemma IV.10. A layer type (t,u,v) with 1≤t≤u≤v≤k−1 admits three distinct columns satisfying (IV.13) if and only if
j=2t+u−v
(IV.14)
is an integer and
max(0,t+u−k)≤j≤min(t,u).
(IV.15)
Proof. View x,y,z as indicator vectors of subsets A,B,C∈DS satisfying
#A=t,#B=u,#C=v.
The equation x+y+z=0 in F2 means C=A△B. By the inclusion–exclusion principle for symmetric difference,
#C=#(A△B)=#A+#B−2#(A∩B)=t+u−2j,
where j=#(A∩B). Hence
v=t+u−2j,
which rearranges to (IV.14).
The elementary bounds for the intersection of a t-subset and a u-subset of [k] give
max(0,t+u−k)≤j≤min(t,u).
Conversely, if j satisfies (IV.14) and (IV.15), choose a t-subset A, form a u-subset B using j elements of A and u−j elements outside A, and set C=A△B. The three subsets are pairwise distinct, since any equality between two of them would force the third to be empty, whereas t,u,v≥1. Hence, they have sizes t,u,v and satisfy (IV.13).
Lemma IV.11. For a feasible layer type (t,u,v), the number of unordered triples {x,y,z} of distinct columns with x+y+z=0 is
Proof. Choose A of size t in (tk) ways. To form B of size u, choose j elements from A in (jt) ways and u−j elements from [k]∖A in (u−jk−t) ways. This constructs an ordered pair (A,B), the set C=A△B is then forced and has size v.
For the prescribed sizes of A and B, each unordered triple {A,B,C} is counted once if all three sizes differ, twice if exactly two sizes coincide, and six times if all three coincide. Division by μ(t,u,v) yields (IV.16).
Every weight-three dual codeword corresponds uniquely to an unordered triple of distinct columns of Gnat summing to zero. Grouping these triples by their sorted layer type (t,u,v) and summing over t≤u≤v gives (IV.18).
The following result can be obtained directly from Lemma III.14.
Lemma IV.12. Define
R=t∈S∑(t−1k−1),P=t∈S∑(t−2k−2).
Then every row of Gnat has Hamming weight R, and the intersection of the supports of any two distinct rows has size P.
Proof. A binary linear code is even if and only if every generating row has even weight, which here means R≡0(mod2), or α=0. It is self-orthogonal if and only if each row has even weight and every two distinct rows are orthogonal. Since
⟨ri,rj⟩=∣supp(ri)∩supp(rj)∣≡P(mod2),
this is equivalent to α=β=0. A doubly even binary code is self-orthogonal, so the necessary conditions are R≡0(mod4) and β=0.
Conversely, if every generating row has weight divisible by four and distinct rows are orthogonal, the whole row space is self-orthogonal. Applying
wt(u+v)=wt(u)+wt(v)−2∣supp(u)∩supp(v)∣
inductively shows that every sum of rows has weight divisible by four.
Let M=GnatGnatT=(Mij)1≤i,j≤k. The preceding row-intersection counts give
Mii=Rmod2=α,Mij=Pmod2=β(i=j).
Therefore M=(α+β)Ik+βJk, where Jk is the all-one matrix.
Lemma IV.14. Let κ=dimkerϕDS and M=(α+β)Ik+βJk. Then
dim(Ck,S∩Ck,S⊥)=k−κ−rankM.
(IV.19)
Proof. A parameter vector a∈F2k yields the codeword ca=ϕDS(a)∈Ck,S. Since H(Ck,S)=Ck,S∩Ck,S⊥, we have
This orthogonality condition is aM=0. Moreover, kerϕDS⊆kerM, so the hull is naturally isomorphic to kerM/kerϕDS. Since dimkerM=k−rankM and dimkerϕDS=κ, Eq. (IV.19) follows.
Theorem IV.15. The dimension of the hull Ck,S∩Ck,S⊥ is
• If a=0,b=1, i.e., (α,β)=(1,1), then M=Jk, and rank M=1.
• If a=1,b=0, i.e., (α,β)=(1,0), then M=Ik, and rank M=k.
• If a=1,b=1, i.e., (α,β)=(0,1), then M=Ik+Jk. If Mx=0, then x=(∑ixi)1. Substitution shows that the kernel is zero when k is even and is ⟨1⟩ when k is odd. Hence rank M=k for even k and k−1 for odd k.
Substitution into (IV.19) completes the proof.
□
C. Illustrative example
We now specialize to odd k≥5 and DS=D3∪Dk−1.
Theorem IV.16. Suppose k≥5 is odd and DS=D3∪Dk−1. The associated binary linear code Ck,S is minimal and has parameters [(3k)+k,k,dk], where
dk=⎩⎨⎧6,17,2k(k−1),k=5,k=7,k≥9.
Moreover, if we take wt(a)=s, then
ws=wt(ca)=s(2k−s)+(3s)+{s,k−s,seven,sodd.
(IV.20)
The weight enumerator is
ACk,S(z)=s=0∑k(sk)zws.
(IV.21)
Proof. The minimality follows from Theorem IV.7. For X∈D3, the corresponding evaluation is one precisely when the integer ∣supp(a)∩supp(X)∣ equals one or three. Thus, the weight is
s(2k−s)+(3s).
Note that Dk−1={1+ei:1≤i≤k}, the inner product satisfies
⟨a,1+ei⟩=(smod2)+ai.
Consequently, the boundary weight is s when s is even, and k - s when s is odd, yielding (IV.20) and (IV.21).
Take Ls=s(2k−s)+(3s). Since D3 is an odd layer,
Lk−s=(3k)−Ls.
Write bs=s for even s and =k−s for odd s. We verify that Lk−s≥bs. For even 2≤s≤k−3,
Lk−s≥(k−s)(2s)≥s.
For s=k−1,
L1=(2k−1)≥k−1.
For odd 3≤s≤k−2,
Lk−s≥(k−s)(2s)≥k−s.
For s = 1,
Lk−1=(3k−1)≥k−1.
The cases s = 0, k are immediate. Thus
ws=Ls+bs≤(3k).
Equality holds only for s = k, except that it also holds for s = 1 when k = 5. Therefore, the maximum nonzero weight is
wmax=(3k).
(IV.22)
For k = 5, 7, direct substitution into (IV.20) yields the weight sequences
Hence the right-hand side of (IV.24) is strictly positive for k≥9, so ws>w1.
If s is even, set r=k−s. Then r is a positive odd integer and
6(ws−w1)=s((s−3)2+2)+3r(r(s−1)−3s+1).
(IV.25)
Since (s−3)2+2>0, we next divide into three cases to prove ws>w1.
• If r=1, then s=k−1≥8, and the right-hand side of (IV.25) becomes
s(s−1)(s−5)>0.
• If r=3, then s=k−3≥6 and
6(ws−w1)=s((s−3)2+2)−18≥6(9+2)−18=48>0.
• If r≥5, then
B:=r(s−1)−3s+1=(s−1)(r−3)−2.
When s=2, we have B=r−5≥2 because k=s+r≥9 and r≥7. When s≥4,
B≥3⋅2−2=4.
Thus B is nonnegative.
Therefore ws>w1 for every even s>1. Together with the odd case, this proves that w1 is the minimum nonzero weight for k≥9.
For k=5, the code C5,{3,4} is equivalent to C6,4 and hence does not give a new inequivalent [15, 5, 6] code. Indeed, deleting the last coordinate identifies the even-weight subspace of F26 with F25, the weight-four vectors whose last coordinate is respectively one or zero map to the complete weight-three or weight-four layers. Thus the k=5 case is retained only as the first member of the general family.
By (IV.23), for k=5,7, we have
2d5=12>10,2d7=34<35.
For k≥9,
2dk=k(k−1)≤6k(k−1)(k−2)=wmax.
Hence, for every odd k≥7, Ck,S is a minimal binary code that violates the Ashikhmin–Barg sufficient condition.
Theorem IV.17. Let k≥5 be odd and DS=D3∪Dk−1. Then the dual distance is
d(Ck,S⊥)={3,4,k=5,7,k≥9.
(IV.26)
The number of weight-three dual codewords is
A3(Ck,S⊥)=⎩⎨⎧15,70,0,k=5,k=7,k≥9.
(IV.27)
Proof. Since S={3,k−1}, the layer types of three columns can only arise from
(3,3,3),(3,3,k−1),(3,k−1,k−1),(k−1,k−1,k−1).
The types (3,3,3) and (3,k−1,k−1) have total weights 9 and 2k+1, respectively. Both are odd and are therefore excluded by the integrality condition (IV.14).
For (k−1,k−1,k−1), although the total weight is even and
j=2(k−1)+(k−1)−(k−1)=2k−1
is integral, the lower bound (IV.15) requires
j≥(k−1)+(k−1)−k=k−2,
which fails for k≥5 since (k−1)/2<k−2, thus this type is impossible.
Only (3,3,k−1) remains, yielding intersection size
j=27−k.
Since 0≤j≤3, we obtain
• k=5,j=1. We have 21(35)(13)(22)=15,
• k=7,j=0. We have 21(37)(03)(34)=70.
This proves (IV.27) and gives d(Ck,S⊥)=3 for k=5,7.
For k≥9, no three columns of the natural generator matrix satisfy (IV.14). However, fix distinct coordinates i,j and choose two distinct two-element subsets R,R′ of [k]∖{i,j}. Then
1R∪{i}+1R∪{j}+1R′∪{i}+1R′∪{j}=0.
Since the natural generator matrix has nonzero pairwise distinct columns, the absence of a three-column relation gives d(Ck,S⊥)≥4, whereas the four displayed columns give d(Ck,S⊥)≤4. Therefore,
d(Ck,S⊥)=4,
which proves (IV.26).
Theorem IV.18. Let k≥5 be odd and DS=D3∪Dk−1. Then every row of Gnat has Hamming weight R
R=(2k−1)+k−1=2k(k−1),
and the intersection of the supports of any two distinct rows has size
Proof. There are (2k−1) triples containing a fixed coordinate, k−1 boundary columns containing it, k−2 triples containing two fixed coordinates, and k−2 boundary columns containing both. Therefore,
R=(2k−1)+k−1=2k(k−1),P=(k−2)+(k−2)=2(k−2).
Since P is always even, evenness and self-orthogonality depend solely on the parity of R. For odd k, this is equivalent to k≡1(mod4). Doubly even requires R≡0(mod4), i.e., k≡1(mod8).
The Gram matrix is
GnatGnatT≡RIk(mod2).
Since DS contains D3, the evaluation map
ϕDS:F2k⟶Ck,S
is an isomorphism. The hull therefore corresponds to ker(GnatGnatT). Since
GnatGnatT=(Rmod2)Ik,
its kernel has dimension k when k≡1(mod4), and zero when k≡3(mod4). This proves (IV.28).
In particular, the first instance [15, 5, 6] is self-orthogonal but not doubly even, its hull dimension is 5, and satisfies d(Ck,S⊥)=3 and A3(Ck,S⊥)=15.
V. GRAPH CUT-SPACE CODES AND DEFINING-SET REALIZATIONS
A. Classical graph cut-space codes
Throughout this section, G=(V(G),E(G)) is a finite simple undirected graph, vG=∣V(G)∣, nG=∣E(G)∣, and c=c(G) is the number of connected components, including isolated vertices. Let B be its binary vertex-edge incidence matrix and
CG={aB:a∈F2vG}.
This is the classical binary cut-space code [36, Section 3]. For a connected graph, the dimension formula is stated in [36, Result 1 and Theorem 1]. Moreover, the proof of that theorem gives the standard support description
supp(aB)=δG(supp(a)),wt(aB)=#δG(supp(a)).
Applying the connected dimension formula componentwise gives
dimCG=vG−c(V.1)
for an arbitrary graph with c connected components. Since every codeword has 2c preimages under a↦aB, it follows that
Aw(CG)=2−c#{S⊆V(G):#δG(S)=w}.
By the classical cut-cycle orthogonality theorem [40, Theorem 1.9.5, Section 1.9], the dual CG⊥ is the cycle space, see also [36, Section 8]. If G contains a cycle, then
d(CG⊥)=girth(G)
by [36, Theorem 6]. Since a three-edge Eulerian subgraph of a simple graph is necessarily a triangle, this cycle-space description immediately gives
A3(CG⊥)=#{trianglesofG}.
If G is a forest, then its cycle space is zero, and hence CG⊥={0}.
Recall also that a minimal nonempty cut is a bond, and that in a connected graph δG(S) is a bond precisely when both sides of the corresponding vertex partition induce connected subgraphs [40, Section 1.9]. Applying this classical criterion to every nonzero codeword of CG gives the following result.
Theorem V.1. Assume E=∅. Then CG is minimal if and only if
G≅Kr⊔(vG−r)K1forsomer≥2.
Proof. Suppose first that G has two edge-containing connected components. Choose vertices u and v of positive degree in different such components. Since there is no edge between the two components,
δG({u})⊊δG({u,v}),
so the corresponding nonzero codewords have strictly nested supports. Thus CG is not minimal.
Consequently, a minimal CG can have only one edge-containing component, say H. If H is not complete, choose nonadjacent vertices u,v∈V(H). Both vertices have positive degree because H is connected and contains an edge. As uv∈/E,
δG({u})⊊δG({u,v}),
which again contradicts minimality. Hence H must be complete.
Conversely, suppose G≅Kr⊔(vG−r)K1. Every nonzero cut of G is the same edge set as δKr(S) for some nonempty proper subset S⊂V(Kr). Both Kr[S] and Kr[V(Kr)∖S] are connected. The cited classical bond criterion therefore shows that every nonzero cut is a bond. Hence no nonzero word of CG properly contains the support of another nonzero word, and CG is minimal.
This is an application of the cited classical bond criterion, no new graph-code construction is asserted here. For the surviving class the classical complete-graph cut calculation gives
The contribution here is the comparison with the binary Ashikhmin–Barg condition. We have
wmaxwmin=[r2/4]r−1.
This ratio is greater than 1/2 for 2≤r≤6, equals 1/2 for r=7, and is less than 1/2 for r≥8. Thus the sufficient condition fails exactly for r≥7, and the failure is strict for r≥8.
The following parity properties are standard consequences of the incidence-matrix description. The cut code is even if and only if every vertex of G has even degree, hence CKr is even exactly when r is odd.
Moreover, the self-orthogonality criterion in [39, Remark 3.1] requires #(E[u]∩E[v]) to be even for every pair of distinct vertices. If uv is an edge of a nonempty simple graph, then
E[u]∩E[v]={uv}.
Therefore, no nonempty simple-graph cut code is self-orthogonal. Since every binary doubly-even code is self-orthogonal, no such cut code is doubly even. For complete graphs, the same non-self-orthogonality also follows from [35, Lemma 18] under the identification CKr≃CD2.
Finally, the complete-graph hull dimension is already known [38, Proposition 2]:
dimH(CKr)={0,r−2,rodd,reven.
B. Graph-function realizations
Let V,W be finite-dimensional binary vector spaces, let D⊆V and F:D→W be a function. Equip U=V⊕W with a fixed nondegenerate bilinear pairing. Write
U=V⊕W,gx=(x,F(x)),G=(gx)x∈D,E=⟨gx:x∈D⟩≤U.
Over F2, each point represented by a nonzero column gx has that column as its unique nonzero vector representative.
For a finite point set P⊆PG(E), identify each projective point over F2 with its unique nonzero vector representative and define the evaluation map
ϕ:U⟶F2P,u⟼(⟨u,p⟩)p∈P,
and write CP:=Imϕ. Assuming that P spans E, the following three statements are equivalent, see [16], [17], [19]:
• CP is minimal;
• ⟨P∩H⟩=H for every hyperplane H≤E;
• P∩H⊆P∩H′ implies H=H′ for any two hyperplanes H,H′≤E.
Independently of minimality, the spanning assumption gives the identity kerϕ=E⊥.
Theorem V.2. Assume P spans E. Let π:E→V be linear, put V0=π(E) and K=kerπ, and choose a linear section σ:V0→E with πσ=idV0. Define
T:E⟶V0⊕K,T(z)=(π(z),z−σ(π(z))).
Then T is an isomorphism, and the following statements are equivalent:
(1) π∣P is injective.
(2) Set D:=π(P)⊆V0, there is a unique function F:D→K such that
T(P)={(x,F(x)):x∈D}.
(3) kerπ∩{p+q:p,q∈P,p=q}=∅.
When these conditions hold, #P=#D≤2rankπ and P∩kerπ contains at most one point. If E≤V⊕W′ and π is the restriction to E of the projection onto V, then
π(E)=⟨D⟩,dimE=dim⟨D⟩+dim(E∩(0⊕W′)).
Proof. The map T is linear and its second component belongs to K. Its inverse is
T−1(x,w)=σ(x)+w,
so it is an isomorphism. Conditions (1) and (3) are equivalent because, over F2,
π(p)=π(q)⟺p+q∈kerπ.
Assume (1). For each x∈D=π(P), let px be the unique point of P satisfying π(px)=x and set
F(x):=px−σ(x)∈K.
Then T(px)=(x,F(x)), proving (2). Conversely, a graph contains at most one point with any prescribed first coordinate, so (2) implies (1). The same observation proves #P=#D and that P∩kerπ has at most one point, the cardinality bound follows from D⊆V0.
Finally, if π is a coordinate projection and P spans E, then
π(E)=⟨π(P)⟩=⟨D⟩.
The dimension follows from rank-nullity, since the kernel of π∣E is E∩(0⊕W′).
For an h-dimensional binary space E0 with basis {et:t∈I}, set
P0={et:t∈I}∪{et+eu:t,u∈I,t=u}.
This is the q=2 tetrahedron construction of [17, Theorems 5.3 and 5.4], equivalently the defining-set code CD1,2 and the cut-space code of Kh+1. Its minimality, parameters and weight distribution are already given there, so we do not restate or reprove them.
We next realize this previously known family in the graph-function framework.
Lemma V.3. Let h=2r≥8, L=Fh, V=F2⊕L⊕L, and let
D={(1,t,t3):t∈L}∪{(0,t+u,t3+u3):t,u∈L,t=u}.(V.3)
Let E0=F2h have standard basis {et}t∈L. Define
π:E0⟶V,π(et)=(1,t,t3).(V.4)
Then
(1) π is surjective.
(2) There exists a linear section σ:V→E0 such that πσ=idV.
(3) dimkerπ=h−2r−1.
Proof. Suppose a linear functional on V vanishes on all (1,t,t3). Then there exist a∈F2 and β,γ∈L such that
a+TrL/F2(βt+γt3)=0forallt∈L.(V.5)
Taking t=0 gives a=0. Polarizing (V.5) yields
TrL/F2(γ(x2y+xy2))=0forallx,y∈L.
Using the trace identity TrL/F2(Ay2)=TrL/F2(A2r−1y) and the non-degeneracy of the trace pairing, we obtain
γx2+(γx)2r−1=0forallx∈L.(V.6)
If γ=0, putting x=1 in (V.6) gives γ2r−1=γ. Substituting this back into (V.6) yields γ(x2+x2r−1)=0 for every x∈L. But the polynomial X2+X2r−1 is nonzero of degree 2r−1<2r, so it cannot vanish on all of L. This contradiction proves that γ=0, non-degeneracy then gives β=0. Hence, the image of (V.4) has dimension 2r+1, so π is surjective.
Choose a subset B⊆L such that {(1,t,t3):t∈B} is a basis of V. Define σ on this basis by σ(1,t,t3)=et for t∈B, and extend it linearly. Then πσ=idV. Therefore
dimkerπ=dimE0−dimV=h−(2r+1)=h−2r−1.
The restriction π∣P0 is injective. Indeed, singleton images have first coordinate 1, whereas pair-sum images have first coordinate 0. If two pair sums have the same image, then
t+u=v+w=s=0,t3+u3=v3+w3.
Since t3+u3=s3+tus, the sum s and product tu are determined, so the two unordered pairs are the roots of the same polynomial Z2+sZ+tu and hence coincide. This is the Sidon property of the graph of the Gold APN function t↦t3 in the present coordinates, see [37]. Therefore the following definition is well defined.
Define on D=π(P0)
F(πp)=p−σ(π(p))∈K(p∈P0),(V.7)
where P0 contains the standard basis of E0, explicitly,
Proposition V.4 (Graph-function realization). The linear isomorphism
T:E0⟶V⊕K,T(z)=(π(z),z−σ(π(z))),
maps P0 bijectively onto {(x,F(x)):x∈D}. Consequently, after bases and a coordinate ordering are fixed, the two generator matrices differ by invertible left multiplication and a coordinate permutation. Thus the graph-function construction is equivalent to the known binary tetrahedron code CD1,2 and does not define a new code-equivalence class.
Proof. The injectivity of π∣P0 makes F(π(p))=p−σ(π(p)) well defined. Theorem V.2 gives
T(p)=(π(p),F(π(p)))(p∈P0).
Since P0 contains the standard basis of E0, it spans E0. Hence T(P0) spans V⊕K, and applying T to all columns is precisely an invertible row transformation after bases are chosen. This proves the asserted code equivalence.
VI. Conclusion
In this paper, we studied minimality within established binary evaluation and incidence-code constructions. For the known complete single-layer codes, we recalled the dimension and weight formulas and obtained a complete minimality classification. We determined the exact extremal weights for Ck,4, showing a strict violation of the binary Ashikhmin–Barg sufficient condition for every k≥16, and refined the dual-distance criterion by adding the necessary condition k≥3t/2. The latter also corrects the conclusion for cases such as (k,t)=(8,6), whose dual distance is four rather than three.
For permutation-invariant rank-selected defining sets DS=⋃t∈SDt, we determined the evaluation kernel, dimension, and weight enumerator and proved an if-and-only-if minimality classification. Initial layer unions are nonzero parts of skeleton complexes, consecutive layer blocks are differences of two skeleton complexes, and every arbitrary S is a disjoint union of such differences. Thus the contribution is the uniform classification and parameter analysis over all S, rather than a new simplicial-complex or defining-set construction. The row-Gram structure yields uniform criteria for evenness, self-orthogonality, the doubly-even property, and hull dimension. For odd k≥7, the family defined by D3∪Dk−1 is genuinely nonconsecutive and hence cannot be represented by one difference of nested skeleton complexes. Its minimum distance, weight enumerator, dual distance, number of weight-three dual codewords, and hull dimension are all explicit, and it strictly violates the binary Ashikhmin–Barg sufficient condition.
For graph cut codes, the classical characterization of bonds yields that every nonzero cut is minimal if and only if the graph has exactly one edge-containing connected component and that component is complete. We expressed this consequence in minimal-code language and recorded the associated complete-graph weight data. The cut-space dimension, cycle-space dual and complete-graph hull dimensions are classical and were included for comparison. The Ashikhmin–Barg sufficient condition is violated exactly when r≥7, with equality at r=7 and strict violation for r≥8.
In addition, Section V also places these constructions in the standard cutting-blocking-set language and gives an explicit graph-function realization of the binary tetrahedron code. The realization is obtained by an invertible linear transformation, so it represents the known code rather than a new inequivalent code family.
Several directions remain for further study. For a general layer set S, determining closed formulas for the minimum and maximum nonzero weights of Ck,S would yield sharper Ashikhmin–Barg thresholds. It is also natural to investigate q-ary analogues, for which the binary parity and complement arguments used here do not apply directly. Subsets of higher Hamming-weight layers may lead to incidence codes associated with uniform hypergraphs, where one may seek graph-type classifications of minimality, dual distance, and orthogonality. Finally, one may ask which cutting blocking sets admit restricted-domain function-graph representations that produce genuinely inequivalent code families while retaining explicitly computable parameters.
ACKNOWLEDGEMENTS
X. Xie is partially supported by NSFC (Grant No. 62402004) and State Key Laboratory of Cyberspace Security Defense (Grant No. 2025-MS-04). T. Wu is partially supported by the Natural Science Foundation of Anhui Province (Grant No. 2508085QA033).
REFERENCES
[1] J. L. Massey. “Minimal codewords and secret sharing”, in Proc. 6th Joint Swedish Russian Int. Workshop on Inf. Theory, Mölle, Sweden, 276–279 (1993).
[2] C. Carlet, C. Ding and J. Yuan. "Linear codes from highly nonlinear functions and their secret sharing schemes", IEEE Trans. Inf. Theory, 51(6), 2089–2102 (2005).
[3] J. Yuan and C. Ding. "Secret sharing schemes from three classes of linear codes", IEEE Trans. Inf. Theory, 52(1), 206–212 (2006).
[4] A. Ashikhmin and A. Barg. "Minimal vectors in linear codes", IEEE Trans. Inf. Theory, 44(5), 2010–2017 (1998).
[5] C. Ding, Z. Heng and Z. Zhou. "Minimal binary linear codes", IEEE Trans. Inf. Theory, 64, 6536–6545 (2018).
[6] E. R. Berlekamp. Algebraic coding theory. Laguna Hills, CA, USA: Aegean Park Press (1984).
[7] Z. Heng, C. Ding and Z. Zhou. "Minimal linear codes over finite fields", Finite Fields Appl., 54, 176–196 (2018).
[8] E. Pasalic, R. Rodríguez, F. Zhang and Y. Wei. “Several classes of minimal binary linear codes violating the Ashikhmin–Barg bound”, Cryptogr. Commun., 13, 637–659 (2021).
[9] S. Mesnager, Y. Qi, H. Ru and C. Tang. "Minimal linear codes from characteristic functions", IEEE Trans. Inf. Theory, 66, 5404–5413 (2020).
[10] F. Zhang, E. Pasalic, R. Rodríguez and Y. Wei. "Minimal binary linear codes: a general framework based on bent concatenation", Des. Codes Cryptogr., 90, 1289–1318 (2022).
[11] S. Mesnager and A. Sinak. “Several classes of minimal linear codes with few weights from weakly regular plateaued functions”, IEEE Trans. Inf. Theory, 66, 2296–2310 (2020).
[12] Y. Li, J. Peng, H. Kan and L. Zheng. "Minimal binary linear codes from vectorial Boolean functions". IEEE Trans. Inf. Theory, 69(5), 2955–2968 (2023).
[13] S. Mesnager, L. Qian, X. Cao and M. Yuan. “Several families of minimal binary linear codes from two-to-one functions”, IEEE Trans. Inf. Theory, 69, 3285–3301 (2023).
[14] R. Rodriguez-Aldama, E. Pasalic, F. Zhang and Y. Wei. “Minimal p-ary codes via direct sum of functions, non-covering permutations and subspaces of derivatives”, IEEE Trans. Inf. Theory, 70, 4445–4462 (2024).
[15] D. Bartoli and M. Bonini. "Minimal linear codes in odd characteristic", IEEE Trans. Inf. Theory, 65(7), 4152–4155 (2019).
[16] M. Bonini and M. Borello. "Minimal linear codes arising from blocking sets", J. Algebra. Combinatorics, 53, 327–341 (2021).
[17] N. Alfarano, M. Borello and A. Neri. "A geometric characterization of minimal codes and their asymptotic performance", Adv. Math. Commun., 16(1), 115–133 (2022).
[18] N. Alfarano, M. Borello, A. Neri and A. Ravagnani. "Three combinatorial perspectives on minimal codes", SIAM J. Discrete Math., 36(1), 461–489 (2022).
[19] C. Tang, Y. Qiu, Q. Liao and Z. Zhou. "Full characterization of minimal linear codes as cutting blocking sets", IEEE Trans. Inf. Theory 67(6), 3690–3700 (2021).
[20] T. Héger and L. Nagy. “Short minimal codes and covering codes via strong blocking sets in projective spaces”, IEEE Trans. Inf. Theory, 68(2), 881–890 (2021).
[21] S. Chang, J.Y. Hyun. "Linear codes from simplicial complexes", Des. Codes Cryptogr. 86(10), 2167–2181 (2018).
[22] R. Tao, T. Feng and W. Li. "A construction of minimal linear codes from partial difference sets", IEEE Trans. Inf. Theory, 67(6), 3724–3734 (2021).
[23] A. Bishnoi and I. Tomon. "Explicit constructions of optimal blocking sets and minimal codes", Combinatorica, 46, Article 13 (2026).
[24] K. Li, H. Chen, W. Jin and L. Qu. “Constructions of binary self-orthogonal singly-even wide minimal linear codes with few weights”, Des. Codes Cryptogr., 94, Article 186 (2026).
[25] X. Li and Q. Yue. “Four classes of minimal binary linear codes with wmin/wmax<1/2 derived from Boolean functions”, Des. Codes Cryptogr., 88(2), 257–271 (2020).
[26] M. Shi, S. Li, T. Helleseth, J.-L. Kim. “Binary self-orthogonal codes which meet the Griesmer bound or have optimal minimum distances”, J. Combin. Theor. Ser. A, 214 106027 (2025).
[27] M. Maji, S. Mesnager, S. Sarkar and K. Hansda. "Characterizations for minimal codes: graph theory approach and algebraic approach over finite chain rings", Des. Codes Cryptogr. 93, 3303–3335 (2025).
[28] X. Wu, W. Lu and X. Cao. "Minimal linear codes constructed from functions", Cryptogr. Commun., 14, 875–895 (2022).
[29] X. Xie, Y. Ouyang, H. Hu. "On vectorial functions with maximal number of bent components", Designs Codes Cryptogr., 93(6), 1889–1910 (2025).
[30] D. Tang, C. Carlet and Z. Zhou. "Binary linear codes from vectorial Boolean functions and their weight distribution", Discrete Math., 340(12), 3055–3072 (2017).
[31] J. Y. Hyun, J. Lee and Y. Lee. “Infinite families of optimal linear codes constructed from simplicial complexes”, IEEE Trans. Inf. Theory, 66, 6762–6773 (2020).
[32] Y. Wu and Y. Lee. "Binary LCD codes and self-orthogonal codes via simplicial complexes", IEEE Commun. Lett., 24(6), 1159–1162 (2020).
[33] W. Jin, K. Li and L. Qu. “Several new classes of self-orthogonal minimal linear codes violating the Ashikhmin-Barg condition”. IEEE Trans. Inf. Theory 71(10), 7699–7714 (2025).
[34] H. Chen, Y. Chen, C. Xie and H. Lao. "Minimal linear codes violating the Ashikhmin-Barg condition from arbitrary projective linear codes". arXiv:2505.07130 (2025).
[35] Z. Zhou, X. Li, C. Tang and C. Ding. "Binary LCD codes and self-orthogonal codes from a generic construction", IEEE Trans. Inf. Theory, 65(1), 16–27 (2019).
[36] P. Dankelmann, J. D. Key and B. G. Rodrigues. "Codes from incidence matrices of graphs", Des. Codes Cryptogr., 68, 373–393 (2013).
[37] C. Bracken, E. Byrne, N. Markin and G. McGuire. "Fourier spectra of binomial APN functions", SIAM J. Discrete Math., 23(2), 596–608 (2009).
[38] D. Ghinelli, J. D. Key and T. P. McDonough. "Hulls of codes from incidence matrices of connected regular graphs", Des. Codes Cryptogr., 70, 35–54 (2014).
[39] S. Mallik and B. Yildiz. "Codes from incidence matrices of hypergraphs", Art Discrete Appl. Math., 7, #P3.10 (2024).
[40] R. Diestel. Graph Theory, 5th ed., Graduate Texts in Mathematics 173, Springer, Berlin (2017).
[41] M. J. Collins. "The combinatorics of Kummer's theory on binomial coefficients", Missouri J. Math. Sci., 36(1), 32–41 (2024).
[42] W. Zhang, H. Yan and H. Wei. “Four families of minimal binary linear codes with wmin/wmax≤1/2”, Appl. Algebra Eng. Commun. Comput., 30(2), 175–184 (2019).