User page = sandbox? Here, the answer is Yes.
d = 1 + m i n ( S P , 2 ) 2 P {\displaystyle d={\frac {1+min({\frac {S}{P}},2)}{2}}P}
d ′ = 2 A 2 A 1 + 1 d | A 1 > A 2 {\displaystyle d'={\frac {2A_{2}}{A_{1}+1}}d\ |\ A_{1}>A_{2}}
% C r = A 1 A 1 + C C {\displaystyle \%Cr={\frac {A_{1}}{A_{1}+CC}}}
m ′ = m + I 5 {\displaystyle m'=m+{\frac {I}{5}}}