fact: Definition TAG_pkg_ff: package TAG_locs_ff [interface] [interface #val #[gettag]: 'word → 'word ; #val #[checktag]: 'word × 'word → 'bool ] := [package #def #[gettag] (m: 'word): 'word { T ← get T_loc ;; k ← kgen km_loc ;; let t := mac k m in #put T_loc := setm T (m, t) tt ;; ret t } ; #def #[checktag] ('(m, t): 'word × 'word): 'bool { T ← get T_loc ;; ret ((m, t) \in domm T) } ].
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) extructures(ord fset fmap) Equations(Equations)