$\begingroup$

I was lately curious about a reinforcement learning approach that would solve maths equations.

For example, if I have the following equation:

$$ f(g(h(w))) = 0 , with \ w = \begin{matrix} a_{11} & 0 & \ldots & a_{1n}\\ 0 & a_{22} & \ldots & a_{2n}\\ \vdots & \vdots & \ddots & \vdots\\ 0 & 0 &\ldots & a_{nn} \end{matrix} $$

Along additional constraints on the 3 functions like $ f < g $; $ h > 2 * g $; and $ f, g,h $ not constant

The goal is to find the 3 functions expressions given a specific matrix $w$ and the constraints.

Can I use reinforcement learning to find a solution or solutions to this problem ?

Thank you