Wrong article submission I submitted an article in a Reputed journal in mathematics.  It is in review process.  After 4 months, i realized that there are some trivial mistakes...   Article is still under review with journal.   What should I do?


If I have a corrected version, should I send that one?
Or should I share this situation with Editor?


I am feeling very bad because of me editor and reviewer are (will be) wasting their time with wrong article...
You should do both. Namely, send an email to the editor, explain the error and how you fixed it, and attach a revised version, and ask them how they would like to proceed. They might


Send the revised version to the referees
formally "reject" the incorrect version and consider the new version a resubmission 
reject the incorrect version and the corrected version. 


In any event, you must contact them.