proposition: Lemma cast_pointed_value_ext : ∀ A p e1 q e2, p = q → @cast_pointed_value A p e1 = @cast_pointed_value A q e2.
proof: Proof. intros A p e1 q e2 e. subst. cbn. assert (ee : e2 = erefl). { apply eq_irrelevance. } rewrite ee. reflexivity. Qed.
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) Equations.Prop.DepElim Equations(Equations) Crypt(FreeProbProg)