That’s what the exam is testing for. If you need unlimited time to write the proof, then you haven’t studied the material yet, and should be expected to perform poorly on the exam.
It’s like the difference between someone who has never touched React before the interview, and someone who has been programming with React for several months. You expect the person with several months of experience to know how to solve problems with React several times faster than the person who doesn’t know it at all. If you’re hiring and looking for someone with a minimum of 1 year of React experience then you shouldn’t expect the person to take a full day to do basic tasks with React (especially if you the interviewer or anyone else on your team can do those tasks in just a few minutes).