There are many textbooks which states mathematical theorems, but in them, by whom and when the theorems are discovered is not explained.
Do you know good references for this?
If this scope is too broad, I limit the topic to elementary geometry.
History of Science and Mathematics Stack Exchange is a question and answer site for people interested in the history and origins of science and mathematics. It only takes a minute to sign up.
Sign up to join this communityThere are many textbooks which states mathematical theorems, but in them, by whom and when the theorems are discovered is not explained.
Do you know good references for this?
If this scope is too broad, I limit the topic to elementary geometry.
Such books are called "history of mathematics". Of course one book will not tell you the origin of every theorem, mathematics is too large, you have to search in many books.
On the subject of elementary geometry, one good book is Florian Cajori, History of elementaty mathematics.
Interestingly, most of the elementary geometry is not of ancient Greek origin. Euclid only laid the foundation of the subject, and his immediate successors were more interested in the more advanced subjects (like conic sections, integration etc.) Most of the existing body of "elementary geometry" was discovered in 19th century.