The dentist may use logic to decide if you need a root canal.