Renaissance Technologies and Two Sigmas are just two examples of firms that constantly beat the market using math, algorithms and machine learning. It's doable, but not easy.
This kind of thing is inherently un-provable. You can have a method that works stupidly well for decades, and then it stops working. Building a model that provenly (in the mathematical sense) works with X% efficiency would be akin to building a free energy device.
Your life at 0.00000x% risk is one thing. I'm fairly relaxed about that.
Your capital at - say - 50% risk of total loss is another. I don't play that game.
When it comes to serious financial modeling in big firms, everything from PDEs and stochastic calculus to cutting edge forecasting models and deep learning is fair game.
Given the apparently inability of active funds to routinely outperform passive funds[0], "not much" would be my response.
One could be really cynical and reduce it to: some people get lucky, some of the time. That's all.
[0] https://www.ft.com/content/06317e0e-b6bf-4fdc-9255-cf664cb92... ( https://archive.ph/NumMp )