WolframAlpha computational knowledge AI
(1-g)*(2 + (g^2 - 2*f*g+ 2*f - 1)/(f+g-1)) > 2*(1-g)*(2-g) and 1-f < g < 0.5, 0.5 < f < 1