Proof of Theorem 6, §C.3.1, p. 43 — for Π ≠ I and (c, c′) ≠ 0, 1/p < Pr[c′⟨s*′,t*′⟩ + c·s*Πt* = 0] < 2/p
ProvedGGHRSW.ColoredMatrix.consistent_displaycryptographylinear-algebraobfuscationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1probability
Let be prime, a permutation matrix with , and not both zero. Draw uniformly among the quadruples with . Then
In the proof of Theorem 6 this controls the only cancellation that a primal and a dummy evaluation on the same rejected input could produce: whenever the program's product is a non-identity permutation, the corresponding scalar vanishes only with probability .
Formalization Note. The probability is the ratio of counts over the finite constraint set. Both inequalities are strict, as printed. The permutation matrix of is Mathlib's Equiv.Perm.permMatrix; since ranges over all non-identity permutations, the choice between and is immaterial.
Preamble
import Mathlib open Classical
Formal statement
namespace GGHRSW.ColoredMatrix
open Matrix
theorem consistent_display (p : ℕ) [Fact p.Prime] (P : Equiv.Perm (Fin 5)) (hP : P ≠ 1)
(c c' : ZMod p) (hc : ¬(c = 0 ∧ c' = 0)) :
let S := Finset.univ.filter fun x :
(Fin 5 → ZMod p) × (Fin 5 → ZMod p) × (Fin 5 → ZMod p) × (Fin 5 → ZMod p) =>
x.1 ⬝ᵥ x.2.1 = x.2.2.1 ⬝ᵥ x.2.2.2
let E := S.filter fun x =>
c' * (x.2.2.1 ⬝ᵥ x.2.2.2) + c * (x.1 ⬝ᵥ (P.permMatrix (ZMod p) *ᵥ x.2.1)) = 0
1 / (p : ℝ) < (E.card : ℝ) / S.card ∧ (E.card : ℝ) / S.card < 2 / (p : ℝ) := by sorry
end GGHRSW.ColoredMatrix
Source
Garg, Gentry, Halevi, Raykova, Sahai and Waters, Candidate Indistinguishability Obfuscation and Functional Encryption for All Circuits, SIAM J. Comput. 45(3), 2016 (authors' version of July 21, 2013), p. 43, proof of Theorem 6, §C.3.1, Consistent Monomials, displayed inequality
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.