Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have never seen such a notation, and it is confusing, too: what happens when there are several b that satisfy the condition? Which one gets assigned to a?
@william007 You first have to define how you make the assignment well defined, i.e., how do you ensure that exactly one b is selected. If, e.g., you chose a minimal b, then a \leftarrow \argmin \{b \mid b\text{ fulfils } P\} would do.
\mid.\midseems to be a good choice. Otherwise, you can try and find the symbol using either Detexify (detexify.kirelabs.org/classify.html) or the Comprehensive LaTeX Symbol List (mirrors.dotsrc.org/ctan/info/symbols/comprehensive/…).a \leftarrow \argmin \{b \mid b\text{ fulfils } P\}would do.