That seems like an outdated model and not really in the spirit of scientific collaboration
As I understand how credit goes for mathematical discovery, if you do 99.9% of the work and then I come in and put the last couple steps that make it actually work as a proof instead of a bunch of useful lemmas, the proof has my name on it.
You gotta eat.
Scientific collaboration happens through publishing, not giving away the ideas/credit before publishing. Sure, there's collaboration, but that's not with the entire community, especially not in math which for big results is an all-or-nothing endeavor.
Also outdated since when? We've just seen a scandal about OpenAI scooping Levent on Navier Stokes https://en.wikipedia.org/wiki/Navier–Stokes_priority_controv...