I can add about your last paragraph(it’s literally the core of what I do). There is a field of computer assisted proofs, that is mathematical proofs that need a computer to be completed.
The first and most well known example is the four color theorem. How many colors do you need to color “a map”. Answer: 4. Proof: very very long. By hand it is possible to prove that there are only 1834 options, and a computer was used to color all these explicit options. At the time, it was a scandal. Nowadays, other computer assisted proofs are accepted, such as the ones relying on validated computing: if a computer (with some restrictions and guardrails) can show that a certain value is over/under a given threshold then something else is true.
Then, there is the validated proofs approach. This is where Lean comes into play, if you have heard about it. You can ask a computer to check your proof. This is helpful for confusing, long proofs (most of math). You input all the logical steps you took and Lean confirms that all is logically sound. Many AI proofs are “Lean verified”, but there is controversy if they are proving what they claim they are proving. It’s also a massive chunk of code that nobody can understand.