I've been seeing functions written with curly brackets recently.
Example 1: X is a random variable denoting the number of heads in 3 coin tosses. $$P\{X=0\}=P\{(T, T, T)\}=\frac{1}{8}$$ Both the probabilty function defined on X and defined on the sample space use $f\{\}$ notation instead of $f()$ notation.
Example 2: Weighted activity selection problem:
$$MaxWeight(n)=max\{w(A_n)+MaxWeight(p(n)),MaxWeight(n-1)\}$$ The max function here uses $f\{\}$.
I assume this is syntactic sugar for writing functions who's arguments are sets and avoiding nested brackets like $P(\{X=0\})$, but I've not been able to find any information on this anywhere.
If someone could clarify or link/point towards a definition of this I would be grateful.
Thankyou