fact: Definition RO : package RO_locs [interface] RO_exports := [package #def #[ INIT ] (_ : 'unit) : 'unit { #put queries_loc := emptym ;; ret Datatypes.tt } ; #def #[ QUERY ] (q : 'query) : 'random { queries ← get queries_loc ;; match queries q with | Some r => ret r | None => r ← sample uniform i_random ;; #put queries_loc := setm queries q r ;; ret r end } ].
imports: Relational(OrderEnrichedCategory GenericRulesSimple) mathcomp(all_ssreflect all_algebra reals distr realsum ssrnat ssreflect ssrfun ssrbool ssrnum eqtype choice seq) Crypt(Axioms ChoiceAsOrd SubDistr Couplings UniformDistrLemmas FreeProbProg Theta_dens RulesStateProb UniformStateProb pkg_core_definition choice_type pkg_composition pkg_rhl Package Prelude) Coq(Utf8) extructures(ord fset fmap)