Theorem 1 — Rank-sensitive distance lower bound
ProvedZengPryadko2019.tensorProductDistance_lowerBoundLet be a finite based binary chain complex, and let be an binary matrix of rank . Write , taking when the kernel of is trivial. Then the degree- distance satisfies both rank cases of Zeng--Pryadko's Theorem 1:
and
The formal statement expresses as the dimension of the range of the linear map and as the cardinality of its row-coordinate type. Empty endpoint chain groups and infinite component distances are included. At , the predecessor distance is interpreted as , matching the absent negative-degree group.
import Definitions.Def_ZengPryadko2019
namespace ZengPryadko2019
/--
Theorem 1 of Zeng--Pryadko. The first implication is the non-full-row-rank
case `u < r`; the second is the full-row-rank case `u = r`. Here
`chainDistanceAt (oneComplex P) 1` is the paper's `δ`.
-/
theorem tensorProductDistance_lowerBound
(A : BasedBinaryChainComplex) {r c : ℕ}
(P : BinaryWord (Fin c) →ₗ[ZMod 2] BinaryWord (Fin r)) (j : ℕ) :
((Module.finrank (ZMod 2) (LinearMap.range P) < r) →
min (chainDistanceAt A j)
(chainDistanceBefore A j * chainDistanceAt (oneComplex P) 1) ≤
tensorProductDistanceAt A (oneComplex P) j) ∧
((Module.finrank (ZMod 2) (LinearMap.range P) = r) →
chainDistanceBefore A j * chainDistanceAt (oneComplex P) 1 ≤
tensorProductDistanceAt A (oneComplex P) j) := by
sorry
end ZengPryadko2019Read-back
What the Lean code literally says, in plain math · gpt-5.6-sol
For every based binary chain complex , every pair of natural numbers (although implicit in the notation, both are universally quantified), every -linear map , and every natural-number degree , let , let , let denote the degree- distance defined below, let when and when , let , and let be the tensor-product distance defined below. The theorem asserts the conjunction of the following two implications, with no unconditional rank hypothesis:
A binary word on a coordinate type is a function . The complex supplies a natural-number dimension in every nonnegative degree, the standard-coordinate binary vector space , and for every a linear boundary
where the degree-zero target is represented by words on the empty coordinate type. It also supplies the identities for all , a natural number , and the condition whenever . The number is only required to be an upper bound on the support of the dimensions: it need not be minimal, and neither nor any lower-degree dimension is required to be positive.
For linear maps and , where is finite with decidable equality, their homological distance is
with . More literally, the set whose infimum is taken consists of extended natural numbers for which there exists such an and equals the natural Hamming weight of embedded into . Its infimum is if there is no such . Since zero lies in the range of every linear map, every admissible is nonzero, so every finite value of this distance is a positive natural number and the value is never . The component distance used in the theorem is exactly
Thus minimizes over , because is necessarily the zero map into the zero-dimensional target, while for it minimizes over . If this difference is empty, including whenever the corresponding homology is trivial or is the zero space, then .
The one-complex has , , for , boundaries , , and for , and declared length . Consequently, the sole distance from that occurs in the theorem is
The condition here is exactly the condition that not lie in the range of the zero boundary . Hence precisely when is injective, including when ; otherwise is the least positive Hamming weight of a nonzero vector in .
The degree- tensor coordinate type used to define is the disjoint union, over all ordered pairs of nonnegative integers satisfying , of
The pair is represented by two elements of together with the proof that their natural-number values sum to ; thus all and only the decompositions occur, including the endpoints and . For , only and can contribute coordinates. Therefore tensor degree has the component , while tensor degree has the two potentially nonempty components and ; a component is actually empty whenever one of its displayed dimensions is zero.
The tensor boundary in degree is the zero map from tensor degree to the zero-dimensional space. For , take an output coordinate in tensor degree described by , , and . For a tensor word in degree , the value of its boundary at that coordinate is defined exactly by
with addition in . In particular, on the output component with , the second summand applies to the input component , while on the output component with the second summand applies the zero map ; the first summand always uses the boundary . The coordinate injections on the two input slices increase respectively the left degree from to and the right degree from to . Consecutive tensor boundaries compose to zero. The tensor-product distance in the theorem is then
again with value when this witness set is empty. At , the cycle condition is automatic because , and only nonmembership in remains.
All inequalities, products, minima, and infima in the theorem are in . A finite distance factor is positive; therefore a product of the displayed distance factors is finite exactly when both factors are finite, and it is when either factor is . Formally, multiplication by would make a product even in the presence of , but none of these distance factors can equal . A lower bound of is equivalent to , whereas every finite value is automatically at most .
The endpoint is included. Since and is nonzero, . Thus the first implication specializes literally to
because , while the second specializes to
which forces . For , the shifted quantity is exactly , so the two implications become
The rank is specifically the finite module rank of the range subspace of over , not an additional integer supplied as data. Since that range is a subspace of , one has : the two antecedents and are mutually exclusive and exhaust the possible ranks, although the theorem presents them as two separate implications joined by conjunction. If an antecedent is false, its implication is vacuously true and imposes no bound. The first antecedent says that the range is a proper subspace of the codomain; the second says that the range has the full codomain dimension. No relation between and is assumed. In particular, if , then is impossible and the second implication is vacuous; if , then is impossible, automatically, and only the second implication is substantive. If , then and , so the first implication reduces to for every . If , then the second antecedent holds and , so its lower bound forces for every .
No hypothesis requires to lie at or below the declared length of , requires to be positive or minimal, requires any coordinate set or chain group to be nonempty, requires any homology group or distance to be finite, constrains the ranks of the boundaries of , or assumes that is injective, surjective, square, nonzero, or of a prescribed rank. The rank conditions occur only as the antecedents of the two implications. If , both potentially nonempty tensor components use or , so the degree- tensor coordinate type is empty and ; also , so either active rank implication has lower bound . The conclusion is therefore still an assertion in these out-of-range and all other degenerate cases, with false rank antecedents producing vacuous implications and empty homological witness sets producing the value .
Confirmed by the mission captain (proposal self-audit).