Lagrange recombination recovers the secret
ProvedCityBGW.recombinecryptographysecret-sharing
Let the points be distinct and . For every and ,
Preamble
import Mathlib import Definitions.Def_CityBGW
Formal statement
namespace CityBGW
theorem recombine {F : Type*} [Field F] [Fintype F] [DecidableEq F] {n m : ℕ} (α : Fin n → F) (hα : Function.Injective α) (hm : m < n)
(s : F) (c : Fin m → F) :
recon α (share α s c) = s := by sorry
end CityBGW