Skip to content

feat(Cryptography/SecretSharing): Shamir's secret sharing#495

Open
SamuelSchlesinger wants to merge 1 commit intoleanprover:mainfrom
SamuelSchlesinger:shamir-secret-sharing
Open

feat(Cryptography/SecretSharing): Shamir's secret sharing#495
SamuelSchlesinger wants to merge 1 commit intoleanprover:mainfrom
SamuelSchlesinger:shamir-secret-sharing

Conversation

@SamuelSchlesinger
Copy link
Copy Markdown
Contributor

@SamuelSchlesinger SamuelSchlesinger commented Apr 16, 2026

Added a general definition of a secret sharing protocol along with privacy definitions: view indistinguishability and perfect privacy. Implemented Shamir's secret sharing as an instance, then proved view indistinguishability and perfect privacy of translation invariant tail polynomial distributions. Specialized to the uniform tail polynomial distribution as that is the typical setting.

A few more PMF utilities were needed, I am planning to upstream those to Mathlib along with the existing ones from perfectly secret encryption schemes.

@SamuelSchlesinger
Copy link
Copy Markdown
Contributor Author

In leanprover-community/mathlib4#37938 (comment), I learned that in Mathlib they are deprecating PMF. I will change this to use measure theory and will swap out the work in Perfect Secrecy as well.

@SamuelSchlesinger
Copy link
Copy Markdown
Contributor Author

After some discussion on the Zulip, I am going to delay before figuring out exactly what to do. If someone ends up reviewing the cryptographic/mathematical content, it will likely still be productive as I will probably just change the spelling of the probability lemmas underneath and no more.

@SamuelSchlesinger
Copy link
Copy Markdown
Contributor Author

The discussion landed on: its fine to use PMF for now, so this PR is going to continue using it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant