mirror of
https://github.com/luxfi/fhe.git
synced 2026-07-26 23:16:08 +00:00
proofs/lean-easycrypt-bridge.md pins the 1:1 correspondence between the EasyCrypt theory axioms in fhe/proofs/easycrypt/ and the Lean theorems in ~/work/lux/proofs/lean/Crypto/FHE/TFHE.lean + Crypto.Threshold.Lagrange. Maps 5 axioms: pbs_correctness <-> programmable_bootstrap_correct shamir_inverse_eval <-> threshold_reconstructs_secret reshare_preserves_secret <-> reshare_preserves_constant_term pbs_noise_bound <-> pbs_noise_bound decrypt_constant_time <-> (operational; no Lean counterpart)