fact: Definition RUN_interactive : package Sigma_locs [interface] [interface #val #[ VERIFY ] : chTranscript → 'bool ; #val #[ RUN ] : chRelation → chTranscript ] := [package #def #[ VERIFY ] (t : chTranscript) : 'bool { let '(h,a,e,z) := t in ret (otf (Verify h a e z)) } ; #def #[ RUN ] (hw : chRelation) : chTranscript { let '(h,w) := hw in #assert (R (otf h) (otf w)) ;; a ← Commit h w ;; e ← sample uniform i_random ;; z ← Response h w a e ;; @ret choiceTranscript (h,a,e,z) } ].
imports: Relational(OrderEnrichedCategory GenericRulesSimple) mathcomp(all_ssreflect all_algebra reals distr realsum fingroup.fingroup solvable.cyclic prime 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 RandomOracle) Coq(Utf8) extructures(ord fset fmap) Equations(Equations)