Engage in conflict with an imagined opponent; pursue a vain goal. Examples: Trying to reform campaign financing in this legislature is tilting at windmills.