Additive linear coding secrecy (88)–(91)
OpenQAlgorithms.Papers.Independent.Advance50.P28.additive_linear_secrecyAll logarithms are natural and is the full distance. Let be a normalized law on a finite nonempty alphabet , and let be the uniform law on symbols. For a map , write for its pushforward. Let be a finite abelian group and use the iid additive noise channel on , . Fix any block subgroup and random size- subgroups obeying Condition 4. Suppose . For ,
Optimization gives
Also on . The case is the one-shot assertion. The size equality restricts to actual subgroup sizes. For , , and with . Condition 4 means that the seed-independent has for each nonzero , with always. Each uniform coset key is encoded uniformly on its coset; leakage includes the public seed. Write and .
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P28
noncomputable section
open MeasureTheory Filter
open scoped BigOperators ENNReal Topology
namespace QAlgorithms.Papers.Independent.Advance50.P28
open QAlgorithms.Papers.Independent.Information100.P56 (IsLaw)
attribute [local instance] Classical.propDecidable Classical.decEq
/-- Hayashi, PDF pp.15–16, (88)–(91): n=1 is (89)–(90), arbitrary positive n
is (91). The cardinality equality L=exp(nR) is a hypothesis, not rounding. -/
theorem additive_linear_secrecy {G S : Type*} [AddCommGroup G] [Fintype G]
[MeasurableSpace G] [MeasurableSingletonClass G] [Fintype S] [Nonempty S]
(P : G → ℝ) (hP : IsLaw P) (n L : ℕ) (hn : 0 < n) (hL : 0 < L)
(C1 : AddSubgroup (Fin n → G)) (H : S → AddSubgroup C1) (w : S → ℝ)
(hcond : SubcodeCondition C1 H w L) (R : ℝ)
(hsize : (L : ℝ) = Real.exp ((n : ℝ) * R)) :
(∀ t ∈ Set.Icc (0 : ℝ) (1 / 2),
gallagerDensityMoment Measure.count (additiveDensity (iid P n)) (subgroupUniform C1) t ≤
gallagerDensityMoment Measure.count (additiveDensity (iid P n)) (finiteUniformMass (Fin n → G)) t) ∧
(∀ t ∈ Set.Ioo (0 : ℝ) (1 / 2),
expectedCosetLeakage Measure.count (additiveDensity (iid P n)) C1 H w ≤
3 * ENNReal.ofReal (Real.exp ((n : ℝ) *
(t * Real.log (Fintype.card G : ℝ) - (1 - t) * renyiNumerator P (t / (1 - t))))) /
(L : ℝ≥0∞) ^ t) ∧
expectedCosetLeakage Measure.count (additiveDensity (iid P n)) C1 H w ≤
3 * ENNReal.ofReal (Real.exp (-(n : ℝ) *
directExponent P (Real.log (Fintype.card G : ℝ) - R))) := by sorry
end QAlgorithms.Papers.Independent.Advance50.P28
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be a finite commutative additive group with a measurable space in which every singleton is measurable, and let be a finite nonempty type. Let satisfy and . Let be positive natural numbers, let be an additive subgroup of , let for , and let satisfy , , for every , and
Let satisfy . For , put , and for put , with subtraction coordinatewise. Write for and otherwise, and , both as extended nonnegative masses. For any such input mass , define
Also put
and define the real quantities
Then the three asserted bounds are
The sums over outputs express integration against counting measure. Arithmetic in the moments and in is in , subtraction there is truncated, and embedded in that space; the definitions of and use real arithmetic and natural logarithms. The first bound includes both endpoints, while the second excludes both. The assumptions exclude and , allow the one-element group, and impose no additional restriction on beyond .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.