GRR multiplication is perfectly secure
ProvedCityBGW.mult_securecryptographysecret-sharing
Let , let be distinct and nonzero, and let be a set of at most parties. There is a simulator , depending only on and , which receives 's input shares, 's output shares and random coins, such that for all secrets , all coefficient vectors , every view and every output vector :
where , , is uniform protocol coins, and is uniform in .
Preamble
import Mathlib import Definitions.Def_CityBGW
Formal statement
namespace CityBGW
theorem mult_secure {F : Type*} [Field F] [Fintype F] [DecidableEq F] {n t : ℕ} (α : Fin n → F) (hα : Function.Injective α)
(h0 : ∀ i, α i ≠ 0) (hn : 2 * t + 1 ≤ n) (T : Finset (Fin n)) (hT : T.card ≤ t) :
∃ sim : (T → F × F) → (T → F) → Coins n t F → View n t F T,
∀ (sa sb : F) (ca cb : Fin t → F) (v : View n t F T) (w : Fin n → F),
prob (fun r : Coins n t F =>
(view α T (share α sa ca) (share α sb cb) r,
mulOut α (share α sa ca) (share α sb cb) r) = (v, w)) =
prob (fun p : (Fin t → F) × Coins n t F =>
(sim (fun k => (share α sa ca k, share α sb cb k))
(fun k => share α (sa * sb) p.1 k) p.2,
share α (sa * sb) p.1) = (v, w)) := by sorry
end CityBGW