§II.C: modified Toeplitz families are both universal and dual universal
OpenQAlgorithms.Papers.Independent.Intake100.P31.modified_toeplitzLet and . Choose a uniformly random binary Toeplitz matrix and form and . Both induced hash families are universal with parameter one, both maps are surjective for every seed, their kernels are dual, and
The formal seed has independent bits, one of which is unused when both dimensions are positive. This gives the usual uniform Toeplitz distribution with equal repeated multiplicities, and also handles .
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P31
noncomputable section
namespace QAlgorithms.Papers.Independent.Intake100.P31
open scoped BigOperators Matrix ComplexConjugate
open QAlgorithms
local instance {n : ℕ} (C : BinaryLinearCode n) : Fintype C := Fintype.ofFinite C
/-- PDF pp.3,6: both modified Toeplitz families are universal, surjective, and dual.
A redundant uniform seed bit preserves the distribution of all Toeplitz matrices. -/
theorem modified_toeplitz (a b : ℕ) (hb : 0 < b) :
HashUniversal (fun r => Matrix.toLin' (modifiedM a b r)) 1 ∧
HashUniversal (fun r => Matrix.toLin' (modifiedN a b r)) 1 ∧
(∀ r, Function.Surjective (Matrix.toLin' (modifiedM a b r))) ∧
(∀ r, Function.Surjective (Matrix.toLin' (modifiedN a b r))) ∧
(∀ r, modifiedM a b r * (modifiedN a b r).transpose = 0) ∧
(∀ r, LinearMap.ker (Matrix.toLin' (modifiedM a b r)) =
binDual (LinearMap.ker (Matrix.toLin' (modifiedN a b r)))) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P31
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number and every positive natural number , choose the seed uniformly, define by for , and put and . Then, for every distinct ,
Furthermore, for every seed, both maps and are surjective, , and , where the orthogonal complement consists of vectors whose coordinate dot product over with every vector in the kernel is zero. Natural-number subtraction in the seed index is truncated at zero. The case is included: , maps to the zero-dimensional space, and its collision bound is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.