Maybe.maybe_map_bind_sym: law of bend-mathlib@0.8.1.0 Import: import bend-mathlib@0.8.1.0/maybe.bend as Maybe Lines 379-387 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=379&end_line=387 import Base # Mapping after a bind maps inside the bound function, reversed to rewrite toward the simple side. law maybe_map_bind_sym: for ~A: Data for ~B: Data for ~C: Data for ~f: A -> Maybe<&2, B> for ~g: B -> C for m: Maybe<&2, A> {Maybe.bind(&2, A, C, m, x => Maybe.map(&2, B, C, g, f(x))) == Maybe.map(&2, B, C, g, Maybe.bind(&2, A, B, m, f)) : 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_map_bind