Binding a defined value into a partial function #
A partial function f : α →. β is a function α → Part β, but α →. β is a definition that
simp does not unfold, so Part.bind_some does not rewrite Part.some a >>= f. This file states
that rewrite for partial functions. It computes compositions of partial functions with defined
inputs, such as evaluations of programs relative to an oracle.
Main results #
PFun.some_bind:Part.some a >>= f = f afor a partial functionf.