fact: Fixpoint update_heaps (l : list heap_val) s₀ s₁ := match l with | hpv_l ℓ v :: l => let '(s₀, s₁) := update_heaps l s₀ s₁ in (set_heap s₀ ℓ v, s₁) | hpv_r ℓ v :: l => let '(s₀, s₁) := update_heaps l s₀ s₁ in (s₀, set_heap s₁ ℓ v) | [::] => (s₀, s₁) end.
imports: Coq(Utf8) Relational(OrderEnrichedCategory OrderEnrichedRelativeMonadExamples) mathcomp(ssrnat ssreflect ssrfun ssrbool ssrnum eqtype choice reals distr seq all_algebra fintype realsum) extructures(ord fset fmap) Mon(SPropBase) Crypt(Prelude Axioms ChoiceAsOrd SubDistr Couplings RulesStateProb UniformStateProb UniformDistrLemmas StateTransfThetaDens StateTransformingLaxMorph choice_type pkg_core_definition pkg_notation pkg_tactics pkg_composition pkg_heap pkg_semantics pkg_lookup pkg_advantage) Equations.Prop.DepElim Equations(Equations) Crypt(FreeProbProg)