The sentence given is an example of an informal definition rather than a formal one.
The sentence "In failing an exam, for example, optimistics would say they harder" from the essay is an example of Informal definition.
Informal definitions may be a synonym of, an antonym of, or an example of a term, while formal definitions adhere strictly to dictionary definitions.