I am finishing my first paper. I am unaware of how I should treat a certain situation, and have come here for advice.
The paper is about 30 pages long. I have written 26 of those pages. On the pages I wrote, the other person helped with how thoughts are to be expressed, but all the theorems and proofs were done by me. The ideas of the paper are mine, and their execution.
How is the authorship to be divided in such an example? Should I be the first author or the corresponding author? Both? Should he be the second author, or the co-author?
I read this answer here, saying in math and computer science all authors are considered to have contributed equally. How should the ranking be notated than?
EDIT:
Question in partially answered in the linking answer (duplicate), at the comments bellow.