The best definition of a summary from the options you provided is:
a brief statement of the main points of a piece of writing.
This definition captures the essence of what a summary is intended to do: concisely convey the main ideas or points of a text.