Maybe.maybe_bind_map_sym: law of bend-mathlib@0.8.1.0 Import: import bend-mathlib@0.8.1.0/maybe.bend as Maybe Lines 366-374 of bend-mathlib@0.8.1.0/maybe.bend: https://jend.leeeet.dev/read.txt?path=bend-mathlib@0.8.1.0/maybe.bend&start_line=366&end_line=374 import Base # Binding after a map binds the composition, reversed to rewrite toward the simple side. law maybe_bind_map_sym: for ~A: Data for ~B: Data for ~C: Data for ~f: A -> B for ~g: B -> Maybe<&2, C> for m: Maybe<&2, A> {Maybe.bind(&2, A, C, m, x => g(f(x))) == Maybe.bind(&2, B, C, Maybe.map(&2, A, B, f, m), g) : Maybe<&2, C>} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.sym https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.map https://jend.leeeet.dev/definition.txt?path=bend-mathlib@0.8.1.0/maybe.bend&name=maybe_bind_map