fact: Definition IND_CPA_pkg_ff : package IND_CPA_location [interface] [interface #val #[i1] : 'word → 'word × 'word ] := [package #def #[i1] (m : 'word) : 'word × 'word { k ← get key_location ;; match k with | None => k_val ← sample uniform i_key ;; #put key_location := Some k_val ;; m' ← sample uniform i_words ;; enc m' k_val | Some k_val => m' ← sample uniform i_words ;; enc m' k_val end } ].
imports: Relational(OrderEnrichedCategory GenericRulesSimple) mathcomp(all_ssreflect all_algebra reals distr realsum ssrnat ssreflect ssrfun ssrbool ssrnum eqtype choice seq) Mon(SPropBase) Crypt(Axioms ChoiceAsOrd SubDistr Couplings UniformDistrLemmas FreeProbProg Theta_dens RulesStateProb pkg_core_definition choice_type pkg_composition pkg_rhl Package Prelude) Coq(Utf8) extructures(ord fset fmap) Equations(Equations)