§II.A: kernel coding of linear hash families
OpenQAlgorithms.Papers.Independent.Intake100.P31.kernel_correspondenceLet , , and let be linear maps indexed by a finite nonempty uniform seed set. For , their collision bound is equivalent to
Every code of codimension at most is the kernel of such a map. For a code family and its canonical quotient maps, the collision bound with maximum output size is equivalent to the dimension- code universality bound. Kernels therefore determine universality without fixing an output basis or assuming any map has rank .
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--4, (1),(4),(5): kernels determine all collision probabilities.
The codomain dimension m is declared, not inferred from a possibly smaller rank. -/
theorem kernel_correspondence {n m : ℕ} (hn : 0 < n) (hm : 1 ≤ m) (hmn : m ≤ n)
{I : Type*} [Fintype I] [Nonempty I]
(f : I → BinaryBlock n →ₗ[ZMod 2] BinaryBlock m) (eps : ℝ) (heps : 0 ≤ eps) :
(HashUniversal f eps ↔ ∀ x : BinaryBlock n, x ≠ 0 →
seedProbability (fun r => x ∈ LinearMap.ker (f r)) ≤ eps / (2 : ℝ) ^ m) ∧
(∀ C : BinaryLinearCode n, n - Module.finrank (ZMod 2) C ≤ m →
∃ g : BinaryBlock n →ₗ[ZMod 2] BinaryBlock m, LinearMap.ker g = C) ∧
(∀ C : I → BinaryLinearCode n,
(∀ a b : BinaryBlock n, a ≠ b → seedProbability (fun r => (C r).mkQ a = (C r).mkQ b) ≤
eps * (2 : ℝ) ^ ((minDim C : ℝ) - n)) ↔ UniversalAt C (minDim C) eps) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P31
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be natural numbers satisfying and , let be any finite nonempty seed type, let be a linear map for each , and let be real. Write . The following three assertions hold jointly: the condition for every pair of distinct is equivalent to
every binary linear subspace satisfying is the kernel of some linear map ; and, for every family of binary linear subspaces , putting , the condition for all distinct is equivalent to for every nonzero . Neither the maps nor the map are required to be surjective, and the code dimensions in a family need not be equal.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.