Logic

Logic may be defined as the science which directs the operations of the mind in the attainment of truth.

Fallacy
A fallacy may then be defined as a violation of logical principle, disguised under a show of validity.

Links

 * Logic on Wikipedia